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

Zhen Lei thunder.leizhen at huawei.com
Fri May 21 02:27:58 PDT 2021


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 at 300000000: compact-flash at 1a0000:reg:0: \
 [1703936, 256, 1704192, 3840] is too long

Signed-off-by: Zhen Lei <thunder.leizhen at huawei.com>
---
 arch/arm/boot/dts/vexpress-v2m-rs1.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 at 170000 {
 
 				compact-flash at 1a0000 {
 					compatible = "arm,vexpress-cf", "ata-generic";
-					reg = <0x1a0000 0x100
-					       0x1a0100 0xf00>;
+					reg = <0x1a0000 0x100>,
+					      <0x1a0100 0xf00>;
 					reg-shift = <2>;
 				};
 
-- 
2.26.0.106.g9fadedd





More information about the linux-arm-kernel mailing list