OSDN Git Service

arm64: dts: marvell: 7040-db: Add the carrier detect pin for SD card on CP
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 5 Oct 2017 16:05:49 +0000 (18:05 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 12 Oct 2017 13:53:47 +0000 (15:53 +0200)
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 <gregory.clement@free-electrons.com>
arch/arm64/boot/dts/marvell/armada-7040-db.dts

index 18a75fa..d339ad5 100644 (file)
        status = "okay";
        bus-width = <4>;
        no-1-8-v;
-       non-removable;
+       cd-gpios = <&expander0 12 GPIO_ACTIVE_LOW>;
 };
 
 &cpm_mdio {