hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/at91sam9x5dm.dtsi
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * at91sam9x5dm.dtsi - Device Tree file for SAM9x5 display module
34 *
....@@ -5,56 +6,9 @@
56 * 2014 Free Electrons
67 *
78 * Author: Boris Brezillon <boris.brezillon@free-electrons.com>
8
- *
9
- * Licensed under GPLv2 or later.
109 */
1110
1211 / {
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
- hlcdc-display-controller {
29
- pinctrl-names = "default";
30
- pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888>;
31
-
32
- port@0 {
33
- hlcdc_panel_output: endpoint@0 {
34
- reg = <0>;
35
- remote-endpoint = <&panel_input>;
36
- };
37
- };
38
- };
39
- };
40
-
41
- adc0: adc@f804c000 {
42
- atmel,adc-ts-wires = <4>;
43
- atmel,adc-ts-pressure-threshold = <10000>;
44
- status = "okay";
45
- };
46
-
47
- pinctrl@fffff400 {
48
- board {
49
- pinctrl_qt1070_irq: qt1070_irq {
50
- atmel,pins =
51
- <AT91_PIOA 7 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
52
- };
53
- };
54
- };
55
- };
56
- };
57
-
5812 backlight: backlight {
5913 compatible = "pwm-backlight";
6014 pwms = <&hlcdc_pwm 0 50000 0>;
....@@ -73,7 +27,7 @@
7327 };
7428
7529 panel: panel {
76
- compatible = "foxlink,fl500wvr00-a0t", "simple-panel";
30
+ compatible = "foxlink,fl500wvr00-a0t";
7731 backlight = <&backlight>;
7832 power-supply = <&panel_reg>;
7933 #address-cells = <1>;
....@@ -99,3 +53,44 @@
9953 status = "disabled";
10054 };
10155 };
56
+
57
+&adc0 {
58
+ atmel,adc-ts-wires = <4>;
59
+ atmel,adc-ts-pressure-threshold = <10000>;
60
+ status = "okay";
61
+};
62
+
63
+&i2c0 {
64
+ keyboard@1b {
65
+ compatible = "qt1070";
66
+ reg = <0x1b>;
67
+ interrupt-parent = <&pioA>;
68
+ interrupts = <7 0x0>;
69
+ pinctrl-names = "default";
70
+ pinctrl-0 = <&pinctrl_qt1070_irq>;
71
+ wakeup-source;
72
+ };
73
+};
74
+
75
+&hlcdc {
76
+ hlcdc-display-controller {
77
+ pinctrl-names = "default";
78
+ pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888>;
79
+
80
+ port@0 {
81
+ hlcdc_panel_output: endpoint@0 {
82
+ reg = <0>;
83
+ remote-endpoint = <&panel_input>;
84
+ };
85
+ };
86
+ };
87
+};
88
+
89
+&pinctrl {
90
+ board {
91
+ pinctrl_qt1070_irq: qt1070_irq {
92
+ atmel,pins =
93
+ <AT91_PIOA 7 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
94
+ };
95
+ };
96
+};