Skip to contentSkip to conversation

ARM64: dts: vexpress: Separate each group of data in the property 'reg'

PATCH New Zhen Lei 1 participant 1 message May 21, 2021

Subsystems (2)
lore
Share & tools
lore

Zhen Lei

author
#0 lore raw

PATCH 1/1 ARM64: dts: vexpress: Separate each group of data in the property 'reg'

Do not write the 'reg' of multiple groups of data into a uint32 array, use <> to separate them. Otherwise, the errors similar to the following will be reported by reg.yaml.

arch/arm64/boot/dts/arm/vexpress-v2f-1xv7-ca53x2.dt.yaml:
iofpga-bus@300000000: compact-flash@1a0000:reg:0: \
[1703936, 256, 1704192, 3840] is too long

---
 arch/arm/boot/dts/vexpress-v2m-rs1.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/vexpress-v2m-rs1.dtsi +2 -2
index 4f7220b11f2d7a9..4587cbda85e2055 100644
@@ -339,8 +339,8 @@ rtc@170000 {
 
 				compact-flash@1a0000 {
 					compatible = "arm,vexpress-cf", "ata-generic";
-					reg = <0x1a0000 0x100
-					       0x1a0100 0xf00>;
+					reg = <0x1a0000 0x100>,
+					      <0x1a0100 0xf00>;
 					reg-shift = <2>;
 				};
 
Signature · 1 line
2.26.0.106.g9fadedd