1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd
4 * Copyright (c) 2019 Radxa Limited
5 * Copyright (c) 2019 Amarula Solutions(India)
9 #include "rk3399-rock-pi-4.dtsi"
10 #include "rk3399-opp.dtsi"
13 model = "Radxa ROCK Pi 4C";
14 compatible = "radxa,rockpi4c", "radxa,rockpi4", "rockchip,rk3399";
22 pinctrl-0 = <&hp_detect &hp_int>;
23 pinctrl-names = "default";
24 interrupt-parent = <&gpio1>;
25 interrupts = <RK_PA1 IRQ_TYPE_LEVEL_HIGH>;
32 compatible = "brcm,bcm4329-fmac";
34 interrupt-parent = <&gpio0>;
35 interrupts = <RK_PA3 IRQ_TYPE_LEVEL_HIGH>;
36 interrupt-names = "host-wake";
37 pinctrl-names = "default";
38 pinctrl-0 = <&wifi_host_wake_l>;
43 hp-det-gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
50 compatible = "jedec,spi-nor";
52 spi-max-frequency = <108000000>;
60 compatible = "brcm,bcm4345c5";
63 device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>;
64 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
65 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
66 max-speed = <1500000>;
67 pinctrl-names = "default";
68 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
69 vbat-supply = <&vcc3v3_sys>;
70 vddio-supply = <&vcc_1v8>;
75 gpio = <&gpio3 RK_PD6 GPIO_ACTIVE_HIGH>;
79 rockchip,pins = <3 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;