xref: /openbmc/u-boot/arch/arm/dts/at91sam9x5dm.dtsi (revision 87a62bce)
1/*
2 * at91sam9x5dm.dtsi - Device Tree file for SAM9x5 display module
3 *
4 *  Copyright (C) 2014 Atmel,
5 *                2014 Free Electrons
6 *
7 *  Author: Boris Brezillon <boris.brezillon@free-electrons.com>
8 *
9 * Licensed under GPLv2 or later.
10 */
11
12/ {
13	ahb {
14		apb {
15			i2c0: i2c@f8010000 {
16				qt1070: keyboard@1b {
17					compatible = "qt1070";
18					reg = <0x1b>;
19					interrupt-parent = <&pioA>;
20					interrupts = <7 0x0>;
21					pinctrl-names = "default";
22					pinctrl-0 = <&pinctrl_qt1070_irq>;
23					wakeup-source;
24				};
25			};
26
27			hlcdc: hlcdc@f8038000 {
28				atmel,vl-bpix = <4>;
29				atmel,guard-time = <1>;
30				pinctrl-names = "default";
31				pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_pwm &pinctrl_lcd_rgb888>;
32
33				display-timings {
34					u-boot,dm-pre-reloc;
35					800x480 {
36						clock-frequency = <24000000>;
37						hactive = <800>;
38						vactive = <480>;
39						hsync-len = <128>;
40						hfront-porch = <64>;
41						hback-porch = <64>;
42						vfront-porch = <22>;
43						vback-porch = <21>;
44						vsync-len = <2>;
45						u-boot,dm-pre-reloc;
46					};
47				};
48			};
49
50			adc0: adc@f804c000 {
51				atmel,adc-ts-wires = <4>;
52				atmel,adc-ts-pressure-threshold = <10000>;
53				status = "okay";
54			};
55
56			pinctrl@fffff400 {
57				board {
58					pinctrl_qt1070_irq: qt1070_irq {
59						atmel,pins =
60							<AT91_PIOA 7 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
61					};
62				};
63			};
64		};
65	};
66};
67