mtd: nand: omap: Fix comment in platform data using wrong Kconfig symbol
[linux/fpc-iii.git] / arch / arm / boot / dts / lpc3250-phy3250.dts
blobebd19258e22b57a0654993e7534598d3da57a124
1 /*
2  * PHYTEC phyCORE-LPC3250 board
3  *
4  * Copyright (C) 2015-2019 Vladimir Zapolskiy <vz@mleia.com>
5  * Copyright 2012 Roland Stigge <stigge@antcom.de>
6  *
7  * The code contained herein is licensed under the GNU General Public
8  * License. You may obtain a copy of the GNU General Public License
9  * Version 2 or later at the following locations:
10  *
11  * http://www.opensource.org/licenses/gpl-license.html
12  * http://www.gnu.org/copyleft/gpl.html
13  */
15 /dts-v1/;
16 #include "lpc32xx.dtsi"
18 / {
19         model = "PHYTEC phyCORE-LPC3250 board based on NXP LPC3250";
20         compatible = "phytec,phy3250", "nxp,lpc3250";
22         memory@80000000 {
23                 device_type = "memory";
24                 reg = <0x80000000 0x4000000>;
25         };
27         leds {
28                 compatible = "gpio-leds";
30                 led0 { /* red */
31                         gpios = <&gpio 5 1 0>; /* GPO_P3 1, GPIO 80, active high */
32                         default-state = "off";
33                 };
35                 led1 { /* green */
36                         gpios = <&gpio 5 14 0>; /* GPO_P3 14, GPIO 93, active high */
37                         linux,default-trigger = "heartbeat";
38                 };
39         };
41         panel: panel {
42                 compatible = "sharp,lq035q7db03";
43                 power-supply = <&reg_lcd>;
45                 port {
46                         panel_input: endpoint {
47                                 remote-endpoint = <&cldc_output>;
48                         };
49                 };
50         };
52         reg_backlight: regulator-backlight {
53                 compatible = "regulator-fixed";
54                 regulator-name = "backlight";
55                 regulator-min-microvolt = <1800000>;
56                 regulator-max-microvolt = <1800000>;
57                 gpio = <&gpio 5 4 0>;
58                 enable-active-high;
59                 regulator-boot-on;
60         };
62         reg_lcd: regulator-lcd {
63                 compatible = "regulator-fixed";
64                 regulator-name = "lcd";
65                 regulator-min-microvolt = <1800000>;
66                 regulator-max-microvolt = <1800000>;
67                 gpio = <&gpio 5 0 0>;
68                 enable-active-high;
69                 regulator-boot-on;
70         };
72         reg_sd: regulator-sd {
73                 compatible = "regulator-fixed";
74                 regulator-name = "sd";
75                 regulator-min-microvolt = <3300000>;
76                 regulator-max-microvolt = <3300000>;
77                 gpio = <&gpio 5 5 0>;
78                 enable-active-high;
79                 regulator-boot-on;
80         };
83 &clcd {
84         max-memory-bandwidth = <18710000>;
85         status = "okay";
87         port {
88                 cldc_output: endpoint {
89                         remote-endpoint = <&panel_input>;
90                         arm,pl11x,tft-r0g0b0-pads = <0 8 16>;
91                 };
92         };
95 &i2c1 {
96         clock-frequency = <100000>;
98         uda1380: uda1380@18 {
99                 compatible = "nxp,uda1380";
100                 reg = <0x18>;
101                 power-gpio = <&gpio 3 10 0>;
102                 reset-gpio = <&gpio 3 2 0>;
103                 dac-clk = "wspll";
104         };
106         pcf8563: rtc@51 {
107                 compatible = "nxp,pcf8563";
108                 reg = <0x51>;
109         };
112 &i2c2 {
113         clock-frequency = <100000>;
116 &i2cusb {
117         clock-frequency = <100000>;
119         isp1301: usb-transceiver@2c {
120                 compatible = "nxp,isp1301";
121                 reg = <0x2c>;
122         };
125 &key {
126         keypad,num-rows = <1>;
127         keypad,num-columns = <1>;
128         nxp,debounce-delay-ms = <3>;
129         nxp,scan-delay-ms = <34>;
130         linux,keymap = <0x00000002>;
131         status = "okay";
134 &mac {
135         phy-mode = "rmii";
136         use-iram;
139 /* Here, choose exactly one from: ohci, usbd */
140 &ohci /* &usbd */ {
141         transceiver = <&isp1301>;
142         status = "okay";
145 &sd {
146         wp-gpios = <&gpio 3 0 0>;
147         cd-gpios = <&gpio 3 1 0>;
148         cd-inverted;
149         bus-width = <4>;
150         vmmc-supply = <&reg_sd>;
151         status = "okay";
154 /* 64MB Flash via SLC NAND controller */
155 &slc {
156         status = "okay";
158         nxp,wdr-clks = <14>;
159         nxp,wwidth = <40000000>;
160         nxp,whold = <100000000>;
161         nxp,wsetup = <100000000>;
162         nxp,rdr-clks = <14>;
163         nxp,rwidth = <40000000>;
164         nxp,rhold = <66666666>;
165         nxp,rsetup = <100000000>;
166         nand-on-flash-bbt;
167         gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
169         partitions {
170                 compatible = "fixed-partitions";
171                 #address-cells = <1>;
172                 #size-cells = <1>;
174                 mtd0@0 {
175                         label = "phy3250-boot";
176                         reg = <0x00000000 0x00064000>;
177                         read-only;
178                 };
180                 mtd1@64000 {
181                         label = "phy3250-uboot";
182                         reg = <0x00064000 0x00190000>;
183                         read-only;
184                 };
186                 mtd2@1f4000 {
187                         label = "phy3250-ubt-prms";
188                         reg = <0x001f4000 0x00010000>;
189                 };
191                 mtd3@204000 {
192                         label = "phy3250-kernel";
193                         reg = <0x00204000 0x00400000>;
194                 };
196                 mtd4@604000 {
197                         label = "phy3250-rootfs";
198                         reg = <0x00604000 0x039fc000>;
199                 };
200         };
203 &ssp0 {
204         #address-cells = <1>;
205         #size-cells = <0>;
206         num-cs = <1>;
207         cs-gpios = <&gpio 3 5 0>;
208         status = "okay";
210         eeprom: at25@0 {
211                 compatible = "atmel,at25";
212                 reg = <0>;
213                 spi-max-frequency = <5000000>;
215                 pl022,interface = <0>;
216                 pl022,com-mode = <0>;
217                 pl022,rx-level-trig = <1>;
218                 pl022,tx-level-trig = <1>;
219                 pl022,ctrl-len = <11>;
220                 pl022,wait-state = <0>;
221                 pl022,duplex = <0>;
223                 at25,byte-len = <0x8000>;
224                 at25,addr-mode = <2>;
225                 at25,page-size = <64>;
226         };
229 &tsc {
230         status = "okay";
233 &uart2 {
234         status = "okay";
237 &uart3 {
238         status = "okay";
241 &uart5 {
242         status = "okay";