-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM64: dts: meson-gxl: Add Libre Technology CC support
Add support for the CC board from Shenzhen Libre Technology More information about the board are available here: https://libre.computer/blog/ Cc: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
- Loading branch information
Jerome Brunet
authored and
Kevin Hilman
committed
Jun 22, 2017
1 parent
cb1f2c0
commit cd84aff
Showing
2 changed files
with
93 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92 changes: 92 additions & 0 deletions
92
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
/* | ||
* Copyright (c) 2017 BayLibre, SAS. | ||
* Author: Neil Armstrong <narmstrong@baylibre.com> | ||
* Author: Jerome Brunet <jbrunet@baylibre.com> | ||
* | ||
* SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include <dt-bindings/input/input.h> | ||
|
||
#include "meson-gxl-s905x-p212.dtsi" | ||
|
||
/ { | ||
compatible = "libretech,cc", "amlogic,s905x", "amlogic,meson-gxl"; | ||
model = "Libre Technology CC"; | ||
|
||
cvbs-connector { | ||
compatible = "composite-video-connector"; | ||
|
||
port { | ||
cvbs_connector_in: endpoint { | ||
remote-endpoint = <&cvbs_vdac_out>; | ||
}; | ||
}; | ||
}; | ||
|
||
hdmi-connector { | ||
compatible = "hdmi-connector"; | ||
type = "a"; | ||
|
||
port { | ||
hdmi_connector_in: endpoint { | ||
remote-endpoint = <&hdmi_tx_tmds_out>; | ||
}; | ||
}; | ||
}; | ||
|
||
leds { | ||
compatible = "gpio-leds"; | ||
|
||
system { | ||
label = "librecomputer:system-status"; | ||
gpios = <&gpio GPIODV_24 GPIO_ACTIVE_HIGH>; | ||
default-state = "on"; | ||
panic-indicator; | ||
}; | ||
|
||
blue { | ||
label = "librecomputer:blue"; | ||
gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>; | ||
linux,default-trigger = "heartbeat"; | ||
}; | ||
}; | ||
}; | ||
|
||
&cvbs_vdac_port { | ||
cvbs_vdac_out: endpoint { | ||
remote-endpoint = <&cvbs_connector_in>; | ||
}; | ||
}; | ||
|
||
&hdmi_tx { | ||
status = "okay"; | ||
pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; | ||
pinctrl-names = "default"; | ||
}; | ||
|
||
&hdmi_tx_tmds_port { | ||
hdmi_tx_tmds_out: endpoint { | ||
remote-endpoint = <&hdmi_connector_in>; | ||
}; | ||
}; | ||
|
||
/* | ||
* The following devices exists but are exposed on the general | ||
* purpose GPIO header. End user may well decide to use those pins | ||
* for another purpose | ||
*/ | ||
|
||
&sd_emmc_a { | ||
status = "disabled"; | ||
}; | ||
|
||
&uart_A { | ||
status = "disabled"; | ||
}; | ||
|
||
&wifi32k { | ||
status = "disabled"; | ||
}; |