Skip to content

Commit

Permalink
ARM: dts: stm32f769-disco: rework ltdc node
Browse files Browse the repository at this point in the history
With commit f479f5d ("ARM: dts: stm32: add ltdc support on
stm32f746 MCU"), which adds the 'ltdc' node in stm32f746.dtsi, we can
simplify stm32f769-disco-uboot.dtsi and align stm32f769-disco.dtsi with
the kernel version.

Signed-off-by: Dario Binacchi <[email protected]>
Reviewed-by: Patrice Chotard <[email protected]>
Reviewed-by: Patrice Chotard <[email protected]>
  • Loading branch information
passgat authored and Patrice Chotard committed Dec 15, 2023
1 parent fa3f19a commit 555cf4c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
23 changes: 9 additions & 14 deletions arch/arm/dts/stm32f769-disco-u-boot.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -70,22 +70,17 @@
};
};
};
};
};

ltdc: display-controller@40016800 {
compatible = "st,stm32-ltdc";
reg = <0x40016800 0x200>;
resets = <&rcc STM32F7_APB2_RESET(LTDC)>;
clocks = <&rcc 0 STM32F7_APB2_CLOCK(LTDC)>;

status = "okay";
bootph-all;
&ltdc {
clocks = <&rcc 0 STM32F7_APB2_CLOCK(LTDC)>;
bootph-all;

ports {
port@0 {
dp_out: endpoint {
remote-endpoint = <&dsi_in>;
};
};
ports {
port@0 {
dp_out: endpoint {
remote-endpoint = <&dsi_in>;
};
};
};
Expand Down
4 changes: 4 additions & 0 deletions arch/arm/dts/stm32f769-disco.dts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@
status = "okay";
};

&ltdc {
status = "okay";
};

&rtc {
status = "okay";
};
Expand Down

0 comments on commit 555cf4c

Please sign in to comment.