]>
Commit | Line | Data |
---|---|---|
cb5e191e JMC |
1 | /* |
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 | ||
98ef7957 | 12 | #include "omap3-igep.dtsi" |
cb5e191e JMC |
13 | |
14 | / { | |
15 | model = "IGEPv2"; | |
16 | compatible = "isee,omap3-igep0020", "ti,omap3"; | |
17 | ||
18 | leds { | |
19 | compatible = "gpio-leds"; | |
20 | boot { | |
21 | label = "omap3:green:boot"; | |
6d624eab | 22 | gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>; |
cb5e191e JMC |
23 | default-state = "on"; |
24 | }; | |
25 | ||
26 | user0 { | |
27 | label = "omap3:red:user0"; | |
6d624eab | 28 | gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>; |
cb5e191e JMC |
29 | default-state = "off"; |
30 | }; | |
31 | ||
32 | user1 { | |
33 | label = "omap3:red:user1"; | |
6d624eab | 34 | gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>; |
cb5e191e JMC |
35 | default-state = "off"; |
36 | }; | |
37 | ||
38 | user2 { | |
39 | label = "omap3:green:user1"; | |
6d624eab | 40 | gpios = <&twl_gpio 19 GPIO_ACTIVE_LOW>; |
cb5e191e JMC |
41 | }; |
42 | }; | |
d72b4415 JMC |
43 | |
44 | vddvario: regulator-vddvario { | |
45 | compatible = "regulator-fixed"; | |
46 | regulator-name = "vddvario"; | |
47 | regulator-always-on; | |
48 | }; | |
49 | ||
50 | vdd33a: regulator-vdd33a { | |
51 | compatible = "regulator-fixed"; | |
52 | regulator-name = "vdd33a"; | |
53 | regulator-always-on; | |
54 | }; | |
cb5e191e JMC |
55 | }; |
56 | ||
57 | &i2c3 { | |
58 | clock-frequency = <100000>; | |
59 | ||
60 | /* | |
61 | * Display monitor features are burnt in the EEPROM | |
62 | * as EDID data. | |
63 | */ | |
64 | eeprom@50 { | |
65 | compatible = "ti,eeprom"; | |
66 | reg = <0x50>; | |
67 | }; | |
68 | }; | |
d72b4415 JMC |
69 | |
70 | &gpmc { | |
7f674b3f JMC |
71 | ranges = <0 0 0x00000000 0x20000000>, |
72 | <5 0 0x2c000000 0x01000000>; | |
73 | ||
74 | nand@0,0 { | |
75 | linux,mtd-name= "micron,mt29c4g96maz"; | |
76 | reg = <0 0 0>; | |
77 | nand-bus-width = <16>; | |
78 | ti,nand-ecc-opt = "bch8"; | |
79 | ||
80 | gpmc,sync-clk-ps = <0>; | |
81 | gpmc,cs-on-ns = <0>; | |
82 | gpmc,cs-rd-off-ns = <44>; | |
83 | gpmc,cs-wr-off-ns = <44>; | |
84 | gpmc,adv-on-ns = <6>; | |
85 | gpmc,adv-rd-off-ns = <34>; | |
86 | gpmc,adv-wr-off-ns = <44>; | |
87 | gpmc,we-off-ns = <40>; | |
88 | gpmc,oe-off-ns = <54>; | |
89 | gpmc,access-ns = <64>; | |
90 | gpmc,rd-cycle-ns = <82>; | |
91 | gpmc,wr-cycle-ns = <82>; | |
92 | gpmc,wr-access-ns = <40>; | |
93 | gpmc,wr-data-mux-bus-ns = <0>; | |
94 | ||
95 | #address-cells = <1>; | |
96 | #size-cells = <1>; | |
97 | ||
98 | partition@0 { | |
99 | label = "SPL"; | |
100 | reg = <0 0x100000>; | |
101 | }; | |
102 | partition@0x80000 { | |
103 | label = "U-Boot"; | |
104 | reg = <0x100000 0x180000>; | |
105 | }; | |
106 | partition@0x1c0000 { | |
107 | label = "Environment"; | |
108 | reg = <0x280000 0x100000>; | |
109 | }; | |
110 | partition@0x280000 { | |
111 | label = "Kernel"; | |
112 | reg = <0x380000 0x300000>; | |
113 | }; | |
114 | partition@0x780000 { | |
115 | label = "Filesystem"; | |
116 | reg = <0x680000 0x1f980000>; | |
117 | }; | |
118 | }; | |
119 | ||
d72b4415 JMC |
120 | ethernet@5,0 { |
121 | pinctrl-names = "default"; | |
122 | pinctrl-0 = <&smsc911x_pins>; | |
123 | compatible = "smsc,lan9221", "smsc,lan9115"; | |
124 | reg = <5 0 0xff>; | |
125 | bank-width = <2>; | |
126 | ||
127 | gpmc,mux-add-data; | |
128 | gpmc,cs-on-ns = <0>; | |
129 | gpmc,cs-rd-off-ns = <186>; | |
130 | gpmc,cs-wr-off-ns = <186>; | |
131 | gpmc,adv-on-ns = <12>; | |
132 | gpmc,adv-rd-off-ns = <48>; | |
133 | gpmc,adv-wr-off-ns = <48>; | |
134 | gpmc,oe-on-ns = <54>; | |
135 | gpmc,oe-off-ns = <168>; | |
136 | gpmc,we-on-ns = <54>; | |
137 | gpmc,we-off-ns = <168>; | |
138 | gpmc,rd-cycle-ns = <186>; | |
139 | gpmc,wr-cycle-ns = <186>; | |
140 | gpmc,access-ns = <114>; | |
141 | gpmc,page-burst-access-ns = <6>; | |
142 | gpmc,bus-turnaround-ns = <12>; | |
143 | gpmc,cycle2cycle-delay-ns = <18>; | |
144 | gpmc,wr-data-mux-bus-ns = <90>; | |
145 | gpmc,wr-access-ns = <186>; | |
146 | gpmc,cycle2cycle-samecsen; | |
147 | gpmc,cycle2cycle-diffcsen; | |
148 | ||
149 | interrupt-parent = <&gpio6>; | |
150 | interrupts = <16 8>; | |
151 | vmmc-supply = <&vddvario>; | |
152 | vmmc_aux-supply = <&vdd33a>; | |
153 | reg-io-width = <4>; | |
154 | ||
155 | smsc,save-mac-address; | |
156 | }; | |
157 | }; |