Add missing #address-cells and #size-cells to fix the
following dtc warnings:
mt7622-bananapi-bpi-r64.dts:243.3-13: Warning (reg_format): /mmc@
11230000/card@0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
mt7622-bananapi-bpi-r64.dts:278.3-13: Warning (reg_format): /mmc@
11240000/card@0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
Signed-off-by: Shiji Yang <[email protected]>
};
cpus {
-@@ -234,6 +237,26 @@
+@@ -234,6 +237,28 @@
assigned-clocks = <&topckgen CLK_TOP_MSDC30_0_SEL>;
assigned-clock-parents = <&topckgen CLK_TOP_UNIV48M>;
non-removable;
++ #address-cells = <1>;
++ #size-cells = <0>;
+
+ card@0 {
+ compatible = "mmc-card";
};
&mmc1 {
-@@ -249,6 +272,26 @@
+@@ -249,6 +274,28 @@
vqmmc-supply = <®_3p3v>;
assigned-clocks = <&topckgen CLK_TOP_MSDC30_1_SEL>;
assigned-clock-parents = <&topckgen CLK_TOP_UNIV48M>;
++ #address-cells = <1>;
++ #size-cells = <0>;
+
+ card@0 {
+ compatible = "mmc-card";
};
&nandc {
-@@ -282,15 +325,30 @@
+@@ -282,15 +329,30 @@
read-only;
};