summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2016-07-08 18:05:43 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2016-07-18 11:39:45 +0200
commitf4a51e0ff74a496304ea06c4c74cca934c915efa (patch)
tree8345ff7b57ad47f1e73d3e13230f4ed8a2d63fc7 /arch/arm/boot/dts/sun5i-a13-q8-tablet.dts
parent110af36aa06dfa201b844ac683d35ce18d4d686e (diff)
ARM: dts: sun5i: Move q8 display bits to sun5i-a13-q8-tablet.dts
This is a preparation patch for renaming sun5i-q8-common.dtsi to sun5i-reference-design-tablet.dtsi and sharing it between all the A13 tablet dts files. Since we only have a panel config for the 18 tablets (for now) move this to the q8 specific dts file. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun5i-a13-q8-tablet.dts')
-rw-r--r--arch/arm/boot/dts/sun5i-a13-q8-tablet.dts36
1 files changed, 36 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts b/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts
index dce77825571d..afe14f7bf3fb 100644
--- a/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts
+++ b/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts
@@ -47,4 +47,40 @@
/ {
model = "Q8 A13 Tablet";
compatible = "allwinner,q8-a13", "allwinner,sun5i-a13";
+
+ panel: panel {
+ compatible = "urt,umsh-8596md-t", "simple-panel";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+ /* TODO: lcd panel uses axp gpio0 as enable pin */
+ backlight = <&backlight>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ panel_input: endpoint@0 {
+ reg = <0>;
+ remote-endpoint = <&tcon0_out_lcd>;
+ };
+ };
+ };
+};
+
+&be0 {
+ status = "okay";
+};
+
+&tcon0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&lcd_rgb666_pins>;
+ status = "okay";
+};
+
+&tcon0_out {
+ tcon0_out_lcd: endpoint@0 {
+ reg = <0>;
+ remote-endpoint = <&panel_input>;
+ };
};