Changeset 27054


Ignore:
Timestamp:
2011-06-01T00:53:26+02:00 (7 years ago)
Author:
juhosg
Message:

ar71xx: add preliminary support for the Atheros AR933x SoCs

Location:
trunk/target/linux/ar71xx
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/config-2.6.37

    r27048 r27054  
    179179CONFIG_SOC_AR724X=y 
    180180CONFIG_SOC_AR913X=y 
     181# CONFIG_SOC_AR933X is not set 
    181182CONFIG_SOC_AR934X=y 
    182183CONFIG_SPI=y 
  • trunk/target/linux/ar71xx/config-2.6.38

    r27048 r27054  
    179179CONFIG_SOC_AR724X=y 
    180180CONFIG_SOC_AR913X=y 
     181# CONFIG_SOC_AR933X is not set 
    181182CONFIG_SOC_AR934X=y 
    182183CONFIG_SPI=y 
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/Kconfig

    r27048 r27054  
    394394        def_bool n 
    395395 
     396config SOC_AR933X 
     397        bool 
     398        select USB_ARCH_HAS_EHCI 
     399 
    396400endif 
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/setup.c

    r26561 r27054  
    144144                break; 
    145145 
    146         case REV_ID_MAJOR_AR9341: 
    147                 ar71xx_soc = AR71XX_SOC_AR9341; 
    148                 chip = "9341"; 
    149                 rev = id & AR934X_REV_ID_REVISION_MASK; 
     146        case REV_ID_MAJOR_AR9330: 
     147                ar71xx_soc = AR71XX_SOC_AR9330; 
     148                chip = "9330"; 
     149                rev = id & AR933X_REV_ID_REVISION_MASK; 
     150                break; 
     151 
     152        case REV_ID_MAJOR_AR9331: 
     153                ar71xx_soc = AR71XX_SOC_AR9331; 
     154                chip = "9331"; 
     155                rev = id & AR933X_REV_ID_REVISION_MASK; 
    150156                break; 
    151157 
  • trunk/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h

    r26777 r27054  
    128128        AR71XX_SOC_AR9130, 
    129129        AR71XX_SOC_AR9132, 
     130        AR71XX_SOC_AR9330, 
     131        AR71XX_SOC_AR9331, 
    130132        AR71XX_SOC_AR9341, 
    131133        AR71XX_SOC_AR9342, 
     
    642644#define REV_ID_MAJOR_AR7241     0x0100 
    643645#define REV_ID_MAJOR_AR7242     0x1100 
     646#define REV_ID_MAJOR_AR9330     0x0110 
     647#define REV_ID_MAJOR_AR9331     0x1110 
    644648#define REV_ID_MAJOR_AR9341     0x0120 
    645649#define REV_ID_MAJOR_AR9342     0x1120 
     
    660664 
    661665#define AR724X_REV_ID_REVISION_MASK     0x3 
     666 
     667#define AR933X_REV_ID_REVISION_MASK     0xf 
    662668 
    663669#define AR934X_REV_ID_REVISION_MASK     0xf 
Note: See TracChangeset for help on using the changeset viewer.