Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Mark Jackson and committed by
Tony Lindgren
d7a6aebb 7094c9d8

+3 -2
+3 -2
arch/arm/boot/dts/am335x-nano.dts
··· 418 418 pinctrl-names = "default"; 419 419 pinctrl-0 = <&mmc1_pins>; 420 420 bus-width = <4>; 421 - cd-gpios = <&gpio3 8 0>; 422 - wp-gpios = <&gpio3 18 0>; 421 + cd-debounce-delay-ms = <5>; 422 + cd-gpios = <&gpio3 8 GPIO_ACTIVE_LOW>; 423 + wp-gpios = <&gpio3 18 GPIO_ACTIVE_HIGH>; 423 424 }; 424 425 425 426 #include "tps65217.dtsi"