xref: /openbmc/u-boot/arch/arm/dts/sama5d3xdm.dtsi (revision 44262327)
1/*
2 * sama5d3dm.dtsi - Device Tree file for SAMA5 display module
3 *
4 *  Copyright (C) 2013 Atmel,
5 *                2013 Ludovic Desroches <ludovic.desroches@atmel.com>
6 *
7 * Licensed under GPLv2 or later.
8 */
9
10/ {
11	ahb {
12		apb {
13			hlcdc: hlcdc@f0030000 {
14				atmel,vl-bpix = <4>;
15				atmel,output-mode = <24>;
16				atmel,guard-time = <1>;
17				pinctrl-names = "default";
18				pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_pwm &pinctrl_lcd_rgb888_alt>;
19				status = "okay";
20				u-boot,dm-pre-reloc;
21
22				display-timings {
23					u-boot,dm-pre-reloc;
24					800x480 {
25						clock-frequency = <24000000>;
26						hactive = <800>;
27						vactive = <480>;
28						hsync-len = <5>;
29						hfront-porch = <64>;
30						hback-porch = <64>;
31						vfront-porch = <22>;
32						vback-porch = <21>;
33						vsync-len = <5>;
34						u-boot,dm-pre-reloc;
35					};
36				};
37			};
38
39			i2c1: i2c@f0018000 {
40				qt1070: keyboard@1b {
41					compatible = "qt1070";
42					reg = <0x1b>;
43					interrupt-parent = <&pioE>;
44					interrupts = <31 0x0>;
45					pinctrl-names = "default";
46					pinctrl-0 = <&pinctrl_qt1070_irq>;
47					wakeup-source;
48				};
49			};
50
51			adc0: adc@f8018000 {
52				atmel,adc-ts-wires = <4>;
53				atmel,adc-ts-pressure-threshold = <10000>;
54				status = "okay";
55			};
56
57			pinctrl@fffff200 {
58				board {
59					pinctrl_qt1070_irq: qt1070_irq {
60						atmel,pins =
61							<AT91_PIOE 31 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PE31 GPIO with pull up deglith */
62					};
63				};
64			};
65		};
66	};
67};
68