mirror of https://github.com/hak5/openwrt-owl.git
41 lines
1.7 KiB
Diff
41 lines
1.7 KiB
Diff
|
--- a/arch/mips/ralink/mt7620.c
|
||
|
+++ b/arch/mips/ralink/mt7620.c
|
||
|
@@ -446,6 +446,7 @@ void __init ralink_clk_init(void)
|
||
|
ralink_clk_add("cpu", cpu_rate);
|
||
|
ralink_clk_add("10000100.timer", periph_rate);
|
||
|
ralink_clk_add("10000120.watchdog", periph_rate);
|
||
|
+ ralink_clk_add("10000900.i2c", periph_rate);
|
||
|
ralink_clk_add("10000b00.spi", sys_rate);
|
||
|
ralink_clk_add("10000b40.spi", sys_rate);
|
||
|
ralink_clk_add("10000c00.uartlite", periph_rate);
|
||
|
--- a/arch/mips/ralink/rt288x.c
|
||
|
+++ b/arch/mips/ralink/rt288x.c
|
||
|
@@ -75,6 +75,7 @@ void __init ralink_clk_init(void)
|
||
|
ralink_clk_add("300100.timer", cpu_rate / 2);
|
||
|
ralink_clk_add("300120.watchdog", cpu_rate / 2);
|
||
|
ralink_clk_add("300500.uart", cpu_rate / 2);
|
||
|
+ ralink_clk_add("300900.i2c", cpu_rate / 2);
|
||
|
ralink_clk_add("300c00.uartlite", cpu_rate / 2);
|
||
|
ralink_clk_add("400000.ethernet", cpu_rate / 2);
|
||
|
ralink_clk_add("480000.wmac", wmac_rate);
|
||
|
--- a/arch/mips/ralink/rt305x.c
|
||
|
+++ b/arch/mips/ralink/rt305x.c
|
||
|
@@ -200,6 +200,7 @@ void __init ralink_clk_init(void)
|
||
|
|
||
|
ralink_clk_add("cpu", cpu_rate);
|
||
|
ralink_clk_add("sys", sys_rate);
|
||
|
+ ralink_clk_add("10000900.i2c", uart_rate);
|
||
|
ralink_clk_add("10000b00.spi", sys_rate);
|
||
|
ralink_clk_add("10000b40.spi", sys_rate);
|
||
|
ralink_clk_add("10000100.timer", wdt_rate);
|
||
|
--- a/arch/mips/ralink/rt3883.c
|
||
|
+++ b/arch/mips/ralink/rt3883.c
|
||
|
@@ -108,6 +108,7 @@ void __init ralink_clk_init(void)
|
||
|
ralink_clk_add("10000100.timer", sys_rate);
|
||
|
ralink_clk_add("10000120.watchdog", sys_rate);
|
||
|
ralink_clk_add("10000500.uart", 40000000);
|
||
|
+ ralink_clk_add("10000900.i2c", 40000000);
|
||
|
ralink_clk_add("10000b00.spi", sys_rate);
|
||
|
ralink_clk_add("10000b40.spi", sys_rate);
|
||
|
ralink_clk_add("10000c00.uartlite", 40000000);
|