Merge branch 'next' into for-linus
[linux-2.6-microblaze.git] / arch / arm / boot / dts / at91sam9x5dm.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * at91sam9x5dm.dtsi - Device Tree file for SAM9x5 display module
4  *
5  *  Copyright (C) 2014 Atmel,
6  *                2014 Free Electrons
7  *
8  *  Author: Boris Brezillon <boris.brezillon@free-electrons.com>
9  */
10
11 / {
12         ahb {
13                 apb {
14                         i2c0: i2c@f8010000 {
15                                 qt1070: keyboard@1b {
16                                         compatible = "qt1070";
17                                         reg = <0x1b>;
18                                         interrupt-parent = <&pioA>;
19                                         interrupts = <7 0x0>;
20                                         pinctrl-names = "default";
21                                         pinctrl-0 = <&pinctrl_qt1070_irq>;
22                                         wakeup-source;
23                                 };
24                         };
25
26                         hlcdc: hlcdc@f8038000 {
27                                 hlcdc-display-controller {
28                                         pinctrl-names = "default";
29                                         pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888>;
30
31                                         port@0 {
32                                                 hlcdc_panel_output: endpoint@0 {
33                                                         reg = <0>;
34                                                         remote-endpoint = <&panel_input>;
35                                                 };
36                                         };
37                                 };
38                         };
39
40                         adc0: adc@f804c000 {
41                                 atmel,adc-ts-wires = <4>;
42                                 atmel,adc-ts-pressure-threshold = <10000>;
43                                 status = "okay";
44                         };
45
46                         pinctrl@fffff400 {
47                                 board {
48                                         pinctrl_qt1070_irq: qt1070_irq {
49                                                 atmel,pins =
50                                                         <AT91_PIOA 7 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
51                                         };
52                                 };
53                         };
54                 };
55         };
56
57         backlight: backlight {
58                 compatible = "pwm-backlight";
59                 pwms = <&hlcdc_pwm 0 50000 0>;
60                 brightness-levels = <0 4 8 16 32 64 128 255>;
61                 default-brightness-level = <6>;
62                 power-supply = <&bl_reg>;
63                 status = "disabled";
64         };
65
66         bl_reg: backlight_regulator {
67                 compatible = "regulator-fixed";
68                 regulator-name = "backlight-power-supply";
69                 regulator-min-microvolt = <5000000>;
70                 regulator-max-microvolt = <5000000>;
71                 status = "disabled";
72         };
73
74         panel: panel {
75                 compatible = "foxlink,fl500wvr00-a0t", "simple-panel";
76                 backlight = <&backlight>;
77                 power-supply = <&panel_reg>;
78                 #address-cells = <1>;
79                 #size-cells = <0>;
80                 status = "disabled";
81
82                 port@0 {
83                         #address-cells = <1>;
84                         #size-cells = <0>;
85
86                         panel_input: endpoint@0 {
87                                 reg = <0>;
88                                 remote-endpoint = <&hlcdc_panel_output>;
89                         };
90                 };
91         };
92
93         panel_reg: panel_regulator {
94                 compatible = "regulator-fixed";
95                 regulator-name = "panel-power-supply";
96                 regulator-min-microvolt = <3300000>;
97                 regulator-max-microvolt = <3300000>;
98                 status = "disabled";
99         };
100 };