]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: stm32: add Hardware debug port (HDP) on stm32mp157c-dk2 board
authorClément Le Goffic <clement.legoffic@foss.st.com>
Fri, 11 Jul 2025 07:41:26 +0000 (09:41 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Mon, 15 Sep 2025 15:51:30 +0000 (17:51 +0200)
On the stm32mp157fc-dk2 board, we can observe the hdp GPOVAL function on
SoC pin E13 accessible on the pin 5 on the Arduino connector CN13.
Add the relevant configuration but keep it disabled as it's used for
debug only.

Signed-off-by: Clément Le Goffic <clement.legoffic@foss.st.com>
Link: https://lore.kernel.org/r/20250711-hdp-upstream-v7-8-faeecf7aaee1@foss.st.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32mp157c-dk2.dts

index 78165c7865e1d256319e2af198d2d369ba38d2ba..1ec3b8f2faa92f7c3f254228e7e93e9aec627c3b 100644 (file)
        remote-endpoint = <&panel_in>;
 };
 
+&hdp {
+       pinctrl-names = "default", "sleep";
+       pinctrl-0 = <&hdp2_gpo &hdp2_pins_a>;
+       pinctrl-1 = <&hdp2_sleep_pins_a>;
+};
+
 &i2c1 {
        touchscreen@38 {
                compatible = "focaltech,ft6236";