blob: 51c084eeb7bddc486bf5eb97b77446c2537c31d0 [file] [log] [blame]
Javier Martinez Canillascb5e1912012-12-19 14:33:09 +01001/*
2 * Device Tree Source for IGEPv2 board
3 *
4 * Copyright (C) 2012 Javier Martinez Canillas <javier@collabora.co.uk>
5 * Copyright (C) 2012 Enric Balletbo i Serra <eballetbo@gmail.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */
11
Florian Vaussard98ef79572013-05-31 14:32:55 +020012#include "omap3-igep.dtsi"
Javier Martinez Canillascb5e1912012-12-19 14:33:09 +010013
14/ {
15 model = "IGEPv2";
16 compatible = "isee,omap3-igep0020", "ti,omap3";
17
18 leds {
Javier Martinez Canillasbd52e2d2013-06-20 16:42:31 +020019 pinctrl-names = "default";
20 pinctrl-0 = <&leds_pins>;
Javier Martinez Canillascb5e1912012-12-19 14:33:09 +010021 compatible = "gpio-leds";
Javier Martinez Canillasbd52e2d2013-06-20 16:42:31 +020022
Javier Martinez Canillascb5e1912012-12-19 14:33:09 +010023 boot {
24 label = "omap3:green:boot";
Florian Vaussard6d624ea2013-05-31 14:32:56 +020025 gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
Javier Martinez Canillascb5e1912012-12-19 14:33:09 +010026 default-state = "on";
27 };
28
29 user0 {
30 label = "omap3:red:user0";
Florian Vaussard6d624ea2013-05-31 14:32:56 +020031 gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>;
Javier Martinez Canillascb5e1912012-12-19 14:33:09 +010032 default-state = "off";
33 };
34
35 user1 {
36 label = "omap3:red:user1";
Florian Vaussard6d624ea2013-05-31 14:32:56 +020037 gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
Javier Martinez Canillascb5e1912012-12-19 14:33:09 +010038 default-state = "off";
39 };
40
41 user2 {
42 label = "omap3:green:user1";
Florian Vaussard6d624ea2013-05-31 14:32:56 +020043 gpios = <&twl_gpio 19 GPIO_ACTIVE_LOW>;
Javier Martinez Canillascb5e1912012-12-19 14:33:09 +010044 };
45 };
Javier Martinez Canillasd72b4412013-04-17 18:32:09 +020046
47 vddvario: regulator-vddvario {
48 compatible = "regulator-fixed";
49 regulator-name = "vddvario";
50 regulator-always-on;
51 };
52
53 vdd33a: regulator-vdd33a {
54 compatible = "regulator-fixed";
55 regulator-name = "vdd33a";
56 regulator-always-on;
57 };
Javier Martinez Canillascb5e1912012-12-19 14:33:09 +010058};
59
Javier Martinez Canillasbd52e2d2013-06-20 16:42:31 +020060&leds_pins {
61 pinctrl-single,pins = <
62 0x5c4 (PIN_OUTPUT | MUX_MODE4) /* etk_d12.gpio_26 */
63 0x5c6 (PIN_OUTPUT | MUX_MODE4) /* etk_d13.gpio_27 */
64 0x5c8 (PIN_OUTPUT | MUX_MODE4) /* etk_d14.gpio_28 */
65 >;
66};
67
Javier Martinez Canillascb5e1912012-12-19 14:33:09 +010068&i2c3 {
69 clock-frequency = <100000>;
70
71 /*
72 * Display monitor features are burnt in the EEPROM
73 * as EDID data.
74 */
75 eeprom@50 {
76 compatible = "ti,eeprom";
77 reg = <0x50>;
78 };
79};
Javier Martinez Canillasd72b4412013-04-17 18:32:09 +020080
81&gpmc {
Javier Martinez Canillas7f674b32013-05-10 21:31:10 +020082 ranges = <0 0 0x00000000 0x20000000>,
83 <5 0 0x2c000000 0x01000000>;
84
85 nand@0,0 {
86 linux,mtd-name= "micron,mt29c4g96maz";
87 reg = <0 0 0>;
88 nand-bus-width = <16>;
89 ti,nand-ecc-opt = "bch8";
90
91 gpmc,sync-clk-ps = <0>;
92 gpmc,cs-on-ns = <0>;
93 gpmc,cs-rd-off-ns = <44>;
94 gpmc,cs-wr-off-ns = <44>;
95 gpmc,adv-on-ns = <6>;
96 gpmc,adv-rd-off-ns = <34>;
97 gpmc,adv-wr-off-ns = <44>;
98 gpmc,we-off-ns = <40>;
99 gpmc,oe-off-ns = <54>;
100 gpmc,access-ns = <64>;
101 gpmc,rd-cycle-ns = <82>;
102 gpmc,wr-cycle-ns = <82>;
103 gpmc,wr-access-ns = <40>;
104 gpmc,wr-data-mux-bus-ns = <0>;
105
106 #address-cells = <1>;
107 #size-cells = <1>;
108
109 partition@0 {
110 label = "SPL";
111 reg = <0 0x100000>;
112 };
113 partition@0x80000 {
114 label = "U-Boot";
115 reg = <0x100000 0x180000>;
116 };
117 partition@0x1c0000 {
118 label = "Environment";
119 reg = <0x280000 0x100000>;
120 };
121 partition@0x280000 {
122 label = "Kernel";
123 reg = <0x380000 0x300000>;
124 };
125 partition@0x780000 {
126 label = "Filesystem";
127 reg = <0x680000 0x1f980000>;
128 };
129 };
130
Javier Martinez Canillasd72b4412013-04-17 18:32:09 +0200131 ethernet@5,0 {
132 pinctrl-names = "default";
133 pinctrl-0 = <&smsc911x_pins>;
134 compatible = "smsc,lan9221", "smsc,lan9115";
135 reg = <5 0 0xff>;
136 bank-width = <2>;
137
138 gpmc,mux-add-data;
139 gpmc,cs-on-ns = <0>;
140 gpmc,cs-rd-off-ns = <186>;
141 gpmc,cs-wr-off-ns = <186>;
142 gpmc,adv-on-ns = <12>;
143 gpmc,adv-rd-off-ns = <48>;
144 gpmc,adv-wr-off-ns = <48>;
145 gpmc,oe-on-ns = <54>;
146 gpmc,oe-off-ns = <168>;
147 gpmc,we-on-ns = <54>;
148 gpmc,we-off-ns = <168>;
149 gpmc,rd-cycle-ns = <186>;
150 gpmc,wr-cycle-ns = <186>;
151 gpmc,access-ns = <114>;
152 gpmc,page-burst-access-ns = <6>;
153 gpmc,bus-turnaround-ns = <12>;
154 gpmc,cycle2cycle-delay-ns = <18>;
155 gpmc,wr-data-mux-bus-ns = <90>;
156 gpmc,wr-access-ns = <186>;
157 gpmc,cycle2cycle-samecsen;
158 gpmc,cycle2cycle-diffcsen;
159
160 interrupt-parent = <&gpio6>;
161 interrupts = <16 8>;
162 vmmc-supply = <&vddvario>;
163 vmmc_aux-supply = <&vdd33a>;
164 reg-io-width = <4>;
165
166 smsc,save-mac-address;
167 };
168};