Commit 8454ad4e authored by Jacobe Zang's avatar Jacobe Zang Committed by Heiko Stuebner
Browse files

arm64: dts: rockchip: Add bluetooth support to Khadas Edge2



This commit adds the RTS signal, specifies the compatible Broadcom chip,
its clock source, interrupts, GPIOs for wakeup and shutdown, maximum speed,
pinctrl settings, and power supplies.

Signed-off-by: default avatarMuhammed Efe Cetin <efectn@protonmail.com>
Signed-off-by: default avatarJacobe Zang <jacobe.zang@wesion.com>
Link: https://lore.kernel.org/r/20250424-edge-v1-1-314aad01d9ab@wesion.com


Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 777055e0
Loading
Loading
Loading
Loading
+17 −1
Original line number Diff line number Diff line
@@ -697,8 +697,24 @@ &uart2 {

&uart9 {
	pinctrl-names = "default";
	pinctrl-0 = <&uart9m2_xfer &uart9m2_ctsn>;
	pinctrl-0 = <&uart9m2_xfer &uart9m2_ctsn &uart9m2_rtsn>;
	status = "okay";

	bluetooth {
		compatible = "brcm,bcm43438-bt";
		clocks = <&hym8563>;
		clock-names = "lpo";
		interrupt-parent = <&gpio0>;
		interrupts = <RK_PD5 IRQ_TYPE_LEVEL_HIGH>;
		interrupt-names = "host-wakeup";
		device-wakeup-gpios = <&gpio0 RK_PD3 GPIO_ACTIVE_HIGH>;
		shutdown-gpios = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>;
		max-speed = <1500000>;
		pinctrl-names = "default";
		pinctrl-0 = <&bt_wake_host_irq &bt_wake_pin &bt_reset_pin>;
		vbat-supply = <&vcc_3v3_s3>;
		vddio-supply = <&vcc_1v8_s3>;
	};
};

&u2phy2 {