Lines Matching +full:tdm +full:- +full:data +full:- +full:delay

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/gpio/meson-g12a-gpio.h>
11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
22 stdout-path = "serial0:115200n8";
30 adc-keys {
31 compatible = "adc-keys";
32 io-channels = <&saradc 2>;
33 io-channel-names = "buttons";
34 keyup-threshold-microvolt = <1710000>;
36 button-function {
39 press-threshold-microvolt = <10000>;
44 compatible = "gpio-leds";
46 led-white {
50 linux,default-trigger = "heartbeat";
53 led-red {
60 emmc_pwrseq: emmc-pwrseq {
61 compatible = "mmc-pwrseq-emmc";
62 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>;
65 gpio-keys-polled {
66 compatible = "gpio-keys-polled";
67 poll-interval = <100>;
69 power-button {
76 sdio_pwrseq: sdio-pwrseq {
77 compatible = "mmc-pwrseq-simple";
78 reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
80 clock-names = "ext_clock";
83 dc_in: regulator-dc_in {
84 compatible = "regulator-fixed";
85 regulator-name = "DC_IN";
86 regulator-min-microvolt = <5000000>;
87 regulator-max-microvolt = <5000000>;
88 regulator-always-on;
91 vcc_5v: regulator-vcc_5v {
92 compatible = "regulator-fixed";
93 regulator-name = "VCC_5V";
94 regulator-min-microvolt = <5000000>;
95 regulator-max-microvolt = <5000000>;
96 vin-supply = <&dc_in>;
99 enable-active-high;
102 vcc_1v8: regulator-vcc_1v8 {
103 compatible = "regulator-fixed";
104 regulator-name = "VCC_1V8";
105 regulator-min-microvolt = <1800000>;
106 regulator-max-microvolt = <1800000>;
107 vin-supply = <&vcc_3v3>;
108 regulator-always-on;
111 vcc_3v3: regulator-vcc_3v3 {
112 compatible = "regulator-fixed";
113 regulator-name = "VCC_3V3";
114 regulator-min-microvolt = <3300000>;
115 regulator-max-microvolt = <3300000>;
116 vin-supply = <&vsys_3v3>;
117 regulator-always-on;
121 vddao_1v8: regulator-vddao_1v8 {
122 compatible = "regulator-fixed";
123 regulator-name = "VDDIO_AO1V8";
124 regulator-min-microvolt = <1800000>;
125 regulator-max-microvolt = <1800000>;
126 vin-supply = <&vsys_3v3>;
127 regulator-always-on;
130 emmc_1v8: regulator-emmc_1v8 {
131 compatible = "regulator-fixed";
132 regulator-name = "EMMC_AO1V8";
133 regulator-min-microvolt = <1800000>;
134 regulator-max-microvolt = <1800000>;
135 vin-supply = <&vcc_3v3>;
136 regulator-always-on;
139 vsys_3v3: regulator-vsys_3v3 {
140 compatible = "regulator-fixed";
141 regulator-name = "VSYS_3V3";
142 regulator-min-microvolt = <3300000>;
143 regulator-max-microvolt = <3300000>;
144 vin-supply = <&dc_in>;
145 regulator-always-on;
148 usb_pwr: regulator-usb_pwr {
149 compatible = "regulator-fixed";
150 regulator-name = "USB_PWR";
151 regulator-min-microvolt = <5000000>;
152 regulator-max-microvolt = <5000000>;
153 vin-supply = <&vcc_5v>;
156 enable-active-high;
159 hdmi-connector {
160 compatible = "hdmi-connector";
165 remote-endpoint = <&hdmi_tx_tmds_out>;
172 compatible = "amlogic,axg-sound-card";
173 model = "KHADAS-VIM3";
174 audio-aux-devs = <&tdmin_a>, <&tdmout_a>;
175 audio-routing = "TDMOUT_A IN 0", "FRDDR_A OUT 0",
185 assigned-clocks = <&clkc CLKID_MPLL2>,
188 assigned-clock-parents = <0>, <0>, <0>;
189 assigned-clock-rates = <294912000>,
194 dai-link-0 {
195 sound-dai = <&frddr_a>;
198 dai-link-1 {
199 sound-dai = <&frddr_b>;
202 dai-link-2 {
203 sound-dai = <&frddr_c>;
206 dai-link-3 {
207 sound-dai = <&toddr_a>;
210 dai-link-4 {
211 sound-dai = <&toddr_b>;
214 dai-link-5 {
215 sound-dai = <&toddr_c>;
219 dai-link-6 {
220 sound-dai = <&tdmif_a>;
221 dai-format = "i2s";
222 dai-tdm-slot-tx-mask-0 = <1 1>;
223 dai-tdm-slot-tx-mask-1 = <1 1>;
224 dai-tdm-slot-tx-mask-2 = <1 1>;
225 dai-tdm-slot-tx-mask-3 = <1 1>;
226 mclk-fs = <256>;
229 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_A>;
234 dai-link-7 {
235 sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>;
238 sound-dai = <&hdmi_tx>;
244 compatible = "pwm-clock";
245 #clock-cells = <0>;
246 clock-frequency = <32768>;
260 pinctrl-0 = <&cec_ao_a_h_pins>;
261 pinctrl-names = "default";
263 hdmi-phandle = <&hdmi_tx>;
267 pinctrl-0 = <&cec_ao_b_h_pins>;
268 pinctrl-names = "default";
270 hdmi-phandle = <&hdmi_tx>;
275 cpu_active: cpu-active {
282 cooling-maps {
285 cooling-device = <&khadas_mcu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
291 external_phy: ethernet-phy@0 {
294 max-speed = <1000>;
296 interrupt-parent = <&gpio_intc>;
303 pinctrl-0 = <&eth_pins>, <&eth_rgmii_pins>;
304 pinctrl-names = "default";
306 phy-mode = "rgmii";
307 phy-handle = <&external_phy>;
308 amlogic,tx-delay-ns = <2>;
325 pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>;
326 pinctrl-names = "default";
327 hdmi-supply = <&vcc_5v>;
332 remote-endpoint = <&hdmi_connector_in>;
338 pinctrl-0 = <&i2c_ao_sck_pins>, <&i2c_ao_sda_pins>;
339 pinctrl-names = "default";
341 khadas_mcu: system-controller@18 {
344 #cooling-cells = <2>;
347 gpio_expander: gpio-controller@20 {
350 vcc-supply = <&vcc_3v3>;
351 gpio-controller;
352 #gpio-cells = <2>;
358 #clock-cells = <0>;
364 pinctrl-0 = <&remote_input_ao_pins>;
365 pinctrl-names = "default";
366 linux,rc-map-name = "rc-khadas";
370 reset-gpios = <&gpio GPIOA_8 GPIO_ACTIVE_LOW>;
375 pinctrl-0 = <&pwm_e_pins>;
376 pinctrl-names = "default";
381 vref-supply = <&vddao_1v8>;
387 pinctrl-0 = <&sdio_pins>;
388 pinctrl-1 = <&sdio_clk_gate_pins>;
389 pinctrl-names = "default", "clk-gate";
390 #address-cells = <1>;
391 #size-cells = <0>;
393 bus-width = <4>;
394 cap-sd-highspeed;
395 max-frequency = <100000000>;
397 non-removable;
398 disable-wp;
401 keep-power-in-suspend;
403 mmc-pwrseq = <&sdio_pwrseq>;
405 vmmc-supply = <&vsys_3v3>;
406 vqmmc-supply = <&vddao_1v8>;
410 compatible = "brcm,bcm4329-fmac";
417 pinctrl-0 = <&sdcard_c_pins>;
418 pinctrl-1 = <&sdcard_clk_gate_c_pins>;
419 pinctrl-names = "default", "clk-gate";
421 bus-width = <4>;
422 cap-sd-highspeed;
423 max-frequency = <50000000>;
424 disable-wp;
426 cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>;
427 vmmc-supply = <&vsys_3v3>;
428 vqmmc-supply = <&vsys_3v3>;
434 pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_data_8b_pins>, <&emmc_ds_pins>;
435 pinctrl-1 = <&emmc_clk_gate_pins>;
436 pinctrl-names = "default", "clk-gate";
438 bus-width = <8>;
439 cap-mmc-highspeed;
440 mmc-ddr-1_8v;
441 mmc-hs200-1_8v;
442 max-frequency = <200000000>;
443 disable-wp;
445 mmc-pwrseq = <&emmc_pwrseq>;
446 vmmc-supply = <&vcc_3v3>;
447 vqmmc-supply = <&emmc_1v8>;
452 * and eMMC Data 4 to 7 pins.
453 * Replace emmc_data_8b_pins to emmc_data_4b_pins from sd_emmc_c pinctrl-0,
454 * and change bus-width to 4 then spifc can be enabled.
458 pinctrl-0 = <&nor_pins>;
459 pinctrl-names = "default";
462 #address-cells = <1>;
463 #size-cells = <1>;
464 compatible = "winbond,w25q128fw", "jedec,spi-nor";
466 spi-max-frequency = <104000000>;
500 pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
501 pinctrl-names = "default";
502 uart-has-rtscts;
505 compatible = "brcm,bcm43438-bt";
506 shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
507 max-speed = <2000000>;
509 clock-names = "lpo";
515 pinctrl-0 = <&uart_ao_a_pins>;
516 pinctrl-names = "default";
520 phy-supply = <&dc_in>;
524 phy-supply = <&usb_pwr>;
528 phy-supply = <&usb_pwr>;