]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: add mshc controller node for Exynos4x12 SoCs
authorThomas Abraham <thomas.abraham@linaro.org>
Wed, 10 Apr 2013 08:51:32 +0000 (17:51 +0900)
committerOlof Johansson <olof@lixom.net>
Sat, 27 Apr 2013 01:00:33 +0000 (18:00 -0700)
Commit 800974ac ("ARM: dts: Add board dts file for ODROID-X") includes a node
to describe the board level properties for mshc controller. But the mshc
controller node was not added in the Exynos4x12 dtsi file which resulted
in the following warning when compiling the dtb files.

Warning (reg_format): "reg" property in /mshc@12550000/slot@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
Warning (avoid_default_addr_size): Relying on default #address-cells value for /mshc@12550000/slot@0
Warning (avoid_default_addr_size): Relying on default #size-cells value for /mshc@12550000/slot@0

Fix this by adding the mshc controller node for Exynos4x12 SoCs.

Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Tested-by: Dongjin Kim <tobetter@gmail.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/exynos4412.dtsi

index d75c047e80a96ca0ed31fb7f6ecf612e41d11262..7f428272fee646980bea4e3d5d745eecbe6983ab 100644 (file)
                                        <0x7 0 &gic 1 12 0>;
                };
        };
+
+       mshc@12550000 {
+               compatible = "samsung,exynos4412-dw-mshc";
+               reg = <0x12550000 0x1000>;
+               interrupts = <0 77 0>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+       };
 };