Commit | Line | Data |
---|---|---|
3c8276c6 RZ |
1 | /* |
2 | * Copyright 2011 Freescale Semiconductor, Inc. | |
3 | * Copyright 2011 Linaro Ltd. | |
4 | * | |
5 | * The code contained herein is licensed under the GNU General Public | |
6 | * License. You may obtain a copy of the GNU General Public License | |
7 | * Version 2 or later at the following locations: | |
8 | * | |
9 | * http://www.opensource.org/licenses/gpl-license.html | |
10 | * http://www.gnu.org/copyleft/gpl.html | |
11 | */ | |
12 | ||
13 | /dts-v1/; | |
14 | /include/ "imx6q.dtsi" | |
15 | ||
16 | / { | |
17 | model = "Freescale i.MX6 Quad SABRE Lite Board"; | |
18 | compatible = "fsl,imx6q-sabrelite", "fsl,imx6q"; | |
19 | ||
20 | memory { | |
21 | reg = <0x10000000 0x40000000>; | |
22 | }; | |
23 | ||
24 | soc { | |
f07439c4 FE |
25 | aips-bus@02000000 { /* AIPS1 */ |
26 | spba-bus@02000000 { | |
27 | ecspi@02008000 { /* eCSPI1 */ | |
28 | fsl,spi-num-chipselects = <1>; | |
29 | cs-gpios = <&gpio3 19 0>; | |
8ad7a305 HW |
30 | pinctrl-names = "default"; |
31 | pinctrl-0 = <&pinctrl_ecspi1_1>; | |
f07439c4 FE |
32 | status = "okay"; |
33 | ||
34 | flash: m25p80@0 { | |
35 | compatible = "sst,sst25vf016b"; | |
36 | spi-max-frequency = <20000000>; | |
37 | reg = <0>; | |
38 | }; | |
39 | }; | |
b1a5da8e RZ |
40 | |
41 | ssi1: ssi@02028000 { | |
42 | fsl,mode = "i2s-slave"; | |
43 | status = "okay"; | |
44 | }; | |
f07439c4 FE |
45 | }; |
46 | ||
74bd88f7 RZ |
47 | iomuxc@020e0000 { |
48 | pinctrl-names = "default"; | |
f8135a74 | 49 | pinctrl-0 = <&pinctrl_hog>; |
74bd88f7 | 50 | |
f8135a74 FE |
51 | hog { |
52 | pinctrl_hog: hoggrp { | |
74bd88f7 | 53 | fsl,pins = < |
99d5f0cc SG |
54 | 1450 0x80000000 /* MX6Q_PAD_NANDF_D6__GPIO_2_6 */ |
55 | 1458 0x80000000 /* MX6Q_PAD_NANDF_D7__GPIO_2_7 */ | |
44a509fc | 56 | 121 0x80000000 /* MX6Q_PAD_EIM_D19__GPIO_3_19 */ |
99d5f0cc SG |
57 | 144 0x80000000 /* MX6Q_PAD_EIM_D22__GPIO_3_22 */ |
58 | 152 0x80000000 /* MX6Q_PAD_EIM_D23__GPIO_3_23 */ | |
59 | 1262 0x80000000 /* MX6Q_PAD_SD3_DAT5__GPIO_7_0 */ | |
60 | 1270 0x1f0b0 /* MX6Q_PAD_SD3_DAT4__GPIO_7_1 */ | |
44a509fc SG |
61 | 953 0x80000000 /* MX6Q_PAD_GPIO_0__CCM_CLKO */ |
62 | >; | |
74bd88f7 RZ |
63 | }; |
64 | }; | |
65 | }; | |
f07439c4 FE |
66 | }; |
67 | ||
3c8276c6 | 68 | aips-bus@02100000 { /* AIPS2 */ |
74bd88f7 RZ |
69 | usb@02184000 { /* USB OTG */ |
70 | vbus-supply = <®_usb_otg_vbus>; | |
97a53092 RZ |
71 | pinctrl-names = "default"; |
72 | pinctrl-0 = <&pinctrl_usbotg_1>; | |
28342c61 | 73 | disable-over-current; |
74bd88f7 RZ |
74 | status = "okay"; |
75 | }; | |
76 | ||
77 | usb@02184200 { /* USB1 */ | |
78 | status = "okay"; | |
79 | }; | |
80 | ||
0c456cfa | 81 | ethernet@02188000 { |
99d5f0cc SG |
82 | pinctrl-names = "default"; |
83 | pinctrl-0 = <&pinctrl_enet_1>; | |
3c8276c6 RZ |
84 | phy-mode = "rgmii"; |
85 | phy-reset-gpios = <&gpio3 23 0>; | |
86 | status = "okay"; | |
87 | }; | |
88 | ||
89 | usdhc@02198000 { /* uSDHC3 */ | |
99d5f0cc SG |
90 | pinctrl-names = "default"; |
91 | pinctrl-0 = <&pinctrl_usdhc3_2>; | |
3c8276c6 RZ |
92 | cd-gpios = <&gpio7 0 0>; |
93 | wp-gpios = <&gpio7 1 0>; | |
6f6ea937 | 94 | vmmc-supply = <®_3p3v>; |
3c8276c6 RZ |
95 | status = "okay"; |
96 | }; | |
97 | ||
98 | usdhc@0219c000 { /* uSDHC4 */ | |
99d5f0cc SG |
99 | pinctrl-names = "default"; |
100 | pinctrl-0 = <&pinctrl_usdhc4_2>; | |
3c8276c6 RZ |
101 | cd-gpios = <&gpio2 6 0>; |
102 | wp-gpios = <&gpio2 7 0>; | |
6f6ea937 | 103 | vmmc-supply = <®_3p3v>; |
3c8276c6 RZ |
104 | status = "okay"; |
105 | }; | |
106 | ||
f965cd55 RZ |
107 | audmux@021d8000 { |
108 | status = "okay"; | |
5ca65c18 RZ |
109 | pinctrl-names = "default"; |
110 | pinctrl-0 = <&pinctrl_audmux_1>; | |
f965cd55 RZ |
111 | }; |
112 | ||
0c456cfa | 113 | uart2: serial@021e8000 { |
3c8276c6 | 114 | status = "okay"; |
c3001b2a | 115 | pinctrl-names = "default"; |
e30ba89f | 116 | pinctrl-0 = <&pinctrl_uart2_1>; |
3c8276c6 | 117 | }; |
adcec4ce RZ |
118 | |
119 | i2c@021a0000 { /* I2C1 */ | |
120 | status = "okay"; | |
121 | clock-frequency = <100000>; | |
d99a79fc RZ |
122 | pinctrl-names = "default"; |
123 | pinctrl-0 = <&pinctrl_i2c1_1>; | |
adcec4ce RZ |
124 | |
125 | codec: sgtl5000@0a { | |
126 | compatible = "fsl,sgtl5000"; | |
127 | reg = <0x0a>; | |
0e87e043 | 128 | clocks = <&clks 169>; |
adcec4ce RZ |
129 | VDDA-supply = <®_2p5v>; |
130 | VDDIO-supply = <®_3p3v>; | |
131 | }; | |
132 | }; | |
3c8276c6 RZ |
133 | }; |
134 | }; | |
cf37a8ee RZ |
135 | |
136 | regulators { | |
137 | compatible = "simple-bus"; | |
138 | ||
139 | reg_2p5v: 2p5v { | |
140 | compatible = "regulator-fixed"; | |
141 | regulator-name = "2P5V"; | |
142 | regulator-min-microvolt = <2500000>; | |
143 | regulator-max-microvolt = <2500000>; | |
144 | regulator-always-on; | |
145 | }; | |
146 | ||
147 | reg_3p3v: 3p3v { | |
148 | compatible = "regulator-fixed"; | |
149 | regulator-name = "3P3V"; | |
150 | regulator-min-microvolt = <3300000>; | |
151 | regulator-max-microvolt = <3300000>; | |
152 | regulator-always-on; | |
153 | }; | |
74bd88f7 RZ |
154 | |
155 | reg_usb_otg_vbus: usb_otg_vbus { | |
156 | compatible = "regulator-fixed"; | |
157 | regulator-name = "usb_otg_vbus"; | |
158 | regulator-min-microvolt = <5000000>; | |
159 | regulator-max-microvolt = <5000000>; | |
160 | gpio = <&gpio3 22 0>; | |
161 | enable-active-high; | |
162 | }; | |
cf37a8ee | 163 | }; |
b7879fe6 RZ |
164 | |
165 | sound { | |
166 | compatible = "fsl,imx6q-sabrelite-sgtl5000", | |
167 | "fsl,imx-audio-sgtl5000"; | |
168 | model = "imx6q-sabrelite-sgtl5000"; | |
169 | ssi-controller = <&ssi1>; | |
170 | audio-codec = <&codec>; | |
171 | audio-routing = | |
172 | "MIC_IN", "Mic Jack", | |
173 | "Mic Jack", "Mic Bias", | |
174 | "Headphone Jack", "HP_OUT"; | |
175 | mux-int-port = <1>; | |
176 | mux-ext-port = <4>; | |
177 | }; | |
3c8276c6 | 178 | }; |