summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/at91-sama5d4_xplained.dts
diff options
context:
space:
mode:
authorWenyou Yang <wenyou.yang@atmel.com>2017-09-18 15:26:00 +0800
committerAnatolij Gustschin <agust@denx.de>2017-09-29 17:51:22 +0200
commite974b08119348ec19c44ffcb1d4184fac9ea707b (patch)
treea3368bd6c865cca01f8fcf185bac57649be1ea02 /arch/arm/dts/at91-sama5d4_xplained.dts
parent4b0467db538cc60fa02d448ed0758247d4607c63 (diff)
downloadu-boot-e974b08119348ec19c44ffcb1d4184fac9ea707b.tar.gz
u-boot-e974b08119348ec19c44ffcb1d4184fac9ea707b.tar.xz
u-boot-e974b08119348ec19c44ffcb1d4184fac9ea707b.zip
board: sama5d4_xplained: Convert to CONFIG_DM_VIDEO
Convert the board to support the video driver model, add the device tree node, and remove the unnecessary code. Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/dts/at91-sama5d4_xplained.dts')
-rw-r--r--arch/arm/dts/at91-sama5d4_xplained.dts25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/dts/at91-sama5d4_xplained.dts b/arch/arm/dts/at91-sama5d4_xplained.dts
index 0592b31b91..ea35dc21b6 100644
--- a/arch/arm/dts/at91-sama5d4_xplained.dts
+++ b/arch/arm/dts/at91-sama5d4_xplained.dts
@@ -74,6 +74,31 @@
ahb {
apb {
+ hlcdc: hlcdc@f0000000 {
+ atmel,vl-bpix = <4>;
+ atmel,guard-time = <1>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_pwm &pinctrl_lcd_rgb888>;
+ status = "okay";
+ u-boot,dm-pre-reloc;
+
+ display-timings {
+ u-boot,dm-pre-reloc;
+ 480x272 {
+ clock-frequency = <9000000>;
+ hactive = <480>;
+ vactive = <272>;
+ hsync-len = <41>;
+ hfront-porch = <2>;
+ hback-porch = <2>;
+ vfront-porch = <2>;
+ vback-porch = <2>;
+ vsync-len = <11>;
+ u-boot,dm-pre-reloc;
+ };
+ };
+ };
+
spi0: spi@f8010000 {
u-boot,dm-pre-reloc;
cs-gpios = <&pioC 3 0>, <0>, <0>, <0>;