[PATCH 1/2] ARM: dts: stm32: Drop nWP GPIO hog on DHSOM
Patrice CHOTARD
patrice.chotard at foss.st.com
Mon Oct 25 08:49:40 CEST 2021
Hi Marek
On 10/23/21 8:33 PM, Marek Vasut wrote:
> 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 at denx.de>
> Cc: Patrice Chotard <patrice.chotard at foss.st.com>
> Cc: Patrick Delaunay <patrick.delaunay at foss.st.com>
> ---
> arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi | 9 ---------
> arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi | 9 ---------
> 2 files changed, 18 deletions(-)
>
> diff --git a/arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi b/arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi
> index 11bc247065b..71b0486f02a 100644
> --- a/arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi
> +++ b/arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi
> @@ -50,15 +50,6 @@
> };
> };
>
> -&gpiof {
> - snor-nwp {
> - gpio-hog;
> - gpios = <7 0>;
> - output-high;
> - line-name = "spi-nor-nwp";
> - };
> -};
> -
> &i2c4 {
> u-boot,dm-pre-reloc;
> };
> diff --git a/arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi b/arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi
> index 9d3db208769..502cd95da05 100644
> --- a/arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi
> +++ b/arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi
> @@ -25,15 +25,6 @@
> 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;
> };
>
Reviewed-by: Patrice Chotard <patrice.chotard at foss.st.com>
Thanks
Patrice
More information about the U-Boot
mailing list