]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: st: add Hardware debug port (HDP) on stm32mp25
authorClément Le Goffic <clement.legoffic@foss.st.com>
Fri, 11 Jul 2025 07:41:24 +0000 (09:41 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Mon, 15 Sep 2025 15:51:02 +0000 (17:51 +0200)
Add the hdp devicetree node for stm32mp25 SoC family

Keep the node disabled as HDP needs the pinctrl SoC configuration to be
able to output its mux output signal outside of the SoC, on the SoC pad.
This configuration is provided in the board dtsi file through 'pinctrl-*'
properties as well as HDP mux configuration.
Thus, if needed, HDP should be enabled in board dtsi file.

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

index 303abf915b8e489671b51a8c832041c14a42ecb8..9372bc3c3a4b5506ba1352747e75cb846e65b5a0 100644 (file)
                        };
                };
 
+               hdp: pinctrl@44090000 {
+                       compatible = "st,stm32mp251-hdp";
+                       reg = <0x44090000 0x400>;
+                       clocks = <&rcc CK_BUS_HDP>;
+                       status = "disabled";
+               };
+
                rcc: clock-controller@44200000 {
                        compatible = "st,stm32mp25-rcc";
                        reg = <0x44200000 0x10000>;