From b9e9f549e9b65d85605fd3f7cb587d4df81e7d06 Mon Sep 17 00:00:00 2001 From: Lech Perczak Date: Sun, 7 Jun 2026 15:12:17 +0200 Subject: [PATCH] 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. Link: https://www.nxp.com/docs/en/user-guide/PICO-IMX7UL-USG.pdf [1] Signed-off-by: Lech Perczak Signed-off-by: Frank Li --- arch/arm/boot/dts/nxp/imx/imx7d-pico.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-pico.dtsi b/arch/arm/boot/dts/nxp/imx/imx7d-pico.dtsi index a1574ccec89c..6d4e8087192c 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7d-pico.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7d-pico.dtsi @@ -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