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>;
95 regulator-settling-time-up-us = <200>;
96 regulator-settling-time-down-us = <50000>;
99 vddio_ao18: regulator-vddio_ao18 {
100 compatible = "regulator-fixed";
101 regulator-name = "VDDIO_AO18";
102 regulator-min-microvolt = <1800000>;
103 regulator-max-microvolt = <1800000>;
106 vddio_boot: regulator-vddio_boot {
107 compatible = "regulator-fixed";
108 regulator-name = "VDDIO_BOOT";
109 regulator-min-microvolt = <3300000>;
110 regulator-max-microvolt = <3300000>;
116 pinctrl-0 = <&ao_cec_pins>;
117 pinctrl-names = "default";
118 hdmi-phandle = <&hdmi_tx>;
122 cvbs_vdac_out: endpoint {
123 remote-endpoint = <&cvbs_connector_in>;
132 pinctrl-0 = <ð_link_led_pins>, <ð_act_led_pins>;
133 pinctrl-names = "default";
138 pinctrl-0 = <&remote_input_ao_pins>;
139 pinctrl-names = "default";
144 pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
145 pinctrl-names = "default";
149 hdmi_tx_tmds_out: endpoint {
150 remote-endpoint = <&hdmi_connector_in>;
155 gpio-line-names = "UART TX",
158 "SDCard Voltage Switch",
163 "9J3 Switch HDMI CEC/7J1 Header Pin11",
170 gpio-line-names = /* Bank GPIOZ */
171 "", "", "", "", "", "", "",
172 "", "", "", "", "", "", "",
173 "Eth Link LED", "Eth Activity LED",
175 "HDMI HPD", "HDMI SDA", "HDMI SCL",
176 "HDMI_5V_EN", "9J1 Header Pin2",
183 "eMMC D0", "eMMC D1", "eMMC D2", "eMMC D3",
184 "eMMC D4", "eMMC D5", "eMMC D6", "eMMC D7",
185 "eMMC Clk", "eMMC Reset", "eMMC CMD",
186 "ALT BOOT MODE", "", "", "", "eMMC Data Strobe",
188 "SDCard D1", "SDCard D0", "SDCard CLK", "SDCard CMD",
189 "SDCard D3", "SDCard D2", "SDCard Det",
191 "", "", "", "", "", "", "", "", "", "", "", "",
192 "", "", "", "", "", "", "", "", "", "", "", "",
193 "Green LED", "VCCK Enable",
194 "7J1 Header Pin27", "7J1 Header Pin28",
195 "VCCK Regulator", "VDDEE Regulator",
197 "7J1 Header Pin22", "7J1 Header Pin26",
198 "7J1 Header Pin36", "7J1 Header Pin38",
199 "7J1 Header Pin40", "7J1 Header Pin37",
200 "7J1 Header Pin33", "7J1 Header Pin35",
201 "7J1 Header Pin19", "7J1 Header Pin21",
202 "7J1 Header Pin24", "7J1 Header Pin23",
203 "7J1 Header Pin8", "7J1 Header Pin10",
204 "7J1 Header Pin16", "7J1 Header Pin18",
205 "7J1 Header Pin32", "7J1 Header Pin29",
208 "7J1 Header Pin7", "";
213 vref-supply = <&vddio_ao18>;
219 pinctrl-0 = <&sdcard_pins>;
220 pinctrl-1 = <&sdcard_clk_gate_pins>;
221 pinctrl-names = "default", "clk-gate";
228 max-frequency = <100000000>;
231 cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>;
234 vmmc-supply = <&vcc_3v3>;
235 vqmmc-supply = <&vcc_card>;
241 pinctrl-0 = <&emmc_pins>, <&emmc_ds_pins>;
242 pinctrl-1 = <&emmc_clk_gate_pins>;
243 pinctrl-names = "default", "clk-gate";
248 max-frequency = <50000000>;
252 mmc-pwrseq = <&emmc_pwrseq>;
253 vmmc-supply = <&vcc_3v3>;
254 vqmmc-supply = <&vddio_boot>;
259 pinctrl-0 = <&uart_ao_a_pins>;
260 pinctrl-names = "default";