summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/am335x-nano.dts
diff options
context:
space:
mode:
authorMark Jackson <mpfj@newflow.co.uk>2022-11-30 14:05:46 +0000
committerTony Lindgren <tony@atomide.com>2023-01-19 10:31:07 +0200
commitd7a6aebb233794432ebfc46fc75222868f6d49b7 (patch)
tree925527c4e902e367947e60a599943d6db76e47dd /arch/arm/boot/dts/am335x-nano.dts
parent7094c9d8aa5d084754078de698832b4d20a91dc3 (diff)
ARM: dts: am335x-nano: Fix GPIO settings for MMC pins
The MMC slot uses GPIO pins for Write Protext and Card Detect. Define these so everything works correctly. Signed-off-by: Mark Jackson <mpfj@newflow.co.uk> Message-Id: <20221130140547.295859-5-mpfj@newflow.co.uk> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am335x-nano.dts')
-rw-r--r--arch/arm/boot/dts/am335x-nano.dts5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/am335x-nano.dts b/arch/arm/boot/dts/am335x-nano.dts
index 960ef1384bbe..58062cec39c0 100644
--- a/arch/arm/boot/dts/am335x-nano.dts
+++ b/arch/arm/boot/dts/am335x-nano.dts
@@ -418,8 +418,9 @@
pinctrl-names = "default";
pinctrl-0 = <&mmc1_pins>;
bus-width = <4>;
- cd-gpios = <&gpio3 8 0>;
- wp-gpios = <&gpio3 18 0>;
+ cd-debounce-delay-ms = <5>;
+ cd-gpios = <&gpio3 8 GPIO_ACTIVE_LOW>;
+ wp-gpios = <&gpio3 18 GPIO_ACTIVE_HIGH>;
};
#include "tps65217.dtsi"