]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - src/arm/stm32mp157c-dk2.dts
DTS: Update the device-tree files to Linux 5.5
[FreeBSD/FreeBSD.git] / src / arm / stm32mp157c-dk2.dts
1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2 /*
3  * Copyright (C) STMicroelectronics 2019 - All Rights Reserved
4  * Author: Alexandre Torgue <alexandre.torgue@st.com> for STMicroelectronics.
5  */
6
7 /dts-v1/;
8
9 #include "stm32mp157a-dk1.dts"
10
11 / {
12         model = "STMicroelectronics STM32MP157C-DK2 Discovery Board";
13         compatible = "st,stm32mp157c-dk2", "st,stm32mp157";
14 };
15
16 &dsi {
17         #address-cells = <1>;
18         #size-cells = <0>;
19         status = "okay";
20         phy-dsi-supply = <&reg18>;
21
22         ports {
23                 #address-cells = <1>;
24                 #size-cells = <0>;
25
26                 port@0 {
27                         reg = <0>;
28                         dsi_in: endpoint {
29                                 remote-endpoint = <&ltdc_ep1_out>;
30                         };
31                 };
32
33                 port@1 {
34                         reg = <1>;
35                         dsi_out: endpoint {
36                                 remote-endpoint = <&panel_in>;
37                         };
38                 };
39         };
40
41         panel@0 {
42                 compatible = "orisetech,otm8009a";
43                 reg = <0>;
44                 reset-gpios = <&gpioe 4 GPIO_ACTIVE_LOW>;
45                 power-supply = <&v3v3>;
46                 status = "okay";
47
48                 port {
49                         panel_in: endpoint {
50                                 remote-endpoint = <&dsi_out>;
51                         };
52                 };
53         };
54 };
55
56 &i2c1 {
57         touchscreen@38 {
58                 compatible = "focaltech,ft6236";
59                 reg = <0x38>;
60                 interrupts = <2 2>;
61                 interrupt-parent = <&gpiof>;
62                 interrupt-controller;
63                 touchscreen-size-x = <480>;
64                 touchscreen-size-y = <800>;
65                 status = "okay";
66         };
67 };
68
69 &ltdc {
70         status = "okay";
71
72         port {
73                 #address-cells = <1>;
74                 #size-cells = <0>;
75
76                 ltdc_ep1_out: endpoint@1 {
77                         reg = <1>;
78                         remote-endpoint = <&dsi_in>;
79                 };
80         };
81 };