Lines Matching +full:hdmi +full:- +full:mux +full:- +full:supply

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/clock/g12a-clkc.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/gpio/meson-g12a-gpio.h>
12 #include <dt-bindings/sound/meson-g12a-toacodec.h>
13 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
28 stdout-path = "serial0:115200n8";
31 dioo2133: audio-amplifier-0 {
32 compatible = "simple-audio-amplifier";
33 enable-gpios = <&gpio GPIOX_0 GPIO_ACTIVE_HIGH>;
34 VCC-supply = <&vcc_5v>;
35 sound-name-prefix = "10U2";
39 cvbs-connector {
40 compatible = "composite-video-connector";
44 remote-endpoint = <&cvbs_vdac_out>;
49 emmc_pwrseq: emmc-pwrseq {
50 compatible = "mmc-pwrseq-emmc";
51 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>;
54 hdmi-connector {
55 compatible = "hdmi-connector";
60 remote-endpoint = <&hdmi_tx_tmds_out>;
65 led-blue {
66 compatible = "pwm-leds";
71 linux,default-trigger = "heartbeat";
72 max-brightness = <255>;
74 active-low;
78 led-green {
79 compatible = "pwm-leds";
84 linux,default-trigger = "default-on";
85 max-brightness = <255>;
87 active-low;
91 led-orange {
92 compatible = "gpio-leds";
98 panic-indicator;
102 dc_in: regulator-dc-in {
103 compatible = "regulator-fixed";
104 regulator-name = "5V_IN";
105 regulator-min-microvolt = <5000000>;
106 regulator-max-microvolt = <5000000>;
107 regulator-always-on;
110 flash_1v8: regulator-flash-1v8 {
111 compatible = "regulator-fixed";
112 regulator-name = "FLASH_1V8";
113 regulator-min-microvolt = <1800000>;
114 regulator-max-microvolt = <1800000>;
115 regulator-always-on;
116 vin-supply = <&vcc_3v3>;
119 vcc_card: regulator-vcc-card {
120 compatible = "regulator-fixed";
121 regulator-name = "VCC_CARD";
122 regulator-min-microvolt = <3300000>;
123 regulator-max-microvolt = <3300000>;
124 vin-supply = <&vddao_3v3>;
126 enable-active-high;
127 gpio-open-drain;
130 vcc_3v3: regulator-vcc-3v3 {
131 compatible = "regulator-fixed";
132 regulator-name = "VCC_3V3";
133 regulator-min-microvolt = <3300000>;
134 regulator-max-microvolt = <3300000>;
135 regulator-always-on;
136 vin-supply = <&vddao_3v3>;
141 vcc_5v: regulator-vcc-5v {
142 compatible = "regulator-fixed";
143 regulator-name = "VCC_5V";
144 regulator-min-microvolt = <5000000>;
145 regulator-max-microvolt = <5000000>;
146 regulator-always-on;
147 vin-supply = <&dc_in>;
149 enable-active-high;
150 gpio-open-drain;
153 vddao_3v3: regulator-vddao-3v3 {
154 compatible = "regulator-fixed";
155 regulator-name = "VDDAO_3V3";
156 regulator-min-microvolt = <3300000>;
157 regulator-max-microvolt = <3300000>;
158 regulator-always-on;
159 vin-supply = <&dc_in>;
162 vddcpu_b: regulator-vddcpu-b {
163 compatible = "pwm-regulator";
164 regulator-name = "VDDCPU_B";
165 regulator-min-microvolt = <730000>;
166 regulator-max-microvolt = <1011000>;
167 regulator-boot-on;
168 regulator-always-on;
169 pwm-supply = <&dc_in>;
171 pwm-dutycycle-range = <100 0>;
174 vddio_ao18: regulator-vddio-ao18 {
175 compatible = "regulator-fixed";
176 regulator-name = "VDDIO_AO18";
177 regulator-min-microvolt = <1800000>;
178 regulator-max-microvolt = <1800000>;
179 regulator-always-on;
180 vin-supply = <&vddao_3v3>;
183 vddio_c: regulator-vddio-c {
184 compatible = "regulator-gpio";
185 regulator-name = "VDDIO_C";
186 regulator-min-microvolt = <1800000>;
187 regulator-max-microvolt = <3300000>;
188 regulator-settling-time-up-us = <200>;
189 regulator-settling-time-down-us = <50000>;
190 vin-supply = <&vddao_3v3>;
197 compatible = "amlogic,axg-sound-card";
198 audio-widgets = "Line", "Lineout";
199 audio-aux-devs = <&tdmout_a>, <&tdmout_b>, <&tdmout_c>,
207 assigned-clocks = <&clkc CLKID_MPLL2>,
210 assigned-clock-parents = <0>, <0>, <0>;
211 assigned-clock-rates = <294912000>,
215 dai-link-0 {
216 sound-dai = <&frddr_a>;
219 dai-link-1 {
220 sound-dai = <&frddr_b>;
223 dai-link-2 {
224 sound-dai = <&frddr_c>;
227 dai-link-3 {
228 sound-dai = <&toddr_a>;
231 dai-link-4 {
232 sound-dai = <&toddr_b>;
235 dai-link-5 {
236 sound-dai = <&toddr_c>;
242 * - TDM A: 2 lanes
247 * - TDM B: 4 lanes
254 * - 2 Master Clocks:
257 * - SPDIF:
260 * - PDM Input:
268 * setup for the HDMI 4 lanes i2s.
276 dai-link-6 {
277 sound-dai = <&tdmif_a>;
278 dai-format = "dsp_a";
279 dai-tdm-slot-tx-mask-0 = <1 1>;
280 mclk-fs = <256>;
282 codec-0 {
283 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_A>;
286 codec-1 {
287 sound-dai = <&toacodec TOACODEC_IN_A>;
291 dai-link-7 {
292 sound-dai = <&tdmif_b>;
293 dai-format = "i2s";
294 dai-tdm-slot-tx-mask-0 = <1 1>;
295 dai-tdm-slot-rx-mask-1 = <1 1>;
296 mclk-fs = <256>;
298 codec-0 {
299 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_B>;
302 codec-1 {
303 sound-dai = <&toacodec TOACODEC_IN_B>;
307 dai-link-8 {
308 sound-dai = <&tdmif_c>;
309 dai-format = "i2s";
310 dai-tdm-slot-tx-mask-0 = <1 1>;
311 dai-tdm-slot-tx-mask-1 = <1 1>;
312 dai-tdm-slot-tx-mask-2 = <1 1>;
313 dai-tdm-slot-tx-mask-3 = <1 1>;
314 mclk-fs = <256>;
316 codec-0 {
317 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_C>;
320 codec-1 {
321 sound-dai = <&toacodec TOACODEC_IN_C>;
325 dai-link-9 {
326 sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>;
329 sound-dai = <&hdmi_tx>;
333 dai-link-10 {
334 sound-dai = <&toacodec TOACODEC_OUT>;
337 sound-dai = <&acodec>;
345 AVDD-supply = <&vddio_ao18>;
354 pinctrl-0 = <&cec_ao_b_h_pins>;
355 pinctrl-names = "default";
356 hdmi-phandle = <&hdmi_tx>;
365 remote-endpoint = <&cvbs_connector_in>;
370 #address-cells = <1>;
371 #size-cells = <0>;
376 reset-gpios = <&gpio GPIOC_7 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
377 vdd-supply = <&vcc_5v>;
382 pinctrl-0 = <&eth_pins>, <&eth_rgmii_pins>, <&eth_phy_irq_pins>;
383 pinctrl-names = "default";
385 phy-mode = "rgmii";
386 phy-handle = <&external_phy>;
387 amlogic,tx-delay-ns = <2>;
391 external_phy: ethernet-phy@0 {
394 max-speed = <1000>;
396 reset-assert-us = <100000>;
397 reset-deassert-us = <100000>;
398 reset-gpios = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
400 interrupt-parent = <&gpio_intc>;
420 pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>;
421 pinctrl-names = "default";
422 hdmi-supply = <&vcc_5v>;
427 remote-endpoint = <&hdmi_connector_in>;
433 pinctrl-0 = <&remote_input_ao_pins>;
434 pinctrl-names = "default";
438 spi_cs_disable_pins: spi-cs-disable {
439 mux {
442 bias-disable;
443 output-high;
447 eth_phy_irq_pins: eth-phy-irq {
448 mux {
451 bias-pull-up;
452 output-disable;
459 pinctrl-0 = <&pwm_ao_d_e_pins>;
460 pinctrl-names = "default";
462 clock-names = "clkin1";
467 pinctrl-0 = <&pwm_b_x7_pins>;
468 pinctrl-names = "default";
470 clock-names = "clkin1";
475 pinctrl-0 = <&pwm_d_x3_pins>;
476 pinctrl-names = "default";
478 clock-names = "clkin1";
483 vref-supply = <&vddio_ao18>;
489 pinctrl-0 = <&sdcard_c_pins>;
490 pinctrl-1 = <&sdcard_clk_gate_c_pins>;
491 pinctrl-names = "default", "clk-gate";
493 bus-width = <4>;
494 cap-sd-highspeed;
495 sd-uhs-sdr12;
496 sd-uhs-sdr25;
497 sd-uhs-sdr50;
498 sd-uhs-sdr104;
499 max-frequency = <200000000>;
500 disable-wp;
502 cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>;
503 vmmc-supply = <&vcc_card>;
504 vqmmc-supply = <&vddio_c>;
510 * Replace emmc_data_8b_pins to emmc_data_4b_pins from sd_emmc_c pinctrl-0,
511 * and change bus-width to 4 then spifc can be enabled.
515 pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_data_8b_pins>, <&emmc_ds_pins>,
517 pinctrl-1 = <&emmc_clk_gate_pins>;
518 pinctrl-names = "default", "clk-gate";
520 bus-width = <8>;
521 cap-mmc-highspeed;
522 mmc-hs200-1_8v;
523 max-frequency = <200000000>;
524 disable-wp;
526 mmc-pwrseq = <&emmc_pwrseq>;
527 vmmc-supply = <&vcc_3v3>;
528 vqmmc-supply = <&flash_1v8>;
533 pinctrl-0 = <&nor_pins>;
534 pinctrl-names = "default";
535 cs-gpios = <&gpio BOOT_14 GPIO_ACTIVE_LOW>;
538 compatible = "jedec,spi-nor";
540 #address-cells = <1>;
541 #size-cells = <1>;
542 spi-max-frequency = <80000000>;
604 pinctrl-0 = <&uart_ao_a_pins>;
605 pinctrl-names = "default";
609 phy-supply = <&dc_in>;
613 phy-supply = <&vcc_5v>;