1/* 2 * Copyright (c) 2017 BayLibre, SAS. 3 * Author: Neil Armstrong <narmstrong@baylibre.com> 4 * Author: Jerome Brunet <jbrunet@baylibre.com> 5 * 6 * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 */ 8 9/dts-v1/; 10 11#include <dt-bindings/input/input.h> 12 13#include "meson-gxl-s905x-p212.dtsi" 14 15/ { 16 compatible = "libretech,cc", "amlogic,s905x", "amlogic,meson-gxl"; 17 model = "Libre Technology CC"; 18 19 cvbs-connector { 20 compatible = "composite-video-connector"; 21 22 port { 23 cvbs_connector_in: endpoint { 24 remote-endpoint = <&cvbs_vdac_out>; 25 }; 26 }; 27 }; 28 29 hdmi-connector { 30 compatible = "hdmi-connector"; 31 type = "a"; 32 33 port { 34 hdmi_connector_in: endpoint { 35 remote-endpoint = <&hdmi_tx_tmds_out>; 36 }; 37 }; 38 }; 39 40 leds { 41 compatible = "gpio-leds"; 42 43 system { 44 label = "librecomputer:system-status"; 45 gpios = <&gpio GPIODV_24 GPIO_ACTIVE_HIGH>; 46 default-state = "on"; 47 panic-indicator; 48 }; 49 50 blue { 51 label = "librecomputer:blue"; 52 gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>; 53 linux,default-trigger = "heartbeat"; 54 }; 55 }; 56}; 57 58&cec_AO { 59 status = "okay"; 60 pinctrl-0 = <&ao_cec_pins>; 61 pinctrl-names = "default"; 62 hdmi-phandle = <&hdmi_tx>; 63}; 64 65&cvbs_vdac_port { 66 cvbs_vdac_out: endpoint { 67 remote-endpoint = <&cvbs_connector_in>; 68 }; 69}; 70 71&hdmi_tx { 72 status = "okay"; 73 pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; 74 pinctrl-names = "default"; 75}; 76 77&hdmi_tx_tmds_port { 78 hdmi_tx_tmds_out: endpoint { 79 remote-endpoint = <&hdmi_connector_in>; 80 }; 81}; 82 83/* 84 * The following devices exists but are exposed on the general 85 * purpose GPIO header. End user may well decide to use those pins 86 * for another purpose 87 */ 88 89&sd_emmc_a { 90 status = "disabled"; 91}; 92 93&uart_A { 94 status = "disabled"; 95}; 96 97&wifi32k { 98 status = "disabled"; 99}; 100