diff options
author | Andre Przywara <andre.przywara@arm.com> | 2022-07-19 12:11:37 +0100 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2022-07-19 12:11:40 +0100 |
commit | f33e113c7a7dffd8ed219f25191907fd64bcf19f (patch) | |
tree | 8d9abbc6354174e3615a42817ca29d9c3980caa7 /fdts | |
parent | 982f2585bb27b58c017af70d852a433f36711db1 (diff) | |
download | arm-trusted-firmware-f33e113c7a7dffd8ed219f25191907fd64bcf19f.tar.gz |
fix(morello): dts: remove #a-c and #s-c from memory node
The #address-cells and #size-cells properties affect the size of reg
properties in *child* nodes only, they have no effect on the current
node.
The /memory node has no children, hence there is no need to specify
those properties. dt-validate complains about this:
==========
morello-soc.dtb: /: memory@80000000: '#address-cells', '#size-cells' do
not match any of the regexes: 'pinctrl-[0-9]+'
From schema: dt-schema.git/dtschema/schemas/memory.yaml
==========
Remove the unneeded properties.
Change-Id: I35058a00fa9bfa1007f31a4c21898dd45c586aa8
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'fdts')
-rw-r--r-- | fdts/morello-fvp.dts | 4 | ||||
-rw-r--r-- | fdts/morello-soc.dts | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/fdts/morello-fvp.dts b/fdts/morello-fvp.dts index 065535ee0..dc3df4180 100644 --- a/fdts/morello-fvp.dts +++ b/fdts/morello-fvp.dts @@ -79,16 +79,12 @@ /* The first bank of memory, memory map is actually provided by UEFI. */ memory@80000000 { - #address-cells = <2>; - #size-cells = <2>; device_type = "memory"; /* [0x80000000-0xffffffff] */ reg = <0x00000000 0x80000000 0x0 0x80000000>; }; memory@8080000000 { - #address-cells = <2>; - #size-cells = <2>; device_type = "memory"; /* [0x8080000000-0x83ffffffff] */ reg = <0x00000080 0x80000000 0x1 0x80000000>; diff --git a/fdts/morello-soc.dts b/fdts/morello-soc.dts index 0ae00b5c9..5f147b7f7 100644 --- a/fdts/morello-soc.dts +++ b/fdts/morello-soc.dts @@ -60,16 +60,12 @@ /* The first bank of memory, memory map is actually provided by UEFI. */ memory@80000000 { - #address-cells = <2>; - #size-cells = <2>; device_type = "memory"; /* [0x80000000-0xffffffff] */ reg = <0x00000000 0x80000000 0x0 0x7F000000>; }; memory@8080000000 { - #address-cells = <2>; - #size-cells = <2>; device_type = "memory"; /* [0x8080000000-0x83f7ffffff] */ reg = <0x00000080 0x80000000 0x3 0x78000000>; |