Lines Matching +full:wakeup +full:- +full:latency +full:- +full:us
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/gpio/meson-g12a-gpio.h>
9 #include <dt-bindings/sound/meson-g12a-toacodec.h>
10 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
20 dioo2133: audio-amplifier-0 {
21 compatible = "simple-audio-amplifier";
22 enable-gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>;
23 VCC-supply = <&vcc_5v>;
24 sound-name-prefix = "U19";
29 stdout-path = "serial0:115200n8";
37 emmc_pwrseq: emmc-pwrseq {
38 compatible = "mmc-pwrseq-emmc";
39 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>;
43 compatible = "gpio-leds";
45 led-blue {
48 linux,default-trigger = "heartbeat";
52 tflash_vdd: regulator-tflash_vdd {
53 compatible = "regulator-fixed";
55 regulator-name = "TFLASH_VDD";
56 regulator-min-microvolt = <3300000>;
57 regulator-max-microvolt = <3300000>;
60 enable-active-high;
61 regulator-always-on;
64 tf_io: gpio-regulator-tf_io {
65 compatible = "regulator-gpio";
67 regulator-name = "TF_IO";
68 regulator-min-microvolt = <1800000>;
69 regulator-max-microvolt = <3300000>;
72 gpios-states = <0>;
78 flash_1v8: regulator-flash_1v8 {
79 compatible = "regulator-fixed";
80 regulator-name = "FLASH_1V8";
81 regulator-min-microvolt = <1800000>;
82 regulator-max-microvolt = <1800000>;
83 vin-supply = <&vcc_3v3>;
84 regulator-always-on;
87 main_12v: regulator-main_12v {
88 compatible = "regulator-fixed";
89 regulator-name = "12V";
90 regulator-min-microvolt = <12000000>;
91 regulator-max-microvolt = <12000000>;
92 regulator-always-on;
95 vcc_5v: regulator-vcc_5v {
96 compatible = "regulator-fixed";
97 regulator-name = "5V";
98 regulator-min-microvolt = <5000000>;
99 regulator-max-microvolt = <5000000>;
100 regulator-always-on;
101 vin-supply = <&main_12v>;
104 vcc_1v8: regulator-vcc_1v8 {
105 compatible = "regulator-fixed";
106 regulator-name = "VCC_1V8";
107 regulator-min-microvolt = <1800000>;
108 regulator-max-microvolt = <1800000>;
109 vin-supply = <&vcc_3v3>;
110 regulator-always-on;
113 vcc_3v3: regulator-vcc_3v3 {
114 compatible = "regulator-fixed";
115 regulator-name = "VCC_3V3";
116 regulator-min-microvolt = <3300000>;
117 regulator-max-microvolt = <3300000>;
118 vin-supply = <&vddao_3v3>;
119 regulator-always-on;
123 vddcpu_a: regulator-vddcpu-a {
127 compatible = "pwm-regulator";
129 regulator-name = "VDDCPU_A";
130 regulator-min-microvolt = <721000>;
131 regulator-max-microvolt = <1022000>;
133 vin-supply = <&main_12v>;
136 pwm-dutycycle-range = <100 0>;
138 regulator-boot-on;
139 regulator-always-on;
142 vddcpu_b: regulator-vddcpu-b {
146 compatible = "pwm-regulator";
148 regulator-name = "VDDCPU_B";
149 regulator-min-microvolt = <721000>;
150 regulator-max-microvolt = <1022000>;
152 vin-supply = <&main_12v>;
155 pwm-dutycycle-range = <100 0>;
157 regulator-boot-on;
158 regulator-always-on;
161 hub_5v: regulator-hub_5v {
162 compatible = "regulator-fixed";
163 regulator-name = "HUB_5V";
164 regulator-min-microvolt = <5000000>;
165 regulator-max-microvolt = <5000000>;
166 vin-supply = <&vcc_5v>;
170 enable-active-high;
173 usb_pwr_en: regulator-usb_pwr_en {
174 compatible = "regulator-fixed";
175 regulator-name = "USB_PWR_EN";
176 regulator-min-microvolt = <5000000>;
177 regulator-max-microvolt = <5000000>;
178 vin-supply = <&vcc_5v>;
182 enable-active-high;
185 vddao_1v8: regulator-vddao_1v8 {
186 compatible = "regulator-fixed";
187 regulator-name = "VDDAO_1V8";
188 regulator-min-microvolt = <1800000>;
189 regulator-max-microvolt = <1800000>;
190 vin-supply = <&vddao_3v3>;
191 regulator-always-on;
194 vddao_3v3: regulator-vddao_3v3 {
195 compatible = "regulator-fixed";
196 regulator-name = "VDDAO_3V3";
197 regulator-min-microvolt = <3300000>;
198 regulator-max-microvolt = <3300000>;
199 vin-supply = <&main_12v>;
200 regulator-always-on;
203 hdmi-connector {
204 compatible = "hdmi-connector";
209 remote-endpoint = <&hdmi_tx_tmds_out>;
215 compatible = "amlogic,axg-sound-card";
216 model = "ODROID-N2";
217 audio-widgets = "Line", "Lineout";
218 audio-aux-devs = <&tdmout_b>, <&tdmout_c>, <&tdmin_a>,
221 audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1",
254 assigned-clocks = <&clkc CLKID_MPLL2>,
257 assigned-clock-parents = <0>, <0>, <0>;
258 assigned-clock-rates = <294912000>,
263 dai-link-0 {
264 sound-dai = <&frddr_a>;
267 dai-link-1 {
268 sound-dai = <&frddr_b>;
271 dai-link-2 {
272 sound-dai = <&frddr_c>;
275 dai-link-3 {
276 sound-dai = <&toddr_a>;
279 dai-link-4 {
280 sound-dai = <&toddr_b>;
283 dai-link-5 {
284 sound-dai = <&toddr_c>;
288 dai-link-6 {
289 sound-dai = <&tdmif_b>;
290 dai-format = "i2s";
291 dai-tdm-slot-tx-mask-0 = <1 1>;
292 dai-tdm-slot-tx-mask-1 = <1 1>;
293 dai-tdm-slot-tx-mask-2 = <1 1>;
294 dai-tdm-slot-tx-mask-3 = <1 1>;
295 mclk-fs = <256>;
297 codec-0 {
298 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_B>;
301 codec-1 {
302 sound-dai = <&toacodec TOACODEC_IN_B>;
307 dai-link-7 {
308 sound-dai = <&tdmif_c>;
309 dai-format = "i2s";
310 dai-tdm-slot-tx-mask-0 = <1 1>;
311 mclk-fs = <256>;
313 codec-0 {
314 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_C>;
317 codec-1 {
318 sound-dai = <&toacodec TOACODEC_IN_C>;
323 dai-link-8 {
324 sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>;
327 sound-dai = <&hdmi_tx>;
332 dai-link-9 {
333 sound-dai = <&toacodec TOACODEC_OUT>;
336 sound-dai = <&acodec>;
343 AVDD-supply = <&vddao_1v8>;
352 pinctrl-0 = <&cec_ao_a_h_pins>;
353 pinctrl-names = "default";
355 hdmi-phandle = <&hdmi_tx>;
359 pinctrl-0 = <&cec_ao_b_h_pins>;
360 pinctrl-names = "default";
362 hdmi-phandle = <&hdmi_tx>;
370 cpu-supply = <&vddcpu_b>;
371 operating-points-v2 = <&cpu_opp_table_0>;
373 clock-latency = <50000>;
377 cpu-supply = <&vddcpu_b>;
378 operating-points-v2 = <&cpu_opp_table_0>;
380 clock-latency = <50000>;
384 cpu-supply = <&vddcpu_a>;
385 operating-points-v2 = <&cpub_opp_table_1>;
387 clock-latency = <50000>;
391 cpu-supply = <&vddcpu_a>;
392 operating-points-v2 = <&cpub_opp_table_1>;
394 clock-latency = <50000>;
398 cpu-supply = <&vddcpu_a>;
399 operating-points-v2 = <&cpub_opp_table_1>;
401 clock-latency = <50000>;
405 cpu-supply = <&vddcpu_a>;
406 operating-points-v2 = <&cpub_opp_table_1>;
408 clock-latency = <50000>;
412 external_phy: ethernet-phy@0 {
415 max-speed = <1000>;
417 reset-assert-us = <10000>;
418 reset-deassert-us = <80000>;
419 reset-gpios = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
421 interrupt-parent = <&gpio_intc>;
428 pinctrl-0 = <ð_pins>, <ð_rgmii_pins>;
429 pinctrl-names = "default";
431 phy-mode = "rgmii";
432 phy-handle = <&external_phy>;
433 amlogic,tx-delay-ns = <2>;
449 gpio-line-names =
495 * WARNING: The USB Hub on the Odroid-N2 needs a reset signal
500 hog-0 {
501 gpio-hog;
503 output-high;
504 line-name = "usb-hub-reset";
510 pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>;
511 pinctrl-names = "default";
512 hdmi-supply = <&vcc_5v>;
517 remote-endpoint = <&hdmi_connector_in>;
523 pinctrl-0 = <&remote_input_ao_pins>;
524 pinctrl-names = "default";
525 linux,rc-map-name = "rc-odroid";
530 pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>;
531 pinctrl-names = "default";
536 wakeup-source;
541 pinctrl-0 = <&pwm_a_e_pins>;
542 pinctrl-names = "default";
544 clock-names = "clkin0";
549 pinctrl-0 = <&pwm_ao_d_e_pins>;
550 pinctrl-names = "default";
552 clock-names = "clkin1";
558 vref-supply = <&vddao_1v8>;
564 pinctrl-0 = <&sdcard_c_pins>;
565 pinctrl-1 = <&sdcard_clk_gate_c_pins>;
566 pinctrl-names = "default", "clk-gate";
568 bus-width = <4>;
569 cap-sd-highspeed;
570 max-frequency = <50000000>;
571 disable-wp;
573 cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>;
574 vmmc-supply = <&tflash_vdd>;
575 vqmmc-supply = <&tf_io>;
582 pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_data_8b_pins>, <&emmc_ds_pins>;
583 pinctrl-1 = <&emmc_clk_gate_pins>;
584 pinctrl-names = "default", "clk-gate";
586 bus-width = <8>;
587 cap-mmc-highspeed;
588 mmc-ddr-1_8v;
589 mmc-hs200-1_8v;
590 max-frequency = <200000000>;
591 disable-wp;
593 mmc-pwrseq = <&emmc_pwrseq>;
594 vmmc-supply = <&vcc_3v3>;
595 vqmmc-supply = <&flash_1v8>;
601 * Replace emmc_data_8b_pins to emmc_data_4b_pins from sd_emmc_c pinctrl-0,
602 * and change bus-width to 4 then spifc can be enabled.
607 pinctrl-0 = <&nor_pins>;
608 pinctrl-names = "default";
610 mx25u64: spi-flash@0 {
611 #address-cells = <1>;
612 #size-cells = <1>;
613 compatible = "mxicy,mx25u6435f", "jedec,spi-nor";
615 spi-max-frequency = <104000000>;
673 pinctrl-0 = <&uart_ao_a_pins>;
674 pinctrl-names = "default";
679 vbus-supply = <&usb_pwr_en>;
683 phy-supply = <&vcc_5v>;
688 phy-supply = <&hub_5v>;