1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 00:07:11 +02:00

backfire: ar71xx: add rtl8366s initvals for the DIR-825 board (backport of r25121)

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@25257 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2011-01-30 21:15:06 +00:00
parent 04144c111c
commit 6f0d16ded6

View File

@ -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 = {