Skip to content

Commit

Permalink
ARM: dts: lpc32xx: phy3250: add unit address to memory device node
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
vzapolskiy committed Feb 3, 2019
1 parent 3d48cda commit e5d48e7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions arch/arm/boot/dts/lpc3250-phy3250.dts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* PHYTEC phyCORE-LPC3250 board
*
* Copyright (C) 2015-2019 Vladimir Zapolskiy <[email protected]>
* Copyright 2012 Roland Stigge <[email protected]>
*
* The code contained herein is licensed under the GNU General Public
Expand All @@ -17,10 +18,8 @@
/ {
model = "PHYTEC phyCORE-LPC3250 board based on NXP LPC3250";
compatible = "phytec,phy3250", "nxp,lpc3250";
#address-cells = <1>;
#size-cells = <1>;

memory {
memory@80000000 {
device_type = "memory";
reg = <0x80000000 0x4000000>;
};
Expand Down

0 comments on commit e5d48e7

Please sign in to comment.