Lines Matching +full:mmc +full:- +full:pwrseq +full:- +full:emmc
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/sound/meson-aiu.h>
13 #include "meson-gxl-s905x.dtsi"
16 compatible = "libretech,aml-s905x-cc", "amlogic,s905x",
17 "amlogic,meson-gxl";
18 model = "Libre Computer AML-S905X-CC";
25 dio2133: analog-amplifier {
26 compatible = "simple-audio-amplifier";
27 sound-name-prefix = "AU2";
28 VCC-supply = <&hdmi_5v>;
29 enable-gpios = <&gpio GPIOH_5 GPIO_ACTIVE_HIGH>;
33 stdout-path = "serial0:115200n8";
36 cvbs-connector {
37 compatible = "composite-video-connector";
41 remote-endpoint = <&cvbs_vdac_out>;
46 emmc_pwrseq: emmc-pwrseq {
47 compatible = "mmc-pwrseq-emmc";
48 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
51 hdmi-connector {
52 compatible = "hdmi-connector";
57 remote-endpoint = <&hdmi_tx_tmds_out>;
63 compatible = "gpio-leds";
65 led-system {
66 label = "librecomputer:system-status";
68 default-state = "on";
69 panic-indicator;
72 led-blue {
75 linux,default-trigger = "heartbeat";
84 hdmi_5v: regulator-hdmi-5v {
85 compatible = "regulator-fixed";
87 regulator-name = "HDMI_5V";
88 regulator-min-microvolt = <5000000>;
89 regulator-max-microvolt = <5000000>;
92 enable-active-high;
93 regulator-always-on;
96 vcc_3v3: regulator-vcc-3v3 {
97 compatible = "regulator-fixed";
98 regulator-name = "VCC_3V3";
99 regulator-min-microvolt = <3300000>;
100 regulator-max-microvolt = <3300000>;
103 vcc_card: regulator-vcc-card {
104 compatible = "regulator-gpio";
106 regulator-name = "VCC_CARD";
107 regulator-min-microvolt = <1800000>;
108 regulator-max-microvolt = <3300000>;
111 gpios-states = <0>;
116 regulator-settling-time-up-us = <200>;
117 regulator-settling-time-down-us = <50000>;
120 vddio_ao18: regulator-vddio-ao18 {
121 compatible = "regulator-fixed";
122 regulator-name = "VDDIO_AO18";
123 regulator-min-microvolt = <1800000>;
124 regulator-max-microvolt = <1800000>;
127 /* This is provided by LDOs on the eMMC daugther card */
128 vddio_boot: regulator-vddio-boot {
129 compatible = "regulator-fixed";
130 regulator-name = "VDDIO_BOOT";
131 regulator-min-microvolt = <1800000>;
132 regulator-max-microvolt = <1800000>;
133 vin-supply = <&vcc_3v3>;
137 compatible = "amlogic,gx-sound-card";
138 model = "LIBRETECH-CC";
139 audio-aux-devs = <&dio2133>;
140 audio-widgets = "Line", "Lineout";
141 audio-routing = "AU2 INL", "ACODEC LOLN",
149 assigned-clocks = <&clkc CLKID_MPLL0>,
152 assigned-clock-parents = <0>, <0>, <0>;
153 assigned-clock-rates = <294912000>,
157 dai-link-0 {
158 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>;
161 dai-link-1 {
162 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>;
163 dai-format = "i2s";
164 mclk-fs = <256>;
166 codec-0 {
167 sound-dai = <&aiu AIU_HDMI CTRL_I2S>;
170 codec-1 {
171 sound-dai = <&aiu AIU_ACODEC CTRL_I2S>;
175 dai-link-2 {
176 sound-dai = <&aiu AIU_HDMI CTRL_OUT>;
178 codec-0 {
179 sound-dai = <&hdmi_tx>;
183 dai-link-3 {
184 sound-dai = <&aiu AIU_ACODEC CTRL_OUT>;
186 codec-0 {
187 sound-dai = <&acodec>;
194 AVDD-supply = <&vddio_ao18>;
204 pinctrl-0 = <&ao_cec_pins>;
205 pinctrl-names = "default";
206 hdmi-phandle = <&hdmi_tx>;
211 remote-endpoint = <&cvbs_connector_in>;
220 pinctrl-0 = <ð_link_led_pins>, <ð_act_led_pins>;
221 pinctrl-names = "default";
226 pinctrl-0 = <&remote_input_ao_pins>;
227 pinctrl-names = "default";
232 pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
233 pinctrl-names = "default";
234 hdmi-supply = <&hdmi_5v>;
239 remote-endpoint = <&hdmi_connector_in>;
244 gpio-line-names = "UART TX",
259 gpio-line-names = /* Bank GPIOZ */
272 "eMMC D0", "eMMC D1", "eMMC D2", "eMMC D3",
273 "eMMC D4", "eMMC D5", "eMMC D6", "eMMC D7",
274 "eMMC Clk", "eMMC Reset", "eMMC CMD",
275 "ALT BOOT MODE", "", "", "", "eMMC Data Strobe",
302 vref-supply = <&vddio_ao18>;
308 pinctrl-0 = <&sdcard_pins>;
309 pinctrl-1 = <&sdcard_clk_gate_pins>;
310 pinctrl-names = "default", "clk-gate";
312 bus-width = <4>;
313 cap-sd-highspeed;
314 max-frequency = <50000000>;
315 disable-wp;
317 cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;
319 vmmc-supply = <&vcc_3v3>;
320 vqmmc-supply = <&vcc_card>;
323 /* eMMC */
326 pinctrl-0 = <&emmc_pins>, <&emmc_ds_pins>;
327 pinctrl-1 = <&emmc_clk_gate_pins>;
328 pinctrl-names = "default", "clk-gate";
330 bus-width = <8>;
331 cap-mmc-highspeed;
332 mmc-ddr-1_8v;
333 mmc-hs200-1_8v;
334 max-frequency = <200000000>;
335 disable-wp;
337 mmc-pwrseq = <&emmc_pwrseq>;
338 vmmc-supply = <&vcc_3v3>;
339 vqmmc-supply = <&vddio_boot>;
344 pinctrl-0 = <&uart_ao_a_pins>;
345 pinctrl-names = "default";
358 phy-supply = <&hdmi_5v>;