Thread (14 messages) 14 messages, 3 authors, 2024-08-01

Re: [PATCH v6 3/5] arm64: dts: rockchip: Add AP6275P wireless support to Khadas Edge 2

From: Arend Van Spriel <arend.vanspriel@broadcom.com>
Date: 2024-07-31 06:41:30
Also in: linux-devicetree, linux-rockchip, linux-wireless, lkml, netdev

On July 31, 2024 8:11:58 AM Jacobe Zang [off-list ref] wrote:
quoted hunk ↗ jump to hunk
Khadas Edge2 uses the PCI-e Ampak AP6275P 2T2R 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 Bridge1.

Co-developed-by: Muhammed Efe Cetin <redacted>
Signed-off-by: Muhammed Efe Cetin <redacted>
Signed-off-by: Jacobe Zang <redacted>
---
.../boot/dts/rockchip/rk3588s-khadas-edge2.dts   | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts 
b/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts
index dbddfc3bb4641..b80a552dad883 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588s-khadas-edge2.dts
@@ -283,6 +283,22 @@ &pcie2x1l2 {
 reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>;
 vpcie3v3-supply = <&vcc3v3_pcie_wl>;
 status = "okay";
+
+ pcie@0,0 {
+ reg = <0x400000 0 0 0 0>;
+ #address-cells = <3>;
+ #size-cells = <2>;
+ ranges;
+ device_type = "pci";
+ bus-range = <0x40 0x4f>;
+
+ wifi: wifi@0,0 {
+ compatible = "pci14e4,449d";
Probably need to add "brcm,bcm4329-fmac" as well here.

Regards,
Arend


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help