summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/stm32mp157c-ed1.dts
diff options
context:
space:
mode:
authorYann Gautier <yann.gautier@st.com>2020-03-04 09:09:54 +0100
committerAlexandre Torgue <alexandre.torgue@st.com>2020-03-13 17:03:06 +0100
commit877db62ea516d7df439fd6284166a09da5a816d4 (patch)
tree21ab3e3050af97214f30bbdb056017b43eac990d /arch/arm/boot/dts/stm32mp157c-ed1.dts
parentARM: dts: stm32: Do clean up in stmpic nodes on stm32mp15 boards (diff)
downloadlinux-877db62ea516d7df439fd6284166a09da5a816d4.tar.xz
linux-877db62ea516d7df439fd6284166a09da5a816d4.zip
ARM: dts: stm32: add cd-gpios properties for SD-cards on STM32MP1 boards
The broken-cd properties are replaced with cd-gpios, with the correct GPIO to detect the card insertion. The GPIO lines require a pull-up. Signed-off-by: Yann Gautier <yann.gautier@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32mp157c-ed1.dts')
-rw-r--r--arch/arm/boot/dts/stm32mp157c-ed1.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts
index a9a929faa0ca..50920cc26f19 100644
--- a/arch/arm/boot/dts/stm32mp157c-ed1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts
@@ -312,7 +312,7 @@
pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_dir_pins_a>;
pinctrl-1 = <&sdmmc1_b4_od_pins_a &sdmmc1_dir_pins_a>;
pinctrl-2 = <&sdmmc1_b4_sleep_pins_a &sdmmc1_dir_sleep_pins_a>;
- broken-cd;
+ cd-gpios = <&gpiog 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
st,sig-dir;
st,neg-edge;
st,use-ckin;