* [PATCH v3 1/4] ODROID-X: dts: Add board dts file for ODROID-X
[not found] <1356921314-12595-1-git-send-email-tobetter@gmail.com>
@ 2012-12-31 2:35 ` Dongjin Kim
2013-01-02 20:31 ` Olof Johansson
2012-12-31 2:35 ` [PATCH v3 2/4] ODROID-X: dts: Add fixed-regulator for peripherals Dongjin Kim
` (2 subsequent siblings)
3 siblings, 1 reply; 6+ messages in thread
From: Dongjin Kim @ 2012-12-31 2:35 UTC (permalink / raw)
To: linux-arm-kernel
Add initial dtb file for Hardkernel's ODROID-X board based on EXYNOS4412 SoC.
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/exynos4412-odroidx.dts | 47 ++++++++++++++++++++++++++++++
2 files changed, 48 insertions(+)
create mode 100644 arch/arm/boot/dts/exynos4412-odroidx.dts
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index e44da40..58381f9 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -42,6 +42,7 @@ dtb-$(CONFIG_ARCH_DOVE) += dove-cm-a510.dtb \
dtb-$(CONFIG_ARCH_EXYNOS) += exynos4210-origen.dtb \
exynos4210-smdkv310.dtb \
exynos4210-trats.dtb \
+ exynos4412-odroidx.dtb \
exynos4412-smdk4412.dtb \
exynos5250-smdk5250.dtb \
exynos5250-snow.dtb \
diff --git a/arch/arm/boot/dts/exynos4412-odroidx.dts b/arch/arm/boot/dts/exynos4412-odroidx.dts
new file mode 100644
index 0000000..4915580
--- /dev/null
+++ b/arch/arm/boot/dts/exynos4412-odroidx.dts
@@ -0,0 +1,47 @@
+/*
+ * Hardkernel's Exynos4412 based ODROID-X board device tree source
+ *
+ * Copyright (c) 2012 Dongjin Kim <tobetter@gmail.com>
+ *
+ * Device tree source file for Hardkernel's ODROID-X board which is based on
+ * Samsung's Exynos4412 SoC.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+/dts-v1/;
+/include/ "exynos4412.dtsi"
+
+/ {
+ model = "Hardkernel ODROID-X board based on Exynos4412";
+ compatible = "hardkernel,odroid-x", "samsung,exynos4412";
+
+ memory {
+ reg = <0x40000000 0x40000000>;
+ };
+
+ serial at 13800000 {
+ status = "okay";
+ };
+
+ serial at 13810000 {
+ status = "okay";
+ };
+
+ serial at 13820000 {
+ status = "okay";
+ };
+
+ serial at 13830000 {
+ status = "okay";
+ };
+
+ sdhci at 12530000 {
+ bus-width = <4>;
+ pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
+ pinctrl-names = "default";
+ status = "okay";
+ };
+};
--
1.7.10.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v3 2/4] ODROID-X: dts: Add fixed-regulator for peripherals.
[not found] <1356921314-12595-1-git-send-email-tobetter@gmail.com>
2012-12-31 2:35 ` [PATCH v3 1/4] ODROID-X: dts: Add board dts file for ODROID-X Dongjin Kim
@ 2012-12-31 2:35 ` Dongjin Kim
2012-12-31 2:35 ` [PATCH v3 3/4] ODROID-X: dts: Add nodes for leds based on GPIO Dongjin Kim
2012-12-31 2:35 ` [PATCH v3 4/4] ODROID-X: dts: Add mshc node for ODROID-X board Dongjin Kim
3 siblings, 0 replies; 6+ messages in thread
From: Dongjin Kim @ 2012-12-31 2:35 UTC (permalink / raw)
To: linux-arm-kernel
This patch adds the node to support fixed voltage for peripherals like LED,
ethernet controller.
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
---
arch/arm/boot/dts/exynos4412-odroidx.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/exynos4412-odroidx.dts b/arch/arm/boot/dts/exynos4412-odroidx.dts
index 4915580..213b152 100644
--- a/arch/arm/boot/dts/exynos4412-odroidx.dts
+++ b/arch/arm/boot/dts/exynos4412-odroidx.dts
@@ -44,4 +44,14 @@
pinctrl-names = "default";
status = "okay";
};
+
+ regulator_p3v3 {
+ compatible = "regulator-fixed";
+ regulator-name = "p3v3_en";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ gpio = <&gpa1 1 1>;
+ enable-active-high;
+ regulator-boot-on;
+ };
};
--
1.7.10.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v3 3/4] ODROID-X: dts: Add nodes for leds based on GPIO.
[not found] <1356921314-12595-1-git-send-email-tobetter@gmail.com>
2012-12-31 2:35 ` [PATCH v3 1/4] ODROID-X: dts: Add board dts file for ODROID-X Dongjin Kim
2012-12-31 2:35 ` [PATCH v3 2/4] ODROID-X: dts: Add fixed-regulator for peripherals Dongjin Kim
@ 2012-12-31 2:35 ` Dongjin Kim
2012-12-31 2:35 ` [PATCH v3 4/4] ODROID-X: dts: Add mshc node for ODROID-X board Dongjin Kim
3 siblings, 0 replies; 6+ messages in thread
From: Dongjin Kim @ 2012-12-31 2:35 UTC (permalink / raw)
To: linux-arm-kernel
This patch adds GPIO connected LEDS on ODROID-X board and configure its
properties.
LED1: use 'heartbeat' trigger, blinking while the board is running.
LED2: use 'mmc0' trigger, on when mmc0 is accessing.
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
---
arch/arm/boot/dts/exynos4412-odroidx.dts | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/exynos4412-odroidx.dts b/arch/arm/boot/dts/exynos4412-odroidx.dts
index 213b152..f31529f 100644
--- a/arch/arm/boot/dts/exynos4412-odroidx.dts
+++ b/arch/arm/boot/dts/exynos4412-odroidx.dts
@@ -54,4 +54,20 @@
enable-active-high;
regulator-boot-on;
};
+
+ leds {
+ compatible = "gpio-leds";
+ led1 {
+ label = "led1:heart";
+ gpios = <&gpc1 0 1>;
+ default-state = "on";
+ linux,default-trigger = "heartbeat";
+ };
+ led2 {
+ label = "led2:mmc0";
+ gpios = <&gpc1 2 1>;
+ default-state = "on";
+ linux,default-trigger = "mmc0";
+ };
+ };
};
--
1.7.10.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v3 4/4] ODROID-X: dts: Add mshc node for ODROID-X board
[not found] <1356921314-12595-1-git-send-email-tobetter@gmail.com>
` (2 preceding siblings ...)
2012-12-31 2:35 ` [PATCH v3 3/4] ODROID-X: dts: Add nodes for leds based on GPIO Dongjin Kim
@ 2012-12-31 2:35 ` Dongjin Kim
3 siblings, 0 replies; 6+ messages in thread
From: Dongjin Kim @ 2012-12-31 2:35 UTC (permalink / raw)
To: linux-arm-kernel
Adding the device node to support eMMC storage on SDCARD4 ports, controlled by
Mobile Storage Host Controller.
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
---
arch/arm/boot/dts/exynos4412-odroidx.dts | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm/boot/dts/exynos4412-odroidx.dts b/arch/arm/boot/dts/exynos4412-odroidx.dts
index f31529f..04c482e 100644
--- a/arch/arm/boot/dts/exynos4412-odroidx.dts
+++ b/arch/arm/boot/dts/exynos4412-odroidx.dts
@@ -70,4 +70,24 @@
linux,default-trigger = "mmc0";
};
};
+
+ mshc at 12550000 {
+ pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
+ pinctrl-names = "default";
+ status = "okay";
+
+ num-slots = <1>;
+ supports-highspeed;
+ broken-cd;
+ fifo-depth = <0x80>;
+ card-detect-delay = <200>;
+ samsung,dw-mshc-ciu-div = <3>;
+ samsung,dw-mshc-sdr-timing = <2 3 3>;
+ samsung,dw-mshc-ddr-timing = <1 2 3>;
+
+ slot at 0 {
+ reg = <0>;
+ bus-width = <8>;
+ };
+ };
};
--
1.7.10.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v3 1/4] ODROID-X: dts: Add board dts file for ODROID-X
2012-12-31 2:35 ` [PATCH v3 1/4] ODROID-X: dts: Add board dts file for ODROID-X Dongjin Kim
@ 2013-01-02 20:31 ` Olof Johansson
2013-01-02 22:27 ` Kukjin Kim
0 siblings, 1 reply; 6+ messages in thread
From: Olof Johansson @ 2013-01-02 20:31 UTC (permalink / raw)
To: linux-arm-kernel
On Sun, Dec 30, 2012 at 6:35 PM, Dongjin Kim <tobetter@gmail.com> wrote:
> Add initial dtb file for Hardkernel's ODROID-X board based on EXYNOS4412 SoC.
>
> Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Patch 1-4:
Acked-by: Olof Johansson <olof@lixom.net>
... but I think it might make sense to just add the file as one commit
instead of splitting it across 4 as this series does.
-Olof
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v3 1/4] ODROID-X: dts: Add board dts file for ODROID-X
2013-01-02 20:31 ` Olof Johansson
@ 2013-01-02 22:27 ` Kukjin Kim
0 siblings, 0 replies; 6+ messages in thread
From: Kukjin Kim @ 2013-01-02 22:27 UTC (permalink / raw)
To: linux-arm-kernel
Olof Johansson wrote:
>
> On Sun, Dec 30, 2012 at 6:35 PM, Dongjin Kim <tobetter@gmail.com> wrote:
> > Add initial dtb file for Hardkernel's ODROID-X board based on EXYNOS4412
> SoC.
> >
> > Signed-off-by: Dongjin Kim <tobetter@gmail.com>
>
> Patch 1-4:
>
> Acked-by: Olof Johansson <olof@lixom.net>
>
> ... but I think it might make sense to just add the file as one commit
> instead of splitting it across 4 as this series does.
>
I think so.
If Dongjin doesn't mind, let me squash them into on commit when I apply into
Samsung tree.
Thanks.
- Kukjin
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-01-02 22:27 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1356921314-12595-1-git-send-email-tobetter@gmail.com>
2012-12-31 2:35 ` [PATCH v3 1/4] ODROID-X: dts: Add board dts file for ODROID-X Dongjin Kim
2013-01-02 20:31 ` Olof Johansson
2013-01-02 22:27 ` Kukjin Kim
2012-12-31 2:35 ` [PATCH v3 2/4] ODROID-X: dts: Add fixed-regulator for peripherals Dongjin Kim
2012-12-31 2:35 ` [PATCH v3 3/4] ODROID-X: dts: Add nodes for leds based on GPIO Dongjin Kim
2012-12-31 2:35 ` [PATCH v3 4/4] ODROID-X: dts: Add mshc node for ODROID-X board Dongjin Kim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).