* [U-Boot] {PATCH v3 4/4] board: trats2: Enable device tree on Trats2
@ 2014-03-20 4:14 Beomho Seo
2014-03-20 4:40 ` Beomho Seo
0 siblings, 1 reply; 2+ messages in thread
From: Beomho Seo @ 2014-03-20 4:14 UTC (permalink / raw)
To: u-boot
This patch add dwmmc emmc controller node on exynos4 and exynos4412 device tree.
Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Tested-by: Piotr Wilczek <p.wilczek@samsung.com>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Cc: Piotr Wilczek <p.wilczek@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
---
Changes for v3:
- Subtract one from div to set accurate frequency.
Changes for v2:
- None.
arch/arm/dts/exynos4.dtsi | 8 ++++++++
arch/arm/dts/exynos4412-trats2.dts | 8 ++++++++
2 files changed, 16 insertions(+)
diff --git a/arch/arm/dts/exynos4.dtsi b/arch/arm/dts/exynos4.dtsi
index 71dc7eb..ab99906 100644
--- a/arch/arm/dts/exynos4.dtsi
+++ b/arch/arm/dts/exynos4.dtsi
@@ -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>;
diff --git a/arch/arm/dts/exynos4412-trats2.dts b/arch/arm/dts/exynos4412-trats2.dts
index 7d32067..438e70e 100644
--- a/arch/arm/dts/exynos4412-trats2.dts
+++ b/arch/arm/dts/exynos4412-trats2.dts
@@ -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>;
+ };
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] {PATCH v3 4/4] board: trats2: Enable device tree on Trats2
2014-03-20 4:14 [U-Boot] {PATCH v3 4/4] board: trats2: Enable device tree on Trats2 Beomho Seo
@ 2014-03-20 4:40 ` Beomho Seo
0 siblings, 0 replies; 2+ messages in thread
From: Beomho Seo @ 2014-03-20 4:40 UTC (permalink / raw)
To: u-boot
On 03/20/2014 01:14 PM, Beomho Seo wrote:
> This patch add dwmmc emmc controller node on exynos4 and exynos4412 device tree.
>
> Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
> Tested-by: Piotr Wilczek <p.wilczek@samsung.com>
> Cc: Lukasz Majewski <l.majewski@samsung.com>
> Cc: Piotr Wilczek <p.wilczek@samsung.com>
> Cc: Minkyu Kang <mk7.kang@samsung.com>
> ---
> Changes for v3:
> - Subtract one from div to set accurate frequency.
>
Sorry for the mistake.
This change log for the patch 1.(drivers: mmc: dwmmc: enable support for DT)
> Changes for v2:
> - None.
>
> arch/arm/dts/exynos4.dtsi | 8 ++++++++
> arch/arm/dts/exynos4412-trats2.dts | 8 ++++++++
> 2 files changed, 16 insertions(+)
>
> diff --git a/arch/arm/dts/exynos4.dtsi b/arch/arm/dts/exynos4.dtsi
> index 71dc7eb..ab99906 100644
> --- a/arch/arm/dts/exynos4.dtsi
> +++ b/arch/arm/dts/exynos4.dtsi
> @@ -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>;
> diff --git a/arch/arm/dts/exynos4412-trats2.dts b/arch/arm/dts/exynos4412-trats2.dts
> index 7d32067..438e70e 100644
> --- a/arch/arm/dts/exynos4412-trats2.dts
> +++ b/arch/arm/dts/exynos4412-trats2.dts
> @@ -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>;
> + };
> };
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-20 4:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-20 4:14 [U-Boot] {PATCH v3 4/4] board: trats2: Enable device tree on Trats2 Beomho Seo
2014-03-20 4:40 ` Beomho Seo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox