1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (c) 2019 Fuzhou Rockchip Electron 3 * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd 4 * Copyright (c) 2019 Radxa Limited 4 * Copyright (c) 2019 Radxa Limited 5 * Copyright (c) 2019 Amarula Solutions(India) 5 * Copyright (c) 2019 Amarula Solutions(India) 6 */ 6 */ 7 7 8 /dts-v1/; 8 /dts-v1/; 9 #include "rk3399.dtsi" << 10 #include "rk3399-rock-pi-4.dtsi" 9 #include "rk3399-rock-pi-4.dtsi" 11 10 12 / { 11 / { 13 model = "Radxa ROCK Pi 4C"; 12 model = "Radxa ROCK Pi 4C"; 14 compatible = "radxa,rockpi4c", "radxa, 13 compatible = "radxa,rockpi4c", "radxa,rockpi4", "rockchip,rk3399"; 15 14 16 aliases { 15 aliases { 17 mmc2 = &sdio0; 16 mmc2 = &sdio0; 18 }; 17 }; 19 }; 18 }; 20 19 21 &es8316 { << 22 pinctrl-0 = <&hp_detect &hp_int>; << 23 pinctrl-names = "default"; << 24 interrupt-parent = <&gpio1>; << 25 interrupts = <RK_PA1 IRQ_TYPE_LEVEL_HI << 26 }; << 27 << 28 &sdio0 { 20 &sdio0 { 29 status = "okay"; 21 status = "okay"; 30 22 31 brcmf: wifi@1 { 23 brcmf: wifi@1 { 32 compatible = "brcm,bcm4329-fma 24 compatible = "brcm,bcm4329-fmac"; 33 reg = <1>; 25 reg = <1>; 34 interrupt-parent = <&gpio0>; 26 interrupt-parent = <&gpio0>; 35 interrupts = <RK_PA3 IRQ_TYPE_ !! 27 interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>; 36 interrupt-names = "host-wake"; 28 interrupt-names = "host-wake"; 37 pinctrl-names = "default"; 29 pinctrl-names = "default"; 38 pinctrl-0 = <&wifi_host_wake_l 30 pinctrl-0 = <&wifi_host_wake_l>; 39 }; 31 }; 40 }; 32 }; 41 33 42 &sound { << 43 hp-det-gpio = <&gpio1 RK_PA0 GPIO_ACTI << 44 }; << 45 << 46 &spi1 { << 47 status = "okay"; << 48 << 49 flash@0 { << 50 compatible = "jedec,spi-nor"; << 51 reg = <0>; << 52 spi-max-frequency = <108000000 << 53 }; << 54 }; << 55 << 56 &uart0 { 34 &uart0 { 57 status = "okay"; 35 status = "okay"; 58 36 59 bluetooth { 37 bluetooth { 60 compatible = "brcm,bcm4345c5"; !! 38 compatible = "brcm,bcm43438-bt"; 61 clocks = <&rk808 1>; 39 clocks = <&rk808 1>; 62 clock-names = "lpo"; !! 40 clock-names = "ext_clock"; 63 device-wakeup-gpios = <&gpio2 41 device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>; 64 host-wakeup-gpios = <&gpio0 RK 42 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; 65 shutdown-gpios = <&gpio0 RK_PB 43 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>; 66 max-speed = <1500000>; << 67 pinctrl-names = "default"; 44 pinctrl-names = "default"; 68 pinctrl-0 = <&bt_host_wake_l & 45 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>; 69 vbat-supply = <&vcc3v3_sys>; << 70 vddio-supply = <&vcc_1v8>; << 71 }; 46 }; 72 }; 47 }; 73 48 74 &vcc5v0_host { 49 &vcc5v0_host { 75 gpio = <&gpio3 RK_PD6 GPIO_ACTIVE_HIGH 50 gpio = <&gpio3 RK_PD6 GPIO_ACTIVE_HIGH>; 76 }; 51 }; 77 52 78 &vcc5v0_host_en { 53 &vcc5v0_host_en { 79 rockchip,pins = <3 RK_PD6 RK_FUNC_GPIO 54 rockchip,pins = <3 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>; 80 }; 55 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.