Lines Matching +full:hdmi +full:- +full:mux +full:- +full:supply

1 // SPDX-License-Identifier: GPL-2.0
7 /* Libretech Amlogic GX PC form factor - AKA: Tartiflette */
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
11 #include <dt-bindings/sound/meson-aiu.h>
14 adc-keys {
15 compatible = "adc-keys";
16 io-channels = <&saradc 0>;
17 io-channel-names = "buttons";
18 keyup-threshold-microvolt = <1800000>;
20 button-update {
23 press-threshold-microvolt = <1300000>;
33 dio2133: analog-amplifier {
34 compatible = "simple-audio-amplifier";
35 sound-name-prefix = "AU2";
36 VCC-supply = <&vcc5v>;
37 enable-gpios = <&gpio GPIOH_5 GPIO_ACTIVE_HIGH>;
41 stdout-path = "serial0:115200n8";
44 cvbs-connector {
45 compatible = "composite-video-connector";
50 remote-endpoint = <&cvbs_vdac_out>;
55 emmc_pwrseq: emmc-pwrseq {
56 compatible = "mmc-pwrseq-emmc";
57 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
60 hdmi-connector {
61 compatible = "hdmi-connector";
66 remote-endpoint = <&hdmi_tx_tmds_out>;
71 gpio-keys-polled {
72 compatible = "gpio-keys-polled";
73 poll-interval = <100>;
75 power-button {
87 ao_5v: regulator-ao-5v {
88 compatible = "regulator-fixed";
89 regulator-name = "AO_5V";
90 regulator-min-microvolt = <5000000>;
91 regulator-max-microvolt = <5000000>;
92 vin-supply = <&dc_in>;
93 regulator-always-on;
96 dc_in: regulator-dc-in {
97 compatible = "regulator-fixed";
98 regulator-name = "DC_IN";
99 regulator-min-microvolt = <5000000>;
100 regulator-max-microvolt = <5000000>;
101 regulator-always-on;
105 compatible = "gpio-leds";
107 led-green {
111 linux,default-trigger = "disk-activity";
114 led-blue {
118 linux,default-trigger = "heartbeat";
119 panic-indicator;
123 vcc_card: regulator-vcc-card {
124 compatible = "regulator-fixed";
125 regulator-name = "VCC_CARD";
126 regulator-min-microvolt = <3300000>;
127 regulator-max-microvolt = <3300000>;
128 vin-supply = <&vddio_ao3v3>;
131 enable-active-high;
134 vcc5v: regulator-vcc5v {
135 compatible = "regulator-fixed";
136 regulator-name = "VCC5V";
137 regulator-min-microvolt = <5000000>;
138 regulator-max-microvolt = <5000000>;
139 vin-supply = <&ao_5v>;
144 vddio_ao18: regulator-vddio-ao18 {
145 compatible = "regulator-fixed";
146 regulator-name = "VDDIO_AO18";
147 regulator-min-microvolt = <1800000>;
148 regulator-max-microvolt = <1800000>;
149 vin-supply = <&ao_5v>;
150 regulator-always-on;
153 vddio_ao3v3: regulator-vddio-ao3v3 {
154 compatible = "regulator-fixed";
155 regulator-name = "VDDIO_AO3V3";
156 regulator-min-microvolt = <3300000>;
157 regulator-max-microvolt = <3300000>;
158 vin-supply = <&ao_5v>;
159 regulator-always-on;
162 vddio_boot: regulator-vddio-boot {
163 compatible = "regulator-fixed";
164 regulator-name = "VDDIO_BOOT";
165 regulator-min-microvolt = <1800000>;
166 regulator-max-microvolt = <1800000>;
167 vin-supply = <&vddio_ao3v3>;
168 regulator-always-on;
171 vddio_card: regulator-vddio-card {
172 compatible = "regulator-gpio";
173 regulator-name = "VDDIO_CARD";
174 regulator-min-microvolt = <1800000>;
175 regulator-max-microvolt = <3300000>;
178 gpios-states = <0>;
183 regulator-settling-time-up-us = <200>;
184 regulator-settling-time-down-us = <50000>;
188 compatible = "amlogic,gx-sound-card";
189 model = "LIBRETECH-PC";
190 audio-aux-devs = <&dio2133>;
191 audio-widgets = "Speaker", "7J4-14 LEFT",
192 "Speaker", "7J4-11 RIGHT";
193 audio-routing = "AU2 INL", "ACODEC LOLN",
195 "7J4-14 LEFT", "AU2 OUTL",
196 "7J4-11 RIGHT", "AU2 OUTR";
201 assigned-clocks = <&clkc CLKID_MPLL0>,
204 assigned-clock-parents = <0>, <0>, <0>;
205 assigned-clock-rates = <294912000>,
209 dai-link-0 {
210 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>;
213 dai-link-1 {
214 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>;
215 dai-format = "i2s";
216 mclk-fs = <256>;
218 codec-0 {
219 sound-dai = <&aiu AIU_HDMI CTRL_I2S>;
222 codec-1 {
223 sound-dai = <&aiu AIU_ACODEC CTRL_I2S>;
227 dai-link-2 {
228 sound-dai = <&aiu AIU_HDMI CTRL_OUT>;
230 codec-0 {
231 sound-dai = <&hdmi_tx>;
235 dai-link-3 {
236 sound-dai = <&aiu AIU_ACODEC CTRL_OUT>;
238 codec-0 {
239 sound-dai = <&acodec>;
246 AVDD-supply = <&vddio_ao18>;
255 pinctrl-0 = <&ao_cec_pins>;
256 pinctrl-names = "default";
257 hdmi-phandle = <&hdmi_tx>;
263 remote-endpoint = <&cvbs_connector_in>;
268 pinctrl-0 = <&eth_pins>, <&eth_phy_irq_pins>;
269 pinctrl-names = "default";
270 phy-handle = <&external_phy>;
271 amlogic,tx-delay-ns = <2>;
272 phy-mode = "rgmii";
277 external_phy: ethernet-phy@0 {
279 max-speed = <1000>;
280 reset-assert-us = <10000>;
281 reset-deassert-us = <30000>;
282 reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>;
283 interrupt-parent = <&gpio_intc>;
294 mux {
297 bias-disable;
298 output-high;
304 mux {
307 bias-disable;
308 output-disable;
314 pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
315 pinctrl-names = "default";
316 hdmi-supply = <&vcc5v>;
322 remote-endpoint = <&hdmi_connector_in>;
327 pinctrl-0 = <&remote_input_ao_pins>;
328 pinctrl-names = "default";
333 pinctrl-0 = <&i2c_c_dv18_pins>;
334 pinctrl-names = "default";
340 #clock-cells = <0>;
341 clock-output-names = "rtc_clkout";
346 pinctrl-0 = <&pwm_ao_a_3_pins>;
347 pinctrl-names = "default";
349 clock-names = "clkin0";
354 pinctrl-0 = <&pwm_b_pins>;
355 pinctrl-names = "default";
357 clock-names = "clkin0";
362 pinctrl-0 = <&pwm_e_pins>, <&pwm_f_clk_pins>;
363 pinctrl-names = "default";
365 clock-names = "clkin0";
370 vref-supply = <&vddio_ao18>;
376 pinctrl-0 = <&sdcard_pins>;
377 pinctrl-1 = <&sdcard_clk_gate_pins>;
378 pinctrl-names = "default", "clk-gate";
380 bus-width = <4>;
381 cap-sd-highspeed;
382 sd-uhs-sdr12;
383 sd-uhs-sdr25;
384 sd-uhs-sdr50;
385 sd-uhs-ddr50;
386 max-frequency = <200000000>;
387 disable-wp;
389 cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;
391 vmmc-supply = <&vcc_card>;
392 vqmmc-supply = <&vddio_card>;
399 pinctrl-0 = <&emmc_pins>;
400 pinctrl-1 = <&emmc_clk_gate_pins>;
401 pinctrl-names = "default", "clk-gate";
403 bus-width = <8>;
404 cap-mmc-highspeed;
405 mmc-ddr-1_8v;
406 mmc-hs200-1_8v;
407 max-frequency = <200000000>;
408 disable-wp;
410 mmc-pwrseq = <&emmc_pwrseq>;
411 vmmc-supply = <&vddio_ao3v3>;
412 vqmmc-supply = <&vddio_boot>;
418 pinctrl-0 = <&nor_pins>;
419 pinctrl-names = "default";
423 compatible = "jedec,spi-nor";
424 #address-cells = <1>;
425 #size-cells = <1>;
427 spi-max-frequency = <12000000>;
432 pinctrl-0 = <&uart_ao_a_pins>;
433 pinctrl-names = "default";
443 pinctrl-0 = <&usb1_rst_pins>;
444 pinctrl-names = "default";
445 phy-supply = <&vcc5v>;
449 phy-supply = <&vcc5v>;