ARM: dts: lpc32xx: ea3250: add unit address to memory device node
authorVladimir Zapolskiy <vz@mleia.com>
Tue, 29 Jan 2019 19:20:46 +0000 (21:20 +0200)
committerVladimir Zapolskiy <vz@mleia.com>
Sun, 3 Feb 2019 19:37:34 +0000 (21:37 +0200)
The change adds a unit address to memory device node, the issue was
reported as a unit_address_vs_reg warning by dtc.

Root device node properties #address-cells and #size-cells were
removed as inherited from lpc32xx.dtsi.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
arch/arm/boot/dts/lpc3250-ea3250.dts

index 58ea0a4..ef6b3e7 100644 (file)
 / {
        model = "Embedded Artists LPC3250 board based on NXP LPC3250";
        compatible = "ea,ea3250", "nxp,lpc3250";
-       #address-cells = <1>;
-       #size-cells = <1>;
 
-       memory {
+       memory@80000000 {
                device_type = "memory";
                reg = <0x80000000 0x4000000>;
        };