]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: stm32: Add support for STM32MP13xx DHCOR SoM and DHSBC rev.200 board
authorMarek Vasut <marex@denx.de>
Sun, 2 Mar 2025 15:25:14 +0000 (16:25 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Mon, 10 Mar 2025 13:25:13 +0000 (14:25 +0100)
LDO2 is expansion connector supply on STM32MP13xx DHCOR DHSBC rev.200.
LDO5 is carrier board supply on STM32MP13xx DHCOR DHSBC rev.200. Keep
both regulators always enabled to make sure both the carrier board and
the expansion connector is always powered on and supplied with correct
voltage.

Describe ST33TPHF2XSPI TPM 2.0 chip interrupt and reset lines.

Signed-off-by: Marek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/20250302152605.54792-1-marex@denx.de
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32mp135f-dhcor-dhsbc.dts

index 853dc21449d99a8b12d3e27f779ef1b65d133d5d..9902849ed04065107c1fcc23a9bf7e764cd335c1 100644 (file)
        gpio-line-names = "", "", "", "",
                          "", "DHSBC_USB_PWR_CC1", "", "",
                          "", "", "", "DHSBC_nETH1_RST",
-                         "", "DHCOR_HW-CODING_0", "", "";
+                         "", "DHCOR_HW-CODING_0", "", "DHSBC_HW-CODE_2";
 };
 
 &gpiob {
        gpio-line-names = "", "", "", "",
                          "", "DHCOR_RAM-CODING_0", "", "",
                          "", "DHCOR_RAM-CODING_1", "", "",
-                         "", "", "", "";
+                         "", "DHSBC_HW-CODE_1", "", "";
 };
 
 &gpioe {
                          "DHSBC_ETH1_INTB", "", "", "DHSBC_ETH2_INTB";
 };
 
+&gpioh {
+       gpio-line-names = "", "", "", "DHSBC_HW-CODE_0",
+                         "", "", "", "",
+                         "", "", "", "",
+                         "", "", "", "";
+};
+
 &gpioi {
        gpio-line-names = "DHCOR_RTC_nINT", "DHCOR_HW-CODING_1",
                          "DHCOR_BT_REG_ON", "DHCOR_PMIC_nINT",
        st33htph: tpm@0 {
                compatible = "st,st33htpm-spi", "tcg,tpm_tis-spi";
                reg = <0>;
+               interrupt-parent = <&gpioe>;
+               interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
+               reset-gpios = <&gpioe 12 GPIO_ACTIVE_LOW>;
                spi-max-frequency = <24000000>;
        };
 };
                type = "micro";
        };
 };
+
+/* LDO2 is expansion connector 3V3 supply on STM32MP13xx DHCOR DHSBC rev.200 */
+&vdd_ldo2 {
+       regulator-always-on;
+       regulator-boot-on;
+       regulator-min-microvolt = <3300000>;
+       regulator-max-microvolt = <3300000>;
+};
+
+/* LDO5 is carrier board 3V3 supply on STM32MP13xx DHCOR DHSBC rev.200 */
+&vdd_sd {
+       regulator-always-on;
+       regulator-boot-on;
+       regulator-min-microvolt = <3300000>;
+       regulator-max-microvolt = <3300000>;
+};