]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 11bc247065b2f9ea98da352db970ee6eed2433a3..71b0486f02a940d7c9fb0f2b44eefbccae9ca28e 100644 (file)
        };
 };
 
-&gpiof {
-       snor-nwp {
-               gpio-hog;
-               gpios = <7 0>;
-               output-high;
-               line-name = "spi-nor-nwp";
-       };
-};
-
 &i2c4 {
        u-boot,dm-pre-reloc;
 };
index 9d3db208769820f7ed1520bbb28d7b150ddced6c..502cd95da0557e7c23cd042da4d515b397374b9a 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;
 };