Skip to content
Snippets Groups Projects
Commit 2c6485bc authored by Mugunthan V N's avatar Mugunthan V N Committed by Tom Rini
Browse files

ARM: dts: am335x: fix cd-gpios definition as per hardware design and dt binding docs


As per mmc device tree binding documentation card detect gpio has
to be active low signal. When a hardware is designed with active
high card detect, gpio polarity has to be changed with
cd-inverted dt property.

In AM335x the card detect gpio is designed as active low gpio.
So correcting the dt card detect gpio definition.

Reviewed-by: default avatarTom Rini <trini@konsulko.com>
Signed-off-by: default avatarMugunthan V N <mugunthanvnm@ti.com>
parent 80b24fcd
No related branches found
No related tags found
No related merge requests found
......@@ -388,8 +388,7 @@
bus-width = <0x4>;
pinctrl-names = "default";
pinctrl-0 = <&mmc1_pins>;
cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
cd-inverted;
cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};
&aes {
......
......@@ -717,7 +717,7 @@
bus-width = <4>;
pinctrl-names = "default";
pinctrl-0 = <&mmc1_pins>;
cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};
&mmc3 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment