mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-15 17:28:15 +00:00
8d7192cb7f
Rock PI 4 has 3 variants of hardware platforms called RockPI 4A, 4B, and 4C. - Rock PI 4A has no Wif/BT. - Rock PI 4B has AP6256 Wifi/BT, PoE. - Rock PI 4C has AP6256 Wifi/BT, PoE, miniDP, USB Host enable GPIO pin change compared to 4B, 4C So move common nodes, properties into dtsi file and include on respective variant dts files. Use 4B dts into default rock-pi-4 defconfig until we find any solution for dynamic detection of these variants. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
42 lines
971 B
Text
42 lines
971 B
Text
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (c) 2019 Akash Gajjar <Akash_Gajjar@mentor.com>
|
|
* Copyright (c) 2019 Pragnesh Patel <Pragnesh_Patel@mentor.com>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "rk3399-rock-pi-4.dtsi"
|
|
|
|
/ {
|
|
model = "Radxa ROCK Pi 4B";
|
|
compatible = "radxa,rockpi4", "rockchip,rk3399";
|
|
};
|
|
|
|
&sdio0 {
|
|
status = "okay";
|
|
|
|
brcmf: wifi@1 {
|
|
compatible = "brcm,bcm4329-fmac";
|
|
reg = <1>;
|
|
interrupt-parent = <&gpio0>;
|
|
interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>;
|
|
interrupt-names = "host-wake";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&wifi_host_wake_l>;
|
|
};
|
|
};
|
|
|
|
&uart0 {
|
|
status = "okay";
|
|
|
|
bluetooth {
|
|
compatible = "brcm,bcm43438-bt";
|
|
clocks = <&rk808 1>;
|
|
clock-names = "ext_clock";
|
|
device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>;
|
|
host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
|
|
shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
|
|
};
|
|
};
|