From e89df990836b705b52a3d558a86987e8f9340c07 Mon Sep 17 00:00:00 2001
From: Gabor Juhos <juhosg@openwrt.org>
Date: Mon, 19 Mar 2012 11:11:22 +0000
Subject: [PATCH] ar71xx: use a different pll value on DB120

SVN-Revision: 31018
---
 .../linux/ar71xx/patches-3.2/605-MIPS-ath79-db120-fixes.patch  | 3 ++-
 .../linux/ar71xx/patches-3.3/605-MIPS-ath79-db120-fixes.patch  | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/target/linux/ar71xx/patches-3.2/605-MIPS-ath79-db120-fixes.patch b/target/linux/ar71xx/patches-3.2/605-MIPS-ath79-db120-fixes.patch
index a758dc0950..a7f1afc63a 100644
--- a/target/linux/ar71xx/patches-3.2/605-MIPS-ath79-db120-fixes.patch
+++ b/target/linux/ar71xx/patches-3.2/605-MIPS-ath79-db120-fixes.patch
@@ -62,7 +62,7 @@
  };
  
  static struct gpio_keys_button db120_gpio_keys[] __initdata = {
-@@ -95,66 +111,89 @@ static struct gpio_keys_button db120_gpi
+@@ -95,66 +111,90 @@ static struct gpio_keys_button db120_gpi
  	},
  };
  
@@ -176,6 +176,7 @@
 +	ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII;
 +	ath79_eth0_data.phy_mask = BIT(0);
 +	ath79_eth0_data.mii_bus_dev = &ath79_mdio0_device.dev;
++	ath79_eth0_pll_data.pll_1000 = 0x06000000;
 +	ath79_register_eth(0);
 +
 +	/* GMAC1 is connected to the internal switch */
diff --git a/target/linux/ar71xx/patches-3.3/605-MIPS-ath79-db120-fixes.patch b/target/linux/ar71xx/patches-3.3/605-MIPS-ath79-db120-fixes.patch
index a758dc0950..a7f1afc63a 100644
--- a/target/linux/ar71xx/patches-3.3/605-MIPS-ath79-db120-fixes.patch
+++ b/target/linux/ar71xx/patches-3.3/605-MIPS-ath79-db120-fixes.patch
@@ -62,7 +62,7 @@
  };
  
  static struct gpio_keys_button db120_gpio_keys[] __initdata = {
-@@ -95,66 +111,89 @@ static struct gpio_keys_button db120_gpi
+@@ -95,66 +111,90 @@ static struct gpio_keys_button db120_gpi
  	},
  };
  
@@ -176,6 +176,7 @@
 +	ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII;
 +	ath79_eth0_data.phy_mask = BIT(0);
 +	ath79_eth0_data.mii_bus_dev = &ath79_mdio0_device.dev;
++	ath79_eth0_pll_data.pll_1000 = 0x06000000;
 +	ath79_register_eth(0);
 +
 +	/* GMAC1 is connected to the internal switch */
-- 
GitLab