Skip to content

Commit 84fb79b

Browse files
amazingfatemmind
authored andcommitted
arm64: dts: rockchip: Add bluetooth support to ArmSoM Sige7
ArmSoM Sige7 has onboard AP6275P Wi-Fi6 (PCIe) and BT5 (UART) module which is similar with Khadas Edge2. This commit enables bluetooth at uart6. Signed-off-by: Jianfeng Liu <liujianfeng1994@gmail.com> Link: https://lore.kernel.org/r/20250621135319.61766-1-liujianfeng1994@gmail.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 29ff4bb commit 84fb79b

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3588-armsom-sige7.dts

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,20 @@
373373
rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
374374
};
375375
};
376+
377+
wireless-bluetooth {
378+
bt_reset_pin: bt-reset-pin {
379+
rockchip,pins = <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
380+
};
381+
382+
bt_wake_pin: bt-wake-pin {
383+
rockchip,pins = <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_up>;
384+
};
385+
386+
bt_wake_host_irq: bt-wake-host-irq {
387+
rockchip,pins = <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_down>;
388+
};
389+
};
376390
};
377391

378392
&pwm1 {
@@ -767,6 +781,28 @@
767781
status = "okay";
768782
};
769783

784+
&uart6 {
785+
pinctrl-names = "default";
786+
pinctrl-0 = <&uart6m1_xfer &uart6m1_ctsn &uart6m1_rtsn>;
787+
status = "okay";
788+
789+
bluetooth {
790+
compatible = "brcm,bcm43438-bt";
791+
clocks = <&hym8563>;
792+
clock-names = "lpo";
793+
interrupt-parent = <&gpio0>;
794+
interrupts = <RK_PC5 IRQ_TYPE_LEVEL_HIGH>;
795+
interrupt-names = "host-wakeup";
796+
device-wakeup-gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>;
797+
shutdown-gpios = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>;
798+
max-speed = <1500000>;
799+
pinctrl-names = "default";
800+
pinctrl-0 = <&bt_wake_host_irq &bt_wake_pin &bt_reset_pin>;
801+
vbat-supply = <&vcc_3v3_s3>;
802+
vddio-supply = <&vcc_1v8_s3>;
803+
};
804+
};
805+
770806
&usbdp_phy1 {
771807
status = "okay";
772808
};

0 commit comments

Comments
 (0)