1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2018 BayLibre, SAS.
4 * Author: Neil Armstrong <narmstrong@baylibre.com>
5 * Author: Jerome Brunet <jbrunet@baylibre.com>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/sound/meson-aiu.h>
13 #include "meson-gxl-s805x.dtsi"
16 compatible = "libretech,aml-s805x-ac", "amlogic,s805x",
18 model = "Libre Computer AML-S805X-AC";
27 stdout-path = "serial0:115200n8";
32 * The pads are present but no connector is soldered on
33 * 2J2, so keep this off by default.
36 compatible = "composite-video-connector";
39 cvbs_connector_in: endpoint {
40 remote-endpoint = <&cvbs_vdac_out>;
45 dc_5v: regulator-dc_5v {
46 compatible = "regulator-fixed";
47 regulator-name = "DC_5V";
48 regulator-min-microvolt = <5000000>;
49 regulator-max-microvolt = <5000000>;
53 emmc_pwrseq: emmc-pwrseq {
54 compatible = "mmc-pwrseq-emmc";
55 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
59 compatible = "hdmi-connector";
63 hdmi_connector_in: endpoint {
64 remote-endpoint = <&hdmi_tx_tmds_out>;
70 device_type = "memory";
71 reg = <0x0 0x0 0x0 0x20000000>;
74 vcck: regulator-vcck {
75 compatible = "regulator-fixed";
76 regulator-name = "VCCK";
77 regulator-min-microvolt = <3300000>;
78 regulator-max-microvolt = <3300000>;
79 vin-supply = <&dc_5v>;
82 * This is controlled by GPIOAO_9 we reserve this but
83 * claiming it as done below reset the board anyway
84 * Need to investigate this
86 * gpio = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>;
92 vcc_3v3: regulator-vcc_3v3 {
93 compatible = "regulator-fixed";
94 regulator-name = "VCC_3V3";
95 regulator-min-microvolt = <3300000>;
96 regulator-max-microvolt = <3300000>;
97 vin-supply = <&dc_5v>;
101 vddio_ao18: regulator-vddio_ao18 {
102 compatible = "regulator-fixed";
103 regulator-name = "VDDIO_AO18";
104 regulator-min-microvolt = <1800000>;
105 regulator-max-microvolt = <1800000>;
106 vin-supply = <&vcc_3v3>;
110 vddio_boot: regulator-vddio_boot {
111 compatible = "regulator-fixed";
112 regulator-name = "VDDIO_BOOT";
113 regulator-min-microvolt = <1800000>;
114 regulator-max-microvolt = <1800000>;
115 vin-supply = <&vcc_3v3>;
120 compatible = "amlogic,gx-sound-card";
121 model = "LIBRETECH-AC";
122 audio-widgets = "Speaker", "9J5-3 LEFT",
123 "Speaker", "9J5-2 RIGHT";
124 audio-routing = "9J5-3 LEFT", "ACODEC LOLN",
125 "9J5-2 RIGHT", "ACODEC LORN";
126 assigned-clocks = <&clkc CLKID_MPLL0>,
129 assigned-clock-parents = <0>, <0>, <0>;
130 assigned-clock-rates = <294912000>,
135 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>;
139 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>;
144 sound-dai = <&aiu AIU_HDMI CTRL_I2S>;
148 sound-dai = <&aiu AIU_ACODEC CTRL_I2S>;
153 sound-dai = <&aiu AIU_HDMI CTRL_OUT>;
156 sound-dai = <&hdmi_tx>;
161 sound-dai = <&aiu AIU_ACODEC CTRL_OUT>;
164 sound-dai = <&acodec>;
171 AVDD-supply = <&vddio_ao18>;
181 pinctrl-0 = <&ao_cec_pins>;
182 pinctrl-names = "default";
183 hdmi-phandle = <&hdmi_tx>;
187 cvbs_vdac_out: endpoint {
188 remote-endpoint = <&cvbs_connector_in>;
197 pinctrl-0 = <ð_link_led_pins>, <ð_act_led_pins>;
198 pinctrl-names = "default";
203 pinctrl-0 = <&remote_input_ao_pins>;
204 pinctrl-names = "default";
209 pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
210 pinctrl-names = "default";
214 hdmi_tx_tmds_out: endpoint {
215 remote-endpoint = <&hdmi_connector_in>;
220 gpio-line-names = "UART TX",
232 gpio-line-names = /* Bank GPIOZ */
233 "", "", "", "", "", "", "",
234 "", "", "", "", "", "", "",
235 "Eth Link LED", "Eth Activity LED",
237 "HDMI HPD", "HDMI SDA", "HDMI SCL",
238 "", "7J1 Header Pin13",
245 "eMMC D0", "eMMC D1", "eMMC D2", "eMMC D3",
246 "eMMC D4", "eMMC D5", "eMMC D6", "eMMC D7",
247 "eMMC Clk", "eMMC Reset", "eMMC CMD",
248 "SPI NOR MOSI", "SPI NOR MISO", "SPI NOR Clk",
249 "", "SPI NOR Chip Select",
251 "", "", "", "", "", "", "",
253 "", "", "", "", "", "", "", "", "", "", "", "",
254 "", "", "", "", "", "", "", "", "", "", "", "",
255 "7J1 Header Pin27", "7J1 Header Pin28", "",
257 "VCCK Regulator", "VDDEE Regulator",
259 "7J1 Header Pin22", "7J1 Header Pin26",
260 "7J1 Header Pin36", "7J1 Header Pin38",
261 "7J1 Header Pin40", "7J1 Header Pin37",
262 "7J1 Header Pin33", "7J1 Header Pin35",
263 "7J1 Header Pin19", "7J1 Header Pin21",
264 "7J1 Header Pin24", "7J1 Header Pin23",
265 "7J1 Header Pin8", "7J1 Header Pin10",
266 "", "", "7J1 Header Pin32", "", "",
273 vref-supply = <&vddio_boot>;
279 pinctrl-0 = <&emmc_pins>;
280 pinctrl-1 = <&emmc_clk_gate_pins>;
281 pinctrl-names = "default", "clk-gate";
287 max-frequency = <200000000>;
290 mmc-pwrseq = <&emmc_pwrseq>;
291 vmmc-supply = <&vcc_3v3>;
292 vqmmc-supply = <&vddio_boot>;
297 pinctrl-0 = <&nor_pins>;
298 pinctrl-names = "default";
301 #address-cells = <1>;
303 compatible = "jedec,spi-nor";
305 spi-max-frequency = <3000000>;
311 pinctrl-0 = <&uart_ao_a_pins>;
312 pinctrl-names = "default";