summaryrefslogtreecommitdiff
path: root/arch/arm/dts/logicpd-som-lv-baseboard.dtsi
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2019-04-30 07:53:16 -0500
committerTom Rini <trini@konsulko.com>2019-05-03 07:30:31 -0400
commitd66f4fe982719c883e65035a3beb8dc89ea045c8 (patch)
tree6349a624baa7afdeddd5d7395b8988887bca519e /arch/arm/dts/logicpd-som-lv-baseboard.dtsi
parent655d216af952cc895269fbe7c628a255ccd3ceee (diff)
ARM: dts: logicpd-som-lv: Fix MMC1 card detect
The card detect pin was incorrectly using IRQ_TYPE_LEVEL_LOW instead of GPIO_ACTIVE_LOW when reading the state of the CD pin. Without this patch, MMC1 won't be detected. This is the same patch submitted to linux-omap, but I was hoping to get it applied to U-Boot without having to wait for the linux adoption and then backporting. Fixes: 5448ff33f281 ("ARM: DTS: Resync Logic PD SOM-LV 37xx devkit with Linux 4.18-RC4") Signed-off-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'arch/arm/dts/logicpd-som-lv-baseboard.dtsi')
-rw-r--r--arch/arm/dts/logicpd-som-lv-baseboard.dtsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/dts/logicpd-som-lv-baseboard.dtsi b/arch/arm/dts/logicpd-som-lv-baseboard.dtsi
index 4990ed90dce..3524766515b 100644
--- a/arch/arm/dts/logicpd-som-lv-baseboard.dtsi
+++ b/arch/arm/dts/logicpd-som-lv-baseboard.dtsi
@@ -152,8 +152,8 @@
interrupts-extended = <&intc 83 &omap3_pmx_core 0x11a>;
pinctrl-names = "default";
pinctrl-0 = <&mmc1_pins>;
- wp-gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>; /* gpio_126 */
- cd-gpios = <&gpio4 14 IRQ_TYPE_LEVEL_LOW>; /* gpio_110 */
+ wp-gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>; /* gpio_126 */
+ cd-gpios = <&gpio4 14 GPIO_ACTIVE_LOW>; /* gpio_110 */
vmmc-supply = <&vmmc1>;
bus-width = <4>;
cap-power-off-card;