Lines Matching +full:press +full:- +full:threshold +full:- +full:microvolt

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";
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",
275 assigned-clocks = <&clkc CLKID_HIFI_PLL>,
278 assigned-clock-parents = <0>, <0>, <0>;
279 assigned-clock-rates = <589824000>,
283 dai-link-0 {
284 sound-dai = <&frddr_a>;
287 dai-link-1 {
288 sound-dai = <&frddr_b>;
291 dai-link-2 {
292 sound-dai = <&frddr_c>;
295 dai-link-3 {
296 sound-dai = <&toddr_a>;
299 dai-link-4 {
300 sound-dai = <&toddr_b>;
303 dai-link-5 {
304 sound-dai = <&toddr_c>;
307 dai-link-6 {
308 sound-dai = <&tdmif_c>;
309 dai-format = "i2s";
310 dai-tdm-slot-tx-mask-2 = <1 1>;
311 dai-tdm-slot-rx-mask-1 = <1 1>;
312 mclk-fs = <256>;
314 codec-0 {
315 sound-dai = <&lineout>;
318 codec-1 {
319 sound-dai = <&speaker_amp1>;
322 codec-2 {
323 sound-dai = <&linein>;
328 dai-link-7 {
329 sound-dai = <&spdifout>;
332 sound-dai = <&spdif_dit>;
336 dai-link-8 {
337 sound-dai = <&spdifin>;
340 sound-dai = <&spdif_dir>;
344 dai-link-9 {
345 sound-dai = <&pdm>;
348 sound-dai = <&dmics>;
354 compatible = "pwm-clock";
355 #clock-cells = <0>;
356 clock-frequency = <32768>;
363 pinctrl-0 = <&eth_rgmii_y_pins>;
364 pinctrl-names = "default";
365 phy-handle = <&eth_phy0>;
366 phy-mode = "rgmii";
369 compatible = "snps,dwmac-mdio";
370 #address-cells = <1>;
371 #size-cells = <0>;
373 eth_phy0: ethernet-phy@0 {
376 interrupt-parent = <&gpio_intc>;
378 eee-broken-1000t;
397 pinctrl-0 = <&remote_input_ao_pins>;
398 pinctrl-names = "default";
403 pinctrl-0 = <&i2c1_z_pins>;
404 pinctrl-names = "default";
406 speaker_amp1: audio-codec@1b {
409 reset-gpios = <&gpio_ao GPIOAO_4 GPIO_ACTIVE_LOW>;
410 #sound-dai-cells = <0>;
411 AVDD-supply = <&vcc_3v3>;
412 DVDD-supply = <&vcc_3v3>;
413 PVDD_A-supply = <&main_12v>;
414 PVDD_B-supply = <&main_12v>;
415 PVDD_C-supply = <&main_12v>;
416 PVDD_D-supply = <&main_12v>;
417 sound-name-prefix = "SPK1";
423 pinctrl-0 = <&i2c_ao_sck_10_pins>, <&i2c_ao_sda_11_pins>;
424 pinctrl-names = "default";
426 gpio_speaker: gpio-controller@1f {
429 gpio-controller;
430 #gpio-cells = <2>;
431 vcc-supply = <&vddao_3v3>;
436 pinctrl-0 = <&pdm_dclk_a14_pins>, <&pdm_din0_pins>,
438 pinctrl-names = "default";
443 reset-gpios = <&gpio GPIOX_19 GPIO_ACTIVE_LOW>;
448 reset-gpios = <&gpio GPIOZ_10 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
454 pinctrl-0 = <&pwm_a_x20_pins>;
455 pinctrl-names = "default";
460 vref-supply = <&vddio_ao18>;
466 #address-cells = <1>;
467 #size-cells = <0>;
469 pinctrl-0 = <&sdio_pins>;
470 pinctrl-1 = <&sdio_clk_gate_pins>;
471 pinctrl-names = "default", "clk-gate";
473 bus-width = <4>;
474 cap-sd-highspeed;
475 sd-uhs-sdr104;
476 max-frequency = <200000000>;
477 non-removable;
478 disable-wp;
480 mmc-pwrseq = <&sdio_pwrseq>;
482 vmmc-supply = <&vddao_3v3>;
483 vqmmc-supply = <&vddio_boot>;
487 compatible = "brcm,bcm4329-fmac";
494 pinctrl-0 = <&emmc_pins>, <&emmc_ds_pins>;
495 pinctrl-1 = <&emmc_clk_gate_pins>;
496 pinctrl-names = "default", "clk-gate";
498 bus-width = <8>;
499 cap-mmc-highspeed;
500 max-frequency = <200000000>;
501 non-removable;
502 disable-wp;
503 mmc-ddr-1_8v;
504 mmc-hs200-1_8v;
506 mmc-pwrseq = <&emmc_pwrseq>;
508 vmmc-supply = <&vcc_3v3>;
509 vqmmc-supply = <&vddio_boot>;
513 pinctrl-0 = <&spdif_in_a19_pins>;
514 pinctrl-names = "default";
519 pinctrl-0 = <&spdif_out_a20_pins>;
520 pinctrl-names = "default";
525 pinctrl-0 = <&tdma_sclk_pins>, <&tdma_fs_pins>,
527 pinctrl-names = "default";
532 pinctrl-0 = <&tdmb_sclk_pins>, <&tdmb_fs_pins>,
534 pinctrl-names = "default";
539 pinctrl-0 = <&tdmc_sclk_pins>, <&tdmc_fs_pins>,
542 pinctrl-names = "default";
580 pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
581 pinctrl-names = "default";
582 uart-has-rtscts;
585 compatible = "brcm,bcm43438-bt";
586 shutdown-gpios = <&gpio GPIOX_21 GPIO_ACTIVE_HIGH>;
592 pinctrl-0 = <&uart_ao_a_pins>;
593 pinctrl-names = "default";
599 vbus-supply = <&usb_pwr>;