Browse Source

ARM: dts: keystone-k2g-evm: Add unit address to memory node

Upstream Linux has the unit address being added to the various 66AK2Gx
boards dts. Therefore, update the dts to mimic this change.

Also remove memory node from the base K2G dtsi file.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Cooper Jr., Franklin 8 năm trước cách đây
mục cha
commit
0d3f97db71
2 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 5 0
      arch/arm/dts/keystone-k2g-evm.dts
  2. 0 5
      arch/arm/dts/keystone-k2g.dtsi

+ 5 - 0
arch/arm/dts/keystone-k2g-evm.dts

@@ -18,6 +18,11 @@
 	chosen {
 		stdout-path = &uart0;
 	};
+
+	memory@80000000 {
+		device_type = "memory";
+		reg = <0x80000000 0x80000000>;
+	};
 };
 
 &mdio {

+ 0 - 5
arch/arm/dts/keystone-k2g.dtsi

@@ -30,11 +30,6 @@
 		i2c2 = &i2c2;
 	};
 
-	memory {
-		device_type = "memory";
-		reg = <0x80000000 0x80000000>;
-	};
-
 	cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;