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 "stm32mp157.dtsi" 10#include "stm32mp15xc.dtsi" 11#include "stm32mp15-pinctrl.dtsi" 12#include "stm32mp15xxac-pinctrl.dtsi" 13#include "stm32mp15xx-dkx.dtsi" 14 15/ { 16 model = "STMicroelectronics STM32MP157C-DK2 Discovery Board"; 17 compatible = "st,stm32mp157c-dk2", "st,stm32mp157"; 18 19 reserved-memory { 20 optee_memory: optee@0xde000000 { 21 reg = <0xde000000 0x02000000>; 22 no-map; 23 }; 24 }; 25 26 aliases { 27 ethernet0 = ðernet0; 28 serial3 = &usart2; 29 }; 30 31 chosen { 32 stdout-path = "serial0:115200n8"; 33 }; 34}; 35 36&cryp1 { 37 status = "okay"; 38}; 39 40&dsi { 41 #address-cells = <1>; 42 #size-cells = <0>; 43 status = "okay"; 44 45 panel@0 { 46 compatible = "orisetech,otm8009a"; 47 reg = <0>; 48 reset-gpios = <&gpioe 4 GPIO_ACTIVE_LOW>; 49 power-supply = <&v3v3>; 50 status = "okay"; 51 52 port { 53 panel_in: endpoint { 54 remote-endpoint = <&dsi_out>; 55 }; 56 }; 57 }; 58}; 59 60&dsi_in { 61 remote-endpoint = <<dc_ep1_out>; 62}; 63 64&dsi_out { 65 remote-endpoint = <&panel_in>; 66}; 67 68&i2c1 { 69 touchscreen@38 { 70 compatible = "focaltech,ft6236"; 71 reg = <0x38>; 72 interrupts = <2 2>; 73 interrupt-parent = <&gpiof>; 74 touchscreen-size-x = <480>; 75 touchscreen-size-y = <800>; 76 status = "okay"; 77 }; 78}; 79 80<dc { 81 status = "okay"; 82 83 port { 84 #address-cells = <1>; 85 #size-cells = <0>; 86 87 ltdc_ep1_out: endpoint@1 { 88 reg = <1>; 89 remote-endpoint = <&dsi_in>; 90 }; 91 }; 92}; 93 94&usart2 { 95 pinctrl-names = "default", "sleep", "idle"; 96 pinctrl-0 = <&usart2_pins_c>; 97 pinctrl-1 = <&usart2_sleep_pins_c>; 98 pinctrl-2 = <&usart2_idle_pins_c>; 99 status = "disabled"; 100}; 101 102&optee { 103 status = "okay"; 104}; 105