Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 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 | |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 9 | #include "stm32mp157.dtsi" |
| 10 | #include "stm32mp15xc.dtsi" |
| 11 | #include "stm32mp15-pinctrl.dtsi" |
| 12 | #include "stm32mp15xxac-pinctrl.dtsi" |
| 13 | #include "stm32mp15xx-dkx.dtsi" |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 14 | |
| 15 | / { |
| 16 | model = "STMicroelectronics STM32MP157C-DK2 Discovery Board"; |
| 17 | compatible = "st,stm32mp157c-dk2", "st,stm32mp157"; |
Patrick Delaunay | 48c5e90 | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 18 | |
| 19 | aliases { |
| 20 | ethernet0 = ðernet0; |
| 21 | serial0 = &uart4; |
| 22 | }; |
| 23 | |
| 24 | chosen { |
| 25 | stdout-path = "serial0:115200n8"; |
| 26 | }; |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 27 | }; |
| 28 | |
| 29 | &dsi { |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 30 | status = "okay"; |
| 31 | phy-dsi-supply = <®18>; |
| 32 | |
| 33 | ports { |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 34 | port@0 { |
| 35 | reg = <0>; |
| 36 | dsi_in: endpoint { |
| 37 | remote-endpoint = <<dc_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>; |
Patrick Delaunay | a370530 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 53 | power-supply = <&v3v3>; |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 54 | status = "okay"; |
| 55 | |
| 56 | port { |
| 57 | panel_in: endpoint { |
| 58 | remote-endpoint = <&dsi_out>; |
| 59 | }; |
| 60 | }; |
| 61 | }; |
| 62 | }; |
| 63 | |
Patrick Delaunay | b9c16b7 | 2020-01-28 10:11:00 +0100 | [diff] [blame] | 64 | &i2c1 { |
| 65 | touchscreen@38 { |
| 66 | compatible = "focaltech,ft6236"; |
| 67 | reg = <0x38>; |
| 68 | interrupts = <2 2>; |
| 69 | interrupt-parent = <&gpiof>; |
| 70 | interrupt-controller; |
| 71 | touchscreen-size-x = <480>; |
| 72 | touchscreen-size-y = <800>; |
| 73 | status = "okay"; |
| 74 | }; |
| 75 | }; |
| 76 | |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 77 | <dc { |
| 78 | status = "okay"; |
| 79 | |
| 80 | port { |
Patrice Chotard | 00442d0 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 81 | ltdc_ep1_out: endpoint@1 { |
| 82 | reg = <1>; |
| 83 | remote-endpoint = <&dsi_in>; |
| 84 | }; |
| 85 | }; |
| 86 | }; |