arm64: dts: rockchip: add WIFI/BT/Ethernet for rk3588 evb3

Signed-off-by: Alex Zhao <zzc@rock-chips.com>
Change-Id: Iae3395967ba0a71724fa959c1f3a1085927a130e
This commit is contained in:
Alex Zhao
2021-11-17 11:03:49 +08:00
committed by Tao Huang
parent a8c903523a
commit 23daad7340

View File

@@ -143,6 +143,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>;
pinctrl-1 = <&uart8_gpios>;
BT,reset_gpio = <&gpio3 RK_PB1 GPIO_ACTIVE_HIGH>;
BT,wake_gpio = <&gpio3 RK_PA1 GPIO_ACTIVE_HIGH>;
BT,wake_host_irq = <&gpio3 RK_PA0 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_PC4 GPIO_ACTIVE_HIGH>;
WIFI,poweren_gpio = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>;
status = "okay";
};
};
&combphy0_ps {
@@ -967,6 +991,18 @@
status = "disabled";
};
&pcie2x1l1 {
reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&rtl8111_isolate>;
status = "okay";
};
&pcie2x1l2 {
reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>;
status = "okay";
};
&pcie30phy {
status = "okay";
};
@@ -1003,6 +1039,12 @@
};
};
rtl8111 {
rtl8111_isolate: rtl8111-isolate {
rockchip,pins = <3 RK_PD2 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
sensor {
mh248_irq_gpio: mh248-irq-gpio {
rockchip,pins = <0 RK_PD2 RK_FUNC_GPIO &pcfg_pull_up>;
@@ -1036,6 +1078,22 @@
rockchip,pins = <4 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
wireless-bluetooth {
uart8_gpios: uart8-gpios {
rockchip,pins = <3 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
wireless-wlan {
wifi_host_wake_irq: wifi-host-wake-irq {
rockchip,pins = <0 RK_PC4 RK_FUNC_GPIO &pcfg_pull_down>;
};
wifi_poweren_gpio: wifi-poweren-gpio {
rockchip,pins = <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
};
&pwm15 {
@@ -1063,6 +1121,12 @@
phy-supply = <&vcc5v0_host>;
};
&uart8 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&uart8m1_xfer &uart8m1_ctsn>;
};
&usbdp_phy0 {
orientation-switch;
svid = <0xff01>;