Commit 44525a45 authored by Marek Vasut's avatar Marek Vasut Committed by Alexandre Torgue
Browse files

ARM: dts: stm32: Add support for STM32MP13xx DHCOR SoM and DHSBC rev.200 board



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: default avatarMarek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/20250302152605.54792-1-marex@denx.de


Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
parent 5980d9d0
Loading
Loading
Loading
Loading
+28 −2
Original line number Diff line number Diff line
@@ -176,7 +176,7 @@ &gpioa {
	gpio-line-names = "", "", "", "",
			  "", "DHSBC_USB_PWR_CC1", "", "",
			  "", "", "", "DHSBC_nETH1_RST",
			  "", "DHCOR_HW-CODING_0", "", "";
			  "", "DHCOR_HW-CODING_0", "", "DHSBC_HW-CODE_2";
};

&gpiob {
@@ -197,7 +197,7 @@ &gpiod {
	gpio-line-names = "", "", "", "",
			  "", "DHCOR_RAM-CODING_0", "", "",
			  "", "DHCOR_RAM-CODING_1", "", "",
			  "", "", "", "";
			  "", "DHSBC_HW-CODE_1", "", "";
};

&gpioe {
@@ -221,6 +221,13 @@ &gpiog {
			  "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",
@@ -296,6 +303,9 @@ &spi2 {
	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>;
	};
};
@@ -419,3 +429,19 @@ connector {
		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>;
};