]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/imx6sl-evk.dts
c14195f6c5f95a3960611e265ca93aedde1d2127
[karo-tx-linux.git] / arch / arm / boot / dts / imx6sl-evk.dts
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 &fec {
45         pinctrl-names = "default";
46         pinctrl-0 = <&pinctrl_fec_1>;
47         phy-mode = "rmii";
48         status = "okay";
49 };
50
51 &iomuxc {
52         pinctrl-names = "default";
53         pinctrl-0 = <&pinctrl_hog>;
54
55         hog {
56                 pinctrl_hog: hoggrp {
57                         fsl,pins = <
58                                 MX6SL_PAD_KEY_ROW7__GPIO4_IO07    0x17059
59                                 MX6SL_PAD_KEY_COL7__GPIO4_IO06    0x17059
60                                 MX6SL_PAD_SD2_DAT7__GPIO5_IO00    0x17059
61                                 MX6SL_PAD_SD2_DAT6__GPIO4_IO29    0x17059
62                                 MX6SL_PAD_REF_CLK_32K__GPIO3_IO22 0x17059
63                                 MX6SL_PAD_KEY_COL4__GPIO4_IO00  0x80000000
64                                 MX6SL_PAD_KEY_COL5__GPIO4_IO02  0x80000000
65                         >;
66                 };
67         };
68 };
69
70 &uart1 {
71         pinctrl-names = "default";
72         pinctrl-0 = <&pinctrl_uart1_1>;
73         status = "okay";
74 };
75
76 &usbotg1 {
77         vbus-supply = <&reg_usb_otg1_vbus>;
78         pinctrl-names = "default";
79         pinctrl-0 = <&pinctrl_usbotg1_1>;
80         disable-over-current;
81         status = "okay";
82 };
83
84 &usbotg2 {
85         vbus-supply = <&reg_usb_otg2_vbus>;
86         dr_mode = "host";
87         disable-over-current;
88         status = "okay";
89 };
90
91 &usdhc1 {
92         pinctrl-names = "default", "state_100mhz", "state_200mhz";
93         pinctrl-0 = <&pinctrl_usdhc1_1>;
94         pinctrl-1 = <&pinctrl_usdhc1_1_100mhz>;
95         pinctrl-2 = <&pinctrl_usdhc1_1_200mhz>;
96         bus-width = <8>;
97         cd-gpios = <&gpio4 7 0>;
98         wp-gpios = <&gpio4 6 0>;
99         status = "okay";
100 };
101
102 &usdhc2 {
103         pinctrl-names = "default", "state_100mhz", "state_200mhz";
104         pinctrl-0 = <&pinctrl_usdhc2_1>;
105         pinctrl-1 = <&pinctrl_usdhc2_1_100mhz>;
106         pinctrl-2 = <&pinctrl_usdhc2_1_200mhz>;
107         cd-gpios = <&gpio5 0 0>;
108         wp-gpios = <&gpio4 29 0>;
109         status = "okay";
110 };
111
112 &usdhc3 {
113         pinctrl-names = "default", "state_100mhz", "state_200mhz";
114         pinctrl-0 = <&pinctrl_usdhc3_1>;
115         pinctrl-1 = <&pinctrl_usdhc3_1_100mhz>;
116         pinctrl-2 = <&pinctrl_usdhc3_1_200mhz>;
117         cd-gpios = <&gpio3 22 0>;
118         status = "okay";
119 };