diff options
author | Yegor Yefremov <yegorslists@googlemail.com> | 2019-06-11 17:13:38 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2019-06-12 10:55:50 +0300 |
commit | 2cdc9c200de7b320d2b36ed2212ef92d34764366 (patch) | |
tree | 113fa3d447ec20575ede92b1236e053b76b4c9d6 /arch/arm/boot/dts/am335x-baltos-ir5221.dts | |
parent | 79499bb11db50877862331960260f981ec49668d (diff) | |
download | linux-2cdc9c200de7b320d2b36ed2212ef92d34764366.tar.xz |
ARM: dts: am335x-baltos: add support for MMC1 CD pin
Baltos 5221/3220 devices provide CD signal on GPIO2_18.
Baltos 2110 device provides CD signal on GPIO1_15.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am335x-baltos-ir5221.dts')
-rw-r--r-- | arch/arm/boot/dts/am335x-baltos-ir5221.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-baltos-ir5221.dts b/arch/arm/boot/dts/am335x-baltos-ir5221.dts index 7b99c8ed3c3a..fc68edf02258 100644 --- a/arch/arm/boot/dts/am335x-baltos-ir5221.dts +++ b/arch/arm/boot/dts/am335x-baltos-ir5221.dts @@ -63,6 +63,11 @@ >; }; + mmc1_pins: pinmux_mmc1_pins { + pinctrl-single,pins = < + AM33XX_PADCONF(AM335X_PIN_MII1_RXD3, PIN_INPUT, MUX_MODE7) /* MMC1 CD */ + >; + }; }; &uart1 { @@ -139,3 +144,9 @@ status = "okay"; }; + +&mmc1 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc1_pins>; + cd-gpios = <&gpio2 18 GPIO_ACTIVE_LOW>; +}; |