Linux 3.6-rc4
[deliverable/linux.git] / arch / arm / boot / dts / phy3250.dts
CommitLineData
e04920d9
RS
1/*
2 * PHYTEC phyCORE-LPC3250 board
3 *
4 * Copyright 2012 Roland Stigge <stigge@antcom.de>
5 *
6 * The code contained herein is licensed under the GNU General Public
7 * License. You may obtain a copy of the GNU General Public License
8 * Version 2 or later at the following locations:
9 *
10 * http://www.opensource.org/licenses/gpl-license.html
11 * http://www.gnu.org/copyleft/gpl.html
12 */
13
14/dts-v1/;
15/include/ "lpc32xx.dtsi"
16
17/ {
18 model = "PHYTEC phyCORE-LPC3250 board based on NXP LPC3250";
19 compatible = "phytec,phy3250", "nxp,lpc3250";
20 #address-cells = <1>;
21 #size-cells = <1>;
22
23 memory {
24 device_type = "memory";
25 reg = <0 0x4000000>;
26 };
27
28 ahb {
29 mac: ethernet@31060000 {
30 phy-mode = "rmii";
31 use-iram;
32 };
33
34 /* Here, choose exactly one from: ohci, usbd */
35 ohci@31020000 {
36 transceiver = <&isp1301>;
37 status = "okay";
38 };
39
40/*
41 usbd@31020000 {
42 transceiver = <&isp1301>;
43 status = "okay";
44 };
45*/
46
47 clcd@31040000 {
48 status = "okay";
49 };
50
51 /* 64MB Flash via SLC NAND controller */
52 slc: flash@20020000 {
53 status = "okay";
54 #address-cells = <1>;
55 #size-cells = <1>;
56
15ab2183
RS
57 nxp,wdr-clks = <14>;
58 nxp,wwidth = <40000000>;
59 nxp,whold = <100000000>;
60 nxp,wsetup = <100000000>;
61 nxp,rdr-clks = <14>;
62 nxp,rwidth = <40000000>;
63 nxp,rhold = <66666666>;
64 nxp,rsetup = <100000000>;
65 nand-on-flash-bbt;
66 gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
67
e04920d9
RS
68 mtd0@00000000 {
69 label = "phy3250-boot";
70 reg = <0x00000000 0x00064000>;
71 read-only;
72 };
73
74 mtd1@00064000 {
75 label = "phy3250-uboot";
76 reg = <0x00064000 0x00190000>;
77 read-only;
78 };
79
80 mtd2@001f4000 {
81 label = "phy3250-ubt-prms";
82 reg = <0x001f4000 0x00010000>;
83 };
84
85 mtd3@00204000 {
86 label = "phy3250-kernel";
87 reg = <0x00204000 0x00400000>;
88 };
89
90 mtd4@00604000 {
91 label = "phy3250-rootfs";
92 reg = <0x00604000 0x039fc000>;
93 };
94 };
95
96 apb {
c70426f1
RS
97 uart5: serial@40090000 {
98 status = "okay";
99 };
100
101 uart3: serial@40080000 {
102 status = "okay";
103 };
104
e04920d9
RS
105 i2c1: i2c@400A0000 {
106 clock-frequency = <100000>;
107
108 pcf8563: rtc@51 {
109 compatible = "nxp,pcf8563";
110 reg = <0x51>;
111 };
112
113 uda1380: uda1380@18 {
114 compatible = "nxp,uda1380";
115 reg = <0x18>;
116 power-gpio = <&gpio 0x59 0>;
117 reset-gpio = <&gpio 0x51 0>;
118 dac-clk = "wspll";
119 };
120 };
121
122 i2c2: i2c@400A8000 {
123 clock-frequency = <100000>;
124 };
125
126 i2cusb: i2c@31020300 {
127 clock-frequency = <100000>;
128
129 isp1301: usb-transceiver@2c {
130 compatible = "nxp,isp1301";
131 reg = <0x2c>;
132 };
133 };
134
135 ssp0: ssp@20084000 {
2e0b5a37
APS
136 #address-cells = <1>;
137 #size-cells = <0>;
138 pl022,num-chipselects = <1>;
139 cs-gpios = <&gpio 3 5 0>;
140
e04920d9 141 eeprom: at25@0 {
2e0b5a37
APS
142 pl022,hierarchy = <0>;
143 pl022,interface = <0>;
144 pl022,slave-tx-disable = <0>;
145 pl022,com-mode = <0>;
146 pl022,rx-level-trig = <1>;
147 pl022,tx-level-trig = <1>;
148 pl022,ctrl-len = <11>;
149 pl022,wait-state = <0>;
150 pl022,duplex = <0>;
151
152 at25,byte-len = <0x8000>;
153 at25,addr-mode = <2>;
154 at25,page-size = <64>;
155
e04920d9 156 compatible = "atmel,at25";
2e0b5a37
APS
157 reg = <0>;
158 spi-max-frequency = <5000000>;
e04920d9
RS
159 };
160 };
2c7fa286
RS
161
162 sd@20098000 {
163 wp-gpios = <&gpio 3 0 0>;
164 cd-gpios = <&gpio 3 1 0>;
165 cd-inverted;
166 bus-width = <4>;
167 status = "okay";
168 };
e04920d9
RS
169 };
170
171 fab {
ac5ced91
RS
172 uart2: serial@40018000 {
173 status = "okay";
174 };
175
e04920d9
RS
176 tsc@40048000 {
177 status = "okay";
178 };
a6d1be0e
RS
179
180 key@40050000 {
181 status = "okay";
182 keypad,num-rows = <1>;
183 keypad,num-columns = <1>;
184 nxp,debounce-delay-ms = <3>;
185 nxp,scan-delay-ms = <34>;
186 linux,keymap = <0x00000002>;
187 };
e04920d9
RS
188 };
189 };
190
191 leds {
192 compatible = "gpio-leds";
193
194 led0 {
a035254a 195 gpios = <&gpio 5 1 1>; /* GPO_P3 1, GPIO 80, active low */
e04920d9
RS
196 linux,default-trigger = "heartbeat";
197 default-state = "off";
198 };
199
200 led1 {
a035254a 201 gpios = <&gpio 5 14 1>; /* GPO_P3 14, GPIO 93, active low */
e04920d9
RS
202 linux,default-trigger = "timer";
203 default-state = "off";
204 };
205 };
206};
This page took 0.079546 seconds and 5 git commands to generate.