ar71xx: use a different pll value on DB120

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31018 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Gabor Juhos 2012-03-19 11:11:22 +00:00
parent c6fb886b40
commit 75ef6719a4
2 changed files with 4 additions and 2 deletions

View File

@ -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 */

View File

@ -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 */