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";
1493e0e8ceSJagan Teki};
1593e0e8ceSJagan Teki
1693e0e8ceSJagan Teki&sdio0 {
1793e0e8ceSJagan Teki	status = "okay";
1893e0e8ceSJagan Teki
1993e0e8ceSJagan Teki	brcmf: wifi@1 {
2093e0e8ceSJagan Teki		compatible = "brcm,bcm4329-fmac";
2193e0e8ceSJagan Teki		reg = <1>;
2293e0e8ceSJagan Teki		interrupt-parent = <&gpio0>;
2393e0e8ceSJagan Teki		interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>;
2493e0e8ceSJagan Teki		interrupt-names = "host-wake";
2593e0e8ceSJagan Teki		pinctrl-names = "default";
2693e0e8ceSJagan Teki		pinctrl-0 = <&wifi_host_wake_l>;
2793e0e8ceSJagan Teki	};
2893e0e8ceSJagan Teki};
2993e0e8ceSJagan Teki
3093e0e8ceSJagan Teki&uart0 {
3193e0e8ceSJagan Teki	status = "okay";
3293e0e8ceSJagan Teki
3393e0e8ceSJagan Teki	bluetooth {
3493e0e8ceSJagan Teki		compatible = "brcm,bcm43438-bt";
3593e0e8ceSJagan Teki		clocks = <&rk808 1>;
3693e0e8ceSJagan Teki		clock-names = "ext_clock";
3793e0e8ceSJagan Teki		device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>;
3893e0e8ceSJagan Teki		host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
3993e0e8ceSJagan Teki		shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
4093e0e8ceSJagan Teki		pinctrl-names = "default";
4193e0e8ceSJagan Teki		pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
4293e0e8ceSJagan Teki	};
4393e0e8ceSJagan Teki};
4493e0e8ceSJagan Teki
4593e0e8ceSJagan Teki&vcc5v0_host {
4693e0e8ceSJagan Teki	gpio = <&gpio3 RK_PD6 GPIO_ACTIVE_HIGH>;
4793e0e8ceSJagan Teki};
4893e0e8ceSJagan Teki
4993e0e8ceSJagan Teki&vcc5v0_host_en {
5093e0e8ceSJagan Teki	rockchip,pins = <3 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;
5193e0e8ceSJagan Teki};
52