summaryrefslogtreecommitdiff
path: root/arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2020-05-26 04:30:20 +0200
committerPatrick Delaunay <patrick.delaunay@st.com>2020-05-28 08:52:04 +0200
commit8b4101d0f9a48a8491043049ed6c7de7d75c63ee (patch)
treea4b130b575ca90983c73f096e05fe70bcedc258d /arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi
parent3f662a67966daacb5e838e64041181e88f9651ab (diff)
ARM: stm32: Hog GPIO PF7 high on DHCOR to unlock SPI NOR nWP
The SPI NOR nWP line is connected to GPIO PF7 on the SoM, pull the GPIO line high by default to clear SPI NOR WP. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Patrick Delaunay <patrick.delaunay@st.com> Cc: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi')
-rw-r--r--arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi b/arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi
index ef730a8322..bd4c2adc35 100644
--- a/arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi
+++ b/arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi
@@ -21,6 +21,15 @@
};
};
+&gpiof {
+ snor-nwp {
+ gpio-hog;
+ gpios = <7 0>;
+ output-high;
+ line-name = "spi-nor-nwp";
+ };
+};
+
&i2c4 {
u-boot,dm-pre-reloc;
};