Commit fbf15046 authored by Heiko Stuebner's avatar Heiko Stuebner

ARM: dts: rockchip: move rk3036 memory definition to board files

The amount of available memory is clearly a board-specific value, so
the core per-soc dtsi should not define a default of any sort.
Therefore move the memory-nodes to the two board files.

Also fix the amount of memory on Kylin (512MB instead of 1GB).
While in most cases the bootloader will override this with the
actual amount of memory, there is no need to keep known wrong values
in the board-dts.
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 37aedb29
......@@ -45,6 +45,11 @@
/ {
model = "Rockchip RK3036 Evaluation board";
compatible = "rockchip,rk3036-evb", "rockchip,rk3036";
memory {
device_type = "memory";
reg = <0x60000000 0x40000000>;
};
};
&emac {
......
......@@ -46,6 +46,11 @@ / {
model = "Rockchip RK3036 KylinBoard";
compatible = "rockchip,rk3036-kylin", "rockchip,rk3036";
memory {
device_type = "memory";
reg = <0x60000000 0x20000000>;
};
leds: gpio-leds {
compatible = "gpio-leds";
......
......@@ -63,11 +63,6 @@ aliases {
spi = &spi;
};
memory {
device_type = "memory";
reg = <0x60000000 0x40000000>;
};
cpus {
#address-cells = <1>;
#size-cells = <0>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment