[OpenWrt-Devel] [PATCH 3/4] ipq40xx: fix OpenMesh A62 dtc warnings

Christian Lamparter chunkeey at gmail.com
Thu Jun 7 11:36:57 EDT 2018


Warning (pci_bridge): Node /soc/pci at 40000000/pcie at 0 missing ranges for PCI bridge (or not a bridge)
Warning (pci_bridge): Node /soc/pci at 40000000/pcie at 0 missing bus-range for PCI bridge
Warning (pci_bridge): Node /soc/pci at 40000000/pcie at 0/ath10k at 0,0 node name is not "pci" or "pcie"
Warning (pci_bridge): Node /soc/pci at 40000000/pcie at 0/ath10k at 0,0 missing ranges for PCI bridge (or not a bridge)
Warning (pci_bridge): Node /soc/pci at 40000000/pcie at 0/ath10k at 0,0 incorrect #address-cells for PCI bridge
Warning (pci_bridge): Node /soc/pci at 40000000/pcie at 0/ath10k at 0,0 incorrect #size-cells for PCI bridge
Warning (pci_bridge): Node /soc/pci at 40000000/pcie at 0/ath10k at 0,0 missing bus-range for PCI bridge
Warning (unit_address_format): Failed prerequisite 'pci_bridge'
Warning (pci_device_reg): Failed prerequisite 'pci_bridge'
Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge'

Cc: Sven Eckelmann <sven.eckelmann at openmesh.com>
Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
---
 .../arch/arm/boot/dts/qcom-ipq4019-a62.dts         | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-a62.dts b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-a62.dts
index dd6d6bd775..b69e142d6f 100644
--- a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-a62.dts
+++ b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-a62.dts
@@ -212,18 +212,16 @@
 	perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
 	wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
 
-	pcie at 0 {
-		reg = <0 0 0 0 0>;
-		#interrupt-cells = <1>;
-		#size-cells = <2>;
+	bridge at 0,0 {
+		reg = <0x00000000 0 0 0 0>;
 		#address-cells = <3>;
-		device_type = "pci";
+		#size-cells = <2>;
+		ranges;
 
-		ath10k at 0,0 {
+		wifi2: wifi at 0,0 {
 			compatible = "qcom,ath10k";
 			status = "okay";
-			reg = <0 0 0 0 0>;
-			device_type = "pci";
+			reg = <0x00010000 0 0 0 0>;
 			qcom,ath10k-calibration-variant = "OM-A62";
 		};
 	};
-- 
2.17.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/listinfo/openwrt-devel



More information about the openwrt-devel mailing list