summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2016-01-12 23:07:33 +0300
committerGregory CLEMENT <gregory.clement@free-electrons.com>2016-02-09 13:00:22 +0300
commit28c494d0c5b7e0993d067086b26c901ae23d3841 (patch)
treefe6bafeda923a40c086f4de9156c9280da952ddc /arch
parent2b1fd39864a57bf37f7003630f9d0f96c8f6923a (diff)
downloadlinux-28c494d0c5b7e0993d067086b26c901ae23d3841.tar.xz
ARM: dts: kirkwood: fix SD slot default configuration for OpenRD
The SD card slot was enabled by default with legacy booting. It does not work anymore with DT boot. Fix by providing GPIO configuration that matches the old default. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/kirkwood-openrd.dtsi8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood-openrd.dtsi b/arch/arm/boot/dts/kirkwood-openrd.dtsi
index 2a3dafdab09a..f65b7273bb0a 100644
--- a/arch/arm/boot/dts/kirkwood-openrd.dtsi
+++ b/arch/arm/boot/dts/kirkwood-openrd.dtsi
@@ -65,6 +65,14 @@
status = "okay";
cd-gpios = <&gpio0 29 9>;
};
+ gpio@10140 {
+ p2 {
+ gpio-hog;
+ gpios = <2 GPIO_ACTIVE_HIGH>;
+ output-high; /* Select SD by default */
+ line-name = "SelUARTorSD";
+ };
+ };
};
};