Lines Matching +full:meson +full:- +full:g12a +full:- +full:usb

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "meson-g12a.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/gpio/meson-g12a-gpio.h>
11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
14 compatible = "amediatech,x96-max", "amlogic,g12a";
22 spdif_dit: audio-codec-1 {
23 #sound-dai-cells = <0>;
24 compatible = "linux,spdif-dit";
25 sound-name-prefix = "DIT";
29 stdout-path = "serial0:115200n8";
36 cvbs-connector {
37 compatible = "composite-video-connector";
41 remote-endpoint = <&cvbs_vdac_out>;
46 hdmi-connector {
47 compatible = "hdmi-connector";
52 remote-endpoint = <&hdmi_tx_tmds_out>;
57 emmc_pwrseq: emmc-pwrseq {
58 compatible = "mmc-pwrseq-emmc";
59 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>;
62 sdio_pwrseq: sdio-pwrseq {
63 compatible = "mmc-pwrseq-simple";
64 reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
66 clock-names = "ext_clock";
69 flash_1v8: regulator-flash-1v8 {
70 compatible = "regulator-fixed";
71 regulator-name = "FLASH_1V8";
72 regulator-min-microvolt = <1800000>;
73 regulator-max-microvolt = <1800000>;
74 vin-supply = <&vcc_3v3>;
75 regulator-always-on;
78 dc_in: regulator-dc-in {
79 compatible = "regulator-fixed";
80 regulator-name = "DC_IN";
81 regulator-min-microvolt = <5000000>;
82 regulator-max-microvolt = <5000000>;
83 regulator-always-on;
86 vcc_1v8: regulator-vcc-1v8 {
87 compatible = "regulator-fixed";
88 regulator-name = "VCC_1V8";
89 regulator-min-microvolt = <1800000>;
90 regulator-max-microvolt = <1800000>;
91 vin-supply = <&vcc_3v3>;
92 regulator-always-on;
95 vcc_3v3: regulator-vcc-3v3 {
96 compatible = "regulator-fixed";
97 regulator-name = "VCC_3V3";
98 regulator-min-microvolt = <3300000>;
99 regulator-max-microvolt = <3300000>;
100 vin-supply = <&vddao_3v3>;
101 regulator-always-on;
105 vcc_5v: regulator-vcc-5v {
106 compatible = "regulator-fixed";
107 regulator-name = "VCC_5V";
108 regulator-min-microvolt = <5000000>;
109 regulator-max-microvolt = <5000000>;
110 vin-supply = <&dc_in>;
115 vddao_1v8: regulator-vddao-1v8 {
116 compatible = "regulator-fixed";
117 regulator-name = "VDDAO_1V8";
118 regulator-min-microvolt = <1800000>;
119 regulator-max-microvolt = <1800000>;
120 vin-supply = <&vddao_3v3>;
121 regulator-always-on;
124 vddao_3v3: regulator-vddao-3v3 {
125 compatible = "regulator-fixed";
126 regulator-name = "VDDAO_3V3";
127 regulator-min-microvolt = <3300000>;
128 regulator-max-microvolt = <3300000>;
129 vin-supply = <&dc_in>;
130 regulator-always-on;
133 vddcpu: regulator-vddcpu {
134 compatible = "pwm-regulator";
136 regulator-name = "VDDCPU";
137 regulator-min-microvolt = <721000>;
138 regulator-max-microvolt = <1022000>;
140 pwm-supply = <&dc_in>;
143 pwm-dutycycle-range = <100 0>;
145 regulator-boot-on;
146 regulator-always-on;
150 compatible = "amlogic,axg-sound-card";
151 model = "X96-MAX";
152 audio-aux-devs = <&tdmout_b>;
153 audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1",
165 assigned-clocks = <&clkc CLKID_MPLL2>,
168 assigned-clock-parents = <0>, <0>, <0>;
169 assigned-clock-rates = <294912000>,
173 dai-link-0 {
174 sound-dai = <&frddr_a>;
177 dai-link-1 {
178 sound-dai = <&frddr_b>;
181 dai-link-2 {
182 sound-dai = <&frddr_c>;
186 dai-link-3 {
187 sound-dai = <&tdmif_b>;
188 dai-format = "i2s";
189 dai-tdm-slot-tx-mask-0 = <1 1>;
190 dai-tdm-slot-tx-mask-1 = <1 1>;
191 dai-tdm-slot-tx-mask-2 = <1 1>;
192 dai-tdm-slot-tx-mask-3 = <1 1>;
193 mclk-fs = <256>;
196 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_B>;
201 dai-link-4 {
202 sound-dai = <&spdifout_a>;
204 codec-0 {
205 sound-dai = <&spdif_dit>;
208 codec-1 {
209 sound-dai = <&tohdmitx TOHDMITX_SPDIF_IN_A>;
214 dai-link-5 {
215 sound-dai = <&spdifout_b>;
218 sound-dai = <&tohdmitx TOHDMITX_SPDIF_IN_B>;
223 dai-link-6 {
224 sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>;
227 sound-dai = <&hdmi_tx>;
233 compatible = "pwm-clock";
234 #clock-cells = <0>;
235 clock-frequency = <32768>;
245 pinctrl-0 = <&cec_ao_a_h_pins>;
246 pinctrl-names = "default";
248 hdmi-phandle = <&hdmi_tx>;
252 pinctrl-0 = <&cec_ao_b_h_pins>;
253 pinctrl-names = "default";
255 hdmi-phandle = <&hdmi_tx>;
263 cpu-supply = <&vddcpu>;
264 operating-points-v2 = <&cpu_opp_table>;
266 clock-latency = <50000>;
270 cpu-supply = <&vddcpu>;
271 operating-points-v2 = <&cpu_opp_table>;
273 clock-latency = <50000>;
277 cpu-supply = <&vddcpu>;
278 operating-points-v2 = <&cpu_opp_table>;
280 clock-latency = <50000>;
284 cpu-supply = <&vddcpu>;
285 operating-points-v2 = <&cpu_opp_table>;
287 clock-latency = <50000>;
292 remote-endpoint = <&cvbs_connector_in>;
310 pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>;
311 pinctrl-names = "default";
312 hdmi-supply = <&vcc_5v>;
317 remote-endpoint = <&hdmi_connector_in>;
323 pinctrl-0 = <&remote_input_ao_pins>;
324 pinctrl-names = "default";
325 linux,rc-map-name = "rc-x96max";
329 pinctrl-0 = <&pwm_ao_d_e_pins>;
330 pinctrl-names = "default";
332 clock-names = "clkin1";
337 external_phy: ethernet-phy@0 {
340 max-speed = <1000>;
341 eee-broken-1000t;
343 reset-assert-us = <10000>;
344 reset-deassert-us = <80000>;
345 reset-gpios = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
347 interrupt-parent = <&gpio_intc>;
354 pinctrl-0 = <&eth_pins>, <&eth_rgmii_pins>;
355 pinctrl-names = "default";
357 phy-mode = "rgmii";
358 phy-handle = <&external_phy>;
359 amlogic,tx-delay-ns = <2>;
364 pinctrl-0 = <&pwm_e_pins>;
365 pinctrl-names = "default";
367 clock-names = "clkin0";
372 pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
373 pinctrl-names = "default";
374 uart-has-rtscts;
377 compatible = "brcm,bcm43438-bt";
378 shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
379 max-speed = <2000000>;
381 clock-names = "lpo";
387 pinctrl-0 = <&uart_ao_a_pins>;
388 pinctrl-names = "default";
391 &usb {
399 pinctrl-0 = <&sdio_pins>;
400 pinctrl-1 = <&sdio_clk_gate_pins>;
401 pinctrl-names = "default", "clk-gate";
402 #address-cells = <1>;
403 #size-cells = <0>;
405 bus-width = <4>;
406 cap-sd-highspeed;
407 sd-uhs-sdr50;
408 max-frequency = <100000000>;
410 non-removable;
411 disable-wp;
414 keep-power-in-suspend;
416 mmc-pwrseq = <&sdio_pwrseq>;
418 vmmc-supply = <&vddao_3v3>;
419 vqmmc-supply = <&vddao_1v8>;
423 compatible = "brcm,bcm4329-fmac";
430 pinctrl-0 = <&sdcard_c_pins>;
431 pinctrl-1 = <&sdcard_clk_gate_c_pins>;
432 pinctrl-names = "default", "clk-gate";
434 bus-width = <4>;
435 cap-sd-highspeed;
436 max-frequency = <100000000>;
437 disable-wp;
439 cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>;
440 vmmc-supply = <&vddao_3v3>;
441 vqmmc-supply = <&vddao_3v3>;
447 pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_data_8b_pins>, <&emmc_ds_pins>;
448 pinctrl-1 = <&emmc_clk_gate_pins>;
449 pinctrl-names = "default", "clk-gate";
451 bus-width = <8>;
452 cap-mmc-highspeed;
453 max-frequency = <100000000>;
454 non-removable;
455 disable-wp;
457 mmc-pwrseq = <&emmc_pwrseq>;
458 vmmc-supply = <&vcc_3v3>;
459 vqmmc-supply = <&flash_1v8>;
463 pinctrl-0 = <&spdif_out_h_pins>;
464 pinctrl-names = "default";