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>
12 #include "meson-gxl-s805x.dtsi"
15 compatible = "libretech,aml-s805x-ac", "amlogic,s805x",
17 model = "Libre Computer Board AML-S805X-AC";
26 stdout-path = "serial0:115200n8";
31 * The pads are present but no connector is soldered on
32 * 2J2, so keep this off by default.
35 compatible = "composite-video-connector";
38 cvbs_connector_in: endpoint {
39 remote-endpoint = <&cvbs_vdac_out>;
44 dc_5v: regulator-dc_5v {
45 compatible = "regulator-fixed";
46 regulator-name = "DC_5V";
47 regulator-min-microvolt = <5000000>;
48 regulator-max-microvolt = <5000000>;
52 emmc_pwrseq: emmc-pwrseq {
53 compatible = "mmc-pwrseq-emmc";
54 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
58 compatible = "hdmi-connector";
62 hdmi_connector_in: endpoint {
63 remote-endpoint = <&hdmi_tx_tmds_out>;
69 device_type = "memory";
70 reg = <0x0 0x0 0x0 0x20000000>;
73 vcck: regulator-vcck {
74 compatible = "regulator-fixed";
75 regulator-name = "VCCK";
76 regulator-min-microvolt = <3300000>;
77 regulator-max-microvolt = <3300000>;
78 vin-supply = <&dc_5v>;
81 * This is controlled by GPIOAO_9 we reserve this but
82 * claiming it as done below reset the board anyway
83 * Need to investigate this
85 * gpio = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>;
91 vcc_3v3: regulator-vcc_3v3 {
92 compatible = "regulator-fixed";
93 regulator-name = "VCC_3V3";
94 regulator-min-microvolt = <3300000>;
95 regulator-max-microvolt = <3300000>;
96 vin-supply = <&dc_5v>;
100 vddio_boot: regulator-vddio_boot {
101 compatible = "regulator-fixed";
102 regulator-name = "VDDIO_BOOT";
103 regulator-min-microvolt = <1800000>;
104 regulator-max-microvolt = <1800000>;
105 vin-supply = <&vcc_3v3>;
112 pinctrl-0 = <&ao_cec_pins>;
113 pinctrl-names = "default";
114 hdmi-phandle = <&hdmi_tx>;
118 cvbs_vdac_out: endpoint {
119 remote-endpoint = <&cvbs_connector_in>;
128 pinctrl-0 = <ð_link_led_pins>, <ð_act_led_pins>;
129 pinctrl-names = "default";
134 pinctrl-0 = <&remote_input_ao_pins>;
135 pinctrl-names = "default";
140 pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
141 pinctrl-names = "default";
145 hdmi_tx_tmds_out: endpoint {
146 remote-endpoint = <&hdmi_connector_in>;
151 gpio-line-names = "UART TX",
163 gpio-line-names = /* Bank GPIOZ */
164 "", "", "", "", "", "", "",
165 "", "", "", "", "", "", "",
166 "Eth Link LED", "Eth Activity LED",
168 "HDMI HPD", "HDMI SDA", "HDMI SCL",
169 "", "7J1 Header Pin13",
176 "eMMC D0", "eMMC D1", "eMMC D2", "eMMC D3",
177 "eMMC D4", "eMMC D5", "eMMC D6", "eMMC D7",
178 "eMMC Clk", "eMMC Reset", "eMMC CMD",
179 "SPI NOR MOSI", "SPI NOR MISO", "SPI NOR Clk",
180 "", "SPI NOR Chip Select",
182 "", "", "", "", "", "", "",
184 "", "", "", "", "", "", "", "", "", "", "", "",
185 "", "", "", "", "", "", "", "", "", "", "", "",
186 "7J1 Header Pin27", "7J1 Header Pin28", "",
188 "VCCK Regulator", "VDDEE Regulator",
190 "7J1 Header Pin22", "7J1 Header Pin26",
191 "7J1 Header Pin36", "7J1 Header Pin38",
192 "7J1 Header Pin40", "7J1 Header Pin37",
193 "7J1 Header Pin33", "7J1 Header Pin35",
194 "7J1 Header Pin19", "7J1 Header Pin21",
195 "7J1 Header Pin24", "7J1 Header Pin23",
196 "7J1 Header Pin8", "7J1 Header Pin10",
197 "", "", "7J1 Header Pin32", "", "",
204 vref-supply = <&vddio_boot>;
210 pinctrl-0 = <&emmc_pins>;
211 pinctrl-1 = <&emmc_clk_gate_pins>;
212 pinctrl-names = "default", "clk-gate";
218 max-frequency = <200000000>;
221 mmc-pwrseq = <&emmc_pwrseq>;
222 vmmc-supply = <&vcc_3v3>;
223 vqmmc-supply = <&vddio_boot>;
228 pinctrl-0 = <&nor_pins>;
229 pinctrl-names = "default";
231 w25q32: spi-flash@0 {
232 #address-cells = <1>;
234 compatible = "jedec,spi-nor";
236 spi-max-frequency = <3000000>;
242 pinctrl-0 = <&uart_ao_a_pins>;
243 pinctrl-names = "default";