Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / 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                 gpmc,device-width = <2>;
114                 ti,nand-ecc-opt = "sw";
115
116                 gpmc,sync-clk-ps = <0>;
117                 gpmc,cs-on-ns = <0>;
118                 gpmc,cs-rd-off-ns = <44>;
119                 gpmc,cs-wr-off-ns = <44>;
120                 gpmc,adv-on-ns = <6>;
121                 gpmc,adv-rd-off-ns = <34>;
122                 gpmc,adv-wr-off-ns = <44>;
123                 gpmc,we-off-ns = <40>;
124                 gpmc,oe-off-ns = <54>;
125                 gpmc,access-ns = <64>;
126                 gpmc,rd-cycle-ns = <82>;
127                 gpmc,wr-cycle-ns = <82>;
128                 gpmc,wr-access-ns = <40>;
129                 gpmc,wr-data-mux-bus-ns = <0>;
130
131                 #address-cells = <1>;
132                 #size-cells = <1>;
133
134                 x-loader@0 {
135                         label = "X-Loader";
136                         reg = <0 0x80000>;
137                 };
138
139                 bootloaders@80000 {
140                         label = "U-Boot";
141                         reg = <0x80000 0x1e0000>;
142                 };
143
144                 bootloaders_env@260000 {
145                         label = "U-Boot Env";
146                         reg = <0x260000 0x20000>;
147                 };
148
149                 kernel@280000 {
150                         label = "Kernel";
151                         reg = <0x280000 0x400000>;
152                 };
153
154                 filesystem@680000 {
155                         label = "File System";
156                         reg = <0x680000 0xf980000>;
157                 };
158         };
159 };