Lines Matching +full:meson +full:- +full:g12a +full:- +full:usb
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>
12 #include <dt-bindings/sound/meson-g12a-toacodec.h>
15 compatible = "amlogic,u200", "amlogic,g12a";
16 model = "Amlogic Meson G12A U200 Development Board";
23 dioo2133: audio-amplifier-0 {
24 compatible = "simple-audio-amplifier";
25 enable-gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>;
26 VCC-supply = <&vcc_5v>;
27 sound-name-prefix = "10U2";
30 spdif_dir: audio-codec-0 {
31 compatible = "linux,spdif-dir";
32 #sound-dai-cells = <0>;
33 sound-name-prefix = "DIR";
36 spdif_dit: audio-codec-1 {
37 compatible = "linux,spdif-dit";
38 #sound-dai-cells = <0>;
39 sound-name-prefix = "DIT";
43 stdout-path = "serial0:115200n8";
46 cvbs-connector {
47 compatible = "composite-video-connector";
51 remote-endpoint = <&cvbs_vdac_out>;
56 emmc_pwrseq: emmc-pwrseq {
57 compatible = "mmc-pwrseq-emmc";
58 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>;
61 hdmi-connector {
62 compatible = "hdmi-connector";
67 remote-endpoint = <&hdmi_tx_tmds_out>;
77 flash_1v8: regulator-flash-1v8 {
78 compatible = "regulator-fixed";
79 regulator-name = "FLASH_1V8";
80 regulator-min-microvolt = <1800000>;
81 regulator-max-microvolt = <1800000>;
82 vin-supply = <&vcc_3v3>;
83 regulator-always-on;
86 main_12v: regulator-main-12v {
87 compatible = "regulator-fixed";
88 regulator-name = "12V";
89 regulator-min-microvolt = <12000000>;
90 regulator-max-microvolt = <12000000>;
91 regulator-always-on;
94 usb_pwr_en: regulator-usb-pwr-en {
95 compatible = "regulator-fixed";
96 regulator-name = "USB_PWR_EN";
97 regulator-min-microvolt = <5000000>;
98 regulator-max-microvolt = <5000000>;
99 vin-supply = <&vcc_5v>;
102 enable-active-high;
105 vcc_1v8: regulator-vcc-1v8 {
106 compatible = "regulator-fixed";
107 regulator-name = "VCC_1V8";
108 regulator-min-microvolt = <1800000>;
109 regulator-max-microvolt = <1800000>;
110 vin-supply = <&vcc_3v3>;
111 regulator-always-on;
114 vcc_3v3: regulator-vcc-3v3 {
115 compatible = "regulator-fixed";
116 regulator-name = "VCC_3V3";
117 regulator-min-microvolt = <3300000>;
118 regulator-max-microvolt = <3300000>;
119 vin-supply = <&vddao_3v3>;
120 regulator-always-on;
124 vcc_5v: regulator-vcc-5v {
125 compatible = "regulator-fixed";
126 regulator-name = "VCC_5V";
127 regulator-min-microvolt = <5000000>;
128 regulator-max-microvolt = <5000000>;
129 vin-supply = <&main_12v>;
132 enable-active-high;
135 vddao_1v8: regulator-vddao-1v8 {
136 compatible = "regulator-fixed";
137 regulator-name = "VDDAO_1V8";
138 regulator-min-microvolt = <1800000>;
139 regulator-max-microvolt = <1800000>;
140 vin-supply = <&vddao_3v3>;
141 regulator-always-on;
144 vddao_3v3: regulator-vddao-3v3 {
145 compatible = "regulator-fixed";
146 regulator-name = "VDDAO_3V3";
147 regulator-min-microvolt = <3300000>;
148 regulator-max-microvolt = <3300000>;
149 vin-supply = <&main_12v>;
150 regulator-always-on;
153 vddcpu: regulator-vddcpu {
157 compatible = "pwm-regulator";
159 regulator-name = "VDDCPU";
160 regulator-min-microvolt = <721000>;
161 regulator-max-microvolt = <1022000>;
163 pwm-supply = <&main_12v>;
166 pwm-dutycycle-range = <100 0>;
168 regulator-boot-on;
169 regulator-always-on;
173 compatible = "amlogic,axg-sound-card";
175 audio-widgets = "Line", "Lineout";
176 audio-aux-devs = <&tdmout_a>, <&tdmout_b>, <&tdmout_c>,
179 audio-routing = "TDMOUT_A IN 0", "FRDDR_A OUT 0",
245 assigned-clocks = <&clkc CLKID_MPLL2>,
248 assigned-clock-parents = <0>, <0>, <0>;
249 assigned-clock-rates = <294912000>,
253 dai-link-0 {
254 sound-dai = <&frddr_a>;
257 dai-link-1 {
258 sound-dai = <&frddr_b>;
261 dai-link-2 {
262 sound-dai = <&frddr_c>;
265 dai-link-3 {
266 sound-dai = <&toddr_a>;
269 dai-link-4 {
270 sound-dai = <&toddr_b>;
273 dai-link-5 {
274 sound-dai = <&toddr_c>;
278 dai-link-6 {
279 sound-dai = <&tdmif_a>;
280 dai-format = "dsp_a";
281 dai-tdm-slot-tx-mask-0 = <1 1>;
282 mclk-fs = <256>;
284 codec-0 {
285 sound-dai = <&toacodec TOACODEC_IN_A>;
288 codec-1 {
289 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_A>;
294 dai-link-7 {
295 sound-dai = <&tdmif_b>;
296 dai-format = "i2s";
297 dai-tdm-slot-tx-mask-0 = <1 1>;
298 mclk-fs = <256>;
300 codec-0 {
301 sound-dai = <&toacodec TOACODEC_IN_B>;
304 codec-1 {
305 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_B>;
310 dai-link-8 {
311 sound-dai = <&tdmif_c>;
312 dai-format = "i2s";
313 dai-tdm-slot-tx-mask-0 = <1 1>;
314 dai-tdm-slot-tx-mask-1 = <1 1>;
315 dai-tdm-slot-tx-mask-2 = <1 1>;
316 dai-tdm-slot-tx-mask-3 = <1 1>;
317 mclk-fs = <256>;
319 codec-0 {
320 sound-dai = <&toacodec TOACODEC_IN_C>;
323 codec-1 {
324 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_C>;
329 dai-link-9 {
330 sound-dai = <&spdifout_a>;
332 codec-0 {
333 sound-dai = <&spdif_dit>;
336 codec-1 {
337 sound-dai = <&tohdmitx TOHDMITX_SPDIF_IN_A>;
342 dai-link-10 {
343 sound-dai = <&spdifout_b>;
346 sound-dai = <&tohdmitx TOHDMITX_SPDIF_IN_B>;
351 dai-link-11 {
352 sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>;
355 sound-dai = <&hdmi_tx>;
360 dai-link-12 {
361 sound-dai = <&toacodec TOACODEC_OUT>;
364 sound-dai = <&acodec>;
369 dai-link-13 {
370 sound-dai = <&spdifin>;
373 sound-dai = <&spdif_dir>;
380 AVDD-supply = <&vddao_1v8>;
389 pinctrl-0 = <&cec_ao_a_h_pins>;
390 pinctrl-names = "default";
392 hdmi-phandle = <&hdmi_tx>;
396 pinctrl-0 = <&cec_ao_b_h_pins>;
397 pinctrl-names = "default";
399 hdmi-phandle = <&hdmi_tx>;
407 cpu-supply = <&vddcpu>;
408 operating-points-v2 = <&cpu_opp_table>;
410 clock-latency = <50000>;
414 cpu-supply = <&vddcpu>;
415 operating-points-v2 = <&cpu_opp_table>;
417 clock-latency = <50000>;
421 cpu-supply = <&vddcpu>;
422 operating-points-v2 = <&cpu_opp_table>;
424 clock-latency = <50000>;
428 cpu-supply = <&vddcpu>;
429 operating-points-v2 = <&cpu_opp_table>;
431 clock-latency = <50000>;
440 remote-endpoint = <&cvbs_connector_in>;
446 phy-handle = <&internal_ephy>;
447 phy-mode = "rmii";
464 pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>;
465 pinctrl-names = "default";
466 hdmi-supply = <&vcc_5v>;
471 remote-endpoint = <&hdmi_connector_in>;
477 pinctrl-0 = <&remote_input_ao_pins>;
478 pinctrl-names = "default";
484 pinctrl-0 = <&i2c0_sda_z0_pins>, <&i2c0_sck_z1_pins>;
485 pinctrl-names = "default";
491 pinctrl-0 = <&i2c2_sda_z_pins>, <&i2c2_sck_z_pins>;
492 pinctrl-names = "default";
498 pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>;
499 pinctrl-names = "default";
503 pinctrl-0 = <&pwm_ao_d_e_pins>;
504 pinctrl-names = "default";
506 clock-names = "clkin1";
513 pinctrl-0 = <&sdcard_c_pins>;
514 pinctrl-1 = <&sdcard_clk_gate_c_pins>;
515 pinctrl-names = "default", "clk-gate";
517 bus-width = <4>;
518 cap-sd-highspeed;
519 max-frequency = <50000000>;
520 disable-wp;
522 cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>;
523 vmmc-supply = <&vddao_3v3>;
524 vqmmc-supply = <&vddao_3v3>;
530 pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_data_8b_pins>, <&emmc_ds_pins>;
531 pinctrl-1 = <&emmc_clk_gate_pins>;
532 pinctrl-names = "default", "clk-gate";
534 bus-width = <8>;
535 cap-mmc-highspeed;
536 mmc-ddr-1_8v;
537 mmc-hs200-1_8v;
538 max-frequency = <200000000>;
539 non-removable;
540 disable-wp;
542 mmc-pwrseq = <&emmc_pwrseq>;
543 vmmc-supply = <&vcc_3v3>;
544 vqmmc-supply = <&flash_1v8>;
548 pinctrl-0 = <&spdif_in_h_pins>;
549 pinctrl-names = "default";
554 pinctrl-0 = <&spdif_ao_out_pins>;
555 pinctrl-names = "default";
564 pinctrl-0 = <&tdm_a_fs_pins>, <&tdm_a_sclk_pins>, <&tdm_a_dout0_pins> ;
565 pinctrl-names = "default";
570 pinctrl-0 = <&mclk0_a_pins>, <&tdm_b_fs_pins>, <&tdm_b_sclk_pins>,
572 pinctrl-names = "default";
575 assigned-clocks = <&clkc_audio AUD_CLKID_TDM_MCLK_PAD0>,
578 assigned-clock-parents = <&clkc_audio AUD_CLKID_MST_B_MCLK>,
581 assigned-clock-rates = <0>, <0>, <0>;
638 pinctrl-0 = <&uart_ao_a_pins>;
639 pinctrl-names = "default";
642 &usb {
644 vbus-supply = <&usb_pwr_en>;
648 phy-supply = <&vcc_5v>;
652 phy-supply = <&vcc_5v>;