diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-07-05 08:26:47 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-07-05 08:26:47 +0000 |
commit | d1b237b335776be151889d5339c672d784475c3c (patch) | |
tree | be879011f76a6bdf58b86fdac7f05b69c39e5fcb /target/linux/ar71xx/patches-3.3/620-MIPS-ath79-OTP-support.patch | |
parent | 7284cf73d69ffad645078ac5c7910913bf9757a5 (diff) | |
download | upstream-d1b237b335776be151889d5339c672d784475c3c.tar.gz upstream-d1b237b335776be151889d5339c672d784475c3c.tar.bz2 upstream-d1b237b335776be151889d5339c672d784475c3c.zip |
ar71xx: add initial support for the QCA955X SoCs
SVN-Revision: 32606
Diffstat (limited to 'target/linux/ar71xx/patches-3.3/620-MIPS-ath79-OTP-support.patch')
-rw-r--r-- | target/linux/ar71xx/patches-3.3/620-MIPS-ath79-OTP-support.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ar71xx/patches-3.3/620-MIPS-ath79-OTP-support.patch b/target/linux/ar71xx/patches-3.3/620-MIPS-ath79-OTP-support.patch index 7859eba321..0c24ff5b57 100644 --- a/target/linux/ar71xx/patches-3.3/620-MIPS-ath79-OTP-support.patch +++ b/target/linux/ar71xx/patches-3.3/620-MIPS-ath79-OTP-support.patch @@ -1,6 +1,6 @@ --- a/arch/mips/ath79/dev-wmac.c +++ b/arch/mips/ath79/dev-wmac.c -@@ -121,6 +121,137 @@ static void ar934x_wmac_setup(void) +@@ -139,6 +139,137 @@ static void qca955x_wmac_setup(void) ath79_wmac_data.is_clk_25mhz = true; } @@ -149,9 +149,9 @@ #endif /* _ATH79_DEV_WMAC_H */ --- a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h +++ b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h -@@ -102,6 +102,14 @@ - #define AR934X_EHCI_BASE 0x1b000000 - #define AR934X_EHCI_SIZE 0x1000 +@@ -123,6 +123,14 @@ + #define QCA955X_GMAC_BASE (AR71XX_APB_BASE + 0x00070000) + #define QCA955X_GMAC_SIZE 0x40 +#define AR9300_OTP_BASE 0x14000 +#define AR9300_OTP_STATUS 0x15f18 |