summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/stm32f469-disco.dts
diff options
context:
space:
mode:
authorPhilippe CORNU <philippe.cornu@st.com>2018-02-15 09:20:00 +0100
committerAlexandre Torgue <alexandre.torgue@st.com>2018-05-04 09:45:51 +0200
commit18c88662666f8bd25eb1344c878f9577fd5ab11b (patch)
tree63612447aff29934a16110b9540719b5aac211ab /arch/arm/boot/dts/stm32f469-disco.dts
parentc5931d9ec6c2d4dc44b185451d09ae72aa9ad702 (diff)
ARM: dts: stm32: Add display support on stm32f469-disco
Add display support on the stm32f469-disco board. Signed-off-by: Philippe Cornu <philippe.cornu@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32f469-disco.dts')
-rw-r--r--arch/arm/boot/dts/stm32f469-disco.dts51
1 files changed, 50 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/stm32f469-disco.dts b/arch/arm/boot/dts/stm32f469-disco.dts
index 2933bbdfaf8f..3ee768cb86fc 100644
--- a/arch/arm/boot/dts/stm32f469-disco.dts
+++ b/arch/arm/boot/dts/stm32f469-disco.dts
@@ -46,7 +46,7 @@
*/
/dts-v1/;
-#include "stm32f429.dtsi"
+#include "stm32f469.dtsi"
#include "stm32f469-pinctrl.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
@@ -126,6 +126,55 @@
clock-frequency = <8000000>;
};
+&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 = <&ltdc_out_dsi>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+ dsi_out: endpoint {
+ remote-endpoint = <&dsi_panel_in>;
+ };
+ };
+ };
+
+ panel-dsi@0 {
+ compatible = "orisetech,otm8009a";
+ reg = <0>; /* dsi virtual channel (0..3) */
+ reset-gpios = <&gpioh 7 GPIO_ACTIVE_LOW>;
+ status = "okay";
+
+ port {
+ dsi_panel_in: endpoint {
+ remote-endpoint = <&dsi_out>;
+ };
+ };
+ };
+};
+
+&ltdc {
+ dma-ranges;
+ status = "okay";
+
+ port {
+ ltdc_out_dsi: endpoint@0 {
+ remote-endpoint = <&dsi_in>;
+ };
+ };
+};
+
&rtc {
status = "okay";
};