aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi/patches-3.14/148-dt-sun7i-add-spi-muxing.patch
diff options
context:
space:
mode:
authorZoltan HERPAI <wigyori@uid0.hu>2014-08-27 12:09:46 +0000
committerZoltan HERPAI <wigyori@uid0.hu>2014-08-27 12:09:46 +0000
commitd0d3be5d8287ff737cfe4381c44706f1d8f7b881 (patch)
treeab287cf326cc235e7ee9161a13b57f4bd0fecc5b /target/linux/sunxi/patches-3.14/148-dt-sun7i-add-spi-muxing.patch
parent6e912a1e62ebb1ab2fdd3f63bff61936be65a84b (diff)
downloadupstream-d0d3be5d8287ff737cfe4381c44706f1d8f7b881.tar.gz
upstream-d0d3be5d8287ff737cfe4381c44706f1d8f7b881.tar.bz2
upstream-d0d3be5d8287ff737cfe4381c44706f1d8f7b881.zip
sunxi: initial 3.14 patchset
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42313 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/sunxi/patches-3.14/148-dt-sun7i-add-spi-muxing.patch')
-rw-r--r--target/linux/sunxi/patches-3.14/148-dt-sun7i-add-spi-muxing.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/target/linux/sunxi/patches-3.14/148-dt-sun7i-add-spi-muxing.patch b/target/linux/sunxi/patches-3.14/148-dt-sun7i-add-spi-muxing.patch
new file mode 100644
index 0000000000..f554267a5e
--- /dev/null
+++ b/target/linux/sunxi/patches-3.14/148-dt-sun7i-add-spi-muxing.patch
@@ -0,0 +1,38 @@
+From c38fe0f410a59e194ef5e58429658506d853f1b4 Mon Sep 17 00:00:00 2001
+From: Maxime Ripard <maxime.ripard@free-electrons.com>
+Date: Sat, 22 Feb 2014 22:35:58 +0100
+Subject: [PATCH] ARM: dt: sun7i: Add SPI muxing options
+
+Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
+---
+ arch/arm/boot/dts/sun7i-a20.dtsi | 14 ++++++++++++++
+ 1 file changed, 14 insertions(+)
+
+diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
+index 0f0ee58..6161fd8 100644
+--- a/arch/arm/boot/dts/sun7i-a20.dtsi
++++ b/arch/arm/boot/dts/sun7i-a20.dtsi
+@@ -571,6 +571,20 @@
+ allwinner,drive = <3>;
+ allwinner,pull = <0>;
+ };
++
++ spi1_pins_a: spi1@0 {
++ allwinner,pins = "PI16", "PI17", "PI18", "PI19";
++ allwinner,function = "spi1";
++ allwinner,drive = <0>;
++ allwinner,pull = <0>;
++ };
++
++ spi2_pins_a: spi2@0 {
++ allwinner,pins = "PC19", "PC20", "PC21", "PC22";
++ allwinner,function = "spi2";
++ allwinner,drive = <0>;
++ allwinner,pull = <0>;
++ };
+ };
+
+ timer@01c20c00 {
+--
+2.0.3
+