Lines Matching +full:tdm +full:- +full:data +full:- +full:delay
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 dio2133: 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>;
103 enable-active-high;
106 vcc_1v8: regulator-vcc_1v8 {
107 compatible = "regulator-fixed";
108 regulator-name = "VCC_1V8";
109 regulator-min-microvolt = <1800000>;
110 regulator-max-microvolt = <1800000>;
111 vin-supply = <&vcc_3v3>;
112 regulator-always-on;
115 vcc_3v3: regulator-vcc_3v3 {
116 compatible = "regulator-fixed";
117 regulator-name = "VCC_3V3";
118 regulator-min-microvolt = <3300000>;
119 regulator-max-microvolt = <3300000>;
120 vin-supply = <&vddao_3v3>;
121 regulator-always-on;
125 vddcpu_a: regulator-vddcpu-a {
129 compatible = "pwm-regulator";
131 regulator-name = "VDDCPU_A";
132 regulator-min-microvolt = <721000>;
133 regulator-max-microvolt = <1022000>;
135 pwm-supply = <&main_12v>;
138 pwm-dutycycle-range = <100 0>;
140 regulator-boot-on;
141 regulator-always-on;
144 vddcpu_b: regulator-vddcpu-b {
148 compatible = "pwm-regulator";
150 regulator-name = "VDDCPU_B";
151 regulator-min-microvolt = <721000>;
152 regulator-max-microvolt = <1022000>;
154 pwm-supply = <&main_12v>;
157 pwm-dutycycle-range = <100 0>;
159 regulator-boot-on;
160 regulator-always-on;
163 hub_5v: regulator-hub_5v {
164 compatible = "regulator-fixed";
165 regulator-name = "HUB_5V";
166 regulator-min-microvolt = <5000000>;
167 regulator-max-microvolt = <5000000>;
168 vin-supply = <&vcc_5v>;
172 enable-active-high;
175 usb_pwr_en: regulator-usb_pwr_en {
176 compatible = "regulator-fixed";
177 regulator-name = "USB_PWR_EN";
178 regulator-min-microvolt = <5000000>;
179 regulator-max-microvolt = <5000000>;
180 vin-supply = <&vcc_5v>;
184 enable-active-high;
187 vddao_1v8: regulator-vddao_1v8 {
188 compatible = "regulator-fixed";
189 regulator-name = "VDDAO_1V8";
190 regulator-min-microvolt = <1800000>;
191 regulator-max-microvolt = <1800000>;
192 vin-supply = <&vddao_3v3>;
193 regulator-always-on;
196 vddao_3v3: regulator-vddao_3v3 {
197 compatible = "regulator-fixed";
198 regulator-name = "VDDAO_3V3";
199 regulator-min-microvolt = <3300000>;
200 regulator-max-microvolt = <3300000>;
201 vin-supply = <&main_12v>;
202 regulator-always-on;
205 hdmi-connector {
206 compatible = "hdmi-connector";
211 remote-endpoint = <&hdmi_tx_tmds_out>;
217 compatible = "amlogic,axg-sound-card";
218 model = "ODROID-N2";
219 audio-widgets = "Line", "Lineout";
220 audio-aux-devs = <&tdmout_b>, <&tdmout_c>, <&tdmin_a>,
223 audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1",
256 assigned-clocks = <&clkc CLKID_MPLL2>,
259 assigned-clock-parents = <0>, <0>, <0>;
260 assigned-clock-rates = <294912000>,
265 dai-link-0 {
266 sound-dai = <&frddr_a>;
269 dai-link-1 {
270 sound-dai = <&frddr_b>;
273 dai-link-2 {
274 sound-dai = <&frddr_c>;
277 dai-link-3 {
278 sound-dai = <&toddr_a>;
281 dai-link-4 {
282 sound-dai = <&toddr_b>;
285 dai-link-5 {
286 sound-dai = <&toddr_c>;
290 dai-link-6 {
291 sound-dai = <&tdmif_b>;
292 dai-format = "i2s";
293 dai-tdm-slot-tx-mask-0 = <1 1>;
294 dai-tdm-slot-tx-mask-1 = <1 1>;
295 dai-tdm-slot-tx-mask-2 = <1 1>;
296 dai-tdm-slot-tx-mask-3 = <1 1>;
297 mclk-fs = <256>;
299 codec-0 {
300 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_B>;
303 codec-1 {
304 sound-dai = <&toacodec TOACODEC_IN_B>;
309 dai-link-7 {
310 sound-dai = <&tdmif_c>;
311 dai-format = "i2s";
312 dai-tdm-slot-tx-mask-0 = <1 1>;
313 mclk-fs = <256>;
315 codec-0 {
316 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_C>;
319 codec-1 {
320 sound-dai = <&toacodec TOACODEC_IN_C>;
325 dai-link-8 {
326 sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>;
329 sound-dai = <&hdmi_tx>;
334 dai-link-9 {
335 sound-dai = <&toacodec TOACODEC_OUT>;
338 sound-dai = <&acodec>;
345 AVDD-supply = <&vddao_1v8>;
354 pinctrl-0 = <&cec_ao_a_h_pins>;
355 pinctrl-names = "default";
357 hdmi-phandle = <&hdmi_tx>;
361 pinctrl-0 = <&cec_ao_b_h_pins>;
362 pinctrl-names = "default";
364 hdmi-phandle = <&hdmi_tx>;
372 cpu-supply = <&vddcpu_b>;
373 operating-points-v2 = <&cpu_opp_table_0>;
375 clock-latency = <50000>;
379 cpu-supply = <&vddcpu_b>;
380 operating-points-v2 = <&cpu_opp_table_0>;
382 clock-latency = <50000>;
386 cpu-supply = <&vddcpu_a>;
387 operating-points-v2 = <&cpub_opp_table_1>;
389 clock-latency = <50000>;
393 cpu-supply = <&vddcpu_a>;
394 operating-points-v2 = <&cpub_opp_table_1>;
396 clock-latency = <50000>;
400 cpu-supply = <&vddcpu_a>;
401 operating-points-v2 = <&cpub_opp_table_1>;
403 clock-latency = <50000>;
407 cpu-supply = <&vddcpu_a>;
408 operating-points-v2 = <&cpub_opp_table_1>;
410 clock-latency = <50000>;
414 external_phy: ethernet-phy@0 {
417 max-speed = <1000>;
419 reset-assert-us = <10000>;
420 reset-deassert-us = <80000>;
421 reset-gpios = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
423 interrupt-parent = <&gpio_intc>;
430 pinctrl-0 = <ð_pins>, <ð_rgmii_pins>;
431 pinctrl-names = "default";
433 phy-mode = "rgmii";
434 phy-handle = <&external_phy>;
435 amlogic,tx-delay-ns = <2>;
451 gpio-line-names =
497 * WARNING: The USB Hub on the Odroid-N2 needs a reset signal
502 hog-0 {
503 gpio-hog;
505 output-high;
506 line-name = "usb-hub-reset";
512 pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>;
513 pinctrl-names = "default";
514 hdmi-supply = <&vcc_5v>;
519 remote-endpoint = <&hdmi_connector_in>;
525 pinctrl-0 = <&remote_input_ao_pins>;
526 pinctrl-names = "default";
527 linux,rc-map-name = "rc-odroid";
532 pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>;
533 pinctrl-names = "default";
538 wakeup-source;
543 pinctrl-0 = <&pwm_a_e_pins>;
544 pinctrl-names = "default";
546 clock-names = "clkin0";
551 pinctrl-0 = <&pwm_ao_d_e_pins>;
552 pinctrl-names = "default";
554 clock-names = "clkin1";
560 vref-supply = <&vddao_1v8>;
566 pinctrl-0 = <&sdcard_c_pins>;
567 pinctrl-1 = <&sdcard_clk_gate_c_pins>;
568 pinctrl-names = "default", "clk-gate";
570 bus-width = <4>;
571 cap-sd-highspeed;
572 max-frequency = <50000000>;
573 disable-wp;
575 cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>;
576 vmmc-supply = <&tflash_vdd>;
577 vqmmc-supply = <&tf_io>;
584 pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_data_8b_pins>, <&emmc_ds_pins>;
585 pinctrl-1 = <&emmc_clk_gate_pins>;
586 pinctrl-names = "default", "clk-gate";
588 bus-width = <8>;
589 cap-mmc-highspeed;
590 mmc-ddr-1_8v;
591 mmc-hs200-1_8v;
592 max-frequency = <200000000>;
593 disable-wp;
595 mmc-pwrseq = <&emmc_pwrseq>;
596 vmmc-supply = <&vcc_3v3>;
597 vqmmc-supply = <&flash_1v8>;
602 * and eMMC Data 4 to 7 pins.
603 * Replace emmc_data_8b_pins to emmc_data_4b_pins from sd_emmc_c pinctrl-0,
604 * and change bus-width to 4 then spifc can be enabled.
609 pinctrl-0 = <&nor_pins>;
610 pinctrl-names = "default";
613 #address-cells = <1>;
614 #size-cells = <1>;
615 compatible = "mxicy,mx25u6435f", "jedec,spi-nor";
617 spi-max-frequency = <104000000>;
675 pinctrl-0 = <&uart_ao_a_pins>;
676 pinctrl-names = "default";
681 vbus-supply = <&usb_pwr_en>;
685 phy-supply = <&vcc_5v>;
690 phy-supply = <&hub_5v>;