Lines Matching +full:codec +full:- +full:gpio1

1 // SPDX-License-Identifier: GPL-2.0 OR MIT
6 // Copyright 2018-2021 General Electric Company
7 // Copyright 2018-2021 Collabora
9 #include <dt-bindings/input/input.h>
10 #include "imx6dl-qmx6.dtsi"
14 stdout-path = &uart3;
20 operating-points = <
25 fsl,soc-operating-points = <
26 /* ARM kHz SOC-PU uV */
33 operating-points = <
38 fsl,soc-operating-points = <
39 /* ARM kHz SOC-PU uV */
46 reg_syspwr: regulator-12v {
47 compatible = "regulator-fixed";
48 regulator-name = "SYS_PWR";
49 regulator-min-microvolt = <12000000>;
50 regulator-max-microvolt = <12000000>;
53 reg_5v_pmc: regulator-5v-pmc {
54 compatible = "regulator-fixed";
55 regulator-name = "5V PMC";
56 regulator-min-microvolt = <5000000>;
57 regulator-max-microvolt = <5000000>;
58 vin-supply = <&reg_syspwr>;
61 reg_5v: regulator-5v {
62 compatible = "regulator-fixed";
63 regulator-name = "5V";
64 regulator-min-microvolt = <5000000>;
65 regulator-max-microvolt = <5000000>;
66 vin-supply = <&reg_syspwr>;
69 reg_3v3: regulator-3v3 {
70 compatible = "regulator-fixed";
71 regulator-name = "3V3";
72 regulator-min-microvolt = <3300000>;
73 regulator-max-microvolt = <3300000>;
74 vin-supply = <&reg_syspwr>;
77 reg_5v0_audio: regulator-5v0-audio {
78 compatible = "regulator-fixed";
79 regulator-name = "5V0_AUDIO";
80 regulator-min-microvolt = <5000000>;
81 regulator-max-microvolt = <5000000>;
82 vin-supply = <&reg_5v>;
84 enable-active-high;
86 * This must be always-on for da7212, which has some not
90 regulator-always-on;
94 reg_3v3_audio: regulator-3v3-audio {
95 compatible = "regulator-fixed";
96 regulator-name = "3V3_AUDIO";
97 regulator-min-microvolt = <3300000>;
98 regulator-max-microvolt = <3300000>;
99 vin-supply = <&reg_3v3>;
100 pinctrl-0 = <&pinctrl_q7_hda_reset>;
101 pinctrl-names = "default";
103 enable-active-high;
106 reg_2v5_audio: regulator-2v5-audio {
107 compatible = "regulator-fixed";
108 regulator-name = "2V5_AUDIO";
109 regulator-min-microvolt = <2500000>;
110 regulator-max-microvolt = <2500000>;
111 regulator-always-on;
112 vin-supply = <&reg_3v3_audio>;
116 reg_wlan: regulator-wlan {
117 compatible = "regulator-fixed";
118 regulator-name = "WLAN";
119 regulator-min-microvolt = <3300000>;
120 regulator-max-microvolt = <3300000>;
121 vin-supply = <&reg_3v3>;
122 pinctrl-names = "default";
123 pinctrl-0 = <&pinctrl_q7_sdio_power>;
125 enable-active-high;
126 startup-delay-us = <70000>;
129 reg_bl: regulator-backlight {
130 compatible = "regulator-fixed";
131 regulator-name = "LED_VCC";
132 regulator-min-microvolt = <12000000>;
133 regulator-max-microvolt = <12000000>;
134 vin-supply = <&reg_syspwr>;
135 pinctrl-0 = <&pinctrl_q7_lcd_power>;
136 pinctrl-names = "default";
137 gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>;
138 enable-active-high;
141 reg_lcd: regulator-lcd {
142 compatible = "regulator-fixed";
143 regulator-name = "LCD_5V";
144 regulator-min-microvolt = <5000000>;
145 regulator-max-microvolt = <5000000>;
146 vin-supply = <&reg_5v>;
149 usb_power: regulator-usb-power {
150 compatible = "regulator-fixed";
151 regulator-name = "USB POWER";
152 regulator-min-microvolt = <5000000>;
153 regulator-max-microvolt = <5000000>;
154 vin-supply = <&reg_5v>;
157 charger: battery-charger {
158 compatible = "gpio-charger"; /* ti,bq24172 */
159 charger-type = "mains";
161 charge-current-limit-gpios = <&tca6424a 11 GPIO_ACTIVE_HIGH>,
163 charge-current-limit-mapping = <1300000 0x0>,
166 charge-status-gpios = <&tca6424a 6 GPIO_ACTIVE_HIGH>;
170 compatible = "gpio-poweroff";
171 pinctrl-names = "default";
172 pinctrl-0 = <&pinctrl_q7_spi_cs1>;
176 power-button-key {
177 compatible = "gpio-keys";
178 pinctrl-names = "default";
179 pinctrl-0 = <&pinctrl_q7_sleep_button>;
181 power-button {
188 rotary-encoder-key {
189 compatible = "gpio-keys";
191 rotary-encoder-event {
192 label = "rotary-encoder press";
195 linux,can-disable;
199 rotary-encoder {
200 compatible = "rotary-encoder";
201 pinctrl-names = "default";
202 pinctrl-0 = <&pinctrl_q7_gpio2 &pinctrl_q7_gpio4>;
203 gpios = <&gpio4 26 GPIO_ACTIVE_LOW>, <&gpio1 0 GPIO_ACTIVE_LOW>;
204 rotary-encoder,relative-axis;
205 rotary-encoder,steps-per-period = <2>;
206 wakeup-source;
210 compatible = "gpio-leds";
211 pinctrl-names = "default";
212 pinctrl-0 = <&pinctrl_q7_gpio1 &pinctrl_q7_gpio3 &pinctrl_q7_gpio5>;
214 led-alarm1 {
216 gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
219 led-alarm2 {
224 led-alarm3 {
231 compatible = "pwm-backlight";
232 pinctrl-names = "default";
233 pinctrl-0 = <&pinctrl_q7_backlight_enable>;
234 power-supply = <&reg_bl>;
236 brightness-levels = <0 255>;
237 num-interpolated-steps = <255>;
238 default-brightness-level = <179>;
239 enable-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
244 power-supply = <&reg_lcd>;
248 remote-endpoint = <&lvds0_out>;
254 compatible = "simple-audio-card";
255 simple-audio-card,name = "audio-card";
256 simple-audio-card,format = "i2s";
257 simple-audio-card,bitclock-master = <&dailink_master>;
258 simple-audio-card,frame-master = <&dailink_master>;
259 simple-audio-card,widgets = "Speaker", "Ext Spk";
260 simple-audio-card,routing = "Ext Spk", "LINE";
262 simple-audio-card,cpu {
263 sound-dai = <&ssi1>;
266 dailink_master: simple-audio-card,codec {
267 sound-dai = <&codec>;
271 clk_ext_audio_codec: clock-codec {
272 compatible = "fixed-clock";
273 #clock-cells = <0>;
274 clock-frequency = <12288000>;
292 compatible = "ti,bq20z65", "sbs,sbs-battery";
294 sbs,battery-detect-gpios = <&tca6424a 5 GPIO_ACTIVE_LOW>;
295 sbs,i2c-retry-count = <5>;
296 power-supplies = <&charger>;
299 codec: audio-codec@1a { label
302 #sound-dai-cells = <0>;
303 VDDA-supply = <&reg_2v5_audio>;
304 VDDSP-supply = <&reg_5v0_audio>;
305 VDDMIC-supply = <&reg_3v3_audio>;
306 VDDIO-supply = <&reg_3v3_audio>;
308 clock-names = "mclk";
313 tca6424a: gpio-controller@22 {
316 gpio-controller;
317 #gpio-cells = <2>;
318 vcc-supply = <&reg_3v3>;
319 interrupt-parent = <&gpio7>;
321 pinctrl-names = "default";
322 pinctrl-0 = <&pinctrl_q7_gpio6>;
323 interrupt-controller;
324 #interrupt-cells = <2>;
325 gpio-line-names = "GPIO_ROTOR#", "ACM_IO_INT", "TMP_SENSOR_IRQ", "AC_IN",
334 tmp75: temperature-sensor@48 {
337 vs-supply = <&reg_3v3>;
338 interrupt-parent = <&tca6424a>;
346 lvds0: lvds-channel@0 {
348 fsl,data-mapping = "spwg";
349 fsl,data-width = <24>;
355 remote-endpoint = <&panel_in>;
366 fsl,mode = "i2s-slave";
371 vbus-supply = <&usb_power>;
372 disable-over-current;
377 * TPS2051BDGN fault-gpio is connected to Q7[86] USB_0_1_OC_N.
380 * over-current events. Fortunately the regulator limits the current
387 pinctrl-names = "default";
388 pinctrl-0 = <&pinctrl_usdhc4>;
389 bus-width = <4>;
390 no-1-8-v;
391 non-removable;
392 wakeup-source;
393 keep-power-in-suspend;
394 cap-power-off-card;
395 max-frequency = <25000000>;
396 vmmc-supply = <&reg_wlan>;
397 #address-cells = <1>;
398 #size-cells = <0>;
405 pinctrl-names = "default";
406 pinctrl-0 = <&pinctrl_q7_gpio7>;
408 interrupt-parent = <&gpio4>;
411 tcxo-clock-frequency = <26000000>;