Lines Matching +full:gpio +full:- +full:ir +full:- +full:tx

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "meson-sm1.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/gpio/meson-g12a-gpio.h>
12 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
23 mono_dac: audio-codec-0 {
25 #sound-dai-cells = <0>;
26 sound-name-prefix = "U16";
27 sdmode-gpios = <&gpio GPIOX_8 GPIO_ACTIVE_HIGH>;
30 dmics: audio-codec-1 {
31 #sound-dai-cells = <0>;
32 compatible = "dmic-codec";
33 num-channels = <2>;
34 wakeup-delay-ms = <50>;
36 sound-name-prefix = "MIC";
40 stdout-path = "serial0:115200n8";
43 emmc_pwrseq: emmc-pwrseq {
44 compatible = "mmc-pwrseq-emmc";
45 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>;
48 gpio-keys {
49 compatible = "gpio-keys";
51 key-1 {
54 gpios = <&gpio GPIOH_6 GPIO_ACTIVE_LOW>;
55 interrupt-parent = <&gpio_intc>;
59 key-2 {
62 gpios = <&gpio GPIOH_7 GPIO_ACTIVE_LOW>;
63 interrupt-parent = <&gpio_intc>;
67 key-3 {
71 interrupt-parent = <&gpio_intc>;
75 key-mic-mute {
78 linux,input-type = <EV_SW>;
80 interrupt-parent = <&gpio_intc>;
84 key-power {
88 interrupt-parent = <&gpio_intc>;
93 hdmi-connector {
94 compatible = "hdmi-connector";
99 remote-endpoint = <&hdmi_tx_tmds_out>;
104 led-controller-1 {
105 compatible = "gpio-leds";
107 led-1 {
109 gpios = <&gpio GPIOC_7 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
110 default-state = "off";
114 led-controller-2 {
115 compatible = "pwm-leds";
117 led-2 {
120 max-brightness = <255>;
121 linux,default-trigger = "default-on";
122 active-low;
131 ao_5v: regulator-ao_5v {
132 compatible = "regulator-fixed";
133 regulator-name = "AO_5V";
134 regulator-min-microvolt = <5000000>;
135 regulator-max-microvolt = <5000000>;
136 vin-supply = <&dc_in>;
137 regulator-always-on;
140 dc_in: regulator-dc_in {
141 compatible = "regulator-fixed";
142 regulator-name = "DC_IN";
143 regulator-min-microvolt = <5000000>;
144 regulator-max-microvolt = <5000000>;
145 regulator-always-on;
148 emmc_1v8: regulator-emmc_1v8 {
149 compatible = "regulator-fixed";
150 regulator-name = "EMMC_1V8";
151 regulator-min-microvolt = <1800000>;
152 regulator-max-microvolt = <1800000>;
153 vin-supply = <&vddao_3v3>;
154 regulator-always-on;
157 vddao_3v3: regulator-vddao_3v3 {
158 compatible = "regulator-fixed";
159 regulator-name = "VDDAO_3V3";
160 regulator-min-microvolt = <3300000>;
161 regulator-max-microvolt = <3300000>;
162 vin-supply = <&dc_in>;
163 regulator-always-on;
166 /* Used by Tuner, RGB Led & IR Emitter LED array */
167 vddao_3v3_t: regulator-vddao_3v3_t {
168 compatible = "regulator-fixed";
169 regulator-name = "VDDAO_3V3_T";
170 regulator-min-microvolt = <3300000>;
171 regulator-max-microvolt = <3300000>;
172 vin-supply = <&vddao_3v3>;
173 gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>;
174 regulator-always-on;
177 vddcpu: regulator-vddcpu {
181 compatible = "pwm-regulator";
183 regulator-name = "VDDCPU";
184 regulator-min-microvolt = <690000>;
185 regulator-max-microvolt = <1050000>;
187 pwm-supply = <&dc_in>;
190 pwm-dutycycle-range = <100 0>;
192 regulator-boot-on;
193 regulator-always-on;
196 vddio_ao1v8: regulator-vddio_ao1v8 {
197 compatible = "regulator-fixed";
198 regulator-name = "VDDIO_AO1V8";
199 regulator-min-microvolt = <1800000>;
200 regulator-max-microvolt = <1800000>;
201 vin-supply = <&vddao_3v3>;
202 regulator-always-on;
205 sdio_pwrseq: sdio-pwrseq {
206 compatible = "mmc-pwrseq-simple";
207 reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
209 clock-names = "ext_clock";
213 compatible = "amlogic,axg-sound-card";
215 audio-aux-devs = <&tdmout_a>, <&tdmout_b>,
217 audio-routing = "TDMOUT_A IN 0", "FRDDR_A OUT 0",
243 assigned-clocks = <&clkc CLKID_MPLL2>,
246 assigned-clock-parents = <0>, <0>, <0>;
247 assigned-clock-rates = <294912000>,
251 dai-link-0 {
252 sound-dai = <&frddr_a>;
255 dai-link-1 {
256 sound-dai = <&frddr_b>;
259 dai-link-2 {
260 sound-dai = <&frddr_c>;
263 dai-link-3 {
264 sound-dai = <&toddr_a>;
267 dai-link-4 {
268 sound-dai = <&toddr_b>;
271 dai-link-5 {
272 sound-dai = <&toddr_c>;
276 dai-link-6 {
277 sound-dai = <&tdmif_a>;
278 dai-format = "i2s";
279 dai-tdm-slot-tx-mask-0 = <1 1>;
280 mclk-fs = <256>;
282 codec-0 {
283 sound-dai = <&mono_dac>;
286 codec-1 {
287 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_A>;
292 dai-link-7 {
293 sound-dai = <&tdmif_b>;
294 dai-format = "i2s";
295 dai-tdm-slot-tx-mask-0 = <1 1>;
296 dai-tdm-slot-tx-mask-1 = <1 1>;
297 dai-tdm-slot-tx-mask-2 = <1 1>;
298 dai-tdm-slot-tx-mask-3 = <1 1>;
299 mclk-fs = <256>;
302 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_B>;
307 dai-link-8 {
308 sound-dai = <&pdm>;
311 sound-dai = <&dmics>;
316 dai-link-9 {
317 sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>;
320 sound-dai = <&hdmi_tx>;
326 compatible = "pwm-clock";
327 #clock-cells = <0>;
328 clock-frequency = <32768>;
338 pinctrl-0 = <&cec_ao_a_h_pins>;
339 pinctrl-names = "default";
341 hdmi-phandle = <&hdmi_tx>;
345 pinctrl-0 = <&cec_ao_b_h_pins>;
346 pinctrl-names = "default";
348 hdmi-phandle = <&hdmi_tx>;
356 cpu-supply = <&vddcpu>;
357 operating-points-v2 = <&cpu_opp_table>;
359 clock-latency = <50000>;
363 cpu-supply = <&vddcpu>;
364 operating-points-v2 = <&cpu_opp_table>;
366 clock-latency = <50000>;
370 cpu-supply = <&vddcpu>;
371 operating-points-v2 = <&cpu_opp_table>;
373 clock-latency = <50000>;
377 cpu-supply = <&vddcpu>;
378 operating-points-v2 = <&cpu_opp_table>;
380 clock-latency = <50000>;
385 phy-handle = <&internal_ephy>;
386 phy-mode = "rmii";
403 pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>;
404 pinctrl-names = "default";
409 remote-endpoint = <&hdmi_connector_in>;
415 pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>;
416 pinctrl-names = "default";
419 &ir {
421 pinctrl-0 = <&remote_input_ao_pins>;
422 pinctrl-names = "default";
426 pinctrl-0 = <&pdm_din0_z_pins>, <&pdm_dclk_z_pins>;
427 pinctrl-names = "default";
433 pinctrl-0 = <&pwm_ao_a_pins>;
434 pinctrl-names = "default";
436 clock-names = "clkin0";
440 pinctrl-0 = <&pwm_ao_d_e_pins>;
441 pinctrl-names = "default";
443 clock-names = "clkin1";
449 pinctrl-0 = <&pwm_e_pins>;
450 pinctrl-names = "default";
452 clock-names = "clkin0";
457 vref-supply = <&vddio_ao1v8>;
463 pinctrl-0 = <&sdio_pins>;
464 pinctrl-1 = <&sdio_clk_gate_pins>;
465 pinctrl-names = "default", "clk-gate";
466 #address-cells = <1>;
467 #size-cells = <0>;
469 bus-width = <4>;
470 cap-sd-highspeed;
471 sd-uhs-sdr50;
472 max-frequency = <100000000>;
474 non-removable;
475 disable-wp;
478 keep-power-in-suspend;
480 mmc-pwrseq = <&sdio_pwrseq>;
482 vmmc-supply = <&vddao_3v3>;
483 vqmmc-supply = <&vddio_ao1v8>;
487 compatible = "brcm,bcm4329-fmac";
494 pinctrl-0 = <&sdcard_c_pins>;
495 pinctrl-1 = <&sdcard_clk_gate_c_pins>;
496 pinctrl-names = "default", "clk-gate";
498 bus-width = <4>;
499 cap-sd-highspeed;
500 max-frequency = <50000000>;
501 disable-wp;
503 cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>;
504 vmmc-supply = <&vddao_3v3>;
505 vqmmc-supply = <&vddao_3v3>;
511 pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_data_8b_pins>, <&emmc_ds_pins>;
512 pinctrl-1 = <&emmc_clk_gate_pins>;
513 pinctrl-names = "default", "clk-gate";
515 bus-width = <8>;
516 cap-mmc-highspeed;
517 mmc-ddr-1_8v;
518 mmc-hs200-1_8v;
519 max-frequency = <200000000>;
520 non-removable;
521 disable-wp;
523 mmc-pwrseq = <&emmc_pwrseq>;
524 vmmc-supply = <&vddao_3v3>;
525 vqmmc-supply = <&emmc_1v8>;
529 pinctrl-0 = <&tdm_a_dout0_pins>, <&tdm_a_fs_pins>, <&tdm_a_sclk_pins>;
530 pinctrl-names = "default";
533 assigned-clocks = <&clkc_audio AUD_CLKID_TDM_SCLK_PAD0>,
535 assigned-clock-parents = <&clkc_audio AUD_CLKID_MST_A_SCLK>,
537 assigned-clock-rates = <0>, <0>;
578 pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
579 pinctrl-names = "default";
580 uart-has-rtscts;
583 compatible = "brcm,bcm43438-bt";
584 interrupt-parent = <&gpio_intc>;
586 interrupt-names = "host-wakeup";
587 shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
588 max-speed = <2000000>;
590 clock-names = "lpo";
591 vbat-supply = <&vddao_3v3>;
592 vddio-supply = <&vddio_ao1v8>;
596 /* Exposed via the on-board USB to Serial FT232RL IC */
599 pinctrl-0 = <&uart_ao_a_pins>;
600 pinctrl-names = "default";