diff mbox series

arm64: dts: rockchip: Add AP6275P wireless support to ArmSoM Sige7

Message ID 20250311142825.2727171-1-liujianfeng1994@gmail.com (mailing list archive)
State New
Headers show
Series arm64: dts: rockchip: Add AP6275P wireless support to ArmSoM Sige7 | expand

Commit Message

Jianfeng Liu March 11, 2025, 2:27 p.m. UTC
ArmSoM Sige7 uses the PCI-e AP6275P Wi-Fi 6 module. The pcie@0 node can
be used as Bridge1, so the wifi@0 node is used as a device under the
Bridege 1 similar with Khadas Edge 2.

Signed-off-by: Jianfeng Liu <liujianfeng1994@gmail.com>
---

 .../boot/dts/rockchip/rk3588-armsom-sige7.dts    | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

Comments

Heiko Stuebner March 12, 2025, 7:45 a.m. UTC | #1
On Tue, 11 Mar 2025 22:27:50 +0800, Jianfeng Liu wrote:
> ArmSoM Sige7 uses the PCI-e AP6275P Wi-Fi 6 module. The pcie@0 node can
> be used as Bridge1, so the wifi@0 node is used as a device under the
> Bridege 1 similar with Khadas Edge 2.
> 
> 

Applied, thanks!

[1/1] arm64: dts: rockchip: Add AP6275P wireless support to ArmSoM Sige7
      commit: d6166ea4cc4943cbabdeeedb13f3545fdba3ebf6

Best regards,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/rockchip/rk3588-armsom-sige7.dts b/arch/arm64/boot/dts/rockchip/rk3588-armsom-sige7.dts
index 6a0fffaa26ee..face42bb0d7d 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-armsom-sige7.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-armsom-sige7.dts
@@ -300,6 +300,22 @@  &pcie2x1l0 {
 &pcie2x1l1 {
 	reset-gpios = <&gpio3 RK_PD4 GPIO_ACTIVE_HIGH>;
 	status = "okay";
+
+	pcie@0,0 {
+		reg = <0x300000 0 0 0 0>;
+		#address-cells = <3>;
+		#size-cells = <2>;
+		ranges;
+		device_type = "pci";
+		bus-range = <0x30 0x3f>;
+
+		wifi: wifi@0,0 {
+			compatible = "pci14e4,449d";
+			reg = <0x310000 0 0 0 0>;
+			clocks = <&hym8563>;
+			clock-names = "lpo";
+		};
+	};
 };
 
 /* phy0 - left ethernet port */