blob: ab9616d7df9093f03bd004ef427a7fc1ef6b3091 [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";
13 pwms = <&pwm0 0 5000000 0>;
14 status = "disabled";
15 };
16};
17
18&adc0 {
19 status = "okay";
20};
21
22&adc1 {
23 status = "okay";
24};
25
26&edma0 {
27 status = "okay";
28};
29
30&esdhc1 {
31 pinctrl-names = "default";
32 pinctrl-0 = <&pinctrl_esdhc1>;
33 bus-width = <4>;
Stefan Agner2b36bda2014-11-04 14:07:08 +010034 cd-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
Stefan Agnere1bf86a2014-11-02 21:36:47 +010035};
36
37&fec1 {
38 phy-mode = "rmii";
39 pinctrl-names = "default";
40 pinctrl-0 = <&pinctrl_fec1>;
41};
42
43&pwm0 {
44 pinctrl-names = "default";
45 pinctrl-0 = <&pinctrl_pwm0>;
46};
47
48&pwm1 {
49 pinctrl-names = "default";
50 pinctrl-0 = <&pinctrl_pwm1>;
51};
52
53&uart0 {
54 pinctrl-names = "default";
55 pinctrl-0 = <&pinctrl_uart0>;
56};
57
58&uart1 {
59 pinctrl-names = "default";
60 pinctrl-0 = <&pinctrl_uart1>;
61};
62
63&uart2 {
64 pinctrl-names = "default";
65 pinctrl-0 = <&pinctrl_uart2>;
66};
67
68&usbdev0 {
69 disable-over-current;
70 status = "okay";
71};
72
73&usbh1 {
74 disable-over-current;
75 status = "okay";
76};
77
78&iomuxc {
79 vf610-colibri {
Stefan Agner2b36bda2014-11-04 14:07:08 +010080 pinctrl_gpio_ext: gpio_ext {
81 fsl,pins = <
82 VF610_PAD_PTD10__GPIO_89 0x22ed /* EXT_IO_0 */
83 VF610_PAD_PTD9__GPIO_88 0x22ed /* EXT_IO_1 */
84 VF610_PAD_PTD26__GPIO_68 0x22ed /* EXT_IO_2 */
85 >;
86 };
87
Stefan Agnere1bf86a2014-11-02 21:36:47 +010088 pinctrl_esdhc1: esdhc1grp {
89 fsl,pins = <
90 VF610_PAD_PTA24__ESDHC1_CLK 0x31ef
91 VF610_PAD_PTA25__ESDHC1_CMD 0x31ef
92 VF610_PAD_PTA26__ESDHC1_DAT0 0x31ef
93 VF610_PAD_PTA27__ESDHC1_DAT1 0x31ef
94 VF610_PAD_PTA28__ESDHC1_DATA2 0x31ef
95 VF610_PAD_PTA29__ESDHC1_DAT3 0x31ef
96 VF610_PAD_PTB20__GPIO_42 0x219d
97 >;
98 };
99
100 pinctrl_fec1: fec1grp {
101 fsl,pins = <
102 VF610_PAD_PTC9__ENET_RMII1_MDC 0x30d2
103 VF610_PAD_PTC10__ENET_RMII1_MDIO 0x30d3
104 VF610_PAD_PTC11__ENET_RMII1_CRS 0x30d1
105 VF610_PAD_PTC12__ENET_RMII_RXD1 0x30d1
106 VF610_PAD_PTC13__ENET_RMII1_RXD0 0x30d1
107 VF610_PAD_PTC14__ENET_RMII1_RXER 0x30d1
108 VF610_PAD_PTC15__ENET_RMII1_TXD1 0x30d2
109 VF610_PAD_PTC16__ENET_RMII1_TXD0 0x30d2
110 VF610_PAD_PTC17__ENET_RMII1_TXEN 0x30d2
111 >;
112 };
113
114 pinctrl_pwm0: pwm0grp {
115 fsl,pins = <
116 VF610_PAD_PTB0__FTM0_CH0 0x1182
117 VF610_PAD_PTB1__FTM0_CH1 0x1182
118 >;
119 };
120
121 pinctrl_pwm1: pwm1grp {
122 fsl,pins = <
123 VF610_PAD_PTB8__FTM1_CH0 0x1182
124 VF610_PAD_PTB9__FTM1_CH1 0x1182
125 >;
126 };
127
128 pinctrl_uart0: uart0grp {
129 fsl,pins = <
130 VF610_PAD_PTB10__UART0_TX 0x21a2
131 VF610_PAD_PTB11__UART0_RX 0x21a1
132 >;
133 };
134
135 pinctrl_uart1: uart1grp {
136 fsl,pins = <
137 VF610_PAD_PTB4__UART1_TX 0x21a2
138 VF610_PAD_PTB5__UART1_RX 0x21a1
139 >;
140 };
141
142 pinctrl_uart2: uart2grp {
143 fsl,pins = <
144 VF610_PAD_PTD0__UART2_TX 0x21a2
145 VF610_PAD_PTD1__UART2_RX 0x21a1
146 VF610_PAD_PTD2__UART2_RTS 0x21a2
147 VF610_PAD_PTD3__UART2_CTS 0x21a1
148 >;
149 };
150 };
151};