diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-03-26 22:35:41 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-03-26 22:35:41 +0000 |
commit | ef287bc6c5377427065035f51b9da1850e2b98f4 (patch) | |
tree | e8023a84473f91f4db45bb339911b64fef93eaf2 /target/linux/ar71xx/files/arch/mips/include | |
parent | ecd4ce55468021a3f53bf80f0a9dd0d4b2e652ac (diff) | |
download | upstream-ef287bc6c5377427065035f51b9da1850e2b98f4.tar.gz upstream-ef287bc6c5377427065035f51b9da1850e2b98f4.tar.bz2 upstream-ef287bc6c5377427065035f51b9da1850e2b98f4.zip |
ar71xx: add support for ar7241 and ar7242
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20494 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/include')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h index d21df49d66..7a7d75c3fe 100644 --- a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h +++ b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h @@ -112,6 +112,8 @@ enum ar71xx_soc_type { AR71XX_SOC_AR7141, AR71XX_SOC_AR7161, AR71XX_SOC_AR7240, + AR71XX_SOC_AR7241, + AR71XX_SOC_AR7242, AR71XX_SOC_AR9130, AR71XX_SOC_AR9132 }; @@ -429,10 +431,12 @@ void ar71xx_ddr_flush(u32 reg); #define AR724X_RESET_PCIE_PHY BIT(7) #define AR724X_RESET_PCIE BIT(6) -#define REV_ID_MAJOR_MASK 0xf0 -#define REV_ID_MAJOR_AR71XX 0xa0 -#define REV_ID_MAJOR_AR913X 0xb0 -#define REV_ID_MAJOR_AR724X 0xc0 +#define REV_ID_MAJOR_MASK 0xfff0 +#define REV_ID_MAJOR_AR71XX 0x00a0 +#define REV_ID_MAJOR_AR913X 0x00b0 +#define REV_ID_MAJOR_AR7240 0x00c0 +#define REV_ID_MAJOR_AR7241 0x0100 +#define REV_ID_MAJOR_AR7242 0x1100 #define AR71XX_REV_ID_MINOR_MASK 0x3 #define AR71XX_REV_ID_MINOR_AR7130 0x0 |