Skip to contentSkip to conversation

arm64: dts: amlogic: meson-gxl-s905d-phicomm-n1: add bluetooth node

PATCH Applied Jun Yan 2 participants 3 messages Feb 13 – Mar 26

Subsystems (2)
lore
Share & tools
lore

Jun Yan

author
#0 lore raw

PATCH 1/1 arm64: dts: amlogic: meson-gxl-s905d-phicomm-n1: add bluetooth node

The Phicomm N1 uses a CY43455 (BCM43438) module with its Bluetooth interface connected to uart_A.

Add the required device tree node to enable proper functionality.

---
 .../dts/amlogic/meson-gxl-s905d-phicomm-n1.dts    | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts +15 -0
index 393d3cb33b9e..dea3a60e8527 100644
@@ -30,6 +30,21 @@ &cvbs_vdac_port {
 	status = "disabled";
 };
 
+&uart_A {
+	status = "okay";
+	pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
+	pinctrl-names = "default";
+	uart-has-rtscts;
+
+	bluetooth {
+		compatible = "brcm,bcm43438-bt";
+		shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
+		max-speed = <2000000>;
+		clocks = <&wifi32k>;
+		clock-names = "lpo";
+	};
+};
+
 &usb {
 	dr_mode = "host";
 };
Signature · 1 line
2.53.0
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 26 lines · Jun Yan

The Phicomm N1 uses a CY43455 (BCM43438) module with its Bluetooth interface connected to uart_A.

Add the required device tree node to enable proper functionality.

---
  .../dts/amlogic/meson-gxl-s905d-phicomm-n1.dts    | 15 +++++++++++++++
  1 file changed, 15 insertions(+)
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts +8 -0
index 393d3cb33b9e..dea3a60e8527 100644
@@ -30,6 +30,21 @@ &cvbs_vdac_port {
  	status = "disabled";
  };
 
+&uart_A {
+	status = "okay";
+	pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
+	pinctrl-names = "default";
+	uart-has-rtscts;
+
+	bluetooth {
+		compatible = "brcm,bcm43438-bt";

arch/arm64/boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts &cvbs_vdac_port { · line 50

Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts +7 -0
+		shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
+		max-speed = <2000000>;
+		clocks = <&wifi32k>;
+		clock-names = "lpo";
+	};
+};
+
  &usb {
  	dr_mode = "host";
  };

Thanks,
Neil

maintainer Applied
#2 lore raw
In reply to Jun Yan

Hi,

Quoted 6 lines · Jun Yan

The Phicomm N1 uses a CY43455 (BCM43438) module with its Bluetooth interface connected to uart_A.

Add the required device tree node to enable proper functionality.

Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v7.1/arm64-dt)

[1/1] arm64: dts: amlogic: meson-gxl-s905d-phicomm-n1: add bluetooth node

      https://git.kernel.org/amlogic/c/d6df314c0165cb809d6c647a593664a4f5028230

These changes has been applied on the intermediate git tree [1].

The v7.1/arm64-dt branch will then be sent via a formal Pull Request to the Linux SoC maintainers for inclusion in their intermediate git branches in order to be sent to Linus during the next merge window, or sooner if it's a set of fixes.

In the cases of fixes, those will be merged in the current release candidate kernel and as soon they appear on the Linux master branch they will be backported to the previous Stable and Long-Stable kernels [2].

The intermediate git branches are merged daily in the linux-next tree [3], people are encouraged testing these pre-release kernels and report issues on the relevant mailing-lists.

If problems are discovered on those changes, please submit a signed-off-by revert patch followed by a corrective changeset.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
[3] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git

Signature · 1 line
Neil