ARM: dts: stm32: lxa-tac: drive powerboard lines as open-drain
authorLeonard Göhrs <l.goehrs@pengutronix.de>
Wed, 18 Oct 2023 20:31:55 +0000 (22:31 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Wed, 24 Jan 2024 10:06:47 +0000 (11:06 +0100)
This results in a slight improvement in EMI performance due to the lines
no longer being driven by the somewhat noisy VDD_IO supply of the SoM.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32mp157c-lxa-tac-gen2.dts
arch/arm/boot/dts/st/stm32mp15xc-lxa-tac.dtsi

index 8a34d15e9005f073423ac38235e9d3a391ea7924..4cc1770316619deb619326ffe3448502e2e4d7be 100644 (file)
                compatible = "ti,lmp92064";
                reg = <0>;
 
-               reset-gpios = <&gpioa 4 GPIO_ACTIVE_HIGH>;
+               reset-gpios = <&gpioa 4 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
                shunt-resistor-micro-ohms = <15000>;
                spi-max-frequency = <5000000>;
                vdd-supply = <&reg_pb_3v3>;
index fc3a2386dbb90de2b6931e74f90d430e8ff4343a..7e835a7cf64a50b5fe7346b2a4111d14eded0e99 100644 (file)
@@ -409,7 +409,7 @@ baseboard_eeprom: &sip_eeprom {
 &spi2 {
        pinctrl-names = "default";
        pinctrl-0 = <&spi2_pins_c>;
-       cs-gpios = <&gpiof 12 GPIO_ACTIVE_LOW>;
+       cs-gpios = <&gpiof 12 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
        status = "okay";
 };