aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi/patches-3.13/173-3-dt-sun7i-add-mmc.patch
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2014-03-20 21:40:07 +0000
committerZoltan Herpai <wigyori@uid0.hu>2014-03-20 21:40:07 +0000
commit0534e2c79c419cdd89e19e1c8dda45105f861280 (patch)
tree7ab2c614be63967b1dc944e29c11c81f9d687a2f /target/linux/sunxi/patches-3.13/173-3-dt-sun7i-add-mmc.patch
parent3eb2d6d5d469b760721b73fb0bdf649c4d4b7bd0 (diff)
downloadupstream-0534e2c79c419cdd89e19e1c8dda45105f861280.tar.gz
upstream-0534e2c79c419cdd89e19e1c8dda45105f861280.tar.bz2
upstream-0534e2c79c419cdd89e19e1c8dda45105f861280.zip
sunxi: various changes - fix mmc, sata, usb (partially) on CubieTruck - fix hstimer DT on A20
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> Signed-off-by: Zalan Blenessy <zalan.blenessy@gmail.com> SVN-Revision: 39971
Diffstat (limited to 'target/linux/sunxi/patches-3.13/173-3-dt-sun7i-add-mmc.patch')
-rw-r--r--target/linux/sunxi/patches-3.13/173-3-dt-sun7i-add-mmc.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/sunxi/patches-3.13/173-3-dt-sun7i-add-mmc.patch b/target/linux/sunxi/patches-3.13/173-3-dt-sun7i-add-mmc.patch
index 3fb2c6f0e7..e983863f7e 100644
--- a/target/linux/sunxi/patches-3.13/173-3-dt-sun7i-add-mmc.patch
+++ b/target/linux/sunxi/patches-3.13/173-3-dt-sun7i-add-mmc.patch
@@ -76,6 +76,25 @@ index d5c6799..d4e2355 100644
led_pins_olinuxino: led_pins@0 {
allwinner,pins = "PH2";
allwinner,function = "gpio_out";
+diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
+index cb25d3c..66bb3ef 100644
+--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
++++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
+@@ -20,6 +20,14 @@
+ compatible = "cubietech,cubietruck", "allwinner,sun7i-a20";
+
+ soc@01c00000 {
++ mmc0: mmc@01c0f000 {
++ pinctrl-names = "default", "default";
++ pinctrl-0 = <&mmc0_pins_a>;
++ pinctrl-1 = <&mmc0_cd_pin_reference_design>;
++ cd-gpios = <&pio 7 1 0>; /* PH1 */
++ status = "okay";
++ };
++
+ ahci: sata@01c18000 {
+ target-supply = <&reg_ahci_5v>;
+ status = "okay";
diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index 3385994..3bc6ac5 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi