diff --git a/arch/arm64/boot/dts/exynos/google/zumapro-tegu.dts b/arch/arm64/boot/dts/exynos/google/zumapro-tegu.dts index 20e72a61a4..af6644c6d2 100644 --- a/arch/arm64/boot/dts/exynos/google/zumapro-tegu.dts +++ b/arch/arm64/boot/dts/exynos/google/zumapro-tegu.dts @@ -279,6 +279,20 @@ ; }; +/* Bluetooth's host wake (gpa5-6). */ +&gpa5 { + interrupt-controller; + #interrupt-cells = <2>; + interrupts = , + , + , + , + , + , + , + ; +}; + &gpa6 { interrupt-controller; #interrupt-cells = <2>; @@ -362,10 +376,23 @@ &pinctrl_custom_alive { status = "okay"; + + bt_power: bt-power-pins { + samsung,pins = "gpn8-0", "gpn9-0"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = <0>; + }; }; &pinctrl_far_alive { status = "okay"; + + bt_host_wake: bt-host-wake-pins { + samsung,pins = "gpa5-6"; + samsung,pin-function = ; + samsung,pin-pud = ; + }; }; &pinctrl_hsi1 { @@ -407,6 +434,13 @@ &pinctrl_peric1 { status = "okay"; + bt_ble_dbo: bt-ble-dbo-pins { + samsung,pins = "gpp24-3"; + samsung,pin-function = ; + samsung,pin-pud = ; + samsung,pin-drv = <0>; + }; + hsi2c9_bus: hsi2c9-bus-pins { samsung,pins = "gpp19-4", "gpp19-5"; samsung,pin-function = ; @@ -466,6 +500,28 @@ status = "okay"; }; +/* + * Bluetooth: the BCM4383 on the APM's UART at 3 Mbaud, powered through + * BT_REG_ON (gpn8-0) behind its latch (ble-dbo on gpp24-3), with device wake + * on gpn9-0 and host wake on gpa5-6, as Google's GPL zumapro Bluetooth DT. + */ +&uart18 { + status = "okay"; + + bluetooth { + compatible = "brcm,bcm4383-bt"; + pinctrl-names = "default"; + pinctrl-0 = <&bt_power &bt_ble_dbo &bt_host_wake>; + max-speed = <3000000>; + shutdown-gpios = <&gpn8 0 GPIO_ACTIVE_HIGH>; + device-wakeup-gpios = <&gpn9 0 GPIO_ACTIVE_HIGH>; + brcm,ble-dbo-gpios = <&gpp24 3 GPIO_ACTIVE_HIGH>; + interrupt-parent = <&gpa5>; + interrupts = <6 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "host-wakeup"; + }; +}; + /* * Behind the init's storage guard (only slot B's boot images and userdata * writable), which runs before the disks appear. @@ -525,6 +581,10 @@ status = "okay"; }; +&usi_apm1 { + status = "okay"; +}; + &watchdog_cl0 { status = "okay"; };