[U-Boot] [PATCH v3 26/30] ARM: dts: keystone-k2g-evm: Add unit address to memory node

2017-05-24 Thread Franklin S Cooper Jr
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 
---
Version 2 changes:
This patch attempts to get the dts closer to what is used in the Linux
kernel

 arch/arm/dts/keystone-k2g-evm.dts | 5 +
 arch/arm/dts/keystone-k2g.dtsi| 5 -
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/arm/dts/keystone-k2g-evm.dts 
b/arch/arm/dts/keystone-k2g-evm.dts
index 2c99df4..f6fce33 100644
--- a/arch/arm/dts/keystone-k2g-evm.dts
+++ b/arch/arm/dts/keystone-k2g-evm.dts
@@ -18,6 +18,11 @@
chosen {
stdout-path = &uart0;
};
+
+   memory@8000 {
+   device_type = "memory";
+   reg = <0x8000 0x8000>;
+   };
 };
 
 &mdio {
diff --git a/arch/arm/dts/keystone-k2g.dtsi b/arch/arm/dts/keystone-k2g.dtsi
index f05afb7..7b2fae6 100644
--- a/arch/arm/dts/keystone-k2g.dtsi
+++ b/arch/arm/dts/keystone-k2g.dtsi
@@ -30,11 +30,6 @@
i2c2 = &i2c2;
};
 
-   memory {
-   device_type = "memory";
-   reg = <0x8000 0x8000>;
-   };
-
cpus {
#address-cells = <1>;
#size-cells = <0>;
-- 
2.10.0

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PATCH v3 26/30] ARM: dts: keystone-k2g-evm: Add unit address to memory node

2017-05-26 Thread Tom Rini
On Wed, May 24, 2017 at 10:43:06AM -0500, Franklin S Cooper Jr wrote:

> 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 

Reviewed-by: Tom Rini 

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot