Commit 4c1bb9c3 authored by Hans de Goede's avatar Hans de Goede Committed by Maxime Ripard

ARM: dts: sunxi: Add address- and size-cells properties to the mmc ctrl nodes

Sometimes we need to specify non-probably information for sdio devices in the
devicetree, this is done through child nodes addressed by the reg property,
whereby the reg property refers to the sdio function number, see;
Documentation/devicetree/bindings/mmc/mmc.txt

This commit adds the necessary address- and size-cells properties to the mmc
controller nodes in the dtsi files, so that dts files needing such a child
node do not need to specify these themselves.
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent bab03561
...@@ -521,6 +521,8 @@ mmc0: mmc@01c0f000 { ...@@ -521,6 +521,8 @@ mmc0: mmc@01c0f000 {
"sample"; "sample";
interrupts = <32>; interrupts = <32>;
status = "disabled"; status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
}; };
mmc1: mmc@01c10000 { mmc1: mmc@01c10000 {
...@@ -536,6 +538,8 @@ mmc1: mmc@01c10000 { ...@@ -536,6 +538,8 @@ mmc1: mmc@01c10000 {
"sample"; "sample";
interrupts = <33>; interrupts = <33>;
status = "disabled"; status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
}; };
mmc2: mmc@01c11000 { mmc2: mmc@01c11000 {
...@@ -551,6 +555,8 @@ mmc2: mmc@01c11000 { ...@@ -551,6 +555,8 @@ mmc2: mmc@01c11000 {
"sample"; "sample";
interrupts = <34>; interrupts = <34>;
status = "disabled"; status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
}; };
mmc3: mmc@01c12000 { mmc3: mmc@01c12000 {
...@@ -566,6 +572,8 @@ mmc3: mmc@01c12000 { ...@@ -566,6 +572,8 @@ mmc3: mmc@01c12000 {
"sample"; "sample";
interrupts = <35>; interrupts = <35>;
status = "disabled"; status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
}; };
usbphy: phy@01c13400 { usbphy: phy@01c13400 {
......
...@@ -347,6 +347,8 @@ mmc0: mmc@01c0f000 { ...@@ -347,6 +347,8 @@ mmc0: mmc@01c0f000 {
"sample"; "sample";
interrupts = <32>; interrupts = <32>;
status = "disabled"; status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
}; };
mmc1: mmc@01c10000 { mmc1: mmc@01c10000 {
...@@ -362,6 +364,8 @@ mmc1: mmc@01c10000 { ...@@ -362,6 +364,8 @@ mmc1: mmc@01c10000 {
"sample"; "sample";
interrupts = <33>; interrupts = <33>;
status = "disabled"; status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
}; };
mmc2: mmc@01c11000 { mmc2: mmc@01c11000 {
...@@ -377,6 +381,8 @@ mmc2: mmc@01c11000 { ...@@ -377,6 +381,8 @@ mmc2: mmc@01c11000 {
"sample"; "sample";
interrupts = <34>; interrupts = <34>;
status = "disabled"; status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
}; };
usbphy: phy@01c13400 { usbphy: phy@01c13400 {
......
...@@ -402,6 +402,8 @@ mmc0: mmc@01c0f000 { ...@@ -402,6 +402,8 @@ mmc0: mmc@01c0f000 {
reset-names = "ahb"; reset-names = "ahb";
interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled"; status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
}; };
mmc1: mmc@01c10000 { mmc1: mmc@01c10000 {
...@@ -419,6 +421,8 @@ mmc1: mmc@01c10000 { ...@@ -419,6 +421,8 @@ mmc1: mmc@01c10000 {
reset-names = "ahb"; reset-names = "ahb";
interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled"; status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
}; };
mmc2: mmc@01c11000 { mmc2: mmc@01c11000 {
...@@ -436,6 +440,8 @@ mmc2: mmc@01c11000 { ...@@ -436,6 +440,8 @@ mmc2: mmc@01c11000 {
reset-names = "ahb"; reset-names = "ahb";
interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled"; status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
}; };
mmc3: mmc@01c12000 { mmc3: mmc@01c12000 {
...@@ -453,6 +459,8 @@ mmc3: mmc@01c12000 { ...@@ -453,6 +459,8 @@ mmc3: mmc@01c12000 {
reset-names = "ahb"; reset-names = "ahb";
interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled"; status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
}; };
usbphy: phy@01c19400 { usbphy: phy@01c19400 {
......
...@@ -600,6 +600,8 @@ mmc0: mmc@01c0f000 { ...@@ -600,6 +600,8 @@ mmc0: mmc@01c0f000 {
"sample"; "sample";
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled"; status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
}; };
mmc1: mmc@01c10000 { mmc1: mmc@01c10000 {
...@@ -615,6 +617,8 @@ mmc1: mmc@01c10000 { ...@@ -615,6 +617,8 @@ mmc1: mmc@01c10000 {
"sample"; "sample";
interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled"; status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
}; };
mmc2: mmc@01c11000 { mmc2: mmc@01c11000 {
...@@ -630,6 +634,8 @@ mmc2: mmc@01c11000 { ...@@ -630,6 +634,8 @@ mmc2: mmc@01c11000 {
"sample"; "sample";
interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled"; status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
}; };
mmc3: mmc@01c12000 { mmc3: mmc@01c12000 {
...@@ -645,6 +651,8 @@ mmc3: mmc@01c12000 { ...@@ -645,6 +651,8 @@ mmc3: mmc@01c12000 {
"sample"; "sample";
interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled"; status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
}; };
usbphy: phy@01c13400 { usbphy: phy@01c13400 {
......
...@@ -286,6 +286,8 @@ mmc0: mmc@01c0f000 { ...@@ -286,6 +286,8 @@ mmc0: mmc@01c0f000 {
reset-names = "ahb"; reset-names = "ahb";
interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled"; status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
}; };
mmc1: mmc@01c10000 { mmc1: mmc@01c10000 {
...@@ -303,6 +305,8 @@ mmc1: mmc@01c10000 { ...@@ -303,6 +305,8 @@ mmc1: mmc@01c10000 {
reset-names = "ahb"; reset-names = "ahb";
interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled"; status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
}; };
mmc2: mmc@01c11000 { mmc2: mmc@01c11000 {
...@@ -320,6 +324,8 @@ mmc2: mmc@01c11000 { ...@@ -320,6 +324,8 @@ mmc2: mmc@01c11000 {
reset-names = "ahb"; reset-names = "ahb";
interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled"; status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
}; };
pio: pinctrl@01c20800 { pio: pinctrl@01c20800 {
......
...@@ -447,6 +447,8 @@ mmc0: mmc@01c0f000 { ...@@ -447,6 +447,8 @@ mmc0: mmc@01c0f000 {
reset-names = "ahb"; reset-names = "ahb";
interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled"; status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
}; };
mmc1: mmc@01c10000 { mmc1: mmc@01c10000 {
...@@ -459,6 +461,8 @@ mmc1: mmc@01c10000 { ...@@ -459,6 +461,8 @@ mmc1: mmc@01c10000 {
reset-names = "ahb"; reset-names = "ahb";
interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled"; status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
}; };
mmc2: mmc@01c11000 { mmc2: mmc@01c11000 {
...@@ -471,6 +475,8 @@ mmc2: mmc@01c11000 { ...@@ -471,6 +475,8 @@ mmc2: mmc@01c11000 {
reset-names = "ahb"; reset-names = "ahb";
interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled"; status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
}; };
mmc3: mmc@01c12000 { mmc3: mmc@01c12000 {
...@@ -483,6 +489,8 @@ mmc3: mmc@01c12000 { ...@@ -483,6 +489,8 @@ mmc3: mmc@01c12000 {
reset-names = "ahb"; reset-names = "ahb";
interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled"; status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
}; };
mmc_config_clk: clk@01c13000 { mmc_config_clk: clk@01c13000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment