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>
This commit is contained in:
Mark Jackson
2022-11-30 14:05:46 +00:00
committed by Tony Lindgren
parent 7094c9d8aa
commit d7a6aebb23

View File

@@ -418,8 +418,9 @@ &mmc1 {
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"