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>;
105 cvbs_vdac_out: endpoint {
106 remote-endpoint = <&cvbs_connector_in>;
116 pinctrl-0 = <&remote_input_ao_pins>;
117 pinctrl-names = "default";
122 pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
123 pinctrl-names = "default";
127 hdmi_tx_tmds_out: endpoint {
128 remote-endpoint = <&hdmi_connector_in>;
135 pinctrl-0 = <&sdcard_pins>;
136 pinctrl-names = "default";
140 max-frequency = <100000000>;
143 cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>;
146 vmmc-supply = <&vcc_3v3>;
147 vqmmc-supply = <&vcc_card>;
153 pinctrl-0 = <&emmc_pins>;
154 pinctrl-names = "default";
158 max-frequency = <50000000>;
162 mmc-pwrseq = <&emmc_pwrseq>;
163 vmmc-supply = <&vcc_3v3>;
164 vqmmc-supply = <&vddio_boot>;
169 pinctrl-0 = <&uart_ao_a_pins>;
170 pinctrl-names = "default";