diff mbox series

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

Message ID 20210521092758.8474-1-thunder.leizhen@huawei.com
State New
Headers show
Series [1/1] ARM64: dts: vexpress: Separate each group of data in the property 'reg' | expand

Commit Message

Zhen Lei May 21, 2021, 9:27 a.m. UTC
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

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>

---
 arch/arm/boot/dts/vexpress-v2m-rs1.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.26.0.106.g9fadedd
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/vexpress-v2m-rs1.dtsi b/arch/arm/boot/dts/vexpress-v2m-rs1.dtsi
index 4f7220b11f2d7a9..4587cbda85e2055 100644
--- a/arch/arm/boot/dts/vexpress-v2m-rs1.dtsi
+++ b/arch/arm/boot/dts/vexpress-v2m-rs1.dtsi
@@ -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>;
 				};