Lines Matching +full:codec +full:- +full:gpio4

1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
27 compatible = "pwm-backlight";
29 brightness-levels = <0 4 8 16 32 64 128 255>;
30 default-brightness-level = <7>;
33 gpio-keys {
34 compatible = "gpio-keys";
36 user-pb {
42 user-pb1x {
45 interrupt-parent = <&gsc>;
49 key-erased {
50 label = "key-erased";
52 interrupt-parent = <&gsc>;
56 eeprom-wp {
59 interrupt-parent = <&gsc>;
66 interrupt-parent = <&gsc>;
70 switch-hold {
73 interrupt-parent = <&gsc>;
79 compatible = "gpio-leds";
80 pinctrl-names = "default";
81 pinctrl-0 = <&pinctrl_gpio_leds>;
83 led0: led-user1 {
85 gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */
86 default-state = "on";
87 linux,default-trigger = "heartbeat";
90 led1: led-user2 {
92 gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */
93 default-state = "off";
96 led2: led-user3 {
98 gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; /* MX6_LOCLED# */
99 default-state = "off";
109 compatible = "pps-gpio";
110 pinctrl-names = "default";
111 pinctrl-0 = <&pinctrl_pps>;
116 reg_1p0v: regulator-1p0v {
117 compatible = "regulator-fixed";
118 regulator-name = "1P0V";
119 regulator-min-microvolt = <1000000>;
120 regulator-max-microvolt = <1000000>;
121 regulator-always-on;
124 reg_3p3v: regulator-3p3v {
125 compatible = "regulator-fixed";
126 regulator-name = "3P3V";
127 regulator-min-microvolt = <3300000>;
128 regulator-max-microvolt = <3300000>;
129 regulator-always-on;
132 reg_5p0v: regulator-5p0v {
133 compatible = "regulator-fixed";
134 regulator-name = "5P0V";
135 regulator-min-microvolt = <5000000>;
136 regulator-max-microvolt = <5000000>;
137 regulator-always-on;
140 reg_can1_stby: regulator-can1-stby {
141 compatible = "regulator-fixed";
142 pinctrl-names = "default";
143 pinctrl-0 = <&pinctrl_reg_can1>;
144 regulator-name = "can1_stby";
146 regulator-min-microvolt = <3300000>;
147 regulator-max-microvolt = <3300000>;
150 reg_usb_otg_vbus: regulator-usb-otg-vbus {
151 compatible = "regulator-fixed";
152 regulator-name = "usb_otg_vbus";
153 regulator-min-microvolt = <5000000>;
154 regulator-max-microvolt = <5000000>;
156 enable-active-high;
160 compatible = "fsl,imx6q-ventana-sgtl5000",
161 "fsl,imx-audio-sgtl5000";
162 model = "sgtl5000-audio";
163 ssi-controller = <&ssi1>;
164 audio-codec = <&codec>;
165 audio-routing =
169 mux-int-port = <1>;
170 mux-ext-port = <4>;
175 pinctrl-names = "default";
176 pinctrl-0 = <&pinctrl_audmux>;
181 pinctrl-names = "default";
182 pinctrl-0 = <&pinctrl_flexcan1>;
183 xceiver-supply = <&reg_can1_stby>;
188 assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
190 assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
195 cs-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>;
196 pinctrl-names = "default";
197 pinctrl-0 = <&pinctrl_ecspi3>;
202 pinctrl-names = "default";
203 pinctrl-0 = <&pinctrl_enet>;
204 phy-mode = "rgmii-id";
205 phy-reset-gpios = <&gpio1 30 GPIO_ACTIVE_LOW>;
210 pinctrl-names = "default";
211 pinctrl-0 = <&pinctrl_gpmi_nand>;
216 ddc-i2c-bus = <&i2c3>;
221 clock-frequency = <100000>;
222 pinctrl-names = "default";
223 pinctrl-0 = <&pinctrl_i2c1>;
229 interrupt-parent = <&gpio1>;
231 interrupt-controller;
232 #interrupt-cells = <1>;
233 #size-cells = <0>;
236 compatible = "gw,gsc-adc";
237 #address-cells = <1>;
238 #size-cells = <0>;
323 gpio-controller;
324 #gpio-cells = <2>;
325 interrupt-parent = <&gsc>;
360 clock-frequency = <100000>;
361 pinctrl-names = "default";
362 pinctrl-0 = <&pinctrl_i2c2>;
368 pinctrl-names = "default";
369 pinctrl-0 = <&pinctrl_pmic>;
370 interrupt-parent = <&gpio1>;
376 regulator-name = "vddsoc";
377 regulator-min-microvolt = <674400>;
378 regulator-max-microvolt = <1308000>;
379 lltc,fb-voltage-divider = <127000 200000>;
380 regulator-ramp-delay = <7000>;
381 regulator-boot-on;
382 regulator-always-on;
385 /* VDD_1P8 (1+R1/R2 = 2.505): GPS/VideoIn/ENET-PHY */
387 regulator-name = "vdd1p8";
388 regulator-min-microvolt = <1033310>;
389 regulator-max-microvolt = <2004000>;
390 lltc,fb-voltage-divider = <301000 200000>;
391 regulator-ramp-delay = <7000>;
392 regulator-boot-on;
393 regulator-always-on;
398 regulator-name = "vddarm";
399 regulator-min-microvolt = <674400>;
400 regulator-max-microvolt = <1308000>;
401 lltc,fb-voltage-divider = <127000 200000>;
402 regulator-ramp-delay = <7000>;
403 regulator-boot-on;
404 regulator-always-on;
409 regulator-name = "vddddr";
410 regulator-min-microvolt = <868310>;
411 regulator-max-microvolt = <1684000>;
412 lltc,fb-voltage-divider = <221000 200000>;
413 regulator-ramp-delay = <7000>;
414 regulator-boot-on;
415 regulator-always-on;
418 /* VDD_2P5 (1+R1/R2 = 3.435): PCIe/ENET-PHY */
420 regulator-name = "vdd2p5";
421 regulator-min-microvolt = <2490375>;
422 regulator-max-microvolt = <2490375>;
423 lltc,fb-voltage-divider = <487000 200000>;
424 regulator-boot-on;
425 regulator-always-on;
428 /* VDD_AUD_1P8: Audio codec */
430 regulator-name = "vdd1p8a";
431 regulator-min-microvolt = <1800000>;
432 regulator-max-microvolt = <1800000>;
433 regulator-boot-on;
438 regulator-name = "vdd3p0";
439 regulator-min-microvolt = <3023250>;
440 regulator-max-microvolt = <3023250>;
441 lltc,fb-voltage-divider = <634000 200000>;
442 regulator-boot-on;
443 regulator-always-on;
450 clock-frequency = <100000>;
451 pinctrl-names = "default";
452 pinctrl-0 = <&pinctrl_i2c3>;
455 codec: sgtl5000@a { label
458 #sound-dai-cells = <0>;
460 VDDA-supply = <&reg_1p8v>;
461 VDDIO-supply = <&reg_3p3v>;
467 interrupt-parent = <&gpio7>;
469 wakeup-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;
481 lvds-channel@0 {
482 fsl,data-mapping = "spwg";
483 fsl,data-width = <18>;
486 display-timings {
487 native-mode = <&timing0>;
488 timing0: timing-hsd100pxn1 {
489 clock-frequency = <65000000>;
492 hback-porch = <220>;
493 hfront-porch = <40>;
494 vback-porch = <21>;
495 vfront-porch = <7>;
496 hsync-len = <60>;
497 vsync-len = <10>;
504 pinctrl-names = "default";
505 pinctrl-0 = <&pinctrl_pcie>;
506 reset-gpio = <&gpio1 29 GPIO_ACTIVE_LOW>;
511 pinctrl-names = "default";
512 pinctrl-0 = <&pinctrl_pwm2>; /* MX6_DIO1 */
517 pinctrl-names = "default";
518 pinctrl-0 = <&pinctrl_pwm3>; /* MX6_DIO2 */
523 pinctrl-names = "default";
524 pinctrl-0 = <&pinctrl_pwm4>;
533 pinctrl-names = "default";
534 pinctrl-0 = <&pinctrl_uart1>;
535 rts-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
540 pinctrl-names = "default";
541 pinctrl-0 = <&pinctrl_uart2>;
546 pinctrl-names = "default";
547 pinctrl-0 = <&pinctrl_uart5>;
552 vbus-supply = <&reg_usb_otg_vbus>;
553 pinctrl-names = "default";
554 pinctrl-0 = <&pinctrl_usbotg>;
555 disable-over-current;
564 pinctrl-names = "default", "state_100mhz", "state_200mhz";
565 pinctrl-0 = <&pinctrl_usdhc3>;
566 pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
567 pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
568 cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
569 vmmc-supply = <&reg_3p3v>;
570 no-1-8-v; /* firmware will remove if board revision supports */
575 pinctrl-names = "default";
576 pinctrl-0 = <&pinctrl_wdog>;
577 fsl,ext-reset-output;
764 pinctrl_usdhc3_100mhz: usdhc3-100mhz-grp {
777 pinctrl_usdhc3_200mhz: usdhc3-200mhz-grp {