aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-3.10/0010-MIPS-ralink-add-spi-clock-definition-to-mt7620a.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-07-15 10:06:55 +0000
committerJohn Crispin <john@openwrt.org>2013-07-15 10:06:55 +0000
commita0de18807ba35e1888f6ea8ada84695e46558262 (patch)
treecfebd84e00717863717511b879661c2dbb417434 /target/linux/ramips/patches-3.10/0010-MIPS-ralink-add-spi-clock-definition-to-mt7620a.patch
parentf75bba6f87dc756a60003c83495230d5f6b2d5e5 (diff)
downloadupstream-a0de18807ba35e1888f6ea8ada84695e46558262.tar.gz
upstream-a0de18807ba35e1888f6ea8ada84695e46558262.tar.bz2
upstream-a0de18807ba35e1888f6ea8ada84695e46558262.zip
ramips: add ralink v3.10 support
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37331
Diffstat (limited to 'target/linux/ramips/patches-3.10/0010-MIPS-ralink-add-spi-clock-definition-to-mt7620a.patch')
-rw-r--r--target/linux/ramips/patches-3.10/0010-MIPS-ralink-add-spi-clock-definition-to-mt7620a.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-3.10/0010-MIPS-ralink-add-spi-clock-definition-to-mt7620a.patch b/target/linux/ramips/patches-3.10/0010-MIPS-ralink-add-spi-clock-definition-to-mt7620a.patch
new file mode 100644
index 0000000000..ebb58980f7
--- /dev/null
+++ b/target/linux/ramips/patches-3.10/0010-MIPS-ralink-add-spi-clock-definition-to-mt7620a.patch
@@ -0,0 +1,25 @@
+From 5340673ba16e3c8c9c1406d5ab84aca82e83e2ce Mon Sep 17 00:00:00 2001
+From: John Crispin <blogic@openwrt.org>
+Date: Thu, 23 May 2013 18:46:25 +0200
+Subject: [PATCH 10/33] MIPS: ralink: add spi clock definition to mt7620a
+
+Signed-off-by: John Crispin <blogic@openwrt.org>
+---
+ arch/mips/ralink/mt7620.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/arch/mips/ralink/mt7620.c b/arch/mips/ralink/mt7620.c
+index 62356a0..96422e5 100644
+--- a/arch/mips/ralink/mt7620.c
++++ b/arch/mips/ralink/mt7620.c
+@@ -183,6 +183,7 @@ void __init ralink_clk_init(void)
+ ralink_clk_add("cpu", cpu_rate);
+ ralink_clk_add("10000100.timer", 40000000);
+ ralink_clk_add("10000500.uart", 40000000);
++ ralink_clk_add("10000b00.spi", 40000000);
+ ralink_clk_add("10000c00.uartlite", 40000000);
+ }
+
+--
+1.7.10.4
+