~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/nxp/imx/imx6qdl-hummingboard.dtsi

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  * Copyright (C) 2013,2014 Russell King
  3  *
  4  * This file is dual-licensed: you can use it either under the terms
  5  * of the GPL or the X11 license, at your option. Note that this dual
  6  * licensing only applies to this file, and not this project as a
  7  * whole.
  8  *
  9  *  a) This file is free software; you can redistribute it and/or
 10  *     modify it under the terms of the GNU General Public License
 11  *     version 2 as published by the Free Software Foundation.
 12  *
 13  *     This file is distributed in the hope that it will be useful,
 14  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
 15  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 16  *     GNU General Public License for more details.
 17  *
 18  * Or, alternatively,
 19  *
 20  *  b) Permission is hereby granted, free of charge, to any person
 21  *     obtaining a copy of this software and associated documentation
 22  *     files (the "Software"), to deal in the Software without
 23  *     restriction, including without limitation the rights to use,
 24  *     copy, modify, merge, publish, distribute, sublicense, and/or
 25  *     sell copies of the Software, and to permit persons to whom the
 26  *     Software is furnished to do so, subject to the following
 27  *     conditions:
 28  *
 29  *     The above copyright notice and this permission notice shall be
 30  *     included in all copies or substantial portions of the Software.
 31  *
 32  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 33  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 34  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 35  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 36  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 37  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 38  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 39  *     OTHER DEALINGS IN THE SOFTWARE.
 40  */
 41 #include <dt-bindings/sound/fsl-imx-audmux.h>
 42 
 43 / {
 44         aliases {
 45                 rtc0 = &carrier_rtc;
 46                 rtc1 = &snvs_rtc;
 47         };
 48 
 49         /* Will be filled by the bootloader */
 50         memory@10000000 {
 51                 device_type = "memory";
 52                 reg = <0x10000000 0>;
 53         };
 54 
 55         chosen {
 56                 stdout-path = &uart1;
 57         };
 58 
 59         ir_recv: ir-receiver {
 60                 compatible = "gpio-ir-receiver";
 61                 gpios = <&gpio3 5 GPIO_ACTIVE_LOW>;
 62                 pinctrl-names = "default";
 63                 pinctrl-0 = <&pinctrl_hummingboard_gpio3_5>;
 64         };
 65 
 66         v_3v2: regulator-v-3v2 {
 67                 compatible = "regulator-fixed";
 68                 regulator-always-on;
 69                 regulator-max-microvolt = <3300000>;
 70                 regulator-min-microvolt = <3300000>;
 71                 regulator-name = "v_3v2";
 72                 vin-supply = <&v_5v0>;
 73         };
 74 
 75         v_5v0: regulator-v-5v0 {
 76                 compatible = "regulator-fixed";
 77                 regulator-always-on;
 78                 regulator-max-microvolt = <5000000>;
 79                 regulator-min-microvolt = <5000000>;
 80                 regulator-name = "v_5v0";
 81         };
 82 
 83         v_sd: regulator-v-sd {
 84                 compatible = "regulator-fixed";
 85                 gpio = <&gpio4 30 GPIO_ACTIVE_HIGH>;
 86                 pinctrl-names = "default";
 87                 pinctrl-0 = <&pinctrl_hummingboard_vmmc>;
 88                 regulator-boot-on;
 89                 regulator-max-microvolt = <3300000>;
 90                 regulator-min-microvolt = <3300000>;
 91                 regulator-name = "v_sd";
 92                 startup-delay-us = <1000>;
 93                 vin-supply = <&v_3v2>;
 94         };
 95 
 96         v_usb2: regulator-v-usb2 {
 97                 compatible = "regulator-fixed";
 98                 enable-active-high;
 99                 gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>;
100                 pinctrl-names = "default";
101                 pinctrl-0 = <&pinctrl_hummingboard_usbh1_vbus>;
102                 regulator-max-microvolt = <5000000>;
103                 regulator-min-microvolt = <5000000>;
104                 regulator-name = "v_usb2";
105                 vin-supply = <&v_5v0>;
106         };
107 
108         v_usb1: regulator-v-usb1 {
109                 compatible = "regulator-fixed";
110                 enable-active-high;
111                 gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
112                 pinctrl-names = "default";
113                 pinctrl-0 = <&pinctrl_hummingboard_usbotg_vbus>;
114                 regulator-max-microvolt = <5000000>;
115                 regulator-min-microvolt = <5000000>;
116                 regulator-name = "v_usb1";
117                 vin-supply = <&v_5v0>;
118         };
119 
120         audio: sound-sgtl5000 {
121                 compatible = "simple-audio-card";
122                 simple-audio-card,name = "On-board Codec";
123                 simple-audio-card,format = "i2s";
124                 simple-audio-card,bitclock-master = <&sound_codec>;
125                 simple-audio-card,frame-master = <&sound_codec>;
126                 simple-audio-card,widgets =
127                         "Microphone", "Headphone Jack",
128                         "Headphone", "Headphone Jack";
129                 simple-audio-card,routing =
130                         "MIC_IN", "Headphone Jack",
131                         "Headphone Jack", "Mic Bias",
132                         "Headphone Jack", "HP_OUT";
133 
134                 sound_cpu: simple-audio-card,cpu {
135                         sound-dai = <&ssi1>;
136                 };
137 
138                 sound_codec: simple-audio-card,codec {
139                         sound-dai = <&sgtl5000>;
140                 };
141         };
142 
143         spdif_out: spdif-out {
144                 compatible = "linux,spdif-dit";
145                 #sound-dai-cells = <0>;
146         };
147 
148         sound-spdif {
149                 compatible = "fsl,imx-audio-spdif";
150                 model = "On-board SPDIF";
151                 /* IMX6 doesn't implement this yet */
152                 audio-cpu = <&spdif>;
153                 audio-codec = <&spdif_out>;
154         };
155 };
156 
157 &audmux {
158         status = "okay";
159 
160         mux-ssi1 {
161                 fsl,audmux-port = <0>;
162                 fsl,port-config = <
163                         (IMX_AUDMUX_V2_PTCR_SYN |
164                          IMX_AUDMUX_V2_PTCR_TFSEL(4) |
165                          IMX_AUDMUX_V2_PTCR_TCSEL(4) |
166                          IMX_AUDMUX_V2_PTCR_TFSDIR |
167                          IMX_AUDMUX_V2_PTCR_TCLKDIR)
168                          IMX_AUDMUX_V2_PDCR_RXDSEL(4)
169                 >;
170         };
171 
172         mux-pins5 {
173                 fsl,audmux-port = <4>;
174                 fsl,port-config = <
175                         IMX_AUDMUX_V2_PTCR_SYN
176                         IMX_AUDMUX_V2_PDCR_RXDSEL(0)
177                 >;
178         };
179 };
180 
181 &can1 {
182         pinctrl-names = "default";
183         pinctrl-0 = <&pinctrl_hummingboard_flexcan1>;
184         status = "okay";
185 };
186 
187 &hdmi {
188         pinctrl-names = "default";
189         pinctrl-0 = <&pinctrl_hummingboard_hdmi>;
190         ddc-i2c-bus = <&i2c2>;
191         status = "okay";
192 };
193 
194 &i2c1 {
195         pinctrl-names = "default";
196         pinctrl-0 = <&pinctrl_hummingboard_i2c1>;
197         status = "okay";
198 
199         /* Pro baseboard model */
200         carrier_rtc: rtc@68 {
201                 compatible = "nxp,pcf8523";
202                 reg = <0x68>;
203         };
204 
205         /* Pro baseboard model */
206         sgtl5000: codec@a {
207                 clocks = <&clks IMX6QDL_CLK_CKO>;
208                 compatible = "fsl,sgtl5000";
209                 pinctrl-names = "default";
210                 pinctrl-0 = <&pinctrl_hummingboard_sgtl5000>;
211                 #sound-dai-cells = <0>;
212                 reg = <0x0a>;
213                 VDDA-supply = <&v_3v2>;
214                 VDDIO-supply = <&v_3v2>;
215         };
216 };
217 
218 &i2c2 {
219         clock-frequency = <100000>;
220         pinctrl-names = "default";
221         pinctrl-0 = <&pinctrl_hummingboard_i2c2>;
222         status = "okay";
223 };
224 
225 &iomuxc {
226         hummingboard {
227                 pinctrl_hummingboard_flexcan1: hummingboard-flexcan1 {
228                         fsl,pins = <
229                                 MX6QDL_PAD_SD3_CLK__FLEXCAN1_RX 0x80000000
230                                 MX6QDL_PAD_SD3_CMD__FLEXCAN1_TX 0x80000000
231                         >;
232                 };
233 
234                 pinctrl_hummingboard_gpio3_5: hummingboard-gpio3_5 {
235                         fsl,pins = <
236                                 MX6QDL_PAD_EIM_DA5__GPIO3_IO05 0x1b0b1
237                         >;
238                 };
239 
240                 pinctrl_hummingboard_hdmi: hummingboard-hdmi {
241                         fsl,pins = <
242                                 MX6QDL_PAD_KEY_ROW2__HDMI_TX_CEC_LINE 0x1f8b0
243                         >;
244                 };
245 
246                 pinctrl_hummingboard_i2c1: hummingboard-i2c1 {
247                         fsl,pins = <
248                                 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
249                                 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
250                         >;
251                 };
252 
253                 pinctrl_hummingboard_i2c2: hummingboard-i2c2 {
254                         fsl,pins = <
255                                 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
256                                 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
257                         >;
258                 };
259 
260                 pinctrl_hummingboard_pcie_reset: hummingboard-pcie-reset {
261                         fsl,pins = <
262                                 MX6QDL_PAD_EIM_DA4__GPIO3_IO04 0x1b0b1
263                         >;
264                 };
265 
266                 pinctrl_hummingboard_pwm1: pwm1grp {
267                         fsl,pins = <MX6QDL_PAD_DISP0_DAT8__PWM1_OUT 0x1b0b1>;
268                 };
269 
270                 pinctrl_hummingboard_sgtl5000: hummingboard-sgtl5000 {
271                         fsl,pins = <
272                                 MX6QDL_PAD_DISP0_DAT19__AUD5_RXD 0x130b0
273                                 MX6QDL_PAD_KEY_COL0__AUD5_TXC 0x130b0
274                                 MX6QDL_PAD_KEY_ROW0__AUD5_TXD 0x110b0
275                                 MX6QDL_PAD_KEY_COL1__AUD5_TXFS 0x130b0
276                                 MX6QDL_PAD_GPIO_5__CCM_CLKO1 0x130b0
277                         >;
278                 };
279 
280                 pinctrl_hummingboard_spdif: hummingboard-spdif {
281                         fsl,pins = <MX6QDL_PAD_GPIO_17__SPDIF_OUT 0x13091>;
282                 };
283 
284                 pinctrl_hummingboard_usbh1_vbus: hummingboard-usbh1-vbus {
285                         fsl,pins = <MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x1b0b0>;
286                 };
287 
288                 pinctrl_hummingboard_usbotg_id: hummingboard-usbotg-id {
289                         /*
290                          * We want it pulled down for a fixed host connection.
291                          */
292                         fsl,pins = <MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x13059>;
293                 };
294 
295                 pinctrl_hummingboard_usbotg_vbus: hummingboard-usbotg-vbus {
296                         fsl,pins = <MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x1b0b0>;
297                 };
298 
299                 pinctrl_hummingboard_usdhc2_aux: hummingboard-usdhc2-aux {
300                         fsl,pins = <
301                                 MX6QDL_PAD_GPIO_4__GPIO1_IO04    0x1f071
302                         >;
303                 };
304 
305                 pinctrl_hummingboard_usdhc2: hummingboard-usdhc2 {
306                         fsl,pins = <
307                                 MX6QDL_PAD_SD2_CMD__SD2_CMD    0x17059
308                                 MX6QDL_PAD_SD2_CLK__SD2_CLK    0x10059
309                                 MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17059
310                                 MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17059
311                                 MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17059
312                                 MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x13059
313                         >;
314                 };
315                 pinctrl_hummingboard_vmmc: hummingboard-vmmc {
316                         fsl,pins = <
317                                 MX6QDL_PAD_DISP0_DAT9__GPIO4_IO30 0x1b0b0
318                         >;
319                 };
320         };
321 };
322 
323 &pcie {
324         pinctrl-names = "default";
325         pinctrl-0 = <&pinctrl_hummingboard_pcie_reset>;
326         reset-gpio = <&gpio3 4 GPIO_ACTIVE_LOW>;
327         status = "okay";
328 };
329 
330 &pwm1 {
331          pinctrl-names = "default";
332          pinctrl-0 = <&pinctrl_hummingboard_pwm1>;
333          status = "okay";
334 };
335 
336 &pwm2 {
337          pinctrl-names = "default";
338          status = "okay";
339 };
340 
341 &spdif {
342         pinctrl-names = "default";
343         pinctrl-0 = <&pinctrl_hummingboard_spdif>;
344         status = "okay";
345 };
346 
347 &ssi1 {
348         status = "okay";
349 };
350 
351 &usbh1 {
352         disable-over-current;
353         vbus-supply = <&v_usb2>;
354         status = "okay";
355 };
356 
357 &usbotg {
358         disable-over-current;
359         pinctrl-names = "default";
360         pinctrl-0 = <&pinctrl_hummingboard_usbotg_id>;
361         vbus-supply = <&v_usb1>;
362         status = "okay";
363 };
364 
365 &usdhc2 {
366         pinctrl-names = "default";
367         pinctrl-0 = <
368                 &pinctrl_hummingboard_usdhc2_aux
369                 &pinctrl_hummingboard_usdhc2
370         >;
371         vmmc-supply = <&v_sd>;
372         cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
373         status = "okay";
374 };
375 
376 &vcc_3v3 {
377         vin-supply = <&v_3v2>;
378 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php