From: Gregory CLEMENT Date: Thu, 5 Oct 2017 16:05:49 +0000 (+0200) Subject: arm64: dts: marvell: 7040-db: Add the carrier detect pin for SD card on CP X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c4e3bf290c3089502ee33e25795075b86fe9a449;p=linux.git arm64: dts: marvell: 7040-db: Add the carrier detect pin for SD card on CP The SD card slot connected to the SD controller of the CP part has a carrier detect pin connected the gpio expander. This patch enables it allowing supporting the hotplug event for the SD card. Signed-off-by: Gregory CLEMENT --- diff --git a/arch/arm64/boot/dts/marvell/armada-7040-db.dts b/arch/arm64/boot/dts/marvell/armada-7040-db.dts index 18a75fad1e8de..d339ad5c8c277 100644 --- a/arch/arm64/boot/dts/marvell/armada-7040-db.dts +++ b/arch/arm64/boot/dts/marvell/armada-7040-db.dts @@ -239,7 +239,7 @@ status = "okay"; bus-width = <4>; no-1-8-v; - non-removable; + cd-gpios = <&expander0 12 GPIO_ACTIVE_LOW>; }; &cpm_mdio {