vf-colibri.dtsi revision 284090
1/*
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>;
34	cd-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
35};
36
37&fec1 {
38	phy-mode = "rmii";
39	pinctrl-names = "default";
40	pinctrl-0 = <&pinctrl_fec1>;
41};
42
43&i2c0 {
44	clock-frequency = <400000>;
45	pinctrl-names = "default";
46	pinctrl-0 = <&pinctrl_i2c0>;
47};
48
49&pwm0 {
50	pinctrl-names = "default";
51	pinctrl-0 = <&pinctrl_pwm0>;
52};
53
54&pwm1 {
55	pinctrl-names = "default";
56	pinctrl-0 = <&pinctrl_pwm1>;
57};
58
59&uart0 {
60	pinctrl-names = "default";
61	pinctrl-0 = <&pinctrl_uart0>;
62};
63
64&uart1 {
65	pinctrl-names = "default";
66	pinctrl-0 = <&pinctrl_uart1>;
67};
68
69&uart2 {
70	pinctrl-names = "default";
71	pinctrl-0 = <&pinctrl_uart2>;
72};
73
74&usbdev0 {
75	disable-over-current;
76	status = "okay";
77};
78
79&usbh1 {
80	disable-over-current;
81	status = "okay";
82};
83
84&usbmisc0 {
85	status = "okay";
86};
87
88&usbmisc1 {
89	status = "okay";
90};
91
92&usbphy0 {
93	status = "okay";
94};
95
96&usbphy1 {
97	status = "okay";
98};
99
100&iomuxc {
101	vf610-colibri {
102		pinctrl_gpio_ext: gpio_ext {
103			fsl,pins = <
104				VF610_PAD_PTD10__GPIO_89	0x22ed /* EXT_IO_0 */
105				VF610_PAD_PTD9__GPIO_88		0x22ed /* EXT_IO_1 */
106				VF610_PAD_PTD26__GPIO_68	0x22ed /* EXT_IO_2 */
107			>;
108		};
109
110		pinctrl_esdhc1: esdhc1grp {
111			fsl,pins = <
112				VF610_PAD_PTA24__ESDHC1_CLK	0x31ef
113				VF610_PAD_PTA25__ESDHC1_CMD	0x31ef
114				VF610_PAD_PTA26__ESDHC1_DAT0	0x31ef
115				VF610_PAD_PTA27__ESDHC1_DAT1	0x31ef
116				VF610_PAD_PTA28__ESDHC1_DATA2	0x31ef
117				VF610_PAD_PTA29__ESDHC1_DAT3	0x31ef
118				VF610_PAD_PTB20__GPIO_42	0x219d
119			>;
120		};
121
122		pinctrl_fec1: fec1grp {
123			fsl,pins = <
124				VF610_PAD_PTA6__RMII_CLKOUT		0x30d2
125				VF610_PAD_PTC9__ENET_RMII1_MDC		0x30d2
126				VF610_PAD_PTC10__ENET_RMII1_MDIO	0x30d3
127				VF610_PAD_PTC11__ENET_RMII1_CRS		0x30d1
128				VF610_PAD_PTC12__ENET_RMII_RXD1		0x30d1
129				VF610_PAD_PTC13__ENET_RMII1_RXD0	0x30d1
130				VF610_PAD_PTC14__ENET_RMII1_RXER	0x30d1
131				VF610_PAD_PTC15__ENET_RMII1_TXD1	0x30d2
132				VF610_PAD_PTC16__ENET_RMII1_TXD0	0x30d2
133				VF610_PAD_PTC17__ENET_RMII1_TXEN	0x30d2
134			>;
135		};
136
137		pinctrl_i2c0: i2c0grp {
138			fsl,pins = <
139				VF610_PAD_PTB14__I2C0_SCL		0x37ff
140				VF610_PAD_PTB15__I2C0_SDA		0x37ff
141			>;
142		};
143
144		pinctrl_pwm0: pwm0grp {
145			fsl,pins = <
146				VF610_PAD_PTB0__FTM0_CH0		0x1182
147				VF610_PAD_PTB1__FTM0_CH1		0x1182
148			>;
149		};
150
151		pinctrl_pwm1: pwm1grp {
152			fsl,pins = <
153				VF610_PAD_PTB8__FTM1_CH0		0x1182
154				VF610_PAD_PTB9__FTM1_CH1		0x1182
155			>;
156		};
157
158		pinctrl_uart0: uart0grp {
159			fsl,pins = <
160				VF610_PAD_PTB10__UART0_TX		0x21a2
161				VF610_PAD_PTB11__UART0_RX		0x21a1
162			>;
163		};
164
165		pinctrl_uart1: uart1grp {
166			fsl,pins = <
167				VF610_PAD_PTB4__UART1_TX		0x21a2
168				VF610_PAD_PTB5__UART1_RX		0x21a1
169			>;
170		};
171
172		pinctrl_uart2: uart2grp {
173			fsl,pins = <
174				VF610_PAD_PTD0__UART2_TX		0x21a2
175				VF610_PAD_PTD1__UART2_RX		0x21a1
176				VF610_PAD_PTD2__UART2_RTS		0x21a2
177				VF610_PAD_PTD3__UART2_CTS		0x21a1
178			>;
179		};
180
181		pinctrl_usbh1_reg: gpio_usb_vbus {
182			fsl,pins = <
183				VF610_PAD_PTD4__GPIO_83			0x22ed
184			>;
185		};
186	};
187};
188