[U-Boot,v1,6/7] arm: dts: stm32: add ltdc for STM32F746

Message ID 1518535713-787-7-git-send-email-yannick.fertre@st.com
State Superseded
Delegated to: Anatolij Gustschin
Headers show
Series
  • splash screen on the stm32f746 disco board
Related show

Commit Message

Yannick Fertré Feb. 13, 2018, 3:28 p.m.
From: Philippe CORNU <philippe.cornu@st.com>

Add display controller node in device-tree.

Signed-off-by: yannick fertre <yannick.fertre@st.com>
---
 arch/arm/dts/stm32f746.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

Patch

diff --git a/arch/arm/dts/stm32f746.dtsi b/arch/arm/dts/stm32f746.dtsi
index 46d148e..e4d32bf 100644
--- a/arch/arm/dts/stm32f746.dtsi
+++ b/arch/arm/dts/stm32f746.dtsi
@@ -323,6 +323,15 @@ 
 			pinctrl-names = "default", "opendrain";
 			max-frequency = <48000000>;
 		};
+
+		ltdc: display-controller@40016800 {
+			compatible = "st,stm32-ltdc";
+			reg = <0x40016800 0x200>;
+			resets = <&rcc STM32F7_APB2_RESET(LTDC)>;
+			clocks = <&rcc 0 STM32F7_APB2_CLOCK(LTDC)>;
+			u-boot,dm-pre-reloc;
+			status = "disabled";
+		};
 	};
 };