Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0731cbdd authored by Mugunthan V N's avatar Mugunthan V N Committed by Tony Lindgren
Browse files

ARM: dts: am43xx: 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 AM43xx the card detect gpio is designed as active low gpio.
So correcting the dt card detect gpio definition.

Signed-off-by: default avatarMugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent c7ce74bc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -703,7 +703,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>;
};

/* eMMC sits on mmc2 */
+1 −1
Original line number Diff line number Diff line
@@ -325,7 +325,7 @@
	pinctrl-1 = <&mmc1_pins_sleep>;
	vmmc-supply = <&v3_3d>;
	bus-width = <4>;
	cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
	cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};

&qspi {
+1 −1
Original line number Diff line number Diff line
@@ -563,7 +563,7 @@

	vmmc-supply = <&dcdc4>;
	bus-width = <4>;
	cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
	cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};

&usb2_phy1 {
+1 −1
Original line number Diff line number Diff line
@@ -376,7 +376,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>;
};

&mac {