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-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>;
35 sound-name-prefix = "MIC";
39 stdout-path = "serial0:115200n8";
42 emmc_pwrseq: emmc-pwrseq {
43 compatible = "mmc-pwrseq-emmc";
44 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>;
47 gpio-keys {
48 compatible = "gpio-keys";
50 key-1 {
54 interrupt-parent = <&gpio_intc>;
58 key-2 {
62 interrupt-parent = <&gpio_intc>;
66 key-3 {
70 interrupt-parent = <&gpio_intc>;
74 key-mic-mute {
77 linux,input-type = <EV_SW>;
79 interrupt-parent = <&gpio_intc>;
83 key-power {
87 interrupt-parent = <&gpio_intc>;
92 hdmi-connector {
93 compatible = "hdmi-connector";
98 remote-endpoint = <&hdmi_tx_tmds_out>;
103 led-controller-1 {
104 compatible = "gpio-leds";
106 led-1 {
109 default-state = "off";
113 led-controller-2 {
114 compatible = "pwm-leds";
116 led-2 {
119 max-brightness = <255>;
120 linux,default-trigger = "default-on";
121 active-low;
130 ao_5v: regulator-ao-5v {
131 compatible = "regulator-fixed";
132 regulator-name = "AO_5V";
133 regulator-min-microvolt = <5000000>;
134 regulator-max-microvolt = <5000000>;
135 vin-supply = <&dc_in>;
136 regulator-always-on;
139 dc_in: regulator-dc-in {
140 compatible = "regulator-fixed";
141 regulator-name = "DC_IN";
142 regulator-min-microvolt = <5000000>;
143 regulator-max-microvolt = <5000000>;
144 regulator-always-on;
147 emmc_1v8: regulator-emmc-1v8 {
148 compatible = "regulator-fixed";
149 regulator-name = "EMMC_1V8";
150 regulator-min-microvolt = <1800000>;
151 regulator-max-microvolt = <1800000>;
152 vin-supply = <&vddao_3v3>;
153 regulator-always-on;
156 vddao_3v3: regulator-vddao-3v3 {
157 compatible = "regulator-fixed";
158 regulator-name = "VDDAO_3V3";
159 regulator-min-microvolt = <3300000>;
160 regulator-max-microvolt = <3300000>;
161 vin-supply = <&dc_in>;
162 regulator-always-on;
166 vddao_3v3_t: regulator-vddao-3v3-t {
167 compatible = "regulator-fixed";
168 regulator-name = "VDDAO_3V3_T";
169 regulator-min-microvolt = <3300000>;
170 regulator-max-microvolt = <3300000>;
171 vin-supply = <&vddao_3v3>;
173 regulator-always-on;
176 vddcpu: regulator-vddcpu {
180 compatible = "pwm-regulator";
182 regulator-name = "VDDCPU";
183 regulator-min-microvolt = <690000>;
184 regulator-max-microvolt = <1050000>;
186 pwm-supply = <&dc_in>;
189 pwm-dutycycle-range = <100 0>;
191 regulator-boot-on;
192 regulator-always-on;
195 vddio_ao1v8: regulator-vddio-ao1v8 {
196 compatible = "regulator-fixed";
197 regulator-name = "VDDIO_AO1V8";
198 regulator-min-microvolt = <1800000>;
199 regulator-max-microvolt = <1800000>;
200 vin-supply = <&vddao_3v3>;
201 regulator-always-on;
204 sdio_pwrseq: sdio-pwrseq {
205 compatible = "mmc-pwrseq-simple";
206 reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
208 clock-names = "ext_clock";
212 compatible = "amlogic,axg-sound-card";
214 audio-aux-devs = <&tdmout_a>, <&tdmout_b>,
216 audio-routing = "TDMOUT_A IN 0", "FRDDR_A OUT 0",
246 assigned-clocks = <&clkc CLKID_MPLL2>,
249 assigned-clock-parents = <0>, <0>, <0>;
250 assigned-clock-rates = <294912000>,
254 dai-link-0 {
255 sound-dai = <&frddr_a>;
258 dai-link-1 {
259 sound-dai = <&frddr_b>;
262 dai-link-2 {
263 sound-dai = <&frddr_c>;
266 dai-link-3 {
267 sound-dai = <&toddr_a>;
270 dai-link-4 {
271 sound-dai = <&toddr_b>;
274 dai-link-5 {
275 sound-dai = <&toddr_c>;
279 dai-link-6 {
280 sound-dai = <&tdmif_a>;
281 dai-format = "i2s";
282 dai-tdm-slot-tx-mask-0 = <1 1>;
283 mclk-fs = <256>;
285 codec-0 {
286 sound-dai = <&mono_dac>;
289 codec-1 {
290 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_A>;
295 dai-link-7 {
296 sound-dai = <&tdmif_b>;
297 dai-format = "i2s";
298 dai-tdm-slot-tx-mask-0 = <1 1>;
299 dai-tdm-slot-tx-mask-1 = <1 1>;
300 dai-tdm-slot-tx-mask-2 = <1 1>;
301 dai-tdm-slot-tx-mask-3 = <1 1>;
302 mclk-fs = <256>;
305 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_B>;
310 dai-link-8 {
311 sound-dai = <&pdm>;
314 sound-dai = <&dmics>;
319 dai-link-9 {
320 sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>;
323 sound-dai = <&hdmi_tx>;
329 compatible = "pwm-clock";
330 #clock-cells = <0>;
331 clock-frequency = <32768>;
341 pinctrl-0 = <&cec_ao_a_h_pins>;
342 pinctrl-names = "default";
344 hdmi-phandle = <&hdmi_tx>;
348 pinctrl-0 = <&cec_ao_b_h_pins>;
349 pinctrl-names = "default";
351 hdmi-phandle = <&hdmi_tx>;
359 cpu-supply = <&vddcpu>;
360 operating-points-v2 = <&cpu_opp_table>;
362 clock-latency = <50000>;
366 cpu-supply = <&vddcpu>;
367 operating-points-v2 = <&cpu_opp_table>;
369 clock-latency = <50000>;
373 cpu-supply = <&vddcpu>;
374 operating-points-v2 = <&cpu_opp_table>;
376 clock-latency = <50000>;
380 cpu-supply = <&vddcpu>;
381 operating-points-v2 = <&cpu_opp_table>;
383 clock-latency = <50000>;
388 phy-handle = <&internal_ephy>;
389 phy-mode = "rmii";
406 pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>;
407 pinctrl-names = "default";
412 remote-endpoint = <&hdmi_connector_in>;
418 pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>;
419 pinctrl-names = "default";
424 pinctrl-0 = <&remote_input_ao_pins>;
425 pinctrl-names = "default";
429 pinctrl-0 = <&pdm_din0_z_pins>, <&pdm_dclk_z_pins>;
430 pinctrl-names = "default";
436 pinctrl-0 = <&pwm_ao_a_pins>;
437 pinctrl-names = "default";
439 clock-names = "clkin0";
443 pinctrl-0 = <&pwm_ao_d_e_pins>;
444 pinctrl-names = "default";
446 clock-names = "clkin1";
452 pinctrl-0 = <&pwm_e_pins>;
453 pinctrl-names = "default";
455 clock-names = "clkin0";
460 vref-supply = <&vddio_ao1v8>;
466 pinctrl-0 = <&sdio_pins>;
467 pinctrl-1 = <&sdio_clk_gate_pins>;
468 pinctrl-names = "default", "clk-gate";
469 #address-cells = <1>;
470 #size-cells = <0>;
472 bus-width = <4>;
473 cap-sd-highspeed;
474 sd-uhs-sdr50;
475 max-frequency = <100000000>;
477 non-removable;
478 disable-wp;
481 keep-power-in-suspend;
483 mmc-pwrseq = <&sdio_pwrseq>;
485 vmmc-supply = <&vddao_3v3>;
486 vqmmc-supply = <&vddio_ao1v8>;
490 compatible = "brcm,bcm4329-fmac";
497 pinctrl-0 = <&sdcard_c_pins>;
498 pinctrl-1 = <&sdcard_clk_gate_c_pins>;
499 pinctrl-names = "default", "clk-gate";
501 bus-width = <4>;
502 cap-sd-highspeed;
503 max-frequency = <50000000>;
504 disable-wp;
506 cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>;
507 vmmc-supply = <&vddao_3v3>;
508 vqmmc-supply = <&vddao_3v3>;
514 pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_data_8b_pins>, <&emmc_ds_pins>;
515 pinctrl-1 = <&emmc_clk_gate_pins>;
516 pinctrl-names = "default", "clk-gate";
518 bus-width = <8>;
519 cap-mmc-highspeed;
520 mmc-ddr-1_8v;
521 mmc-hs200-1_8v;
522 max-frequency = <200000000>;
523 non-removable;
524 disable-wp;
526 mmc-pwrseq = <&emmc_pwrseq>;
527 vmmc-supply = <&vddao_3v3>;
528 vqmmc-supply = <&emmc_1v8>;
532 pinctrl-0 = <&tdm_a_dout0_pins>, <&tdm_a_fs_pins>, <&tdm_a_sclk_pins>;
533 pinctrl-names = "default";
536 assigned-clocks = <&clkc_audio AUD_CLKID_TDM_SCLK_PAD0>,
538 assigned-clock-parents = <&clkc_audio AUD_CLKID_MST_A_SCLK>,
540 assigned-clock-rates = <0>, <0>;
581 pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
582 pinctrl-names = "default";
583 uart-has-rtscts;
586 compatible = "brcm,bcm43438-bt";
587 interrupt-parent = <&gpio_intc>;
589 interrupt-names = "host-wakeup";
590 shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
591 max-speed = <2000000>;
593 clock-names = "lpo";
594 vbat-supply = <&vddao_3v3>;
595 vddio-supply = <&vddio_ao1v8>;
599 /* Exposed via the on-board USB to Serial FT232RL IC */
602 pinctrl-0 = <&uart_ao_a_pins>;
603 pinctrl-names = "default";
606 &usb {