diff options
author | Tony Lindgren <tony@atomide.com> | 2013-11-25 18:15:23 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-11-25 18:15:23 -0500 |
commit | 04a25dfb7956284029b486b5c72657ebbf7b8c85 (patch) | |
tree | c1d12b3b7c09c5ddba1dd96019261805c29361d8 | |
parent | 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff) |
ARM: dts: Add basic device tree support for omap2430 sdp
I doubt that there are many people using 2430 sdp, but as
that's been historically an important acid test platform
for omap2+ related changes, let's add minimal device
tree support for it.
If anybody is using it beyond minimal boot testing, patches
for more complete device tree support are welcome.
Cc: devicetree@vger.kernel.org
Cc: "BenoƮt Cousson" <bcousson@baylibre.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/boot/dts/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap2430-sdp.dts | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index d57c1a65b24f..73022b113cd1 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile | |||
@@ -173,6 +173,7 @@ dtb-$(CONFIG_ARCH_NSPIRE) += nspire-cx.dtb \ | |||
173 | nspire-tp.dtb \ | 173 | nspire-tp.dtb \ |
174 | nspire-clp.dtb | 174 | nspire-clp.dtb |
175 | dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \ | 175 | dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \ |
176 | omap2430-sdp.dtb \ | ||
176 | omap3430-sdp.dtb \ | 177 | omap3430-sdp.dtb \ |
177 | omap3-beagle.dtb \ | 178 | omap3-beagle.dtb \ |
178 | omap3-devkit8000.dtb \ | 179 | omap3-devkit8000.dtb \ |
diff --git a/arch/arm/boot/dts/omap2430-sdp.dts b/arch/arm/boot/dts/omap2430-sdp.dts new file mode 100644 index 000000000000..2c90d29b4cad --- /dev/null +++ b/arch/arm/boot/dts/omap2430-sdp.dts | |||
@@ -0,0 +1,49 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.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 "omap2430.dtsi" | ||
11 | |||
12 | / { | ||
13 | model = "TI OMAP2430 SDP"; | ||
14 | compatible = "ti,omap2430-sdp", "ti,omap2430", "ti,omap2"; | ||
15 | |||
16 | memory { | ||
17 | device_type = "memory"; | ||
18 | reg = <0x80000000 0x8000000>; /* 128 MB */ | ||
19 | }; | ||
20 | }; | ||
21 | |||
22 | &i2c2 { | ||
23 | clock-frequency = <100000>; | ||
24 | |||
25 | twl: twl@48 { | ||
26 | reg = <0x48>; | ||
27 | interrupts = <7>; /* SYS_NIRQ cascaded to intc */ | ||
28 | }; | ||
29 | }; | ||
30 | |||
31 | #include "twl4030.dtsi" | ||
32 | |||
33 | &mmc1 { | ||
34 | vmmc-supply = <&vmmc1>; | ||
35 | bus-width = <4>; | ||
36 | }; | ||
37 | |||
38 | &gpmc { | ||
39 | ranges = <5 0 0x08000000 0x01000000>; | ||
40 | ethernet@gpmc { | ||
41 | compatible = "smsc,lan91c94"; | ||
42 | interrupt-parent = <&gpio5>; | ||
43 | interrupts = <21 IRQ_TYPE_LEVEL_LOW>; /* gpio149 */ | ||
44 | reg = <5 0x300 0xf>; | ||
45 | bank-width = <2>; | ||
46 | gpmc,mux-add-data; | ||
47 | }; | ||
48 | }; | ||
49 | |||