xref: /linux/scripts/dtc/include-prefixes/arm64/rockchip/rk3399-rock-4se.dts (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
186a0e14aSChristopher Obbard// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
286a0e14aSChristopher Obbard/*
386a0e14aSChristopher Obbard * Copyright (c) 2019 Akash Gajjar <Akash_Gajjar@mentor.com>
486a0e14aSChristopher Obbard * Copyright (c) 2019 Pragnesh Patel <Pragnesh_Patel@mentor.com>
586a0e14aSChristopher Obbard */
686a0e14aSChristopher Obbard
786a0e14aSChristopher Obbard/dts-v1/;
8*296602b8SDragan Simic#include "rk3399-t.dtsi"
986a0e14aSChristopher Obbard#include "rk3399-rock-pi-4.dtsi"
1086a0e14aSChristopher Obbard
1186a0e14aSChristopher Obbard/ {
1286a0e14aSChristopher Obbard	model = "Radxa ROCK 4SE";
1386a0e14aSChristopher Obbard	compatible = "radxa,rock-4se", "rockchip,rk3399";
1486a0e14aSChristopher Obbard
1586a0e14aSChristopher Obbard	aliases {
1686a0e14aSChristopher Obbard		mmc2 = &sdio0;
1786a0e14aSChristopher Obbard	};
1886a0e14aSChristopher Obbard};
1986a0e14aSChristopher Obbard
2086a0e14aSChristopher Obbard&sdio0 {
2186a0e14aSChristopher Obbard	status = "okay";
2286a0e14aSChristopher Obbard
2386a0e14aSChristopher Obbard	brcmf: wifi@1 {
2486a0e14aSChristopher Obbard		compatible = "brcm,bcm4329-fmac";
2586a0e14aSChristopher Obbard		reg = <1>;
2686a0e14aSChristopher Obbard		interrupt-parent = <&gpio0>;
2786a0e14aSChristopher Obbard		interrupts = <RK_PA3 IRQ_TYPE_LEVEL_HIGH>;
2886a0e14aSChristopher Obbard		interrupt-names = "host-wake";
2986a0e14aSChristopher Obbard		pinctrl-names = "default";
3086a0e14aSChristopher Obbard		pinctrl-0 = <&wifi_host_wake_l>;
3186a0e14aSChristopher Obbard	};
3286a0e14aSChristopher Obbard};
3386a0e14aSChristopher Obbard
3486a0e14aSChristopher Obbard&uart0 {
3586a0e14aSChristopher Obbard	status = "okay";
3686a0e14aSChristopher Obbard
3786a0e14aSChristopher Obbard	bluetooth {
3886a0e14aSChristopher Obbard		compatible = "brcm,bcm4345c5";
3986a0e14aSChristopher Obbard		clocks = <&rk808 1>;
4086a0e14aSChristopher Obbard		clock-names = "lpo";
4186a0e14aSChristopher Obbard		device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>;
4286a0e14aSChristopher Obbard		host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
4386a0e14aSChristopher Obbard		shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
4486a0e14aSChristopher Obbard		max-speed = <1500000>;
4586a0e14aSChristopher Obbard		pinctrl-names = "default";
4686a0e14aSChristopher Obbard		pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
4786a0e14aSChristopher Obbard		vbat-supply = <&vcc3v3_sys>;
4886a0e14aSChristopher Obbard		vddio-supply = <&vcc_1v8>;
4986a0e14aSChristopher Obbard	};
5086a0e14aSChristopher Obbard};
51