arm64: dts: rockchip: add WIFI/BT for rk3588s evb1

Signed-off-by: Alex Zhao <zzc@rock-chips.com>
Change-Id: Ifa836565dc7c7c1ef5a29e043d3289ca4a624e8b
This commit is contained in:
Alex Zhao
2021-11-25 16:24:18 +08:00
committed by Tao Huang
parent b53d1f9467
commit b48a277602

View File

@@ -164,6 +164,30 @@
pinctrl-names = "default";
pinctrl-0 = <&vcc5v0_host_en>;
};
wireless_bluetooth: wireless-bluetooth {
compatible = "bluetooth-platdata";
clocks = <&hym8563>;
clock-names = "ext_clock";
uart_rts_gpios = <&gpio3 RK_PA4 GPIO_ACTIVE_LOW>;
pinctrl-names = "default", "rts_gpio";
pinctrl-0 = <&uart8m1_rtsn>, <&bt_gpio>;
pinctrl-1 = <&uart8_gpios>;
BT,reset_gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_HIGH>;
BT,wake_gpio = <&gpio3 RK_PC1 GPIO_ACTIVE_HIGH>;
BT,wake_host_irq = <&gpio3 RK_PC0 GPIO_ACTIVE_HIGH>;
status = "okay";
};
wireless_wlan: wireless-wlan {
compatible = "wlan-platdata";
wifi_chip_type = "ap6275p";
pinctrl-names = "default";
pinctrl-0 = <&wifi_host_wake_irq>, <&wifi_poweren_gpio>;
WIFI,host_wake_irq = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>;
WIFI,poweren_gpio = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>;
status = "okay";
};
};
&backlight {
@@ -172,6 +196,10 @@
status = "okay";
};
&combphy0_ps {
status = "okay";
};
&dp0 {
status = "okay";
};
@@ -438,6 +466,29 @@
rockchip,pins = <1 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
wireless-bluetooth {
uart8_gpios: uart8-gpios {
rockchip,pins = <3 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
};
bt_gpio: bt-gpio {
rockchip,pins =
<3 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>,
<3 RK_PC1 RK_FUNC_GPIO &pcfg_pull_up>,
<3 RK_PC0 RK_FUNC_GPIO &pcfg_pull_down>;
};
};
wireless-wlan {
wifi_host_wake_irq: wifi-host-wake-irq {
rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_down>;
};
wifi_poweren_gpio: wifi-poweren-gpio {
rockchip,pins = <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
};
&pwm11 {
@@ -472,6 +523,12 @@
phy-supply = <&vcc5v0_host>;
};
&uart8 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&uart8m1_xfer &uart8m1_ctsn>;
};
&usbdp_phy0 {
orientation-switch;
svid = <0xff01>;