ARM: dts: imx7d-pico: describe Bluetooth controller
Subsystems (2)
PATCH 1/1 ARM: dts: imx7d-pico: describe Bluetooth controller
Ampak AP6335i Wi-Fi module atop i.MX7D Pico SoM also supports Bluetooth 4.1 via UART attached to "serial6" port. Describe it, so the controller can probe automatically on boot.
This is based on "Pico i.MMX Development Kit for Android Things Hardware Manual" rev. B1 [1], Table 6 on page 12.
--- arch/arm/boot/dts/nxp/imx/imx7d-pico.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)
arch/arm/boot/dts/nxp/imx/imx7d-pico.dtsi +23 -0
@@ -339,6 +339,20 @@ &uart7 { /* Bluetooth */ assigned-clock-parents = <&clks IMX7D_PLL_SYS_MAIN_240M_CLK>; uart-has-rtscts; status = "okay"; + + bluetooth { + compatible = "brcm,bcm4329-bt"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_bluetooth>; + + max-speed = <3000000>; + + reset-gpios = <&gpio4 18 GPIO_ACTIVE_LOW>; + device-wakeup-gpios = <&gpio4 17 GPIO_ACTIVE_HIGH>; + interrupt-parent = <&gpio5>; + interrupts = <11 IRQ_TYPE_EDGE_FALLING>; + interrupt-names = "host-wakeup"; + }; }; &usbotg1 {
@@ -401,6 +415,15 @@ &wdog1 { }; &iomuxc { + pinctrl_bluetooth: bluetoothgrp { + fsl,pins = < + MX7D_PAD_ECSPI1_MOSI__GPIO4_IO17 0x14 + MX7D_PAD_ECSPI1_MISO__GPIO4_IO18 0x14 + MX7D_PAD_SD2_RESET_B__GPIO5_IO11 0x14 + >; + + }; + pinctrl_ecspi3: ecspi3grp { fsl,pins = < MX7D_PAD_I2C1_SCL__ECSPI3_MISO 0x2
base-commit: e43ffb69e0438cddd72aaa30898b4dc446f664f8
Signature · 1 line
2.47.3
[email protected]
AppliedRe: (subset) [PATCH] ARM: dts: imx7d-pico: describe Bluetooth controller
From: Frank Li <[email protected]>
Quoted 8 lines · Lech Perczak
Ampak AP6335i Wi-Fi module atop i.MX7D Pico SoM also supports Bluetooth 4.1 via UART attached to "serial6" port. Describe it, so the controller can probe automatically on boot.
This is based on "Pico i.MMX Development Kit for Android Things Hardware Manual" rev. B1 [1], Table 6 on page 12.
[...]
Applied, thanks!
[1/1] ARM: dts: imx7d-pico: describe Bluetooth controller
commit: b9e9f549e9b65d85605fd3f7cb587d4df81e7d06
Best regards,
Signature · 1 line
Frank Li <[email protected]>