qualcommax: fix PCIe card wifi node address

Unlike other buses, for PCIe child nodes we should not use "wifi@1,0" as
the bus adress since for PCI devices the actual device adress on the bus is
actually set via the "reg" property and the node name is unused completely.

Though, it will cause DTC to throw warnings, so after investigation and
similar issue upstream[1] simply set the nodes to "wifi@0,0" instead.

[1] https://lists.infradead.org/pipermail/linux-arm-kernel/2021-August/680846.html

Link: https://github.com/openwrt/openwrt/pull/18789
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Robert Marko 2025-05-12 20:14:52 +02:00
parent 487fc2ec96
commit 1e20f7b6c6
10 changed files with 11 additions and 11 deletions

View file

@ -308,7 +308,7 @@
perst-gpios = <&tlmm 15 GPIO_ACTIVE_LOW>;
pcie@0 {
wifi@1,0 {
wifi@0,0 {
status = "okay";
/* QCN9074: ath11k lacks DT compatible for PCI cards */

View file

@ -155,7 +155,7 @@
perst-gpios = <&tlmm 15 GPIO_ACTIVE_LOW>;
pcie@0 {
wifi@1,0 {
wifi@0,0 {
status = "okay";
/* QCN9074: ath11k lacks DT compatible for PCI cards */

View file

@ -166,7 +166,7 @@
perst-gpios = <&tlmm 15 GPIO_ACTIVE_LOW>;
pcie@0 {
wifi@1,0 {
wifi@0,0 {
status = "okay";
/* QCN9074: ath11k lacks DT compatible for PCI cards */

View file

@ -156,7 +156,7 @@
perst-gpio = <&tlmm 60 GPIO_ACTIVE_LOW>;
pcie@0 {
wifi@1,0 {
wifi@0,0 {
status = "okay";
/* ath11k has no DT compatible for PCI cards */

View file

@ -523,7 +523,7 @@
status = "okay";
pcie@0 {
wifi@1,0 {
wifi@0,0 {
status = "okay";
/* ath11k has no DT compatible for PCI cards */
compatible = "pci17cb,1104";

View file

@ -51,7 +51,7 @@
perst-gpio = <&tlmm 52 GPIO_ACTIVE_HIGH>;
pcie@0 {
wifi0: wifi@1,0 {
wifi0: wifi@0,0 {
status = "okay";
compatible = "qcom,ath10k";

View file

@ -536,7 +536,7 @@
perst-gpio = <&tlmm 58 GPIO_ACTIVE_LOW>;
pcie@0 {
wifi@1,0 {
wifi@0,0 {
status = "okay";
/* ath11k has no DT compatible for PCI cards */
@ -558,7 +558,7 @@
perst-gpio = <&tlmm 62 GPIO_ACTIVE_HIGH>;
pcie@0 {
wifi@1,0 {
wifi@0,0 {
status = "okay";
compatible = "qcom,ath10k";

View file

@ -293,7 +293,7 @@
perst-gpio = <&tlmm 61 GPIO_ACTIVE_LOW>;
pcie@0 {
wifi@1,0 {
wifi@0,0 {
status = "okay";
/* ath11k has no DT compatible for PCI cards */

View file

@ -523,7 +523,7 @@
perst-gpio = <&tlmm 58 GPIO_ACTIVE_LOW>;
pcie@0 {
wifi0: wifi@1,0 {
wifi0: wifi@0,0 {
status = "okay";
compatible = "qcom,ath10k";

View file

@ -499,7 +499,7 @@
perst-gpio = <&tlmm 61 GPIO_ACTIVE_LOW>;
pcie@0 {
wifi@1,0 {
wifi@0,0 {
status = "okay";
/* ath11k has no DT compatible for PCI cards */