Merge tag 'dma-buf-for-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/sumits...
[sfrench/cifs-2.6.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,audio-routing =
52                         "Ext Spk", "PREDRIVEL",
53                         "Ext Spk", "PREDRIVER",
54                         "MAINMIC", "Main Mic",
55                         "Main Mic", "Mic Bias 1";
56         };
57 };
58
59 &i2c1 {
60         clock-frequency = <2600000>;
61
62         twl: twl@48 {
63                 reg = <0x48>;
64                 interrupts = <7>;       /* SYS_NIRQ cascaded to intc */
65
66                 twl_audio: audio {
67                         compatible = "ti,twl4030-audio";
68                         codec {
69                         };
70                 };
71         };
72 };
73
74 &i2c2 {
75         status = "disabled";
76 };
77
78 &i2c3 {
79         status = "disabled";
80 };
81
82 #include "twl4030.dtsi"
83 #include "twl4030_omap3.dtsi"
84
85 &mmc1 {
86         vmmc-supply = <&vmmc1>;
87         vmmc_aux-supply = <&vsim>;
88         bus-width = <8>;
89 };
90
91 &mmc2 {
92         status = "disabled";
93 };
94
95 &mmc3 {
96         status = "disabled";
97 };
98
99 &wdt2 {
100         status = "disabled";
101 };
102
103 &mcbsp2 {
104         status = "okay";
105 };
106
107 &gpmc {
108         ranges = <0 0 0x30000000 0x1000000>;       /* CS0: 16MB for NAND */
109
110         nand@0,0 {
111                 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
112                 nand-bus-width = <16>;
113
114                 gpmc,sync-clk-ps = <0>;
115                 gpmc,cs-on-ns = <0>;
116                 gpmc,cs-rd-off-ns = <44>;
117                 gpmc,cs-wr-off-ns = <44>;
118                 gpmc,adv-on-ns = <6>;
119                 gpmc,adv-rd-off-ns = <34>;
120                 gpmc,adv-wr-off-ns = <44>;
121                 gpmc,we-off-ns = <40>;
122                 gpmc,oe-off-ns = <54>;
123                 gpmc,access-ns = <64>;
124                 gpmc,rd-cycle-ns = <82>;
125                 gpmc,wr-cycle-ns = <82>;
126                 gpmc,wr-access-ns = <40>;
127                 gpmc,wr-data-mux-bus-ns = <0>;
128
129                 #address-cells = <1>;
130                 #size-cells = <1>;
131
132                 x-loader@0 {
133                         label = "X-Loader";
134                         reg = <0 0x80000>;
135                 };
136
137                 bootloaders@80000 {
138                         label = "U-Boot";
139                         reg = <0x80000 0x1e0000>;
140                 };
141
142                 bootloaders_env@260000 {
143                         label = "U-Boot Env";
144                         reg = <0x260000 0x20000>;
145                 };
146
147                 kernel@280000 {
148                         label = "Kernel";
149                         reg = <0x280000 0x400000>;
150                 };
151
152                 filesystem@680000 {
153                         label = "File System";
154                         reg = <0x680000 0xf980000>;
155                 };
156         };
157 };