blob: da402f0fdab4861bf9b775b247cabaac192f8777 [file] [log] [blame]
Anil Kumar4bfe6342013-03-16 15:29:21 +05301/*
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
Florian Vaussard98ef79572013-05-31 14:32:55 +020010#include "omap34xx.dtsi"
Anil Kumar4bfe6342013-03-16 15:29:21 +053011/ {
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";
Florian Vaussard6d624ea2013-05-31 14:32:56 +020025 gpios = <&gpio6 26 GPIO_ACTIVE_HIGH>; /* 186 -> LED1 */
Anil Kumar4bfe6342013-03-16 15:29:21 +053026 default-state = "on";
27 linux,default-trigger = "heartbeat";
28 };
29
30 mmc {
31 label = "devkit8000::led2";
Florian Vaussard6d624ea2013-05-31 14:32:56 +020032 gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>; /* 163 -> LED2 */
Anil Kumar4bfe6342013-03-16 15:29:21 +053033 default-state = "on";
34 linux,default-trigger = "none";
35 };
36
37 usr {
38 label = "devkit8000::led3";
Florian Vaussard6d624ea2013-05-31 14:32:56 +020039 gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>; /* 164 -> LED3 */
Anil Kumar4bfe6342013-03-16 15:29:21 +053040 default-state = "on";
41 linux,default-trigger = "usr";
42 };
43
44 };
Anil Kumare82be162013-02-04 20:25:07 +053045
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 };
Anil Kumar4bfe6342013-03-16 15:29:21 +053058};
59
60&i2c1 {
61 clock-frequency = <2600000>;
62
63 twl: twl@48 {
64 reg = <0x48>;
65 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
Anil Kumare82be162013-02-04 20:25:07 +053066
67 twl_audio: audio {
68 compatible = "ti,twl4030-audio";
69 codec {
70 };
71 };
Anil Kumar4bfe6342013-03-16 15:29:21 +053072 };
73};
74
75&i2c2 {
76 status = "disabled";
77};
78
79&i2c3 {
80 status = "disabled";
81};
82
Florian Vaussard98ef79572013-05-31 14:32:55 +020083#include "twl4030.dtsi"
Kevin Hilmanf9688452013-05-31 14:09:34 -070084#include "twl4030_omap3.dtsi"
Anil Kumar4bfe6342013-03-16 15:29:21 +053085
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
Peter Ujfalusi726322c2014-01-24 10:19:05 +0200104&mcbsp2 {
105 status = "okay";
Anil Kumar4bfe6342013-03-16 15:29:21 +0530106};
Anil Kumar2f3bb9c2013-02-15 23:32:25 +0530107
108&gpmc {
109 ranges = <0 0 0x30000000 0x04>; /* CS0: NAND */
110
111 nand@0,0 {
112 reg = <0 0 0>; /* CS0, offset 0 */
113 nand-bus-width = <16>;
114
Aaro Koskinen6283513b2013-09-21 02:40:14 +0300115 gpmc,sync-clk-ps = <0>;
Florian Vaussard49423502013-05-23 10:11:37 +0200116 gpmc,cs-on-ns = <0>;
117 gpmc,cs-rd-off-ns = <44>;
118 gpmc,cs-wr-off-ns = <44>;
119 gpmc,adv-on-ns = <6>;
120 gpmc,adv-rd-off-ns = <34>;
121 gpmc,adv-wr-off-ns = <44>;
122 gpmc,we-off-ns = <40>;
123 gpmc,oe-off-ns = <54>;
124 gpmc,access-ns = <64>;
125 gpmc,rd-cycle-ns = <82>;
126 gpmc,wr-cycle-ns = <82>;
127 gpmc,wr-access-ns = <40>;
128 gpmc,wr-data-mux-bus-ns = <0>;
Anil Kumar2f3bb9c2013-02-15 23:32:25 +0530129
130 #address-cells = <1>;
131 #size-cells = <1>;
132
133 x-loader@0 {
134 label = "X-Loader";
135 reg = <0 0x80000>;
136 };
137
138 bootloaders@80000 {
139 label = "U-Boot";
140 reg = <0x80000 0x1e0000>;
141 };
142
143 bootloaders_env@260000 {
144 label = "U-Boot Env";
145 reg = <0x260000 0x20000>;
146 };
147
148 kernel@280000 {
149 label = "Kernel";
150 reg = <0x280000 0x400000>;
151 };
152
153 filesystem@680000 {
154 label = "File System";
155 reg = <0x680000 0xf980000>;
156 };
157 };
158};