Skip to content

Commit

Permalink
ARM: dts: Add minimal DT support for DevKit8000
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Anil Kumar authored and Benoit Cousson committed Apr 8, 2013
1 parent 4e4ead7 commit 4bfe634
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/boot/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ dtb-$(CONFIG_ARCH_NOMADIK) += ste-nomadik-s8815.dtb
dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
omap3430-sdp.dtb \
omap3-beagle.dtb \
omap3-devkit8000.dtb \
omap3-beagle-xm.dtb \
omap3-evm.dtb \
omap3-tobi.dtb \
Expand Down
102 changes: 102 additions & 0 deletions arch/arm/boot/dts/omap3-devkit8000.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
/*
* Author: Anil Kumar <anilk4.v@gmail.com>
*
* 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/ "omap3.dtsi"
/ {
model = "TimLL OMAP3 Devkit8000";
compatible = "timll,omap3-devkit8000", "ti,omap3";

memory {
device_type = "memory";
reg = <0x80000000 0x10000000>; /* 256 MB */
};

leds {
compatible = "gpio-leds";

heartbeat {
label = "devkit8000::led1";
gpios = <&gpio6 26 0>; /* 186 -> LED1 */
default-state = "on";
linux,default-trigger = "heartbeat";
};

mmc {
label = "devkit8000::led2";
gpios = <&gpio6 3 0>; /* 163 -> LED2 */
default-state = "on";
linux,default-trigger = "none";
};

usr {
label = "devkit8000::led3";
gpios = <&gpio6 4 0>; /* 164 -> LED3 */
default-state = "on";
linux,default-trigger = "usr";
};

};
};

&i2c1 {
clock-frequency = <2600000>;

twl: twl@48 {
reg = <0x48>;
interrupts = <7>; /* SYS_NIRQ cascaded to intc */
};
};

&i2c2 {
status = "disabled";
};

&i2c3 {
status = "disabled";
};

/include/ "twl4030.dtsi"

&mmc1 {
vmmc-supply = <&vmmc1>;
vmmc_aux-supply = <&vsim>;
bus-width = <8>;
};

&mmc2 {
status = "disabled";
};

&mmc3 {
status = "disabled";
};

&wdt2 {
status = "disabled";
};

&mcbsp1 {
status = "disabled";
};

&mcbsp2 {
status = "disabled";
};

&mcbsp3 {
status = "disabled";
};

&mcbsp4 {
status = "disabled";
};

&mcbsp5 {
status = "disabled";
};
1 change: 1 addition & 0 deletions arch/arm/mach-omap2/board-generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ MACHINE_END

static const char *omap3_gp_boards_compat[] __initdata = {
"ti,omap3-beagle",
"timll,omap3-devkit8000",
NULL,
};

Expand Down

0 comments on commit 4bfe634

Please sign in to comment.