summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/patches-3.8/0029-NET-lantiq-adds-gphy-clock.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-03-14 18:42:29 +0000
committerJohn Crispin <john@openwrt.org>2013-03-14 18:42:29 +0000
commitb98ae2b149e8eef38d3285d8e1b21af32ac1f2dc (patch)
tree942791530060eeebfd3e6cd68158c74b892ed7ec /target/linux/lantiq/patches-3.8/0029-NET-lantiq-adds-gphy-clock.patch
parent3ab75692f3a7490146eaec4a5a76dec327f11f97 (diff)
downloadmtk-20170518-b98ae2b149e8eef38d3285d8e1b21af32ac1f2dc.zip
mtk-20170518-b98ae2b149e8eef38d3285d8e1b21af32ac1f2dc.tar.gz
mtk-20170518-b98ae2b149e8eef38d3285d8e1b21af32ac1f2dc.tar.bz2
bump to v3.8
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36014
Diffstat (limited to 'target/linux/lantiq/patches-3.8/0029-NET-lantiq-adds-gphy-clock.patch')
-rw-r--r--target/linux/lantiq/patches-3.8/0029-NET-lantiq-adds-gphy-clock.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/lantiq/patches-3.8/0029-NET-lantiq-adds-gphy-clock.patch b/target/linux/lantiq/patches-3.8/0029-NET-lantiq-adds-gphy-clock.patch
new file mode 100644
index 0000000..3b50b17
--- /dev/null
+++ b/target/linux/lantiq/patches-3.8/0029-NET-lantiq-adds-gphy-clock.patch
@@ -0,0 +1,24 @@
+From 9dee771f3a7e51411a408cbb1070e73a50cbd285 Mon Sep 17 00:00:00 2001
+From: John Crispin <blogic@openwrt.org>
+Date: Wed, 13 Mar 2013 09:47:44 +0100
+Subject: [PATCH 29/40] NET: lantiq: adds gphy clock
+
+---
+ arch/mips/lantiq/xway/sysctrl.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c
+index 3390fcd..c24924f 100644
+--- a/arch/mips/lantiq/xway/sysctrl.c
++++ b/arch/mips/lantiq/xway/sysctrl.c
+@@ -376,6 +376,7 @@ void __init ltq_soc_init(void)
+ PMU_SWITCH | PMU_PPE_DPLUS | PMU_PPE_DPLUM |
+ PMU_PPE_EMA | PMU_PPE_TC | PMU_PPE_SLL01 |
+ PMU_PPE_QSB | PMU_PPE_TOP);
++ clkdev_add_pmu("1f203000.rcu", "gphy", 0, PMU_GPHY);
+ } else if (of_machine_is_compatible("lantiq,ar9")) {
+ clkdev_add_static(ltq_ar9_cpu_hz(), ltq_ar9_fpi_hz(),
+ ltq_ar9_fpi_hz(), CLOCK_250M);
+--
+1.7.10.4
+