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-t.dtsi" << 9 #include "rk3399-rock-pi-4.dtsi" 8 #include "rk3399-rock-pi-4.dtsi" >> 9 #include "rk3399-t-opp.dtsi" 10 10 11 / { 11 / { 12 model = "Radxa ROCK 4SE"; 12 model = "Radxa ROCK 4SE"; 13 compatible = "radxa,rock-4se", "rockch 13 compatible = "radxa,rock-4se", "rockchip,rk3399"; 14 14 15 aliases { 15 aliases { 16 mmc2 = &sdio0; 16 mmc2 = &sdio0; 17 }; 17 }; 18 }; 18 }; 19 19 >> 20 &pinctrl { >> 21 usb2 { >> 22 vcc5v0_host_en: vcc5v0-host-en { >> 23 rockchip,pins = <4 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>; >> 24 }; >> 25 }; >> 26 }; >> 27 20 &sdio0 { 28 &sdio0 { 21 status = "okay"; 29 status = "okay"; 22 30 23 brcmf: wifi@1 { 31 brcmf: wifi@1 { 24 compatible = "brcm,bcm4329-fma 32 compatible = "brcm,bcm4329-fmac"; 25 reg = <1>; 33 reg = <1>; 26 interrupt-parent = <&gpio0>; 34 interrupt-parent = <&gpio0>; 27 interrupts = <RK_PA3 IRQ_TYPE_ 35 interrupts = <RK_PA3 IRQ_TYPE_LEVEL_HIGH>; 28 interrupt-names = "host-wake"; 36 interrupt-names = "host-wake"; 29 pinctrl-names = "default"; 37 pinctrl-names = "default"; 30 pinctrl-0 = <&wifi_host_wake_l 38 pinctrl-0 = <&wifi_host_wake_l>; 31 }; 39 }; 32 }; 40 }; 33 41 34 &uart0 { 42 &uart0 { 35 status = "okay"; 43 status = "okay"; 36 44 37 bluetooth { 45 bluetooth { 38 compatible = "brcm,bcm4345c5"; 46 compatible = "brcm,bcm4345c5"; 39 clocks = <&rk808 1>; 47 clocks = <&rk808 1>; 40 clock-names = "lpo"; 48 clock-names = "lpo"; 41 device-wakeup-gpios = <&gpio2 49 device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>; 42 host-wakeup-gpios = <&gpio0 RK 50 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; 43 shutdown-gpios = <&gpio0 RK_PB 51 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>; 44 max-speed = <1500000>; 52 max-speed = <1500000>; 45 pinctrl-names = "default"; 53 pinctrl-names = "default"; 46 pinctrl-0 = <&bt_host_wake_l & 54 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>; 47 vbat-supply = <&vcc3v3_sys>; 55 vbat-supply = <&vcc3v3_sys>; 48 vddio-supply = <&vcc_1v8>; 56 vddio-supply = <&vcc_1v8>; 49 }; 57 }; >> 58 }; >> 59 >> 60 &vcc5v0_host { >> 61 enable-active-high; >> 62 gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>; >> 63 pinctrl-names = "default"; >> 64 pinctrl-0 = <&vcc5v0_host_en>; 50 }; 65 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.