Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 /*
0003  * Copyright (c) 2019 Akash Gajjar <Akash_Gajjar@mentor.com>
0004  * Copyright (c) 2019 Pragnesh Patel <Pragnesh_Patel@mentor.com>
0005  */
0006 
0007 /dts-v1/;
0008 #include "rk3399-rock-pi-4.dtsi"
0009 #include "rk3399-op1-opp.dtsi"
0010 
0011 / {
0012         model = "Radxa ROCK Pi 4B+";
0013         compatible = "radxa,rockpi4b-plus", "radxa,rockpi4", "rockchip,rk3399";
0014 
0015         aliases {
0016                 mmc2 = &sdio0;
0017         };
0018 };
0019 
0020 &es8316 {
0021         pinctrl-0 = <&hp_detect &hp_int>;
0022         pinctrl-names = "default";
0023         interrupt-parent = <&gpio1>;
0024         interrupts = <RK_PA1 IRQ_TYPE_LEVEL_HIGH>;
0025 };
0026 
0027 &sdio0 {
0028         status = "okay";
0029 
0030         brcmf: wifi@1 {
0031                 compatible = "brcm,bcm4329-fmac";
0032                 reg = <1>;
0033                 interrupt-parent = <&gpio0>;
0034                 interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>;
0035                 interrupt-names = "host-wake";
0036                 pinctrl-names = "default";
0037                 pinctrl-0 = <&wifi_host_wake_l>;
0038         };
0039 };
0040 
0041 &sound {
0042         hp-det-gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
0043 };
0044 
0045 &uart0 {
0046         status = "okay";
0047 
0048         bluetooth {
0049                 compatible = "brcm,bcm4345c5";
0050                 clocks = <&rk808 1>;
0051                 clock-names = "lpo";
0052                 device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>;
0053                 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
0054                 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
0055                 max-speed = <1500000>;
0056                 pinctrl-names = "default";
0057                 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
0058                 vbat-supply = <&vcc3v3_sys>;
0059                 vddio-supply = <&vcc_1v8>;
0060         };
0061 };