87 lines
1.6 KiB
Plaintext
87 lines
1.6 KiB
Plaintext
|
// 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/;
|
||
|
|
||
|
#include "stm32mp157a-ed1.dts"
|
||
|
#include "stm32mp15xx-evx.dtsi"
|
||
|
#include <dt-bindings/input/input.h>
|
||
|
#include <dt-bindings/soc/stm32-hdp.h>
|
||
|
|
||
|
/ {
|
||
|
model = "STMicroelectronics STM32MP157A eval daughter on eval mother";
|
||
|
compatible = "st,stm32mp157a-ev1", "st,stm32mp157a-ed1", "st,stm32mp157";
|
||
|
|
||
|
chosen {
|
||
|
stdout-path = "serial0:115200n8";
|
||
|
};
|
||
|
|
||
|
aliases {
|
||
|
serial1 = &usart3;
|
||
|
ethernet0 = ðernet0;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&dsi {
|
||
|
#address-cells = <1>;
|
||
|
#size-cells = <0>;
|
||
|
status = "okay";
|
||
|
|
||
|
ports {
|
||
|
#address-cells = <1>;
|
||
|
#size-cells = <0>;
|
||
|
|
||
|
port@0 {
|
||
|
reg = <0>;
|
||
|
dsi_in: endpoint {
|
||
|
remote-endpoint = <<dc_ep0_out>;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
port@1 {
|
||
|
reg = <1>;
|
||
|
dsi_out: endpoint {
|
||
|
remote-endpoint = <&dsi_panel_in>;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
panel_dsi: panel-dsi@0 {
|
||
|
compatible = "raydium,rm68200";
|
||
|
reg = <0>;
|
||
|
reset-gpios = <&gpiof 15 GPIO_ACTIVE_LOW>;
|
||
|
backlight = <&panel_backlight>;
|
||
|
power-supply = <&v3v3>;
|
||
|
status = "okay";
|
||
|
|
||
|
port {
|
||
|
dsi_panel_in: endpoint {
|
||
|
remote-endpoint = <&dsi_out>;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&i2c2 {
|
||
|
gt9147: goodix_ts@5d {
|
||
|
compatible = "goodix,gt9147";
|
||
|
reg = <0x5d>;
|
||
|
panel = <&panel_dsi>;
|
||
|
pinctrl-0 = <&goodix_pins>;
|
||
|
pinctrl-names = "default";
|
||
|
status = "okay";
|
||
|
|
||
|
interrupts = <14 IRQ_TYPE_EDGE_RISING>;
|
||
|
interrupt-parent = <&stmfx_pinctrl>;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&m_can1 {
|
||
|
pinctrl-names = "default", "sleep";
|
||
|
pinctrl-0 = <&m_can1_pins_a>;
|
||
|
pinctrl-1 = <&m_can1_sleep_pins_a>;
|
||
|
status = "okay";
|
||
|
};
|