ARM: dts: stm32: add disable-wp property for SD-card on STM32MP1 boards
authorYann Gautier <yann.gautier@st.com>
Wed, 4 Mar 2020 08:09:55 +0000 (09:09 +0100)
committerAlexandre Torgue <alexandre.torgue@st.com>
Fri, 13 Mar 2020 16:03:06 +0000 (17:03 +0100)
commit79e96505387281cb42f5defd7621751c8e97207f
tree11f8a09cf6de5fa84c6158ef5d87cc4a0bb8db91
parent877db62ea516d7df439fd6284166a09da5a816d4
ARM: dts: stm32: add disable-wp property for SD-card on STM32MP1 boards

On STM32MP1 DK1, DK2, ED1 and EV1 boards, there is only a micro SD socket.
This is also the case on Avenger board.
They don't support the Write Protect pin.
The disable-wp is then added in the SD-cards sdmmc1 nodes.
This avoids executing some code and a warning during driver probe.

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32mp157a-avenger96.dts
arch/arm/boot/dts/stm32mp157c-ed1.dts
arch/arm/boot/dts/stm32mp15xx-dkx.dtsi