blob: bf5a515a324752d8fd36e96fb288b07d3b2f31e1 [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
Florian Vaussard49423502013-05-23 10:11:37 +0200115 gpmc,device-nand;
Aaro Koskinen6283513b2013-09-21 02:40:14 +0300116 gpmc,sync-clk-ps = <0>;
Florian Vaussard49423502013-05-23 10:11:37 +0200117 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>;
Anil Kumar2f3bb9c2013-02-15 23:32:25 +0530130
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};