193e0e8ceSJagan Teki// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 293e0e8ceSJagan Teki/* 393e0e8ceSJagan Teki * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd 493e0e8ceSJagan Teki * Copyright (c) 2019 Radxa Limited 593e0e8ceSJagan Teki * Copyright (c) 2019 Amarula Solutions(India) 693e0e8ceSJagan Teki */ 793e0e8ceSJagan Teki 893e0e8ceSJagan Teki/dts-v1/; 993e0e8ceSJagan Teki#include "rk3399-rock-pi-4.dtsi" 1093e0e8ceSJagan Teki 1193e0e8ceSJagan Teki/ { 1293e0e8ceSJagan Teki model = "Radxa ROCK Pi 4C"; 1393e0e8ceSJagan Teki compatible = "radxa,rockpi4c", "radxa,rockpi4", "rockchip,rk3399"; 145dcbe7e3SHeiko Stuebner 155dcbe7e3SHeiko Stuebner aliases { 165dcbe7e3SHeiko Stuebner mmc2 = &sdio0; 175dcbe7e3SHeiko Stuebner }; 1893e0e8ceSJagan Teki}; 1993e0e8ceSJagan Teki 20c681c6fcSAlex Bee&es8316 { 21c681c6fcSAlex Bee pinctrl-0 = <&hp_detect &hp_int>; 22c681c6fcSAlex Bee pinctrl-names = "default"; 23c681c6fcSAlex Bee interrupt-parent = <&gpio1>; 24c681c6fcSAlex Bee interrupts = <RK_PA1 IRQ_TYPE_LEVEL_HIGH>; 25c681c6fcSAlex Bee}; 26c681c6fcSAlex Bee 2793e0e8ceSJagan Teki&sdio0 { 2893e0e8ceSJagan Teki status = "okay"; 2993e0e8ceSJagan Teki 3093e0e8ceSJagan Teki brcmf: wifi@1 { 3193e0e8ceSJagan Teki compatible = "brcm,bcm4329-fmac"; 3293e0e8ceSJagan Teki reg = <1>; 3393e0e8ceSJagan Teki interrupt-parent = <&gpio0>; 34*c043dee9SKrzysztof Kozlowski interrupts = <RK_PA3 IRQ_TYPE_LEVEL_HIGH>; 3593e0e8ceSJagan Teki interrupt-names = "host-wake"; 3693e0e8ceSJagan Teki pinctrl-names = "default"; 3793e0e8ceSJagan Teki pinctrl-0 = <&wifi_host_wake_l>; 3893e0e8ceSJagan Teki }; 3993e0e8ceSJagan Teki}; 4093e0e8ceSJagan Teki 41c681c6fcSAlex Bee&sound { 42c681c6fcSAlex Bee hp-det-gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>; 43c681c6fcSAlex Bee}; 44c681c6fcSAlex Bee 4593e0e8ceSJagan Teki&uart0 { 4693e0e8ceSJagan Teki status = "okay"; 4793e0e8ceSJagan Teki 4893e0e8ceSJagan Teki bluetooth { 49f471b1b2SJagan Teki compatible = "brcm,bcm4345c5"; 5093e0e8ceSJagan Teki clocks = <&rk808 1>; 51f471b1b2SJagan Teki clock-names = "lpo"; 5293e0e8ceSJagan Teki device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>; 5393e0e8ceSJagan Teki host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; 5493e0e8ceSJagan Teki shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>; 55f471b1b2SJagan Teki max-speed = <1500000>; 5693e0e8ceSJagan Teki pinctrl-names = "default"; 5793e0e8ceSJagan Teki pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>; 58f471b1b2SJagan Teki vbat-supply = <&vcc3v3_sys>; 59f471b1b2SJagan Teki vddio-supply = <&vcc_1v8>; 6093e0e8ceSJagan Teki }; 6193e0e8ceSJagan Teki}; 6293e0e8ceSJagan Teki 6393e0e8ceSJagan Teki&vcc5v0_host { 6493e0e8ceSJagan Teki gpio = <&gpio3 RK_PD6 GPIO_ACTIVE_HIGH>; 6593e0e8ceSJagan Teki}; 6693e0e8ceSJagan Teki 6793e0e8ceSJagan Teki&vcc5v0_host_en { 6893e0e8ceSJagan Teki rockchip,pins = <3 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>; 6993e0e8ceSJagan Teki}; 70