From f96f0fdbf6e6471794d62f61513d7a1f5a7746ae Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20=C5=A0tetiar?= Date: Sat, 7 Dec 2019 00:57:10 +0100 Subject: [PATCH] ramips: mt7621: fix PCIe nodes in Telco Electronics X1 DTS MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes following DTC warnings: Warning (avoid_default_addr_size): /pcie@1e140000/pcie0/wifi@0,0: Relying on default #address-cells value Warning (avoid_default_addr_size): /pcie@1e140000/pcie0/wifi@0,0: Relying on default #size-cells value Warning (avoid_default_addr_size): /pcie@1e140000/pcie1/wifi@0,0: Relying on default #address-cells value Warning (avoid_default_addr_size): /pcie@1e140000/pcie1/wifi@0,0: Relying on default #size-cells value Fixes: 73e0f52b6e4e ("ramips: add support for Telco Electronics X1") Cc: Nicholas Smith Signed-off-by: Petr Å tetiar --- .../dts/mt7621_telco-electronics_x1.dts | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/target/linux/ramips/dts/mt7621_telco-electronics_x1.dts b/target/linux/ramips/dts/mt7621_telco-electronics_x1.dts index 9e8f9f75ed..2cada79a78 100644 --- a/target/linux/ramips/dts/mt7621_telco-electronics_x1.dts +++ b/target/linux/ramips/dts/mt7621_telco-electronics_x1.dts @@ -142,25 +142,25 @@ &pcie { status = "okay"; +}; - pcie0 { - wifi@0,0 { - compatible = "pci14c3,7603"; - reg = <0x0000 0 0 0 0>; - mediatek,mtd-eeprom = <&factory 0x0000>; - ieee80211-freq-limit = <2400000 2500000>; - }; +&pcie0 { + wifi@0,0 { + compatible = "pci14c3,7603"; + reg = <0x0000 0 0 0 0>; + mediatek,mtd-eeprom = <&factory 0x0000>; + ieee80211-freq-limit = <2400000 2500000>; }; +}; - pcie1 { - wifi@0,0 { - compatible = "pci14c3,7662"; - reg = <0x0000 0 0 0 0>; - mediatek,mtd-eeprom = <&factory 0x8000>; - ieee80211-freq-limit = <5000000 6000000>; - led { - led-sources = <2>; - }; +&pcie1 { + wifi@0,0 { + compatible = "pci14c3,7662"; + reg = <0x0000 0 0 0 0>; + mediatek,mtd-eeprom = <&factory 0x8000>; + ieee80211-freq-limit = <5000000 6000000>; + led { + led-sources = <2>; }; }; }; -- 2.30.2