aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2013-03-12 16:46:47 +0000
committerBintian Wang <bintian.wang@linaro.org>2013-10-09 18:53:13 +0800
commit4147688233e9b50fcbc044742c57e4fca306ca62 (patch)
tree528aa2f5df33513da5e3aa49b134414f69c19750
parent42dc6dcb40263755d4326373888d34c9411a649e (diff)
downloadjuice-4147688233e9b50fcbc044742c57e4fca306ca62.tar.gz
HACK: arm64: DT: Add VGA panel and select it by default
This will give us a lower resolution screen which is a lot more usable when running a GUI on the models. Ideally, the display driver would support boot time selection of resolution via a kernel commandline argument. Signed-off-by: Jon Medhurst <tixy@linaro.org>
-rw-r--r--arch/arm64/boot/dts/rtsm_ve-aemv8a.dts21
-rw-r--r--arch/arm64/boot/dts/rtsm_ve-motherboard.dtsi2
2 files changed, 22 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/rtsm_ve-aemv8a.dts b/arch/arm64/boot/dts/rtsm_ve-aemv8a.dts
index 606b6502ce1..6d3f1fbe7a6 100644
--- a/arch/arm64/boot/dts/rtsm_ve-aemv8a.dts
+++ b/arch/arm64/boot/dts/rtsm_ve-aemv8a.dts
@@ -163,6 +163,27 @@
panels {
panel@0 {
compatible = "panel";
+ mode = "VGA";
+ refresh = <60>;
+ xres = <640>;
+ yres = <480>;
+ pixclock = <39721>;
+ left_margin = <40>;
+ right_margin = <24>;
+ upper_margin = <32>;
+ lower_margin = <11>;
+ hsync_len = <96>;
+ vsync_len = <2>;
+ sync = <0>;
+ vmode = "FB_VMODE_NONINTERLACED";
+ tim2 = "TIM2_BCD", "TIM2_IPC";
+ cntl = "CNTL_LCDTFT", "CNTL_BGR", "CNTL_LCDVCOMP(1)";
+ caps = "CLCD_CAP_5551", "CLCD_CAP_565", "CLCD_CAP_888";
+ bpp = <16>;
+ };
+
+ panel@1 {
+ compatible = "panel";
mode = "XVGA";
refresh = <60>;
xres = <1024>;
diff --git a/arch/arm64/boot/dts/rtsm_ve-motherboard.dtsi b/arch/arm64/boot/dts/rtsm_ve-motherboard.dtsi
index 61c6879dd22..84bd6e9f3bc 100644
--- a/arch/arm64/boot/dts/rtsm_ve-motherboard.dtsi
+++ b/arch/arm64/boot/dts/rtsm_ve-motherboard.dtsi
@@ -182,7 +182,7 @@
interrupts = <14>;
clocks = <&v2m_oscclk1>, <&v2m_clk24mhz>;
clock-names = "clcdclk", "apb_pclk";
- mode = "XVGA";
+ mode = "VGA";
use_dma = <0>;
framebuffer = <0x18000000 0x00180000>;
};