blob: 865e3fa2039d54b47b96b8e5bf07a9348e450cf2 [file] [log] [blame]
Wenyou Yang35736f52017-03-24 09:18:41 +08001/*
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 {
Wenyou Yang3c3be532017-09-18 15:25:58 +080013 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";
Simon Glassd3a98cb2023-02-13 08:56:33 -070020 bootph-all;
Wenyou Yang3c3be532017-09-18 15:25:58 +080021
22 display-timings {
Simon Glassd3a98cb2023-02-13 08:56:33 -070023 bootph-all;
Wenyou Yang3c3be532017-09-18 15:25:58 +080024 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>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070034 bootph-all;
Wenyou Yang3c3be532017-09-18 15:25:58 +080035 };
36 };
37 };
38
Wenyou Yang35736f52017-03-24 09:18:41 +080039 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};