aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnil Kumar <anilk4.v@gmail.com>2013-03-16 05:59:21 -0400
committerBenoit Cousson <benoit.cousson@linaro.org>2013-04-08 18:21:11 -0400
commit4bfe6341d4bfcb68c083b3109b6a4997cd287262 (patch)
treea6138befca8129aa641e79c1ef1377eb8678c3c9
parent4e4ead73bfa8d5bb51b24f36cb4913aa47467156 (diff)
ARM: dts: Add minimal DT support for DevKit8000
DevKit8000 is a beagle board clone from Timll, sold by armkits.com. The DevKit8000 has RS232 serial port, LCD, DVI-D, S-Video, Ethernet, SD/MMC, keyboard, camera, SPI, I2C, USB and JTAG interface. Add the basic DT support for devkit8000. It includes: - twl4030 (PMIC) - MMC1 - I2C1 - leds Signed-off-by: Anil Kumar <anilk4.v@gmail.com> Tested-by: Thomas Weber <thomas@tomweber.eu> Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
-rw-r--r--arch/arm/boot/dts/Makefile1
-rw-r--r--arch/arm/boot/dts/omap3-devkit8000.dts102
-rw-r--r--arch/arm/mach-omap2/board-generic.c1
3 files changed, 104 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index a38dcd4703ee..f4c2dde779ba 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -117,6 +117,7 @@ dtb-$(CONFIG_ARCH_NOMADIK) += ste-nomadik-s8815.dtb
117dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \ 117dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
118 omap3430-sdp.dtb \ 118 omap3430-sdp.dtb \
119 omap3-beagle.dtb \ 119 omap3-beagle.dtb \
120 omap3-devkit8000.dtb \
120 omap3-beagle-xm.dtb \ 121 omap3-beagle-xm.dtb \
121 omap3-evm.dtb \ 122 omap3-evm.dtb \
122 omap3-tobi.dtb \ 123 omap3-tobi.dtb \
diff --git a/arch/arm/boot/dts/omap3-devkit8000.dts b/arch/arm/boot/dts/omap3-devkit8000.dts
new file mode 100644
index 000000000000..d6cff341b679
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-devkit8000.dts
@@ -0,0 +1,102 @@
1/*
2 * Author: Anil Kumar <anilk4.v@gmail.com>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8/dts-v1/;
9
10/include/ "omap3.dtsi"
11/ {
12 model = "TimLL OMAP3 Devkit8000";
13 compatible = "timll,omap3-devkit8000", "ti,omap3";
14
15 memory {
16 device_type = "memory";
17 reg = <0x80000000 0x10000000>; /* 256 MB */
18 };
19
20 leds {
21 compatible = "gpio-leds";
22
23 heartbeat {
24 label = "devkit8000::led1";
25 gpios = <&gpio6 26 0>; /* 186 -> LED1 */
26 default-state = "on";
27 linux,default-trigger = "heartbeat";
28 };
29
30 mmc {
31 label = "devkit8000::led2";
32 gpios = <&gpio6 3 0>; /* 163 -> LED2 */
33 default-state = "on";
34 linux,default-trigger = "none";
35 };
36
37 usr {
38 label = "devkit8000::led3";
39 gpios = <&gpio6 4 0>; /* 164 -> LED3 */
40 default-state = "on";
41 linux,default-trigger = "usr";
42 };
43
44 };
45};
46
47&i2c1 {
48 clock-frequency = <2600000>;
49
50 twl: twl@48 {
51 reg = <0x48>;
52 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
53 };
54};
55
56&i2c2 {
57 status = "disabled";
58};
59
60&i2c3 {
61 status = "disabled";
62};
63
64/include/ "twl4030.dtsi"
65
66&mmc1 {
67 vmmc-supply = <&vmmc1>;
68 vmmc_aux-supply = <&vsim>;
69 bus-width = <8>;
70};
71
72&mmc2 {
73 status = "disabled";
74};
75
76&mmc3 {
77 status = "disabled";
78};
79
80&wdt2 {
81 status = "disabled";
82};
83
84&mcbsp1 {
85 status = "disabled";
86};
87
88&mcbsp2 {
89 status = "disabled";
90};
91
92&mcbsp3 {
93 status = "disabled";
94};
95
96&mcbsp4 {
97 status = "disabled";
98};
99
100&mcbsp5 {
101 status = "disabled";
102};
diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c
index e54a48060198..afa509afb27c 100644
--- a/arch/arm/mach-omap2/board-generic.c
+++ b/arch/arm/mach-omap2/board-generic.c
@@ -110,6 +110,7 @@ MACHINE_END
110 110
111static const char *omap3_gp_boards_compat[] __initdata = { 111static const char *omap3_gp_boards_compat[] __initdata = {
112 "ti,omap3-beagle", 112 "ti,omap3-beagle",
113 "timll,omap3-devkit8000",
113 NULL, 114 NULL,
114}; 115};
115 116