diff options
author | Jon Hunter <jon-hunter@ti.com> | 2013-01-11 11:39:22 -0500 |
---|---|---|
committer | Benoit Cousson <benoit.cousson@linaro.org> | 2013-04-08 18:21:10 -0400 |
commit | 678fac41938299d33b980ad0e7b81438d3d88836 (patch) | |
tree | 1acccfdc1362ce55d2269b9592f84c7a81861df9 | |
parent | e299185a487762520a88a97aa5e12b4b0044d168 (diff) |
ARM: dts: OMAP3: Add support for OMAP3430 SDP board
Adds basic device-tree support for OMAP3430 SDP board which has 256MB
of RAM, 128MB ONENAND flash, 256MB NAND flash and uses the TWL4030
power management IC.
Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
-rw-r--r-- | arch/arm/boot/dts/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/omap3430-sdp.dts | 141 |
2 files changed, 142 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index de29da573f95..a38dcd4703ee 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile | |||
@@ -115,6 +115,7 @@ dtb-$(CONFIG_ARCH_MXS) += imx23-evk.dtb \ | |||
115 | imx28-tx28.dtb | 115 | imx28-tx28.dtb |
116 | dtb-$(CONFIG_ARCH_NOMADIK) += ste-nomadik-s8815.dtb | 116 | dtb-$(CONFIG_ARCH_NOMADIK) += ste-nomadik-s8815.dtb |
117 | dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \ | 117 | dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \ |
118 | omap3430-sdp.dtb \ | ||
118 | omap3-beagle.dtb \ | 119 | omap3-beagle.dtb \ |
119 | omap3-beagle-xm.dtb \ | 120 | omap3-beagle-xm.dtb \ |
120 | omap3-evm.dtb \ | 121 | omap3-evm.dtb \ |
diff --git a/arch/arm/boot/dts/omap3430-sdp.dts b/arch/arm/boot/dts/omap3430-sdp.dts new file mode 100644 index 000000000000..535a6f900146 --- /dev/null +++ b/arch/arm/boot/dts/omap3430-sdp.dts | |||
@@ -0,0 +1,141 @@ | |||
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/ "omap3.dtsi" | ||
11 | |||
12 | / { | ||
13 | model = "TI OMAP3430 SDP"; | ||
14 | compatible = "ti,omap3430-sdp", "ti,omap3"; | ||
15 | |||
16 | memory { | ||
17 | device_type = "memory"; | ||
18 | reg = <0x80000000 0x10000000>; /* 256 MB */ | ||
19 | }; | ||
20 | }; | ||
21 | |||
22 | &i2c1 { | ||
23 | clock-frequency = <2600000>; | ||
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 | vmmc_aux-supply = <&vsim>; | ||
36 | bus-width = <8>; | ||
37 | }; | ||
38 | |||
39 | &mmc2 { | ||
40 | status = "disabled"; | ||
41 | }; | ||
42 | |||
43 | &mmc3 { | ||
44 | status = "disabled"; | ||
45 | }; | ||
46 | |||
47 | &gpmc { | ||
48 | ranges = <1 0 0x28000000 0x08000000>, | ||
49 | <2 0 0x20000000 0x10000000>; | ||
50 | |||
51 | nand@1,0 { | ||
52 | linux,mtd-name= "micron,mt29f1g08abb"; | ||
53 | #address-cells = <1>; | ||
54 | #size-cells = <1>; | ||
55 | reg = <1 0 0x08000000>; | ||
56 | nand-bus-width = <8>; | ||
57 | |||
58 | ti,nand-ecc-opt = "sw"; | ||
59 | gpmc,device-nand; | ||
60 | gpmc,cs-on = <0>; | ||
61 | gpmc,cs-rd-off = <36>; | ||
62 | gpmc,cs-wr-off = <36>; | ||
63 | gpmc,adv-on = <6>; | ||
64 | gpmc,adv-rd-off = <24>; | ||
65 | gpmc,adv-wr-off = <36>; | ||
66 | gpmc,oe-on = <6>; | ||
67 | gpmc,oe-off = <48>; | ||
68 | gpmc,we-on = <6>; | ||
69 | gpmc,we-off = <30>; | ||
70 | gpmc,rd-cycle = <72>; | ||
71 | gpmc,wr-cycle = <72>; | ||
72 | gpmc,access = <54>; | ||
73 | gpmc,wr-access = <30>; | ||
74 | |||
75 | partition@0 { | ||
76 | label = "xloader-nand"; | ||
77 | reg = <0 0x80000>; | ||
78 | }; | ||
79 | partition@0x80000 { | ||
80 | label = "bootloader-nand"; | ||
81 | reg = <0x80000 0x140000>; | ||
82 | }; | ||
83 | partition@0x1c0000 { | ||
84 | label = "params-nand"; | ||
85 | reg = <0x1c0000 0xc0000>; | ||
86 | }; | ||
87 | partition@0x280000 { | ||
88 | label = "kernel-nand"; | ||
89 | reg = <0x280000 0x500000>; | ||
90 | }; | ||
91 | partition@0x780000 { | ||
92 | label = "filesystem-nand"; | ||
93 | reg = <0x780000 0x7880000>; | ||
94 | }; | ||
95 | }; | ||
96 | |||
97 | onenand@2,0 { | ||
98 | linux,mtd-name= "samsung,kfm2g16q2m-deb8"; | ||
99 | #address-cells = <1>; | ||
100 | #size-cells = <1>; | ||
101 | reg = <2 0 0x10000000>; | ||
102 | |||
103 | gpmc,device-width = <2>; | ||
104 | gpmc,mux-add-data = <2>; | ||
105 | gpmc,cs-on = <0>; | ||
106 | gpmc,cs-rd-off = <84>; | ||
107 | gpmc,cs-wr-off = <72>; | ||
108 | gpmc,adv-on = <0>; | ||
109 | gpmc,adv-rd-off = <18>; | ||
110 | gpmc,adv-wr-off = <18>; | ||
111 | gpmc,oe-on = <30>; | ||
112 | gpmc,oe-off = <84>; | ||
113 | gpmc,we-on = <0>; | ||
114 | gpmc,we-off = <42>; | ||
115 | gpmc,rd-cycle = <108>; | ||
116 | gpmc,wr-cycle = <96>; | ||
117 | gpmc,access = <78>; | ||
118 | gpmc,wr-data-mux-bus = <30>; | ||
119 | |||
120 | partition@0 { | ||
121 | label = "xloader-onenand"; | ||
122 | reg = <0 0x80000>; | ||
123 | }; | ||
124 | partition@0x80000 { | ||
125 | label = "bootloader-onenand"; | ||
126 | reg = <0x80000 0x40000>; | ||
127 | }; | ||
128 | partition@0xc0000 { | ||
129 | label = "params-onenand"; | ||
130 | reg = <0xc0000 0x20000>; | ||
131 | }; | ||
132 | partition@0xe0000 { | ||
133 | label = "kernel-onenand"; | ||
134 | reg = <0xe0000 0x200000>; | ||
135 | }; | ||
136 | partition@0x2e0000 { | ||
137 | label = "filesystem-onenand"; | ||
138 | reg = <0x2e0000 0xfd20000>; | ||
139 | }; | ||
140 | }; | ||
141 | }; | ||