aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammed Efe Cetin <[email protected]>2024-02-20 01:34:24 +0300
committerHeiko Stuebner <[email protected]>2024-04-11 20:21:55 +0200
commite438acfda8a0088a3c7f450a7ffefeb56074e41e (patch)
tree3864b2740ede63c0d5e1b988d821d61c63b87096
parent8711dca3b5f7a3834ae1129512f98a2367940a07 (diff)
arm64: dts: rockchip: Add UART9 (bluetooth) to Khadas Edge 2
Khadas Edge 2 has onboard AP6275P Wi-Fi6 (PCIe2) and BT5 (UART9) module. This commit enables UART9. Signed-off-by: Muhammed Efe Cetin <[email protected]> Link: https://lore.kernel.org/r/0a10afeff3aec3a8bccca2dbe4e65f7b4a2c4666.1708381247.git.efectn@protonmail.com Signed-off-by: Heiko Stuebner <[email protected]>
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts b/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts
index 1bd6cb9c6111..4173afb78f9b 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts
@@ -244,6 +244,20 @@
rockchip,pins = <1 RK_PA7 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
+
+ wireless-bluetooth {
+ bt_reset_pin: bt-reset-pin {
+ rockchip,pins = <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
+ };
+
+ bt_wake_pin: bt-wake-pin {
+ rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>;
+ };
+
+ bt_wake_host_irq: bt-wake-host-irq {
+ rockchip,pins = <0 RK_PD5 RK_FUNC_GPIO &pcfg_pull_down>;
+ };
+ };
};
&pcie2x1l2 {
@@ -644,6 +658,12 @@
status = "okay";
};
+&uart9 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart9m2_xfer &uart9m2_ctsn>;
+ status = "okay";
+};
+
&u2phy2 {
status = "okay";
};