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