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