2019-02-12 15:50:38 +00:00
|
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
|
|
|
|
/*
|
|
|
|
* Copyright (C) STMicroelectronics 2019 - All Rights Reserved
|
|
|
|
* Author: Alexandre Torgue <alexandre.torgue@st.com> for STMicroelectronics.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
2020-03-06 16:54:41 +00:00
|
|
|
#include "stm32mp157.dtsi"
|
|
|
|
#include "stm32mp15xc.dtsi"
|
|
|
|
#include "stm32mp15-pinctrl.dtsi"
|
|
|
|
#include "stm32mp15xxac-pinctrl.dtsi"
|
|
|
|
#include "stm32mp15xx-dkx.dtsi"
|
2019-02-12 15:50:38 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "STMicroelectronics STM32MP157C-DK2 Discovery Board";
|
|
|
|
compatible = "st,stm32mp157c-dk2", "st,stm32mp157";
|
2020-03-06 16:54:41 +00:00
|
|
|
|
|
|
|
aliases {
|
|
|
|
ethernet0 = ðernet0;
|
2020-09-16 08:01:32 +00:00
|
|
|
serial3 = &usart2;
|
2020-03-06 16:54:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
stdout-path = "serial0:115200n8";
|
|
|
|
};
|
2019-02-12 15:50:38 +00:00
|
|
|
};
|
|
|
|
|
2021-01-11 11:33:36 +00:00
|
|
|
&cryp1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2019-02-12 15:50:38 +00:00
|
|
|
&dsi {
|
|
|
|
status = "okay";
|
|
|
|
phy-dsi-supply = <®18>;
|
|
|
|
|
|
|
|
ports {
|
|
|
|
port@0 {
|
|
|
|
reg = <0>;
|
|
|
|
dsi_in: endpoint {
|
|
|
|
remote-endpoint = <<dc_ep1_out>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
port@1 {
|
|
|
|
reg = <1>;
|
|
|
|
dsi_out: endpoint {
|
|
|
|
remote-endpoint = <&panel_in>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
panel@0 {
|
|
|
|
compatible = "orisetech,otm8009a";
|
|
|
|
reg = <0>;
|
|
|
|
reset-gpios = <&gpioe 4 GPIO_ACTIVE_LOW>;
|
2019-07-11 09:15:28 +00:00
|
|
|
power-supply = <&v3v3>;
|
2019-02-12 15:50:38 +00:00
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
port {
|
|
|
|
panel_in: endpoint {
|
|
|
|
remote-endpoint = <&dsi_out>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-01-28 09:11:00 +00:00
|
|
|
&i2c1 {
|
|
|
|
touchscreen@38 {
|
|
|
|
compatible = "focaltech,ft6236";
|
|
|
|
reg = <0x38>;
|
|
|
|
interrupts = <2 2>;
|
|
|
|
interrupt-parent = <&gpiof>;
|
|
|
|
interrupt-controller;
|
|
|
|
touchscreen-size-x = <480>;
|
|
|
|
touchscreen-size-y = <800>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-02-12 15:50:38 +00:00
|
|
|
<dc {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
port {
|
|
|
|
ltdc_ep1_out: endpoint@1 {
|
|
|
|
reg = <1>;
|
|
|
|
remote-endpoint = <&dsi_in>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2020-09-16 08:01:32 +00:00
|
|
|
|
|
|
|
&usart2 {
|
|
|
|
pinctrl-names = "default", "sleep", "idle";
|
|
|
|
pinctrl-0 = <&usart2_pins_c>;
|
|
|
|
pinctrl-1 = <&usart2_sleep_pins_c>;
|
|
|
|
pinctrl-2 = <&usart2_idle_pins_c>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|