Skip to contentSkip to conversation

ODROID-X: dts: Add board dts file for ODROID-X

PATCH In review Dongjin Kim 3 participants 6 messages Dec 31, 2012 – Jan 2, 2013 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore
#1 lore raw

PATCH v3 1/4 ODROID-X: dts: Add board dts file for ODROID-X

In reply to a message not in the archive

Add initial dtb file for Hardkernel's ODROID-X board based on EXYNOS4412 SoC.

---
 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
arch/arm/boot/dts/Makefile +1 -0
index e44da40..58381f9 100644
@@ -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 \
arch/arm/boot/dts/exynos4412-odroidx.dts new file +47 -0

47 lines not on this page · raw message

Signature · 1 line
1.7.10.4
#4 lore raw

PATCH v3 2/4 ODROID-X: dts: Add fixed-regulator for peripherals.

In reply to a message not in the archive

This patch adds the node to support fixed voltage for peripherals like LED, ethernet controller.

---
 arch/arm/boot/dts/exynos4412-odroidx.dts |   10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm/boot/dts/exynos4412-odroidx.dts +10 -0
index 4915580..213b152 100644
@@ -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;
+	};
 };
Signature · 1 line
1.7.10.4
#5 lore raw

PATCH v3 3/4 ODROID-X: dts: Add nodes for leds based on GPIO.

In reply to a message not in the archive

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.

---
 arch/arm/boot/dts/exynos4412-odroidx.dts |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)
arch/arm/boot/dts/exynos4412-odroidx.dts +16 -0
index 213b152..f31529f 100644
@@ -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";
+		};
+	};
 };
Signature · 1 line
1.7.10.4
#6 lore raw

PATCH v3 4/4 ODROID-X: dts: Add mshc node for ODROID-X board

In reply to a message not in the archive

Adding the device node to support eMMC storage on SDCARD4 ports, controlled by Mobile Storage Host Controller.

---
 arch/arm/boot/dts/exynos4412-odroidx.dts |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
arch/arm/boot/dts/exynos4412-odroidx.dts +20 -0
index f31529f..04c482e 100644
@@ -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>;
+		};
+	};
 };
Signature · 1 line
1.7.10.4
#3 lore raw
Quoted 5 lines · Olof Johansson
Quoted 1 line · Dongjin Kim

Add initial dtb file for Hardkernel's ODROID-X board based on EXYNOS4412

SoC.

Quoted 1 line
Quoted 9 lines
Quoted 1 line

Patch 1-4:

... 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