Commit d2885dbb authored by Balaji T K's avatar Balaji T K Committed by Tony Lindgren

ARM: dts: am43x-epos-evm: add SD card hotplug support

Add card detect gpio for SD card slot and include dt gpio header.
Signed-off-by: default avatarBalaji T K <balajitk@ti.com>
Signed-off-by: default avatarMugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent b6586cd7
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
* kind, whether express or implied. * kind, whether express or implied.
*/ */
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/arm-gic.h>
#include "skeleton.dtsi" #include "skeleton.dtsi"
......
...@@ -132,6 +132,12 @@ spi1_pins: pinmux_spi1_pins { ...@@ -132,6 +132,12 @@ spi1_pins: pinmux_spi1_pins {
0x19c (PIN_OUTPUT | MUX_MODE3) /* mcasp0_ahclkr.spi1_cs0 */ 0x19c (PIN_OUTPUT | MUX_MODE3) /* mcasp0_ahclkr.spi1_cs0 */
>; >;
}; };
mmc1_pins: pinmux_mmc1_pins {
pinctrl-single,pins = <
0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
>;
};
}; };
matrix_keypad: matrix_keypad@0 { matrix_keypad: matrix_keypad@0 {
...@@ -179,6 +185,9 @@ &mmc1 { ...@@ -179,6 +185,9 @@ &mmc1 {
status = "okay"; status = "okay";
vmmc-supply = <&vmmcsd_fixed>; vmmc-supply = <&vmmcsd_fixed>;
bus-width = <4>; bus-width = <4>;
pinctrl-names = "default";
pinctrl-0 = <&mmc1_pins>;
cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
}; };
&mac { &mac {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment