1f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Copyright (C) STMicroelectronics 2019 - All Rights Reserved 4f126890aSEmmanuel Vadot * Author: Alexandre Torgue <alexandre.torgue@st.com> for STMicroelectronics. 5f126890aSEmmanuel Vadot */ 6f126890aSEmmanuel Vadot 7f126890aSEmmanuel Vadot/dts-v1/; 8f126890aSEmmanuel Vadot 9f126890aSEmmanuel Vadot#include "stm32mp157.dtsi" 10f126890aSEmmanuel Vadot#include "stm32mp15xc.dtsi" 11f126890aSEmmanuel Vadot#include "stm32mp15-pinctrl.dtsi" 12f126890aSEmmanuel Vadot#include "stm32mp15xxac-pinctrl.dtsi" 13f126890aSEmmanuel Vadot#include "stm32mp15xx-dkx.dtsi" 14f126890aSEmmanuel Vadot 15f126890aSEmmanuel Vadot/ { 16f126890aSEmmanuel Vadot model = "STMicroelectronics STM32MP157C-DK2 Discovery Board"; 17f126890aSEmmanuel Vadot compatible = "st,stm32mp157c-dk2", "st,stm32mp157"; 18f126890aSEmmanuel Vadot 19f126890aSEmmanuel Vadot aliases { 20f126890aSEmmanuel Vadot ethernet0 = ðernet0; 21f126890aSEmmanuel Vadot serial3 = &usart2; 22f126890aSEmmanuel Vadot }; 23f126890aSEmmanuel Vadot 24f126890aSEmmanuel Vadot chosen { 25f126890aSEmmanuel Vadot stdout-path = "serial0:115200n8"; 26f126890aSEmmanuel Vadot }; 27f126890aSEmmanuel Vadot}; 28f126890aSEmmanuel Vadot 29f126890aSEmmanuel Vadot&cryp1 { 30f126890aSEmmanuel Vadot status = "okay"; 31f126890aSEmmanuel Vadot}; 32f126890aSEmmanuel Vadot 33f126890aSEmmanuel Vadot&dsi { 34f126890aSEmmanuel Vadot #address-cells = <1>; 35f126890aSEmmanuel Vadot #size-cells = <0>; 36f126890aSEmmanuel Vadot status = "okay"; 37f126890aSEmmanuel Vadot 38f126890aSEmmanuel Vadot panel@0 { 39f126890aSEmmanuel Vadot compatible = "orisetech,otm8009a"; 40f126890aSEmmanuel Vadot reg = <0>; 41f126890aSEmmanuel Vadot reset-gpios = <&gpioe 4 GPIO_ACTIVE_LOW>; 42f126890aSEmmanuel Vadot power-supply = <&v3v3>; 43f126890aSEmmanuel Vadot status = "okay"; 44f126890aSEmmanuel Vadot 45f126890aSEmmanuel Vadot port { 46f126890aSEmmanuel Vadot panel_in: endpoint { 47f126890aSEmmanuel Vadot remote-endpoint = <&dsi_out>; 48f126890aSEmmanuel Vadot }; 49f126890aSEmmanuel Vadot }; 50f126890aSEmmanuel Vadot }; 51f126890aSEmmanuel Vadot}; 52f126890aSEmmanuel Vadot 53*aa1a8ff2SEmmanuel Vadot&dsi_in { 54*aa1a8ff2SEmmanuel Vadot remote-endpoint = <<dc_ep1_out>; 55*aa1a8ff2SEmmanuel Vadot}; 56*aa1a8ff2SEmmanuel Vadot 57*aa1a8ff2SEmmanuel Vadot&dsi_out { 58*aa1a8ff2SEmmanuel Vadot remote-endpoint = <&panel_in>; 59*aa1a8ff2SEmmanuel Vadot}; 60*aa1a8ff2SEmmanuel Vadot 61f126890aSEmmanuel Vadot&i2c1 { 62f126890aSEmmanuel Vadot touchscreen@38 { 63f126890aSEmmanuel Vadot compatible = "focaltech,ft6236"; 64f126890aSEmmanuel Vadot reg = <0x38>; 65f126890aSEmmanuel Vadot interrupts = <2 2>; 66f126890aSEmmanuel Vadot interrupt-parent = <&gpiof>; 67f126890aSEmmanuel Vadot touchscreen-size-x = <480>; 68f126890aSEmmanuel Vadot touchscreen-size-y = <800>; 69f126890aSEmmanuel Vadot status = "okay"; 70f126890aSEmmanuel Vadot }; 71f126890aSEmmanuel Vadot}; 72f126890aSEmmanuel Vadot 73f126890aSEmmanuel Vadot<dc { 74f126890aSEmmanuel Vadot status = "okay"; 75f126890aSEmmanuel Vadot 76f126890aSEmmanuel Vadot port { 77f126890aSEmmanuel Vadot #address-cells = <1>; 78f126890aSEmmanuel Vadot #size-cells = <0>; 79f126890aSEmmanuel Vadot 80f126890aSEmmanuel Vadot ltdc_ep1_out: endpoint@1 { 81f126890aSEmmanuel Vadot reg = <1>; 82f126890aSEmmanuel Vadot remote-endpoint = <&dsi_in>; 83f126890aSEmmanuel Vadot }; 84f126890aSEmmanuel Vadot }; 85f126890aSEmmanuel Vadot}; 86f126890aSEmmanuel Vadot 87f126890aSEmmanuel Vadot&usart2 { 88f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep", "idle"; 89f126890aSEmmanuel Vadot pinctrl-0 = <&usart2_pins_c>; 90f126890aSEmmanuel Vadot pinctrl-1 = <&usart2_sleep_pins_c>; 91f126890aSEmmanuel Vadot pinctrl-2 = <&usart2_idle_pins_c>; 92f126890aSEmmanuel Vadot status = "disabled"; 93f126890aSEmmanuel Vadot}; 94