1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (c) 2019 Akash Gajjar <Akash_Gajja 3 * Copyright (c) 2019 Akash Gajjar <Akash_Gajjar@mentor.com> 4 * Copyright (c) 2019 Pragnesh Patel <Pragnesh_ 4 * Copyright (c) 2019 Pragnesh Patel <Pragnesh_Patel@mentor.com> 5 */ 5 */ 6 6 7 /dts-v1/; 7 /dts-v1/; 8 #include "rk3399-op1.dtsi" << 9 #include "rk3399-rock-pi-4.dtsi" 8 #include "rk3399-rock-pi-4.dtsi" >> 9 #include "rk3399-op1-opp.dtsi" 10 10 11 / { 11 / { 12 model = "Radxa ROCK Pi 4B+"; 12 model = "Radxa ROCK Pi 4B+"; 13 compatible = "radxa,rockpi4b-plus", "r 13 compatible = "radxa,rockpi4b-plus", "radxa,rockpi4", "rockchip,rk3399"; 14 14 15 aliases { 15 aliases { 16 mmc2 = &sdio0; 16 mmc2 = &sdio0; 17 }; 17 }; 18 }; 18 }; 19 19 20 &es8316 { << 21 pinctrl-0 = <&hp_detect &hp_int>; << 22 pinctrl-names = "default"; << 23 interrupt-parent = <&gpio1>; << 24 interrupts = <RK_PA1 IRQ_TYPE_LEVEL_HI << 25 }; << 26 << 27 &sdio0 { 20 &sdio0 { 28 status = "okay"; 21 status = "okay"; 29 22 30 brcmf: wifi@1 { 23 brcmf: wifi@1 { 31 compatible = "brcm,bcm4329-fma 24 compatible = "brcm,bcm4329-fmac"; 32 reg = <1>; 25 reg = <1>; 33 interrupt-parent = <&gpio0>; 26 interrupt-parent = <&gpio0>; 34 interrupts = <RK_PA3 IRQ_TYPE_ !! 27 interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>; 35 interrupt-names = "host-wake"; 28 interrupt-names = "host-wake"; 36 pinctrl-names = "default"; 29 pinctrl-names = "default"; 37 pinctrl-0 = <&wifi_host_wake_l 30 pinctrl-0 = <&wifi_host_wake_l>; 38 }; 31 }; 39 }; << 40 << 41 &sound { << 42 hp-det-gpio = <&gpio1 RK_PA0 GPIO_ACTI << 43 }; 32 }; 44 33 45 &uart0 { 34 &uart0 { 46 status = "okay"; 35 status = "okay"; 47 36 48 bluetooth { 37 bluetooth { 49 compatible = "brcm,bcm4345c5"; 38 compatible = "brcm,bcm4345c5"; 50 clocks = <&rk808 1>; 39 clocks = <&rk808 1>; 51 clock-names = "lpo"; 40 clock-names = "lpo"; 52 device-wakeup-gpios = <&gpio2 41 device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>; 53 host-wakeup-gpios = <&gpio0 RK 42 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; 54 shutdown-gpios = <&gpio0 RK_PB 43 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>; 55 max-speed = <1500000>; 44 max-speed = <1500000>; 56 pinctrl-names = "default"; 45 pinctrl-names = "default"; 57 pinctrl-0 = <&bt_host_wake_l & 46 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>; 58 vbat-supply = <&vcc3v3_sys>; 47 vbat-supply = <&vcc3v3_sys>; 59 vddio-supply = <&vcc_1v8>; 48 vddio-supply = <&vcc_1v8>; 60 }; 49 }; 61 }; 50 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.