imx6sl-evk.dts revision 262573
1/*
2 * Copyright (C) 2013 Freescale Semiconductor, Inc.
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 version 2 as
6 * published by the Free Software Foundation.
7 */
8
9/dts-v1/;
10
11#include "imx6sl.dtsi"
12
13/ {
14	model = "Freescale i.MX6 SoloLite EVK Board";
15	compatible = "fsl,imx6sl-evk", "fsl,imx6sl";
16
17	memory {
18		reg = <0x80000000 0x40000000>;
19	};
20
21	regulators {
22		compatible = "simple-bus";
23
24		reg_usb_otg1_vbus: usb_otg1_vbus {
25			compatible = "regulator-fixed";
26			regulator-name = "usb_otg1_vbus";
27			regulator-min-microvolt = <5000000>;
28			regulator-max-microvolt = <5000000>;
29			gpio = <&gpio4 0 0>;
30			enable-active-high;
31		};
32
33		reg_usb_otg2_vbus: usb_otg2_vbus {
34			compatible = "regulator-fixed";
35			regulator-name = "usb_otg2_vbus";
36			regulator-min-microvolt = <5000000>;
37			regulator-max-microvolt = <5000000>;
38			gpio = <&gpio4 2 0>;
39			enable-active-high;
40		};
41	};
42};
43
44&ecspi1 {
45	fsl,spi-num-chipselects = <1>;
46	cs-gpios = <&gpio4 11 0>;
47	pinctrl-names = "default";
48	pinctrl-0 = <&pinctrl_ecspi1_1>;
49	status = "okay";
50
51	flash: m25p80@0 {
52		#address-cells = <1>;
53		#size-cells = <1>;
54		compatible = "st,m25p32";
55		spi-max-frequency = <20000000>;
56		reg = <0>;
57	};
58};
59
60&fec {
61	pinctrl-names = "default";
62	pinctrl-0 = <&pinctrl_fec_1>;
63	phy-mode = "rmii";
64	status = "okay";
65};
66
67&iomuxc {
68	pinctrl-names = "default";
69	pinctrl-0 = <&pinctrl_hog>;
70
71	hog {
72		pinctrl_hog: hoggrp {
73			fsl,pins = <
74				MX6SL_PAD_KEY_ROW7__GPIO4_IO07    0x17059
75				MX6SL_PAD_KEY_COL7__GPIO4_IO06    0x17059
76				MX6SL_PAD_SD2_DAT7__GPIO5_IO00    0x17059
77				MX6SL_PAD_SD2_DAT6__GPIO4_IO29    0x17059
78				MX6SL_PAD_REF_CLK_32K__GPIO3_IO22 0x17059
79				MX6SL_PAD_KEY_COL4__GPIO4_IO00	0x80000000
80				MX6SL_PAD_KEY_COL5__GPIO4_IO02	0x80000000
81			>;
82		};
83	};
84};
85
86&uart1 {
87	pinctrl-names = "default";
88	pinctrl-0 = <&pinctrl_uart1_1>;
89	status = "okay";
90};
91
92&usbotg1 {
93	vbus-supply = <&reg_usb_otg1_vbus>;
94	pinctrl-names = "default";
95	pinctrl-0 = <&pinctrl_usbotg1_1>;
96	disable-over-current;
97	status = "okay";
98};
99
100&usbotg2 {
101	vbus-supply = <&reg_usb_otg2_vbus>;
102	dr_mode = "host";
103	disable-over-current;
104	status = "okay";
105};
106
107&usdhc1 {
108	pinctrl-names = "default", "state_100mhz", "state_200mhz";
109	pinctrl-0 = <&pinctrl_usdhc1_1>;
110	pinctrl-1 = <&pinctrl_usdhc1_1_100mhz>;
111	pinctrl-2 = <&pinctrl_usdhc1_1_200mhz>;
112	bus-width = <8>;
113	cd-gpios = <&gpio4 7 0>;
114	wp-gpios = <&gpio4 6 0>;
115	status = "okay";
116};
117
118&usdhc2 {
119	pinctrl-names = "default", "state_100mhz", "state_200mhz";
120	pinctrl-0 = <&pinctrl_usdhc2_1>;
121	pinctrl-1 = <&pinctrl_usdhc2_1_100mhz>;
122	pinctrl-2 = <&pinctrl_usdhc2_1_200mhz>;
123	cd-gpios = <&gpio5 0 0>;
124	wp-gpios = <&gpio4 29 0>;
125	status = "okay";
126};
127
128&usdhc3 {
129	pinctrl-names = "default", "state_100mhz", "state_200mhz";
130	pinctrl-0 = <&pinctrl_usdhc3_1>;
131	pinctrl-1 = <&pinctrl_usdhc3_1_100mhz>;
132	pinctrl-2 = <&pinctrl_usdhc3_1_200mhz>;
133	cd-gpios = <&gpio3 22 0>;
134	status = "okay";
135};
136