board: trats2: Enable device tree on Trats2
Subsystems (2)
PATCH v2 4/4 board: trats2: Enable device tree on Trats2
This patch add dwmmc emmc controller node on exynos4 and exynos4412 device tree.
Signed-off-by Beomho Seo <[email protected]>
Signed-off-by Jaehoon Chung <[email protected]>
Cc Lukasz Majewski <[email protected]>
Cc Piotr Wilczek <[email protected]>
Cc Minkyu Kang <[email protected]>
---
Changes for v2:
- None.
arch/arm/dts/exynos4.dtsi | 8 ++++++++ arch/arm/dts/exynos4412-trats2.dts | 8 ++++++++ 2 files changed, 16 insertions(+)
arch/arm/dts/exynos4.dtsi +8 -0
@@ -128,6 +128,14 @@ interrupts = <0 78 0>; }; + dwmmc at 12550000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "samsung,exynos4412-dwmmc"; + reg = <0x12550000 0x1000>; + interrupts = <0 131 0>; + }; + gpio: gpio { gpio-controller; #gpio-cells = <2>;
arch/arm/dts/exynos4412-trats2.dts +8 -0
@@ -31,6 +31,7 @@ console = "/serial at 13820000"; mmc0 = "sdhci at 12510000"; mmc2 = "sdhci at 12530000"; + mmc4 = "dwmmc at 12550000"; }; i2c at 138d0000 {
@@ -431,4 +432,11 @@ sdhci at 12540000 { status = "disabled"; }; + + dwmmc at 12550000 { + samsung,bus-width = <8>; + samsung,timing = <0 1 0>; + pwr-gpios = <&gpio 0x2004002 0>; + index = <4>; + }; };
Signature · 1 line
1.7.9.5