summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShiji Yang2025-05-19 00:20:52 +0000
committerShiji Yang2025-05-19 12:01:00 +0000
commit5bead4a0b26b65187caae896c8da7a5d8c62d0a7 (patch)
tree285c6dc00f1e29722c6806617109a8f6fd3e4ff2
parent7cc089950ddc2dd1af1df4a464d46fb4d3bf1060 (diff)
downloadopenwrt-5bead4a0b26b65187caae896c8da7a5d8c62d0a7.tar.gz
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>
-rw-r--r--target/linux/mediatek/patches-6.6/911-dts-mt7622-bpi-r64-add-rootdisk.patch10
1 files changed, 7 insertions, 3 deletions
diff --git a/target/linux/mediatek/patches-6.6/911-dts-mt7622-bpi-r64-add-rootdisk.patch b/target/linux/mediatek/patches-6.6/911-dts-mt7622-bpi-r64-add-rootdisk.patch
index c378a302d4..4f57240fce 100644
--- a/target/linux/mediatek/patches-6.6/911-dts-mt7622-bpi-r64-add-rootdisk.patch
+++ b/target/linux/mediatek/patches-6.6/911-dts-mt7622-bpi-r64-add-rootdisk.patch
@@ -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;
};