Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux...
[linux-drm-fsl-dcu.git] / arch / arm / boot / dts / omap3-devkit8000.dts
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 "omap34xx.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 GPIO_ACTIVE_HIGH>;   /* 186 -> LED1 */
26                         default-state = "on";
27                         linux,default-trigger = "heartbeat";
28                 };
29
30                 mmc {
31                         label = "devkit8000::led2";
32                         gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>;    /* 163 -> LED2 */
33                         default-state = "on";
34                         linux,default-trigger = "none";
35                 };
36
37                 usr {
38                         label = "devkit8000::led3";
39                         gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>;    /* 164 -> LED3 */
40                         default-state = "on";
41                         linux,default-trigger = "usr";
42                 };
43
44         };
45
46         sound {
47                 compatible = "ti,omap-twl4030";
48                 ti,model = "devkit8000";
49
50                 ti,mcbsp = <&mcbsp2>;
51                 ti,codec = <&twl_audio>;
52                 ti,audio-routing =
53                         "Ext Spk", "PREDRIVEL",
54                         "Ext Spk", "PREDRIVER",
55                         "MAINMIC", "Main Mic",
56                         "Main Mic", "Mic Bias 1";
57         };
58 };
59
60 &i2c1 {
61         clock-frequency = <2600000>;
62
63         twl: twl@48 {
64                 reg = <0x48>;
65                 interrupts = <7>;       /* SYS_NIRQ cascaded to intc */
66
67                 twl_audio: audio {
68                         compatible = "ti,twl4030-audio";
69                         codec {
70                         };
71                 };
72         };
73 };
74
75 &i2c2 {
76         status = "disabled";
77 };
78
79 &i2c3 {
80         status = "disabled";
81 };
82
83 #include "twl4030.dtsi"
84 #include "twl4030_omap3.dtsi"
85
86 &mmc1 {
87         vmmc-supply = <&vmmc1>;
88         vmmc_aux-supply = <&vsim>;
89         bus-width = <8>;
90 };
91
92 &mmc2 {
93         status = "disabled";
94 };
95
96 &mmc3 {
97         status = "disabled";
98 };
99
100 &wdt2 {
101         status = "disabled";
102 };
103
104 &mcbsp1 {
105         status = "disabled";
106 };
107
108 &mcbsp3 {
109         status = "disabled";
110 };
111
112 &mcbsp4 {
113         status = "disabled";
114 };
115
116 &mcbsp5 {
117         status = "disabled";
118 };
119
120 &gpmc {
121         ranges = <0 0 0x30000000 0x04>;       /* CS0: NAND */
122
123         nand@0,0 {
124                 reg = <0 0 0>; /* CS0, offset 0 */
125                 nand-bus-width = <16>;
126
127                 gpmc,device-nand;
128                 gpmc,sync-clk-ps = <0>;
129                 gpmc,cs-on-ns = <0>;
130                 gpmc,cs-rd-off-ns = <44>;
131                 gpmc,cs-wr-off-ns = <44>;
132                 gpmc,adv-on-ns = <6>;
133                 gpmc,adv-rd-off-ns = <34>;
134                 gpmc,adv-wr-off-ns = <44>;
135                 gpmc,we-off-ns = <40>;
136                 gpmc,oe-off-ns = <54>;
137                 gpmc,access-ns = <64>;
138                 gpmc,rd-cycle-ns = <82>;
139                 gpmc,wr-cycle-ns = <82>;
140                 gpmc,wr-access-ns = <40>;
141                 gpmc,wr-data-mux-bus-ns = <0>;
142
143                 #address-cells = <1>;
144                 #size-cells = <1>;
145
146                 x-loader@0 {
147                         label = "X-Loader";
148                         reg = <0 0x80000>;
149                 };
150
151                 bootloaders@80000 {
152                         label = "U-Boot";
153                         reg = <0x80000 0x1e0000>;
154                 };
155
156                 bootloaders_env@260000 {
157                         label = "U-Boot Env";
158                         reg = <0x260000 0x20000>;
159                 };
160
161                 kernel@280000 {
162                         label = "Kernel";
163                         reg = <0x280000 0x400000>;
164                 };
165
166                 filesystem@680000 {
167                         label = "File System";
168                         reg = <0x680000 0xf980000>;
169                 };
170         };
171 };