• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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#include "vf610.dtsi"
11
12/ {
13	model = "Toradex Colibri VF61 COM";
14	compatible = "toradex,vf610-colibri_vf61", "fsl,vf610";
15
16	memory {
17		reg = <0x80000000 0x10000000>;
18	};
19
20	clocks {
21		enet_ext {
22			compatible = "fixed-clock";
23			#clock-cells = <0>;
24			clock-frequency = <50000000>;
25		};
26	};
27
28};
29
30&esdhc1 {
31	pinctrl-names = "default";
32	pinctrl-0 = <&pinctrl_esdhc1>;
33	bus-width = <4>;
34};
35
36&fec1 {
37	phy-mode = "rmii";
38	pinctrl-names = "default";
39	pinctrl-0 = <&pinctrl_fec1>;
40};
41
42&L2 {
43	arm,data-latency = <2 1 2>;
44	arm,tag-latency = <3 2 3>;
45};
46
47&uart0 {
48	pinctrl-names = "default";
49	pinctrl-0 = <&pinctrl_uart0>;
50};
51
52&uart1 {
53	pinctrl-names = "default";
54	pinctrl-0 = <&pinctrl_uart1>;
55};
56
57&uart2 {
58	pinctrl-names = "default";
59	pinctrl-0 = <&pinctrl_uart2>;
60};
61
62&usbdev0 {
63	disable-over-current;
64	status = "okay";
65};
66
67&usbh1 {
68	disable-over-current;
69	status = "okay";
70};
71
72&iomuxc {
73	vf610-colibri {
74		pinctrl_esdhc1: esdhc1grp {
75			fsl,pins = <
76				VF610_PAD_PTA24__ESDHC1_CLK	0x31ef
77				VF610_PAD_PTA25__ESDHC1_CMD	0x31ef
78				VF610_PAD_PTA26__ESDHC1_DAT0	0x31ef
79				VF610_PAD_PTA27__ESDHC1_DAT1	0x31ef
80				VF610_PAD_PTA28__ESDHC1_DATA2	0x31ef
81				VF610_PAD_PTA29__ESDHC1_DAT3	0x31ef
82				VF610_PAD_PTB20__GPIO_42	0x219d
83			>;
84		};
85
86		pinctrl_fec1: fec1grp {
87			fsl,pins = <
88				VF610_PAD_PTC9__ENET_RMII1_MDC		0x30d2
89				VF610_PAD_PTC10__ENET_RMII1_MDIO	0x30d3
90				VF610_PAD_PTC11__ENET_RMII1_CRS		0x30d1
91				VF610_PAD_PTC12__ENET_RMII_RXD1		0x30d1
92				VF610_PAD_PTC13__ENET_RMII1_RXD0	0x30d1
93				VF610_PAD_PTC14__ENET_RMII1_RXER	0x30d1
94				VF610_PAD_PTC15__ENET_RMII1_TXD1	0x30d2
95				VF610_PAD_PTC16__ENET_RMII1_TXD0	0x30d2
96				VF610_PAD_PTC17__ENET_RMII1_TXEN	0x30d2
97			>;
98		};
99
100		pinctrl_uart0: uart0grp {
101			fsl,pins = <
102				VF610_PAD_PTB10__UART0_TX		0x21a2
103				VF610_PAD_PTB11__UART0_RX		0x21a1
104			>;
105		};
106
107		pinctrl_uart1: uart1grp {
108			fsl,pins = <
109				VF610_PAD_PTB4__UART1_TX		0x21a2
110				VF610_PAD_PTB5__UART1_RX		0x21a1
111			>;
112		};
113
114		pinctrl_uart2: uart2grp {
115			fsl,pins = <
116				VF610_PAD_PTD0__UART2_TX		0x21a2
117				VF610_PAD_PTD1__UART2_RX		0x21a1
118				VF610_PAD_PTD2__UART2_RTS		0x21a2
119				VF610_PAD_PTD3__UART2_CTS		0x21a1
120			>;
121		};
122	};
123};
124