diff --git a/patch/kernel/archive/rockchip64-6.18/dt/rk3588-blueberry-r58-4x4.dts b/patch/kernel/archive/rockchip64-6.18/dt/rk3588-blueberry-r58-4x4.dts index b74a71f4c4..bb93ee464f 100644 --- a/patch/kernel/archive/rockchip64-6.18/dt/rk3588-blueberry-r58-4x4.dts +++ b/patch/kernel/archive/rockchip64-6.18/dt/rk3588-blueberry-r58-4x4.dts @@ -419,6 +419,20 @@ rockchip,pins = <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>; }; }; + + wireless-bluetooth { + bt_reset_pin: bt-reset-pin { + rockchip,pins = <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + bt_wake_pin: bt-wake-pin { + rockchip,pins = <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_down>; + }; + + bt_wake_host_irq: bt-wake-host-irq { + rockchip,pins = <1 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; }; &saradc { @@ -798,6 +812,29 @@ status = "okay"; }; +// bluetooth via the BCM43752 +&uart6 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&uart6m1_xfer &uart6m1_ctsn &uart6m1_rtsn>; + + bluetooth { + compatible = "brcm,bcm43438-bt"; + clocks = <&hym8563>; + clock-names = "lpo"; + interrupt-parent = <&gpio1>; // bt_wake_host_irq + interrupts = ; // bt_wake_host_irq + interrupt-names = "host-wakeup"; + device-wakeup-gpios = <&gpio1 RK_PA4 GPIO_ACTIVE_HIGH>; // bt_wake_pin + shutdown-gpios = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>; // bt_reset_pin + 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>; + }; +}; + &u2phy0 { status = "okay";