mediatek: mt7623: fix mmc dtc warnings
Add missing #address-cells and #size-cells to fix the following dtc warnings: mt7623n-bananapi-bpi-r2.dts:346.3-13: Warning (reg_format): /mmc@11230000/card@0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) mt7623n-bananapi-bpi-r2.dts:373.3-13: Warning (reg_format): /mmc@11240000/card@0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) ../dts/mt7623a-unielec-u7623-02.dts:23.3-13: Warning (reg_format): /mmc@11230000/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:
parent
d1482e5e2d
commit
7cc089950d
2 changed files with 8 additions and 2 deletions
|
@ -103,6 +103,8 @@
|
|||
};
|
||||
|
||||
&mmc0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
pinctrl-names = "default", "state_uhs";
|
||||
pinctrl-0 = <&mmc0_pins_default>;
|
||||
pinctrl-1 = <&mmc0_pins_uhs>;
|
||||
|
|
|
@ -11,10 +11,12 @@
|
|||
};
|
||||
|
||||
connector {
|
||||
@@ -338,6 +340,20 @@
|
||||
@@ -338,6 +340,22 @@
|
||||
vmmc-supply = <®_3p3v>;
|
||||
vqmmc-supply = <®_1p8v>;
|
||||
non-removable;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ card@0 {
|
||||
+ compatible = "mmc-card";
|
||||
|
@ -32,10 +34,12 @@
|
|||
};
|
||||
|
||||
&mmc1 {
|
||||
@@ -351,6 +367,20 @@
|
||||
@@ -351,6 +369,22 @@
|
||||
cd-gpios = <&pio 261 GPIO_ACTIVE_LOW>;
|
||||
vmmc-supply = <®_3p3v>;
|
||||
vqmmc-supply = <®_3p3v>;
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <0>;
|
||||
+
|
||||
+ card@0 {
|
||||
+ compatible = "mmc-card";
|
||||
|
|
Loading…
Reference in a new issue