arm64: dts: zx296718: add VGA device support
authorShawn Guo <shawn.guo@linaro.org>
Wed, 9 Aug 2017 06:30:42 +0000 (14:30 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 14 Aug 2017 01:51:14 +0000 (09:51 +0800)
It adds VGA device in zx296718.dtsi, so that boards with VGA connector
can enable the support by changing 'status' in board DTS file.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm64/boot/dts/zte/zx296718.dtsi

index b6e369d..7e17f96 100644 (file)
                                              "main_wclk", "aux_wclk";
                        };
 
+                       vga: vga@8000 {
+                               compatible = "zte,zx296718-vga";
+                               reg = <0x8000 0x1000>;
+                               interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&topcrm VGA_I2C_WCLK>;
+                               clock-names = "i2c_wclk";
+                               zte,vga-power-control = <&sysctrl 0x170 0xe0>;
+                               status = "disabled";
+                       };
+
                        hdmi: hdmi@c000 {
                                compatible = "zte,zx296718-hdmi";
                                reg = <0xc000 0x4000>;