diff options
Diffstat (limited to 'arch/arm/boot/dts/imx6sl-evk.dts')
-rw-r--r-- | arch/arm/boot/dts/imx6sl-evk.dts | 67 |
1 files changed, 64 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/imx6sl-evk.dts b/arch/arm/boot/dts/imx6sl-evk.dts index 2886a590823d..cc68e19c5163 100644 --- a/arch/arm/boot/dts/imx6sl-evk.dts +++ b/arch/arm/boot/dts/imx6sl-evk.dts | |||
@@ -17,6 +17,44 @@ | |||
17 | memory { | 17 | memory { |
18 | reg = <0x80000000 0x40000000>; | 18 | reg = <0x80000000 0x40000000>; |
19 | }; | 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 | }; | ||
20 | }; | 58 | }; |
21 | 59 | ||
22 | &fec { | 60 | &fec { |
@@ -38,6 +76,8 @@ | |||
38 | MX6SL_PAD_SD2_DAT7__GPIO5_IO00 0x17059 | 76 | MX6SL_PAD_SD2_DAT7__GPIO5_IO00 0x17059 |
39 | MX6SL_PAD_SD2_DAT6__GPIO4_IO29 0x17059 | 77 | MX6SL_PAD_SD2_DAT6__GPIO4_IO29 0x17059 |
40 | MX6SL_PAD_REF_CLK_32K__GPIO3_IO22 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 | ||
41 | >; | 81 | >; |
42 | }; | 82 | }; |
43 | }; | 83 | }; |
@@ -49,9 +89,26 @@ | |||
49 | status = "okay"; | 89 | status = "okay"; |
50 | }; | 90 | }; |
51 | 91 | ||
52 | &usdhc1 { | 92 | &usbotg1 { |
93 | vbus-supply = <®_usb_otg1_vbus>; | ||
53 | pinctrl-names = "default"; | 94 | pinctrl-names = "default"; |
95 | pinctrl-0 = <&pinctrl_usbotg1_1>; | ||
96 | disable-over-current; | ||
97 | status = "okay"; | ||
98 | }; | ||
99 | |||
100 | &usbotg2 { | ||
101 | vbus-supply = <®_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"; | ||
54 | pinctrl-0 = <&pinctrl_usdhc1_1>; | 109 | pinctrl-0 = <&pinctrl_usdhc1_1>; |
110 | pinctrl-1 = <&pinctrl_usdhc1_1_100mhz>; | ||
111 | pinctrl-2 = <&pinctrl_usdhc1_1_200mhz>; | ||
55 | bus-width = <8>; | 112 | bus-width = <8>; |
56 | cd-gpios = <&gpio4 7 0>; | 113 | cd-gpios = <&gpio4 7 0>; |
57 | wp-gpios = <&gpio4 6 0>; | 114 | wp-gpios = <&gpio4 6 0>; |
@@ -59,16 +116,20 @@ | |||
59 | }; | 116 | }; |
60 | 117 | ||
61 | &usdhc2 { | 118 | &usdhc2 { |
62 | pinctrl-names = "default"; | 119 | pinctrl-names = "default", "state_100mhz", "state_200mhz"; |
63 | pinctrl-0 = <&pinctrl_usdhc2_1>; | 120 | pinctrl-0 = <&pinctrl_usdhc2_1>; |
121 | pinctrl-1 = <&pinctrl_usdhc2_1_100mhz>; | ||
122 | pinctrl-2 = <&pinctrl_usdhc2_1_200mhz>; | ||
64 | cd-gpios = <&gpio5 0 0>; | 123 | cd-gpios = <&gpio5 0 0>; |
65 | wp-gpios = <&gpio4 29 0>; | 124 | wp-gpios = <&gpio4 29 0>; |
66 | status = "okay"; | 125 | status = "okay"; |
67 | }; | 126 | }; |
68 | 127 | ||
69 | &usdhc3 { | 128 | &usdhc3 { |
70 | pinctrl-names = "default"; | 129 | pinctrl-names = "default", "state_100mhz", "state_200mhz"; |
71 | pinctrl-0 = <&pinctrl_usdhc3_1>; | 130 | pinctrl-0 = <&pinctrl_usdhc3_1>; |
131 | pinctrl-1 = <&pinctrl_usdhc3_1_100mhz>; | ||
132 | pinctrl-2 = <&pinctrl_usdhc3_1_200mhz>; | ||
72 | cd-gpios = <&gpio3 22 0>; | 133 | cd-gpios = <&gpio3 22 0>; |
73 | status = "okay"; | 134 | status = "okay"; |
74 | }; | 135 | }; |