blob: 802ec5b2fd00d0d40977624a9ae382b55e416b76 [file] [log] [blame]
Roland Stiggee04920d2012-04-22 12:01:19 +02001/*
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
Roland Stigge15ab2182012-06-14 16:16:16 +020057 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
Roland Stiggee04920d2012-04-22 12:01:19 +020068 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 {
Roland Stiggec70426f2012-06-14 16:16:18 +020097 uart5: serial@40090000 {
98 status = "okay";
99 };
100
101 uart3: serial@40080000 {
102 status = "okay";
103 };
104
Roland Stiggee04920d2012-04-22 12:01:19 +0200105 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 {
Alexandre Pereira da Silva2e0b5a32012-06-12 10:34:12 -0300136 #address-cells = <1>;
137 #size-cells = <0>;
138 pl022,num-chipselects = <1>;
139 cs-gpios = <&gpio 3 5 0>;
140
Roland Stiggee04920d2012-04-22 12:01:19 +0200141 eeprom: at25@0 {
Alexandre Pereira da Silva2e0b5a32012-06-12 10:34:12 -0300142 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
Roland Stiggee04920d2012-04-22 12:01:19 +0200156 compatible = "atmel,at25";
Alexandre Pereira da Silva2e0b5a32012-06-12 10:34:12 -0300157 reg = <0>;
158 spi-max-frequency = <5000000>;
Roland Stiggee04920d2012-04-22 12:01:19 +0200159 };
160 };
Roland Stigge2c7fa282012-06-14 16:16:18 +0200161
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 };
Roland Stiggee04920d2012-04-22 12:01:19 +0200169 };
170
171 fab {
Roland Stiggeac5ced92012-06-14 16:16:18 +0200172 uart2: serial@40018000 {
173 status = "okay";
174 };
175
Roland Stiggee04920d2012-04-22 12:01:19 +0200176 tsc@40048000 {
177 status = "okay";
178 };
Roland Stiggea6d1be02012-06-14 16:16:17 +0200179
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 };
Roland Stiggee04920d2012-04-22 12:01:19 +0200188 };
189 };
190
191 leds {
192 compatible = "gpio-leds";
193
194 led0 {
Roland Stiggea0352542012-05-19 12:28:53 +0200195 gpios = <&gpio 5 1 1>; /* GPO_P3 1, GPIO 80, active low */
Roland Stiggee04920d2012-04-22 12:01:19 +0200196 linux,default-trigger = "heartbeat";
197 default-state = "off";
198 };
199
200 led1 {
Roland Stiggea0352542012-05-19 12:28:53 +0200201 gpios = <&gpio 5 14 1>; /* GPO_P3 14, GPIO 93, active low */
Roland Stiggee04920d2012-04-22 12:01:19 +0200202 linux,default-trigger = "timer";
203 default-state = "off";
204 };
205 };
206};