aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-01-26 20:35:47 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-01-26 20:35:47 +0000
commitdcc5870b0c0f92f01ea93626776471f3999d6fb4 (patch)
tree720c95b86e67302393de87ceb78f887b475d9d62 /target
parente67db2d2a3cc35d90139e7d6bfe83cceb95f61a0 (diff)
downloadmaster-187ad058-dcc5870b0c0f92f01ea93626776471f3999d6fb4.tar.gz
master-187ad058-dcc5870b0c0f92f01ea93626776471f3999d6fb4.tar.bz2
master-187ad058-dcc5870b0c0f92f01ea93626776471f3999d6fb4.zip
ar71xx: add rtl8366s initvals for the DIR-825 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25121 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c
index 30d09cbd98..6b4bc76085 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c
@@ -130,9 +130,15 @@ static struct gpio_button dir825b1_gpio_buttons[] __initdata = {
}
};
+static struct rtl8366s_initval dir825b1_rtl8366s_initvals[] = {
+ { .reg = 0x06, .val = 0x0108 },
+};
+
static struct rtl8366s_platform_data dir825b1_rtl8366s_data = {
- .gpio_sda = DIR825B1_GPIO_RTL8366_SDA,
- .gpio_sck = DIR825B1_GPIO_RTL8366_SCK,
+ .gpio_sda = DIR825B1_GPIO_RTL8366_SDA,
+ .gpio_sck = DIR825B1_GPIO_RTL8366_SCK,
+ .num_initvals = ARRAY_SIZE(dir825b1_rtl8366s_initvals),
+ .initvals = dir825b1_rtl8366s_initvals,
};
static struct platform_device dir825b1_rtl8366s_device = {