diff options
author | Mugunthan V N <mugunthanvnm@ti.com> | 2016-04-04 11:58:02 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-04-18 16:29:18 (GMT) |
commit | 103afa2abfe2775797073df1538363952a1a960d (patch) | |
tree | 6a1674cd66e252b1d09f017691d98f198ee542af /arch/arm/dts | |
parent | 5cc6a2458e33bb1b99b323ef1f69b5446820d8d7 (diff) | |
download | u-boot-103afa2abfe2775797073df1538363952a1a960d.tar.xz |
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: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r-- | arch/arm/dts/am437x-gp-evm.dts | 2 | ||||
-rw-r--r-- | arch/arm/dts/am437x-sk-evm.dts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/dts/am437x-gp-evm.dts b/arch/arm/dts/am437x-gp-evm.dts index 8e23b96..142bfc5 100644 --- a/arch/arm/dts/am437x-gp-evm.dts +++ b/arch/arm/dts/am437x-gp-evm.dts @@ -573,7 +573,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 { diff --git a/arch/arm/dts/am437x-sk-evm.dts b/arch/arm/dts/am437x-sk-evm.dts index 260edb9..927d8d3 100644 --- a/arch/arm/dts/am437x-sk-evm.dts +++ b/arch/arm/dts/am437x-sk-evm.dts @@ -536,7 +536,7 @@ vmmc-supply = <&dcdc4>; bus-width = <4>; - cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>; + cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; }; &usb2_phy1 { |