Changeset 34180


Ignore:
Timestamp:
2012-11-13T09:54:14+01:00 (5 years ago)
Author:
blogic
Message:

[lantiq] fixes ar9 / dgn3500 support

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

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/lantiq/ar9/config-default

    r33987 r34180  
    11CONFIG_ADM6996_PHY=y 
    22CONFIG_AR8216_PHY=y 
    3 # CONFIG_ATMEL_PWM is not set 
    43CONFIG_CLKDEV_LOOKUP=y 
    54CONFIG_FSNOTIFY=y 
    65CONFIG_HAVE_MACH_CLKDEV=y 
     6CONFIG_HOTPLUG_PCI=y 
     7# CONFIG_HOTPLUG_PCI_CPCI is not set 
     8CONFIG_HOTPLUG_PCI_FAKE=y 
     9# CONFIG_HOTPLUG_PCI_SHPC is not set 
    710CONFIG_HW_HAS_PCI=y 
    811CONFIG_INPUT=y 
    912CONFIG_INPUT_EVDEV=y 
    10 # CONFIG_INPUT_GPIO_BUTTONS is not set 
    1113CONFIG_INPUT_POLLDEV=y 
    1214CONFIG_IRQ_FORCED_THREADING=y 
     
    2325CONFIG_LANTIQ_MACH_WBMR=y 
    2426# CONFIG_LANTIQ_VRX200 is not set 
     27CONFIG_M25PXX_USE_FAST_READ=y 
    2528CONFIG_MDIO_BOARDINFO=y 
    2629CONFIG_MTD_BLOCK2MTD=y 
     30CONFIG_MTD_M25P80=y 
    2731CONFIG_PCI=y 
    2832# CONFIG_PCIEPORTBUS is not set 
     
    3741CONFIG_SOC_TYPE_XWAY=y 
    3842CONFIG_SOC_XWAY=y 
     43CONFIG_SPI=y 
     44CONFIG_SPI_BITBANG=y 
     45CONFIG_SPI_GPIO=y 
     46CONFIG_SPI_MASTER=y 
    3947CONFIG_USB_ARCH_HAS_XHCI=y 
    4048CONFIG_USB_SUPPORT=y 
  • trunk/target/linux/lantiq/files-3.3/arch/mips/lantiq/xway/mach-netgear.c

    r34060 r34180  
    2323#include <linux/kobject.h> 
    2424#include <linux/sysfs.h> 
     25#include <linux/rtl8366.h> 
    2526 
    2627#include <lantiq_soc.h> 
     
    149150} 
    150151__setup("ethaddr=", setup_ethaddr); 
     152 
     153#define smi_SCK         37 
     154#define smi_SDA         35 
     155 
     156static struct rtl8366_platform_data rtl8366rb_data = { 
     157        .gpio_sda = smi_SDA, 
     158        .gpio_sck = smi_SCK, 
     159}; 
     160 
     161static struct platform_device rtl8366rb_device = { 
     162        .name = RTL8366RB_DRIVER_NAME, 
     163        .id = -1, 
     164        .dev = { 
     165                .platform_data  = &rtl8366rb_data, 
     166        } 
     167}; 
    151168 
    152169static u16 dgn3500_eeprom_data[ATH9K_PLAT_EEP_MAX_WORDS] = {0}; 
     
    232249        /* The usb power is always enabled, protected by a fuse */ 
    233250        xway_register_dwc(-1); 
     251        platform_device_register(&rtl8366rb_device); 
    234252} 
    235253 
Note: See TracChangeset for help on using the changeset viewer.