ralink: fix the config files
[openwrt.git] / target / linux / ramips / patches-3.14 / 0012-MIPS-ralink-add-MT7621-support.patch
index 755c89c..f97f3c8 100644 (file)
@@ -311,7 +311,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 +      if (likely(irq < GIC_NUM_INTRS))
 +              do_IRQ(MIPS_GIC_IRQ_BASE + irq);
 +      else {
-+              pr_err("Spurious GIC Interrupt!\n");
++              pr_debug("Spurious GIC Interrupt!\n");
 +              spurious_interrupt();
 +      }
 +
@@ -592,10 +592,10 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 +#define MT7621_GPIO_MODE_SDHCI_SHIFT  18
 +#define MT7621_GPIO_MODE_SDHCI_GPIO   1
 +
-+static struct rt2880_pmx_func uart1_grp[] =  { FUNC("uart1", 0, 1, 2) };
++static struct rt2880_pmx_func uart1_grp[] =  { FUNC("uart", 0, 1, 2) };
 +static struct rt2880_pmx_func i2c_grp[] =  { FUNC("i2c", 0, 3, 2) };
-+static struct rt2880_pmx_func uart3_grp[] = { FUNC("uart3", 0, 5, 4) };
-+static struct rt2880_pmx_func uart2_grp[] = { FUNC("uart2", 0, 9, 4) };
++static struct rt2880_pmx_func uart3_grp[] = { FUNC("uart", 0, 5, 4) };
++static struct rt2880_pmx_func uart2_grp[] = { FUNC("uart", 0, 9, 4) };
 +static struct rt2880_pmx_func jtag_grp[] = { FUNC("jtag", 0, 13, 5) };
 +static struct rt2880_pmx_func wdt_grp[] = {
 +      FUNC("wdt rst", 0, 18, 1),
@@ -606,7 +606,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 +      FUNC("pcie refclk", MT7621_GPIO_MODE_PCIE_REF, 19, 1)
 +};
 +static struct rt2880_pmx_func mdio_grp[] = { FUNC("mdio", 0, 20, 2) };
-+static struct rt2880_pmx_func rgmii2_grp[] = { FUNC("rgmii2", 0, 22, 12) };
++static struct rt2880_pmx_func rgmii2_grp[] = { FUNC("rgmii", 0, 22, 12) };
 +static struct rt2880_pmx_func spi_grp[] = {
 +      FUNC("spi", 0, 34, 7),
 +      FUNC("nand", 2, 34, 8),
@@ -615,7 +615,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 +      FUNC("sdhci", 0, 41, 8),
 +      FUNC("nand", 2, 41, 8),
 +};
-+static struct rt2880_pmx_func rgmii1_grp[] = { FUNC("rgmii1", 0, 49, 12) };
++static struct rt2880_pmx_func rgmii1_grp[] = { FUNC("rgmii", 0, 49, 12) };
 +
 +static struct rt2880_pmx_group mt7621_pinmux_data[] = {
 +      GRP("uart1", uart1_grp, 1, MT7621_GPIO_MODE_UART1),