summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files/arch/mips/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-03-26 22:35:41 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-03-26 22:35:41 +0000
commitaa3ff31b951b0279f1daa8d2899eb40647a79652 (patch)
tree9311b1ad53d11ba7e6ef22a6ecb1ba1edbb261c1 /target/linux/ar71xx/files/arch/mips/include
parent4e10c56551e1d3e6c31f933d4ce061a09ad8a92d (diff)
downloadmtk-20170518-aa3ff31b951b0279f1daa8d2899eb40647a79652.zip
mtk-20170518-aa3ff31b951b0279f1daa8d2899eb40647a79652.tar.gz
mtk-20170518-aa3ff31b951b0279f1daa8d2899eb40647a79652.tar.bz2
ar71xx: add support for ar7241 and ar7242
SVN-Revision: 20494
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/include')
-rw-r--r--target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h12
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 d21df49..7a7d75c 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