2 * Copyright (c) 2017 BayLibre, SAS.
3 * Author: Neil Armstrong <narmstrong@baylibre.com>
4 * Author: Jerome Brunet <jbrunet@baylibre.com>
6 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
11 #include <dt-bindings/input/input.h>
13 #include "meson-gxl-s905x.dtsi"
16 compatible = "libretech,cc", "amlogic,s905x", "amlogic,meson-gxl";
17 model = "Libre Technology CC";
24 stdout-path = "serial0:115200n8";
28 compatible = "composite-video-connector";
31 cvbs_connector_in: endpoint {
32 remote-endpoint = <&cvbs_vdac_out>;
37 emmc_pwrseq: emmc-pwrseq {
38 compatible = "mmc-pwrseq-emmc";
39 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
43 compatible = "hdmi-connector";
47 hdmi_connector_in: endpoint {
48 remote-endpoint = <&hdmi_tx_tmds_out>;
54 compatible = "gpio-leds";
57 label = "librecomputer:system-status";
58 gpios = <&gpio GPIODV_24 GPIO_ACTIVE_HIGH>;
64 label = "librecomputer:blue";
65 gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>;
66 linux,default-trigger = "heartbeat";
71 device_type = "memory";
72 reg = <0x0 0x0 0x0 0x80000000>;
75 vcc_3v3: regulator-vcc_3v3 {
76 compatible = "regulator-fixed";
77 regulator-name = "VCC_3V3";
78 regulator-min-microvolt = <3300000>;
79 regulator-max-microvolt = <3300000>;
82 vcc_card: regulator-vcc-card {
83 compatible = "regulator-gpio";
85 regulator-name = "VCC_CARD";
86 regulator-min-microvolt = <1800000>;
87 regulator-max-microvolt = <3300000>;
89 gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_HIGH>;
96 vddio_boot: regulator-vddio_boot {
97 compatible = "regulator-fixed";
98 regulator-name = "VDDIO_BOOT";
99 regulator-min-microvolt = <3300000>;
100 regulator-max-microvolt = <3300000>;
106 pinctrl-0 = <&ao_cec_pins>;
107 pinctrl-names = "default";
108 hdmi-phandle = <&hdmi_tx>;
112 cvbs_vdac_out: endpoint {
113 remote-endpoint = <&cvbs_connector_in>;
123 pinctrl-0 = <&remote_input_ao_pins>;
124 pinctrl-names = "default";
129 pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
130 pinctrl-names = "default";
134 hdmi_tx_tmds_out: endpoint {
135 remote-endpoint = <&hdmi_connector_in>;
140 gpio-line-names = "UART TX",
143 "SDCard Voltage Switch",
148 "9J3 Switch HDMI CEC/7J1 Header Pin11",
153 gpio-line-names = /* Bank GPIOZ */
154 "", "", "", "", "", "", "",
155 "", "", "", "", "", "", "",
156 "Eth Link LED", "Eth Activity LED",
158 "HDMI HPD", "HDMI SDA", "HDMI SCL",
159 "HDMI_5V_EN", "9J1 Header Pin2",
166 "eMMC D0", "eMMC D1", "eMMC D2", "eMMC D3",
167 "eMMC D4", "eMMC D5", "eMMC D6", "eMMC D7",
168 "eMMC Clk", "eMMC Reset", "eMMC CMD",
169 "ALT BOOT MODE", "", "", "", "eMMC Data Strobe",
171 "SDCard D1", "SDCard D0", "SDCard CLK", "SDCard CMD",
172 "SDCard D3", "SDCard D2", "SDCard Det",
174 "", "", "", "", "", "", "", "", "", "", "", "",
175 "", "", "", "", "", "", "", "", "", "", "", "",
176 "Green LED", "VCCK Enable",
177 "7J1 Header Pin27", "7J1 Header Pin28",
178 "VCCK Regulator", "VDDEE Regulator",
180 "7J1 Header Pin22", "7J1 Header Pin26",
181 "7J1 Header Pin36", "7J1 Header Pin38",
182 "7J1 Header Pin40", "7J1 Header Pin37",
183 "7J1 Header Pin33", "7J1 Header Pin35",
184 "7J1 Header Pin19", "7J1 Header Pin21",
185 "7J1 Header Pin24", "7J1 Header Pin23",
186 "7J1 Header Pin8", "7J1 Header Pin10",
187 "7J1 Header Pin16", "7J1 Header Pin18",
188 "7J1 Header Pin32", "7J1 Header Pin29",
191 "7J1 Header Pin7", "",
199 pinctrl-0 = <&sdcard_pins>;
200 pinctrl-names = "default";
204 max-frequency = <100000000>;
207 cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>;
210 vmmc-supply = <&vcc_3v3>;
211 vqmmc-supply = <&vcc_card>;
217 pinctrl-0 = <&emmc_pins>;
218 pinctrl-names = "default";
222 max-frequency = <50000000>;
226 mmc-pwrseq = <&emmc_pwrseq>;
227 vmmc-supply = <&vcc_3v3>;
228 vqmmc-supply = <&vddio_boot>;
233 pinctrl-0 = <&uart_ao_a_pins>;
234 pinctrl-names = "default";