1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2017 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-s905x.dtsi"
15 compatible = "libretech,cc", "amlogic,s905x", "amlogic,meson-gxl";
16 model = "Libre Technology CC";
23 stdout-path = "serial0:115200n8";
27 compatible = "composite-video-connector";
30 cvbs_connector_in: endpoint {
31 remote-endpoint = <&cvbs_vdac_out>;
36 emmc_pwrseq: emmc-pwrseq {
37 compatible = "mmc-pwrseq-emmc";
38 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
42 compatible = "hdmi-connector";
46 hdmi_connector_in: endpoint {
47 remote-endpoint = <&hdmi_tx_tmds_out>;
53 compatible = "gpio-leds";
56 label = "librecomputer:system-status";
57 gpios = <&gpio GPIODV_24 GPIO_ACTIVE_HIGH>;
63 label = "librecomputer:blue";
64 gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>;
65 linux,default-trigger = "heartbeat";
70 device_type = "memory";
71 reg = <0x0 0x0 0x0 0x80000000>;
74 vcc_3v3: regulator-vcc_3v3 {
75 compatible = "regulator-fixed";
76 regulator-name = "VCC_3V3";
77 regulator-min-microvolt = <3300000>;
78 regulator-max-microvolt = <3300000>;
81 vcc_card: regulator-vcc-card {
82 compatible = "regulator-gpio";
84 regulator-name = "VCC_CARD";
85 regulator-min-microvolt = <1800000>;
86 regulator-max-microvolt = <3300000>;
88 gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_HIGH>;
95 vddio_boot: regulator-vddio_boot {
96 compatible = "regulator-fixed";
97 regulator-name = "VDDIO_BOOT";
98 regulator-min-microvolt = <3300000>;
99 regulator-max-microvolt = <3300000>;
104 cvbs_vdac_out: endpoint {
105 remote-endpoint = <&cvbs_connector_in>;
115 pinctrl-0 = <&remote_input_ao_pins>;
116 pinctrl-names = "default";
121 pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
122 pinctrl-names = "default";
126 hdmi_tx_tmds_out: endpoint {
127 remote-endpoint = <&hdmi_connector_in>;
134 pinctrl-0 = <&sdcard_pins>;
135 pinctrl-names = "default";
139 max-frequency = <100000000>;
142 cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>;
145 vmmc-supply = <&vcc_3v3>;
146 vqmmc-supply = <&vcc_card>;
152 pinctrl-0 = <&emmc_pins>;
153 pinctrl-names = "default";
157 max-frequency = <50000000>;
161 mmc-pwrseq = <&emmc_pwrseq>;
162 vmmc-supply = <&vcc_3v3>;
163 vqmmc-supply = <&vddio_boot>;
168 pinctrl-0 = <&uart_ao_a_pins>;
169 pinctrl-names = "default";