summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2022-09-13 11:31:21 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-09-13 11:31:58 +0200
commit1e224ea8758ec32a07667ce145d0336190826ec7 (patch)
treee4cc7da014f003f3096a898a452429a6d9226eb9 /arch
parente190e932b918b54629c2e1cc38557f1214e21edc (diff)
downloadbarebox-1e224ea8758ec32a07667ce145d0336190826ec7.tar.gz
barebox-1e224ea8758ec32a07667ce145d0336190826ec7.tar.xz
ARM: i.MX: Atlascopco: Fix wrong #address-cells warning
Switch the SD card and eMMC partitions to the proper fixed-partitions binding and set #address-cells and #size-cells properly to avoid: arch/arm/dts/imx7d-ac-sxb.dtsi:45.3-30: Warning (reg_format): /soc/bus@30800000/mmc@30b40000/state@4100000:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1) arch/arm/dts/imx7d-ac-sxb.dtsi:60.3-31: Warning (reg_format): /soc/bus@30800000/mmc@30b60000/usdhc3_emmc@1e800000:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1) Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/imx7d-ac-sxb.dtsi25
1 files changed, 18 insertions, 7 deletions
diff --git a/arch/arm/dts/imx7d-ac-sxb.dtsi b/arch/arm/dts/imx7d-ac-sxb.dtsi
index 00b0fd11c6..6d7a6d2d54 100644
--- a/arch/arm/dts/imx7d-ac-sxb.dtsi
+++ b/arch/arm/dts/imx7d-ac-sxb.dtsi
@@ -41,9 +41,15 @@
keep-power-in-suspend;
status = "okay";
- usdhc1_sdcard: state@4100000 {
- reg = <0x4100000 0xffffff>;
- label = "state-sdcard";
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <2>;
+ #size-cells = <2>;
+
+ usdhc1_sdcard: state@4100000 {
+ reg = <0x0 0x4100000 0x0 0xffffff>;
+ label = "state-sdcard";
+ };
};
};
@@ -56,11 +62,16 @@
non-removable;
status = "okay";
- usdhc3_emmc: usdhc3_emmc@1e800000 {
- reg = <0x1e800000 0xffffff>;
- label = "state-emmc";
- };
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <2>;
+ #size-cells = <2>;
+ usdhc3_emmc: usdhc3_emmc@1e800000 {
+ reg = <0x0 0x1e800000 0x0 0xffffff>;
+ label = "state-emmc";
+ };
+ };
};
&wdog1 {