Patrice Chotard | 2366160 | 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 | 1a4f57c | 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 | 2366160 | 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 | 1a4f57c | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 18 | |
| 19 | aliases { |
| 20 | ethernet0 = ðernet0; |
Patrick Delaunay | 62f95af | 2020-09-16 10:01:32 +0200 | [diff] [blame] | 21 | serial3 = &usart2; |
Patrick Delaunay | 1a4f57c | 2020-03-06 17:54:41 +0100 | [diff] [blame] | 22 | }; |
| 23 | |
| 24 | chosen { |
| 25 | stdout-path = "serial0:115200n8"; |
| 26 | }; |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 27 | }; |
| 28 | |
Patrick Delaunay | f050e3f | 2021-01-11 12:33:36 +0100 | [diff] [blame] | 29 | &cryp1 { |
| 30 | status = "okay"; |
| 31 | }; |
| 32 | |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 33 | &dsi { |
Patrice Chotard | f959118 | 2023-09-26 17:09:18 +0200 | [diff] [blame] | 34 | #address-cells = <1>; |
| 35 | #size-cells = <0>; |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 36 | status = "okay"; |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 37 | |
| 38 | panel@0 { |
| 39 | compatible = "orisetech,otm8009a"; |
| 40 | reg = <0>; |
| 41 | reset-gpios = <&gpioe 4 GPIO_ACTIVE_LOW>; |
Patrick Delaunay | 35a54d4 | 2019-07-11 11:15:28 +0200 | [diff] [blame] | 42 | power-supply = <&v3v3>; |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 43 | status = "okay"; |
| 44 | |
| 45 | port { |
| 46 | panel_in: endpoint { |
| 47 | remote-endpoint = <&dsi_out>; |
| 48 | }; |
| 49 | }; |
| 50 | }; |
| 51 | }; |
| 52 | |
Patrice Chotard | f959118 | 2023-09-26 17:09:18 +0200 | [diff] [blame] | 53 | &dsi_in { |
| 54 | remote-endpoint = <<dc_ep1_out>; |
| 55 | }; |
| 56 | |
| 57 | &dsi_out { |
| 58 | remote-endpoint = <&panel_in>; |
| 59 | }; |
| 60 | |
Patrick Delaunay | d35a5af | 2020-01-28 10:11:00 +0100 | [diff] [blame] | 61 | &i2c1 { |
| 62 | touchscreen@38 { |
| 63 | compatible = "focaltech,ft6236"; |
| 64 | reg = <0x38>; |
| 65 | interrupts = <2 2>; |
| 66 | interrupt-parent = <&gpiof>; |
| 67 | interrupt-controller; |
| 68 | touchscreen-size-x = <480>; |
| 69 | touchscreen-size-y = <800>; |
| 70 | status = "okay"; |
| 71 | }; |
| 72 | }; |
| 73 | |
Patrice Chotard | 2366160 | 2019-02-12 16:50:38 +0100 | [diff] [blame] | 74 | <dc { |
| 75 | status = "okay"; |
| 76 | |
| 77 | port { |
Patrice Chotard | f959118 | 2023-09-26 17:09:18 +0200 | [diff] [blame] | 78 | #address-cells = <1>; |
| 79 | #size-cells = <0>; |
| 80 | |
Patrice Chotard | 2366160 | 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 | }; |
Patrick Delaunay | 62f95af | 2020-09-16 10:01:32 +0200 | [diff] [blame] | 87 | |
| 88 | &usart2 { |
| 89 | pinctrl-names = "default", "sleep", "idle"; |
| 90 | pinctrl-0 = <&usart2_pins_c>; |
| 91 | pinctrl-1 = <&usart2_sleep_pins_c>; |
| 92 | pinctrl-2 = <&usart2_idle_pins_c>; |
| 93 | status = "disabled"; |
| 94 | }; |