From: Felix Fietkau <nbd@openwrt.org>
Date: Sat, 8 Nov 2014 14:15:44 +0000 (+0000)
Subject: ramips: add missing size/address-cells to device tree include files
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=29f71d384f5d1fee5a68772775484f0fa00e04a4;p=openwrt%2Fstaging%2Frobimarko.git

ramips: add missing size/address-cells to device tree include files

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43217
---

diff --git a/target/linux/ramips/dts/mt7620a.dtsi b/target/linux/ramips/dts/mt7620a.dtsi
index 211d8dc3c1..37b65600ef 100644
--- a/target/linux/ramips/dts/mt7620a.dtsi
+++ b/target/linux/ramips/dts/mt7620a.dtsi
@@ -434,6 +434,9 @@
 		reg = <0x10140000 0x100
 			0x10142000 0x100>;
 
+		#address-cells = <3>;
+		#size-cells = <2>;
+
 		resets = <&rstctrl 26>;
 		reset-names = "pcie0";
 
@@ -444,6 +447,10 @@
 
 		pcie-bridge {
 			reg = <0x0000 0 0 0 0>;
+
+			#address-cells = <3>;
+			#size-cells = <2>;
+
 			device_type = "pci";
 		};
 	};
diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi
index ee953cd026..f0cb7b5f50 100644
--- a/target/linux/ramips/dts/mt7628an.dtsi
+++ b/target/linux/ramips/dts/mt7628an.dtsi
@@ -202,6 +202,9 @@
 		reg = <0x10140000 0x100
 			0x10142000 0x100>;
 
+		#address-cells = <3>;
+		#size-cells = <2>;
+
 		resets = <&rstctrl 26>;
 		reset-names = "pcie0";
 
@@ -212,6 +215,10 @@
 
 		pcie-bridge {
 			reg = <0x0000 0 0 0 0>;
+
+			#address-cells = <3>;
+			#size-cells = <2>;
+
 			device_type = "pci";
 		};
 	};