Changeset 25074


Ignore:
Timestamp:
2011-01-23T13:51:15+01:00 (7 years ago)
Author:
blogic
Message:

[lantiq] adds machtype for ARV7518PW

Location:
trunk/target/linux/lantiq
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/lantiq/image/Makefile

    r25072 r25074  
    6262        $(call Image/BuildKernel/Template,ARV452,$(xway_cmdline)) 
    6363        $(call Image/BuildKernel/Template,ARV752DPW22,$(xway_cmdline)) 
     64        $(call Image/BuildKernel/Template,ARV7518PW,$(xway_cmdline)) 
    6465        $(call Image/BuildKernel/Template,NONE) 
    6566endef 
     
    7172        $(call Image/Build/$(1),$(1),ARV452) 
    7273        $(call Image/Build/$(1),$(1),ARV752DPW22) 
     74        $(call Image/Build/$(1),$(1),ARV7518PW) 
    7375        $(call Image/Build/$(1),$(1),NONE) 
    7476        $(CP) $(KDIR)/root.$(1)  $(BIN_DIR)/$(IMG_PREFIX)-$(1).rootfs 
  • trunk/target/linux/lantiq/patches/400-mach-arv45xx.patch

    r25072 r25074  
    11--- a/arch/mips/include/asm/mach-lantiq/machine.h 
    22+++ b/arch/mips/include/asm/mach-lantiq/machine.h 
    3 @@ -11,4 +11,8 @@ 
     3@@ -11,4 +11,9 @@ 
    44        LANTIQ_MACH_EASY4010,           /* Twinpass evalkit */ 
    55        LANTIQ_MACH_EASY50712,          /* Danube evalkit */ 
     
    99+       LANTIQ_MACH_ARV4525,            /* Speedport W502V */ 
    1010+       LANTIQ_MACH_ARV752DPW22,        /* Arcor easybox a803 */ 
     11+       LANTIQ_MACH_ARV7518PW,          /* ASTORIA */ 
    1112 }; 
    1213--- a/arch/mips/lantiq/xway/Kconfig 
     
    3233--- /dev/null 
    3334+++ b/arch/mips/lantiq/xway/mach-arv45xx.c 
    34 @@ -0,0 +1,268 @@ 
     35@@ -0,0 +1,299 @@ 
    3536+/* 
    3637+ *  This program is free software; you can redistribute it and/or modify it 
     
    200201+}; 
    201202+ 
     203+static struct gpio_led 
     204+arv7518pw_leds_gpio[] __initdata = { 
     205+       { .name = "soc:green:power", .gpio = 2, .active_low = 1, }, 
     206+       { .name = "soc:green:adsl", .gpio = 4, .active_low = 1, }, 
     207+       { .name = "soc:green:internet", .gpio = 5, .active_low = 1, }, 
     208+       { .name = "soc:green:wlan", .gpio = 6, .active_low = 1, }, 
     209+       { .name = "sco:red:internet", .gpio = 8, .active_low = 1, }, 
     210+       { .name = "soc:green:usb", .gpio = 19, .active_low = 1, }, 
     211+}; 
     212+ 
    202213+static void 
    203214+arv45xx_register_ethernet(void) 
     
    274285+                       "ARV4525 - Speedport W502V", 
    275286+                       arv4525_init); 
     287+ 
     288+ 
     289+static void __init 
     290+arv7518pw_init(void) 
     291+{ 
     292+       lq_register_gpio(); 
     293+       lq_register_gpio_ebu(ARV452_LATCH_SWITCH); 
     294+       lq_register_asc(0); 
     295+       lq_register_asc(1); 
     296+       lq_register_gpio_leds(arv7518pw_leds_gpio, ARRAY_SIZE(arv7518pw_leds_gpio)); 
     297+       lq_register_nor(&arv75xx_flash_data); 
     298+       lq_register_pci(&lq_pci_data); 
     299+       lq_register_wdt(); 
     300+       arv75xx_register_ethernet(); 
     301+       //arv7518_register_ath9k(mac); 
     302+} 
     303+ 
     304+MIPS_MACHINE(LANTIQ_MACH_ARV7518PW, 
     305+                       "ARV7518PW", 
     306+                       "ARV7518PW - ASTORIA", 
     307+                       arv7518pw_init); 
    276308+ 
    277309+static void __init 
Note: See TracChangeset for help on using the changeset viewer.