aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-3.10/0400-MIPS-ralink-define-clock-for-wmac-on-rt3883.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-04-23 07:51:57 +0000
committerJohn Crispin <blogic@openwrt.org>2014-04-23 07:51:57 +0000
commit3baabfda99bd7e2a0992c920b6ae3b259d678638 (patch)
treeb2c8e93d3079419736d37e332f2786dfe771ae2b /target/linux/ramips/patches-3.10/0400-MIPS-ralink-define-clock-for-wmac-on-rt3883.patch
parente8a7e5e4c9db78d37491e5c0ef2476d6571eff14 (diff)
downloadmaster-187ad058-3baabfda99bd7e2a0992c920b6ae3b259d678638.tar.gz
master-187ad058-3baabfda99bd7e2a0992c920b6ae3b259d678638.tar.bz2
master-187ad058-3baabfda99bd7e2a0992c920b6ae3b259d678638.zip
ramips: register clock device for the WMAC on RT3883
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40557 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/patches-3.10/0400-MIPS-ralink-define-clock-for-wmac-on-rt3883.patch')
-rw-r--r--target/linux/ramips/patches-3.10/0400-MIPS-ralink-define-clock-for-wmac-on-rt3883.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-3.10/0400-MIPS-ralink-define-clock-for-wmac-on-rt3883.patch b/target/linux/ramips/patches-3.10/0400-MIPS-ralink-define-clock-for-wmac-on-rt3883.patch
new file mode 100644
index 0000000000..c781da649d
--- /dev/null
+++ b/target/linux/ramips/patches-3.10/0400-MIPS-ralink-define-clock-for-wmac-on-rt3883.patch
@@ -0,0 +1,10 @@
+--- a/arch/mips/ralink/rt3883.c
++++ b/arch/mips/ralink/rt3883.c
+@@ -111,6 +111,7 @@ void __init ralink_clk_init(void)
+ ralink_clk_add("10000b00.spi", sys_rate);
+ ralink_clk_add("10000c00.uartlite", 40000000);
+ ralink_clk_add("10100000.ethernet", sys_rate);
++ ralink_clk_add("10180000.wmac", 40000000);
+ }
+
+ void __init ralink_of_remap(void)