X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/7b74a280aada70597e43f9708a74ca75b8323c65..288c968dab227cc5b83a9e2983d65cfaa605504f:/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c diff --git a/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c b/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c index d940a8724..18d5337b9 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include #include @@ -54,13 +54,13 @@ static struct mtd_partition rt_n15_partitions[] = { }, { .name = "kernel", .offset = 0x050000, - .size = 0x0b0000, + .size = 0x0d0000, }, { .name = "rootfs", - .offset = 0x100000, - .size = 0x300000, + .offset = 0x120000, + .size = 0x2e0000, }, { - .name = "openwrt", + .name = "firmware", .offset = 0x050000, .size = 0x3b0000, } @@ -100,7 +100,7 @@ static struct gpio_button rt_n15_gpio_buttons[] __initdata = { } }; -static struct rtl8366s_platform_data rt_n15_rtl8366s_data = { +static struct rtl8366_platform_data rt_n15_rtl8366s_data = { .gpio_sda = RT_N15_GPIO_RTL8366_SDA, .gpio_sck = RT_N15_GPIO_RTL8366_SCK, }; @@ -135,6 +135,7 @@ static void __init rt_n15_init(void) rt288x_eth_data.tx_fc = 1; rt288x_eth_data.rx_fc = 1; rt288x_register_ethernet(); + rt288x_register_wdt(); } MIPS_MACHINE(RAMIPS_MACH_RT_N15, "RT-N15", "Asus RT-N15", rt_n15_init);