]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/gnu/dts/arm/stm32mp157c-dk2.dts
MFV r355071: libbsdxml (expat) 2.2.9.
[FreeBSD/FreeBSD.git] / sys / gnu / dts / 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         reg18: reg18 {
16                 compatible = "regulator-fixed";
17                 regulator-name = "reg18";
18                 regulator-min-microvolt = <1800000>;
19                 regulator-max-microvolt = <1800000>;
20                 regulator-always-on;
21         };
22 };
23
24 &dsi {
25         #address-cells = <1>;
26         #size-cells = <0>;
27         status = "okay";
28         phy-dsi-supply = <&reg18>;
29
30         ports {
31                 #address-cells = <1>;
32                 #size-cells = <0>;
33
34                 port@0 {
35                         reg = <0>;
36                         dsi_in: endpoint {
37                                 remote-endpoint = <&ltdc_ep1_out>;
38                         };
39                 };
40
41                 port@1 {
42                         reg = <1>;
43                         dsi_out: endpoint {
44                                 remote-endpoint = <&panel_in>;
45                         };
46                 };
47         };
48
49         panel@0 {
50                 compatible = "orisetech,otm8009a";
51                 reg = <0>;
52                 reset-gpios = <&gpioe 4 GPIO_ACTIVE_LOW>;
53                 power-supply = <&v3v3>;
54                 status = "okay";
55
56                 port {
57                         panel_in: endpoint {
58                                 remote-endpoint = <&dsi_out>;
59                         };
60                 };
61         };
62 };
63
64 &ltdc {
65         status = "okay";
66
67         port {
68                 #address-cells = <1>;
69                 #size-cells = <0>;
70
71                 ltdc_ep1_out: endpoint@1 {
72                         reg = <1>;
73                         remote-endpoint = <&dsi_in>;
74                 };
75         };
76 };