Lines Matching +full:spdif +full:- +full:dit
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "meson-g12a.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/gpio/meson-g12a-gpio.h>
11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
14 compatible = "amediatech,x96-max", "amlogic,g12a";
22 spdif_dit: audio-codec-1 {
23 #sound-dai-cells = <0>;
24 compatible = "linux,spdif-dit";
25 sound-name-prefix = "DIT";
29 stdout-path = "serial0:115200n8";
36 cvbs-connector {
37 compatible = "composite-video-connector";
41 remote-endpoint = <&cvbs_vdac_out>;
46 hdmi-connector {
47 compatible = "hdmi-connector";
52 remote-endpoint = <&hdmi_tx_tmds_out>;
57 emmc_pwrseq: emmc-pwrseq {
58 compatible = "mmc-pwrseq-emmc";
59 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>;
62 sdio_pwrseq: sdio-pwrseq {
63 compatible = "mmc-pwrseq-simple";
64 reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
66 clock-names = "ext_clock";
69 flash_1v8: regulator-flash_1v8 {
70 compatible = "regulator-fixed";
71 regulator-name = "FLASH_1V8";
72 regulator-min-microvolt = <1800000>;
73 regulator-max-microvolt = <1800000>;
74 vin-supply = <&vcc_3v3>;
75 regulator-always-on;
78 dc_in: regulator-dc_in {
79 compatible = "regulator-fixed";
80 regulator-name = "DC_IN";
81 regulator-min-microvolt = <5000000>;
82 regulator-max-microvolt = <5000000>;
83 regulator-always-on;
86 vcc_1v8: regulator-vcc_1v8 {
87 compatible = "regulator-fixed";
88 regulator-name = "VCC_1V8";
89 regulator-min-microvolt = <1800000>;
90 regulator-max-microvolt = <1800000>;
91 vin-supply = <&vcc_3v3>;
92 regulator-always-on;
95 vcc_3v3: regulator-vcc_3v3 {
96 compatible = "regulator-fixed";
97 regulator-name = "VCC_3V3";
98 regulator-min-microvolt = <3300000>;
99 regulator-max-microvolt = <3300000>;
100 vin-supply = <&vddao_3v3>;
101 regulator-always-on;
105 vcc_5v: regulator-vcc_5v {
106 compatible = "regulator-fixed";
107 regulator-name = "VCC_5V";
108 regulator-min-microvolt = <5000000>;
109 regulator-max-microvolt = <5000000>;
110 vin-supply = <&dc_in>;
115 vddao_1v8: regulator-vddao_1v8 {
116 compatible = "regulator-fixed";
117 regulator-name = "VDDAO_1V8";
118 regulator-min-microvolt = <1800000>;
119 regulator-max-microvolt = <1800000>;
120 vin-supply = <&vddao_3v3>;
121 regulator-always-on;
124 vddao_3v3: regulator-vddao_3v3 {
125 compatible = "regulator-fixed";
126 regulator-name = "VDDAO_3V3";
127 regulator-min-microvolt = <3300000>;
128 regulator-max-microvolt = <3300000>;
129 vin-supply = <&dc_in>;
130 regulator-always-on;
133 vddcpu: regulator-vddcpu {
134 compatible = "pwm-regulator";
136 regulator-name = "VDDCPU";
137 regulator-min-microvolt = <721000>;
138 regulator-max-microvolt = <1022000>;
140 pwm-supply = <&dc_in>;
143 pwm-dutycycle-range = <100 0>;
145 regulator-boot-on;
146 regulator-always-on;
150 compatible = "amlogic,axg-sound-card";
151 model = "X96-MAX";
152 audio-aux-devs = <&tdmout_b>;
153 audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1",
161 assigned-clocks = <&clkc CLKID_MPLL2>,
164 assigned-clock-parents = <0>, <0>, <0>;
165 assigned-clock-rates = <294912000>,
169 dai-link-0 {
170 sound-dai = <&frddr_a>;
173 dai-link-1 {
174 sound-dai = <&frddr_b>;
177 dai-link-2 {
178 sound-dai = <&frddr_c>;
182 dai-link-3 {
183 sound-dai = <&tdmif_b>;
184 dai-format = "i2s";
185 dai-tdm-slot-tx-mask-0 = <1 1>;
186 dai-tdm-slot-tx-mask-1 = <1 1>;
187 dai-tdm-slot-tx-mask-2 = <1 1>;
188 dai-tdm-slot-tx-mask-3 = <1 1>;
189 mclk-fs = <256>;
192 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_B>;
196 /* spdif hdmi or toslink interface */
197 dai-link-4 {
198 sound-dai = <&spdifout_a>;
200 codec-0 {
201 sound-dai = <&spdif_dit>;
204 codec-1 {
205 sound-dai = <&tohdmitx TOHDMITX_SPDIF_IN_A>;
209 /* spdif hdmi interface */
210 dai-link-5 {
211 sound-dai = <&spdifout_b>;
214 sound-dai = <&tohdmitx TOHDMITX_SPDIF_IN_B>;
219 dai-link-6 {
220 sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>;
223 sound-dai = <&hdmi_tx>;
229 compatible = "pwm-clock";
230 #clock-cells = <0>;
231 clock-frequency = <32768>;
241 pinctrl-0 = <&cec_ao_a_h_pins>;
242 pinctrl-names = "default";
244 hdmi-phandle = <&hdmi_tx>;
248 pinctrl-0 = <&cec_ao_b_h_pins>;
249 pinctrl-names = "default";
251 hdmi-phandle = <&hdmi_tx>;
259 cpu-supply = <&vddcpu>;
260 operating-points-v2 = <&cpu_opp_table>;
262 clock-latency = <50000>;
266 cpu-supply = <&vddcpu>;
267 operating-points-v2 = <&cpu_opp_table>;
269 clock-latency = <50000>;
273 cpu-supply = <&vddcpu>;
274 operating-points-v2 = <&cpu_opp_table>;
276 clock-latency = <50000>;
280 cpu-supply = <&vddcpu>;
281 operating-points-v2 = <&cpu_opp_table>;
283 clock-latency = <50000>;
288 remote-endpoint = <&cvbs_connector_in>;
306 pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>;
307 pinctrl-names = "default";
308 hdmi-supply = <&vcc_5v>;
313 remote-endpoint = <&hdmi_connector_in>;
319 pinctrl-0 = <&remote_input_ao_pins>;
320 pinctrl-names = "default";
321 linux,rc-map-name = "rc-x96max";
325 pinctrl-0 = <&pwm_ao_d_e_pins>;
326 pinctrl-names = "default";
328 clock-names = "clkin1";
333 external_phy: ethernet-phy@0 {
336 max-speed = <1000>;
337 eee-broken-1000t;
339 reset-assert-us = <10000>;
340 reset-deassert-us = <80000>;
341 reset-gpios = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
343 interrupt-parent = <&gpio_intc>;
350 pinctrl-0 = <ð_pins>, <ð_rgmii_pins>;
351 pinctrl-names = "default";
353 phy-mode = "rgmii";
354 phy-handle = <&external_phy>;
355 amlogic,tx-delay-ns = <2>;
360 pinctrl-0 = <&pwm_e_pins>;
361 pinctrl-names = "default";
363 clock-names = "clkin0";
368 pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
369 pinctrl-names = "default";
370 uart-has-rtscts;
373 compatible = "brcm,bcm43438-bt";
374 shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
375 max-speed = <2000000>;
377 clock-names = "lpo";
383 pinctrl-0 = <&uart_ao_a_pins>;
384 pinctrl-names = "default";
395 pinctrl-0 = <&sdio_pins>;
396 pinctrl-1 = <&sdio_clk_gate_pins>;
397 pinctrl-names = "default", "clk-gate";
398 #address-cells = <1>;
399 #size-cells = <0>;
401 bus-width = <4>;
402 cap-sd-highspeed;
403 sd-uhs-sdr50;
404 max-frequency = <100000000>;
406 non-removable;
407 disable-wp;
410 keep-power-in-suspend;
412 mmc-pwrseq = <&sdio_pwrseq>;
414 vmmc-supply = <&vddao_3v3>;
415 vqmmc-supply = <&vddao_1v8>;
419 compatible = "brcm,bcm4329-fmac";
426 pinctrl-0 = <&sdcard_c_pins>;
427 pinctrl-1 = <&sdcard_clk_gate_c_pins>;
428 pinctrl-names = "default", "clk-gate";
430 bus-width = <4>;
431 cap-sd-highspeed;
432 max-frequency = <100000000>;
433 disable-wp;
435 cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>;
436 vmmc-supply = <&vddao_3v3>;
437 vqmmc-supply = <&vddao_3v3>;
443 pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_data_8b_pins>, <&emmc_ds_pins>;
444 pinctrl-1 = <&emmc_clk_gate_pins>;
445 pinctrl-names = "default", "clk-gate";
447 bus-width = <8>;
448 cap-mmc-highspeed;
449 max-frequency = <100000000>;
450 non-removable;
451 disable-wp;
453 mmc-pwrseq = <&emmc_pwrseq>;
454 vmmc-supply = <&vcc_3v3>;
455 vqmmc-supply = <&flash_1v8>;
459 pinctrl-0 = <&spdif_out_h_pins>;
460 pinctrl-names = "default";