blob: c4312c4a37678997b06211924c778df6abcc1b91 [file] [log] [blame]
Stefan Agnere1bf86a2014-11-02 21:36:47 +01001/*
2 * Copyright 2014 Toradex AG
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 */
9
10/ {
11 bl: backlight {
12 compatible = "pwm-backlight";
Bhuvanchandra DVb2e42442016-01-09 12:29:53 +053013 pinctrl-names = "default";
14 pinctrl-0 = <&pinctrl_gpio_bl_on>;
Stefan Agnere1bf86a2014-11-02 21:36:47 +010015 pwms = <&pwm0 0 5000000 0>;
Bhuvanchandra DVb2e42442016-01-09 12:29:53 +053016 enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
Stefan Agnere1bf86a2014-11-02 21:36:47 +010017 status = "disabled";
18 };
19};
20
21&adc0 {
22 status = "okay";
23};
24
25&adc1 {
26 status = "okay";
27};
28
Stefan Agner2afa06c2015-12-02 14:11:47 -080029&can0 {
30 pinctrl-names = "default";
31 pinctrl-0 = <&pinctrl_flexcan0>;
32 status = "disabled";
33};
34
35&can1 {
36 pinctrl-names = "default";
37 pinctrl-0 = <&pinctrl_flexcan1>;
38 status = "disabled";
39};
40
Bhuvanchandra DV9fca0152015-01-29 21:57:45 +053041&dspi1 {
42 bus-num = <1>;
43 pinctrl-names = "default";
44 pinctrl-0 = <&pinctrl_dspi1>;
45};
46
Stefan Agnere1bf86a2014-11-02 21:36:47 +010047&edma0 {
48 status = "okay";
49};
50
51&esdhc1 {
52 pinctrl-names = "default";
53 pinctrl-0 = <&pinctrl_esdhc1>;
54 bus-width = <4>;
Stefan Agner76713952015-01-16 18:06:15 +010055 cd-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
Stefan Agnere1bf86a2014-11-02 21:36:47 +010056};
57
58&fec1 {
59 phy-mode = "rmii";
60 pinctrl-names = "default";
61 pinctrl-0 = <&pinctrl_fec1>;
62};
63
Bhuvanchandra DV1ddeb482014-11-13 10:05:31 +053064&i2c0 {
65 clock-frequency = <400000>;
66 pinctrl-names = "default";
67 pinctrl-0 = <&pinctrl_i2c0>;
68};
69
Stefan Agner65425262015-10-07 16:58:36 -070070&nfc {
71 assigned-clocks = <&clks VF610_CLK_NFC>;
72 assigned-clock-rates = <33000000>;
73 pinctrl-names = "default";
74 pinctrl-0 = <&pinctrl_nfc>;
75 status = "okay";
76
77 nand@0 {
78 compatible = "fsl,vf610-nfc-nandcs";
79 reg = <0>;
80 #address-cells = <1>;
81 #size-cells = <1>;
82 nand-bus-width = <8>;
83 nand-ecc-mode = "hw";
84 nand-ecc-strength = <32>;
85 nand-ecc-step-size = <2048>;
86 nand-on-flash-bbt;
87 };
88};
89
Stefan Agnere1bf86a2014-11-02 21:36:47 +010090&pwm0 {
91 pinctrl-names = "default";
92 pinctrl-0 = <&pinctrl_pwm0>;
93};
94
95&pwm1 {
96 pinctrl-names = "default";
97 pinctrl-0 = <&pinctrl_pwm1>;
98};
99
100&uart0 {
101 pinctrl-names = "default";
102 pinctrl-0 = <&pinctrl_uart0>;
103};
104
105&uart1 {
106 pinctrl-names = "default";
107 pinctrl-0 = <&pinctrl_uart1>;
108};
109
110&uart2 {
111 pinctrl-names = "default";
112 pinctrl-0 = <&pinctrl_uart2>;
113};
114
115&usbdev0 {
116 disable-over-current;
117 status = "okay";
118};
119
120&usbh1 {
121 disable-over-current;
122 status = "okay";
123};
124
Stefan Agnerac039cd2014-11-04 14:07:09 +0100125&usbmisc0 {
126 status = "okay";
127};
128
129&usbmisc1 {
130 status = "okay";
131};
132
133&usbphy0 {
134 status = "okay";
135};
136
137&usbphy1 {
138 status = "okay";
139};
140
Stefan Agnere1bf86a2014-11-02 21:36:47 +0100141&iomuxc {
142 vf610-colibri {
Stefan Agner2afa06c2015-12-02 14:11:47 -0800143 pinctrl_flexcan0: can0grp {
144 fsl,pins = <
145 VF610_PAD_PTB14__CAN0_RX 0x31F1
146 VF610_PAD_PTB15__CAN0_TX 0x31F2
147 >;
148 };
149
150 pinctrl_flexcan1: can1grp {
151 fsl,pins = <
152 VF610_PAD_PTB16__CAN1_RX 0x31F1
153 VF610_PAD_PTB17__CAN1_TX 0x31F2
154 >;
155 };
156
Stefan Agner2b36bda2014-11-04 14:07:08 +0100157 pinctrl_gpio_ext: gpio_ext {
158 fsl,pins = <
159 VF610_PAD_PTD10__GPIO_89 0x22ed /* EXT_IO_0 */
160 VF610_PAD_PTD9__GPIO_88 0x22ed /* EXT_IO_1 */
161 VF610_PAD_PTD26__GPIO_68 0x22ed /* EXT_IO_2 */
162 >;
163 };
164
Bhuvanchandra DV9fca0152015-01-29 21:57:45 +0530165 pinctrl_dspi1: dspi1grp {
166 fsl,pins = <
167 VF610_PAD_PTD5__DSPI1_CS0 0x33e2
168 VF610_PAD_PTD6__DSPI1_SIN 0x33e1
169 VF610_PAD_PTD7__DSPI1_SOUT 0x33e2
170 VF610_PAD_PTD8__DSPI1_SCK 0x33e2
171 >;
172 };
173
Stefan Agnere1bf86a2014-11-02 21:36:47 +0100174 pinctrl_esdhc1: esdhc1grp {
175 fsl,pins = <
176 VF610_PAD_PTA24__ESDHC1_CLK 0x31ef
177 VF610_PAD_PTA25__ESDHC1_CMD 0x31ef
178 VF610_PAD_PTA26__ESDHC1_DAT0 0x31ef
179 VF610_PAD_PTA27__ESDHC1_DAT1 0x31ef
180 VF610_PAD_PTA28__ESDHC1_DATA2 0x31ef
181 VF610_PAD_PTA29__ESDHC1_DAT3 0x31ef
182 VF610_PAD_PTB20__GPIO_42 0x219d
183 >;
184 };
185
186 pinctrl_fec1: fec1grp {
187 fsl,pins = <
Stefan Agnereddb00f2014-11-28 00:40:06 +0100188 VF610_PAD_PTA6__RMII_CLKOUT 0x30d2
Stefan Agnere1bf86a2014-11-02 21:36:47 +0100189 VF610_PAD_PTC9__ENET_RMII1_MDC 0x30d2
190 VF610_PAD_PTC10__ENET_RMII1_MDIO 0x30d3
191 VF610_PAD_PTC11__ENET_RMII1_CRS 0x30d1
Cory Tusaraa5fec22015-05-13 23:11:38 -0400192 VF610_PAD_PTC12__ENET_RMII1_RXD1 0x30d1
Stefan Agnere1bf86a2014-11-02 21:36:47 +0100193 VF610_PAD_PTC13__ENET_RMII1_RXD0 0x30d1
194 VF610_PAD_PTC14__ENET_RMII1_RXER 0x30d1
195 VF610_PAD_PTC15__ENET_RMII1_TXD1 0x30d2
196 VF610_PAD_PTC16__ENET_RMII1_TXD0 0x30d2
197 VF610_PAD_PTC17__ENET_RMII1_TXEN 0x30d2
198 >;
199 };
200
Bhuvanchandra DVb2e42442016-01-09 12:29:53 +0530201 pinctrl_gpio_bl_on: gpio_bl_on {
202 fsl,pins = <
203 VF610_PAD_PTC0__GPIO_45 0x22ef
204 >;
205 };
206
Bhuvanchandra DV1ddeb482014-11-13 10:05:31 +0530207 pinctrl_i2c0: i2c0grp {
208 fsl,pins = <
209 VF610_PAD_PTB14__I2C0_SCL 0x37ff
210 VF610_PAD_PTB15__I2C0_SDA 0x37ff
211 >;
212 };
213
Stefan Agner65425262015-10-07 16:58:36 -0700214 pinctrl_nfc: nfcgrp {
215 fsl,pins = <
216 VF610_PAD_PTD23__NF_IO7 0x28df
217 VF610_PAD_PTD22__NF_IO6 0x28df
218 VF610_PAD_PTD21__NF_IO5 0x28df
219 VF610_PAD_PTD20__NF_IO4 0x28df
220 VF610_PAD_PTD19__NF_IO3 0x28df
221 VF610_PAD_PTD18__NF_IO2 0x28df
222 VF610_PAD_PTD17__NF_IO1 0x28df
223 VF610_PAD_PTD16__NF_IO0 0x28df
224 VF610_PAD_PTB24__NF_WE_B 0x28c2
225 VF610_PAD_PTB25__NF_CE0_B 0x28c2
226 VF610_PAD_PTB27__NF_RE_B 0x28c2
227 VF610_PAD_PTC26__NF_RB_B 0x283d
228 VF610_PAD_PTC27__NF_ALE 0x28c2
229 VF610_PAD_PTC28__NF_CLE 0x28c2
230 >;
231 };
232
Stefan Agnere1bf86a2014-11-02 21:36:47 +0100233 pinctrl_pwm0: pwm0grp {
234 fsl,pins = <
235 VF610_PAD_PTB0__FTM0_CH0 0x1182
236 VF610_PAD_PTB1__FTM0_CH1 0x1182
237 >;
238 };
239
240 pinctrl_pwm1: pwm1grp {
241 fsl,pins = <
242 VF610_PAD_PTB8__FTM1_CH0 0x1182
243 VF610_PAD_PTB9__FTM1_CH1 0x1182
244 >;
245 };
246
247 pinctrl_uart0: uart0grp {
248 fsl,pins = <
249 VF610_PAD_PTB10__UART0_TX 0x21a2
250 VF610_PAD_PTB11__UART0_RX 0x21a1
251 >;
252 };
253
254 pinctrl_uart1: uart1grp {
255 fsl,pins = <
256 VF610_PAD_PTB4__UART1_TX 0x21a2
257 VF610_PAD_PTB5__UART1_RX 0x21a1
258 >;
259 };
260
261 pinctrl_uart2: uart2grp {
262 fsl,pins = <
263 VF610_PAD_PTD0__UART2_TX 0x21a2
264 VF610_PAD_PTD1__UART2_RX 0x21a1
265 VF610_PAD_PTD2__UART2_RTS 0x21a2
266 VF610_PAD_PTD3__UART2_CTS 0x21a1
267 >;
268 };
Stefan Agner505251e2014-11-16 19:00:28 +0100269
270 pinctrl_usbh1_reg: gpio_usb_vbus {
271 fsl,pins = <
272 VF610_PAD_PTD4__GPIO_83 0x22ed
273 >;
274 };
Stefan Agnere1bf86a2014-11-02 21:36:47 +0100275 };
276};