]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: stm32: add Hardware debug port (HDP) on stm32mp15
authorClément Le Goffic <clement.legoffic@foss.st.com>
Fri, 11 Jul 2025 07:41:23 +0000 (09:41 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Wed, 3 Sep 2025 16:37:03 +0000 (18:37 +0200)
Add the hdp devicetree node for stm32mp15 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-5-faeecf7aaee1@foss.st.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32mp151.dtsi

index 0daa8ffe2ff5dac9042e2bbfe89b89ab41c91bed..b1b568dfd1261883a7a5c23b2e4caa1193dc4bd3 100644 (file)
                        status = "disabled";
                };
 
+               hdp: pinctrl@5002a000 {
+                       compatible = "st,stm32mp151-hdp";
+                       reg = <0x5002a000 0x400>;
+                       clocks = <&rcc HDP>;
+                       status = "disabled";
+               };
+
                mdma1: dma-controller@58000000 {
                        compatible = "st,stm32h7-mdma";
                        reg = <0x58000000 0x1000>;