ramips: scripts updates
[openwrt.git] / target / linux / ramips / files / arch / mips / ralink / rt305x / mach-argus-atp52b.c
index bee06fd..be65690 100644 (file)
 
 static struct gpio_led argus_atp52b_leds_gpio[] __initdata = {
        {
-               .name       = "argus_atp52b:green:run",
+               .name       = "argus-atp52b:green:run",
                .gpio       = ARGUS_ATP52B_GPIO_LED_RUN,
                .active_low = 1,
        },
        {
-               .name       = "argus_atp52b:amber:net",
+               .name       = "argus-atp52b:amber:net",
                .gpio       = ARGUS_ATP52B_GPIO_LED_NET,
                .active_low = 1,
        }
@@ -72,10 +72,12 @@ static struct mtd_partition argus_atp52b_partitions[] = {
                .name   = "config",
                .offset = 0x030000,
                .size   = 0x010000,
+               .mask_flags = MTD_WRITEABLE,
        }, {
                .name   = "factory",
                .offset = 0x040000,
                .size   = 0x010000,
+               .mask_flags = MTD_WRITEABLE,
        }, {
                .name   = "kernel",
                .offset = 0x050000,
@@ -83,7 +85,7 @@ static struct mtd_partition argus_atp52b_partitions[] = {
        }, {
                .name   = "rootfs",
                .offset = 0x170000,
-               .size   = 0x680000,
+               .size   = 0x690000,
        }
 };
 #endif /* CONFIG_MTD_PARTITIONS */
@@ -108,6 +110,7 @@ static void __init argus_atp52b_init(void)
        rt305x_register_ethernet();
        rt305x_register_wifi();
        rt305x_register_wdt();
+       rt305x_register_usb();
 }
 
 MIPS_MACHINE(RAMIPS_MACH_ARGUS_ATP52B, "ARGUS_ATP52B", "Argus ATP-52B",
This page took 0.028543 seconds and 4 git commands to generate.