]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: stm32: add Hardware debug port (HDP) on stm32mp13
authorClément Le Goffic <clement.legoffic@foss.st.com>
Fri, 11 Jul 2025 07:41:22 +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 stm32mp13 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-4-faeecf7aaee1@foss.st.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32mp131.dtsi

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