Lines Matching +full:axg +full:- +full:pdm
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "meson-axg.dtsi"
9 #include <dt-bindings/input/input.h>
12 compatible = "amlogic,s400", "amlogic,a113d", "amlogic,meson-axg";
13 model = "Amlogic Meson AXG S400 Development Board";
16 compatible = "adc-keys";
17 io-channels = <&saradc 0>;
18 io-channel-names = "buttons";
19 keyup-threshold-microvolt = <1800000>;
21 button-next {
24 press-threshold-microvolt = <1116000>; /* 62% */
27 button-prev {
30 press-threshold-microvolt = <900000>; /* 50% */
33 button-wifi {
36 press-threshold-microvolt = <684000>; /* 38% */
39 button-up {
42 press-threshold-microvolt = <468000>; /* 26% */
45 button-down {
48 press-threshold-microvolt = <252000>; /* 14% */
51 button-voice {
54 press-threshold-microvolt = <0>; /* 0% */
63 linein: audio-codec-0 {
64 #sound-dai-cells = <0>;
66 VDDA-supply = <&vcc_3v3>;
67 VDDP-supply = <&vcc_3v3>;
68 VDDD-supply = <&vcc_3v3>;
69 sound-name-prefix = "Linein";
72 lineout: audio-codec-1 {
73 #sound-dai-cells = <0>;
75 VDD-supply = <&vcc_3v3>;
76 PVDD-supply = <&vcc_5v>;
77 sound-name-prefix = "Lineout";
80 spdif_dit: audio-codec-2 {
81 #sound-dai-cells = <0>;
82 compatible = "linux,spdif-dit";
83 sound-name-prefix = "DIT";
86 dmics: audio-codec-3 {
87 #sound-dai-cells = <0>;
88 compatible = "dmic-codec";
89 num-channels = <7>;
90 wakeup-delay-ms = <50>;
91 sound-name-prefix = "MIC";
94 spdif_dir: audio-codec-4 {
95 #sound-dai-cells = <0>;
96 compatible = "linux,spdif-dir";
97 sound-name-prefix = "DIR";
100 emmc_pwrseq: emmc-pwrseq {
101 compatible = "mmc-pwrseq-emmc";
102 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
106 stdout-path = "serial0:115200n8";
114 main_12v: regulator-main_12v {
115 compatible = "regulator-fixed";
116 regulator-name = "12V";
117 regulator-min-microvolt = <12000000>;
118 regulator-max-microvolt = <12000000>;
119 regulator-always-on;
122 vcc_3v3: regulator-vcc_3v3 {
123 compatible = "regulator-fixed";
124 regulator-name = "VCC_3V3";
125 regulator-min-microvolt = <3300000>;
126 regulator-max-microvolt = <3300000>;
127 vin-supply = <&vddao_3v3>;
128 regulator-always-on;
131 vcc_5v: regulator-vcc_5v {
132 compatible = "regulator-fixed";
133 regulator-name = "VCC5V";
134 regulator-min-microvolt = <5000000>;
135 regulator-max-microvolt = <5000000>;
136 vin-supply = <&main_12v>;
139 enable-active-high;
142 vddao_3v3: regulator-vddao_3v3 {
143 compatible = "regulator-fixed";
144 regulator-name = "VDDAO_3V3";
145 regulator-min-microvolt = <3300000>;
146 regulator-max-microvolt = <3300000>;
147 vin-supply = <&main_12v>;
148 regulator-always-on;
151 vddio_ao18: regulator-vddio_ao18 {
152 compatible = "regulator-fixed";
153 regulator-name = "VDDIO_AO18";
154 regulator-min-microvolt = <1800000>;
155 regulator-max-microvolt = <1800000>;
156 vin-supply = <&vddao_3v3>;
157 regulator-always-on;
160 vddio_boot: regulator-vddio_boot {
161 compatible = "regulator-fixed";
162 regulator-name = "VDDIO_BOOT";
163 regulator-min-microvolt = <1800000>;
164 regulator-max-microvolt = <1800000>;
165 vin-supply = <&vddao_3v3>;
166 regulator-always-on;
169 usb_pwr: regulator-usb_pwr {
170 compatible = "regulator-fixed";
171 regulator-name = "USB_PWR";
172 regulator-min-microvolt = <5000000>;
173 regulator-max-microvolt = <5000000>;
174 vin-supply = <&vcc_5v>;
177 enable-active-high;
180 sdio_pwrseq: sdio-pwrseq {
181 compatible = "mmc-pwrseq-simple";
182 reset-gpios = <&gpio GPIOX_7 GPIO_ACTIVE_LOW>;
184 clock-names = "ext_clock";
187 speaker-leds {
188 compatible = "gpio-leds";
222 compatible = "amlogic,axg-sound-card";
223 model = "AXG-S400";
224 audio-aux-devs = <&tdmin_a>, <&tdmin_b>, <&tdmin_c>,
226 audio-widgets = "Line", "Lineout",
230 audio-routing = "TDMOUT_C IN 0", "FRDDR_A OUT 2",
257 "TODDR_A IN 4", "PDM Capture",
258 "TODDR_B IN 4", "PDM Capture",
259 "TODDR_C IN 4", "PDM Capture",
271 assigned-clocks = <&clkc CLKID_HIFI_PLL>,
274 assigned-clock-parents = <0>, <0>, <0>;
275 assigned-clock-rates = <589824000>,
279 dai-link-0 {
280 sound-dai = <&frddr_a>;
283 dai-link-1 {
284 sound-dai = <&frddr_b>;
287 dai-link-2 {
288 sound-dai = <&frddr_c>;
291 dai-link-3 {
292 sound-dai = <&toddr_a>;
295 dai-link-4 {
296 sound-dai = <&toddr_b>;
299 dai-link-5 {
300 sound-dai = <&toddr_c>;
303 dai-link-6 {
304 sound-dai = <&tdmif_c>;
305 dai-format = "i2s";
306 dai-tdm-slot-tx-mask-2 = <1 1>;
307 dai-tdm-slot-rx-mask-1 = <1 1>;
308 mclk-fs = <256>;
310 codec-0 {
311 sound-dai = <&lineout>;
314 codec-1 {
315 sound-dai = <&speaker_amp1>;
318 codec-2 {
319 sound-dai = <&linein>;
324 dai-link-7 {
325 sound-dai = <&spdifout>;
328 sound-dai = <&spdif_dit>;
332 dai-link-8 {
333 sound-dai = <&spdifin>;
336 sound-dai = <&spdif_dir>;
340 dai-link-9 {
341 sound-dai = <&pdm>;
344 sound-dai = <&dmics>;
350 compatible = "pwm-clock";
351 #clock-cells = <0>;
352 clock-frequency = <32768>;
359 pinctrl-0 = <ð_rgmii_y_pins>;
360 pinctrl-names = "default";
361 phy-handle = <ð_phy0>;
362 phy-mode = "rgmii";
365 compatible = "snps,dwmac-mdio";
366 #address-cells = <1>;
367 #size-cells = <0>;
369 eth_phy0: ethernet-phy@0 {
372 interrupt-parent = <&gpio_intc>;
374 eee-broken-1000t;
393 pinctrl-0 = <&remote_input_ao_pins>;
394 pinctrl-names = "default";
399 pinctrl-0 = <&i2c1_z_pins>;
400 pinctrl-names = "default";
402 speaker_amp1: audio-codec@1b {
405 reset-gpios = <&gpio_ao GPIOAO_4 GPIO_ACTIVE_LOW>;
406 #sound-dai-cells = <0>;
407 AVDD-supply = <&vcc_3v3>;
408 DVDD-supply = <&vcc_3v3>;
409 PVDD_A-supply = <&main_12v>;
410 PVDD_B-supply = <&main_12v>;
411 PVDD_C-supply = <&main_12v>;
412 PVDD_D-supply = <&main_12v>;
413 sound-name-prefix = "SPK1";
419 pinctrl-0 = <&i2c_ao_sck_10_pins>, <&i2c_ao_sda_11_pins>;
420 pinctrl-names = "default";
422 gpio_speaker: gpio-controller@1f {
425 gpio-controller;
426 #gpio-cells = <2>;
427 vcc-supply = <&vddao_3v3>;
431 &pdm {
432 pinctrl-0 = <&pdm_dclk_a14_pins>, <&pdm_din0_pins>,
434 pinctrl-names = "default";
439 reset-gpios = <&gpio GPIOX_19 GPIO_ACTIVE_LOW>;
444 reset-gpios = <&gpio GPIOZ_10 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
450 pinctrl-0 = <&pwm_a_x20_pins>;
451 pinctrl-names = "default";
456 vref-supply = <&vddio_ao18>;
462 #address-cells = <1>;
463 #size-cells = <0>;
465 pinctrl-0 = <&sdio_pins>;
466 pinctrl-1 = <&sdio_clk_gate_pins>;
467 pinctrl-names = "default", "clk-gate";
469 bus-width = <4>;
470 cap-sd-highspeed;
471 sd-uhs-sdr104;
472 max-frequency = <200000000>;
473 non-removable;
474 disable-wp;
476 mmc-pwrseq = <&sdio_pwrseq>;
478 vmmc-supply = <&vddao_3v3>;
479 vqmmc-supply = <&vddio_boot>;
483 compatible = "brcm,bcm4329-fmac";
490 pinctrl-0 = <&emmc_pins>, <&emmc_ds_pins>;
491 pinctrl-1 = <&emmc_clk_gate_pins>;
492 pinctrl-names = "default", "clk-gate";
494 bus-width = <8>;
495 cap-mmc-highspeed;
496 max-frequency = <200000000>;
497 non-removable;
498 disable-wp;
499 mmc-ddr-1_8v;
500 mmc-hs200-1_8v;
502 mmc-pwrseq = <&emmc_pwrseq>;
504 vmmc-supply = <&vcc_3v3>;
505 vqmmc-supply = <&vddio_boot>;
509 pinctrl-0 = <&spdif_in_a19_pins>;
510 pinctrl-names = "default";
515 pinctrl-0 = <&spdif_out_a20_pins>;
516 pinctrl-names = "default";
521 pinctrl-0 = <&tdma_sclk_pins>, <&tdma_fs_pins>,
523 pinctrl-names = "default";
528 pinctrl-0 = <&tdmb_sclk_pins>, <&tdmb_fs_pins>,
530 pinctrl-names = "default";
535 pinctrl-0 = <&tdmc_sclk_pins>, <&tdmc_fs_pins>,
538 pinctrl-names = "default";
576 pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
577 pinctrl-names = "default";
578 uart-has-rtscts;
581 compatible = "brcm,bcm43438-bt";
582 shutdown-gpios = <&gpio GPIOX_21 GPIO_ACTIVE_HIGH>;
588 pinctrl-0 = <&uart_ao_a_pins>;
589 pinctrl-names = "default";
595 vbus-supply = <&usb_pwr>;