mediatek: mt7622: fix mmc dtc warnings

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 <yangshiji66@outlook.com>
This commit is contained in:
Shiji Yang 2025-05-19 08:20:52 +08:00
parent 7cc089950d
commit 5bead4a0b2

View file

@ -10,10 +10,12 @@
};
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";
@ -37,10 +39,12 @@
};
&mmc1 {
@@ -249,6 +272,26 @@
@@ -249,6 +274,28 @@
vqmmc-supply = <&reg_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";
@ -64,7 +68,7 @@
};
&nandc {
@@ -282,15 +325,30 @@
@@ -282,15 +329,30 @@
read-only;
};