ARM: dts: stm32: Drop nWP GPIO hog on DHSOM
authorMarek Vasut <marex@denx.de>
Sat, 23 Oct 2021 18:33:33 +0000 (20:33 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 10 Nov 2021 16:03:59 +0000 (17:03 +0100)
The nWP GPIO hog was used to unlock the SPI NOR write protect when U-Boot
used to operate the SPI NOR in 1-1-1 mode. Now that the SPI NOR is operated
in 1-1-4 mode, the hog has adverse effects and causes transfer corruption,
since the hogged pin is also the IO2 pin. Remove the hogs.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi
arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi

index 11bc247..71b0486 100644 (file)
        };
 };
 
-&gpiof {
-       snor-nwp {
-               gpio-hog;
-               gpios = <7 0>;
-               output-high;
-               line-name = "spi-nor-nwp";
-       };
-};
-
 &i2c4 {
        u-boot,dm-pre-reloc;
 };
index 9d3db20..502cd95 100644 (file)
        u-boot,dm-spl;
 };
 
-&gpiof {
-       snor-nwp {
-               gpio-hog;
-               gpios = <7 0>;
-               output-high;
-               line-name = "spi-nor-nwp";
-       };
-};
-
 &i2c4 {
        u-boot,dm-pre-reloc;
 };