diff options
author | Olof Johansson <olof@lixom.net> | 2013-08-29 17:07:34 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-08-29 17:07:34 -0400 |
commit | 6f244c9ccf22bc38d2ce39b1c7ee304dab7e5328 (patch) | |
tree | 633d36d251f645c23feb0dc981f2e0ab7ab7e7bb /arch | |
parent | ef2fd3b15bd2da46e13cc61d475286e5e6026211 (diff) | |
parent | 746831d5a166b1965034318ab80a7a7af03bf30f (diff) |
Merge tag 'at91-soc' of git://github.com/at91linux/linux-at91 into late/all
From Nicolas Ferre:
AT91 SoC update for 3.12 take 1
- enable kernel uncompress information output for
SoC where it was missing: at91sam9n12 and sama5d3
- addition of at91rm9200 to the generic at91_dt_defconfig
* tag 'at91-soc' of git://github.com/at91linux/linux-at91:
ARM: at91: at91_dt_defconfig: enable rm9200 support
ARM: at91: sam9n12: enable kernel uncompress info output
ARM: at91: sama5: enable kernel uncompress info output
ARM: at91: include sama5d3.h into hardware.h
ARM: at91: sama5d3: add definition for usart base address
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/configs/at91_dt_defconfig | 4 | ||||
-rw-r--r-- | arch/arm/mach-at91/include/mach/hardware.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-at91/include/mach/sama5d3.h | 8 | ||||
-rw-r--r-- | arch/arm/mach-at91/include/mach/uncompress.h | 13 |
4 files changed, 25 insertions, 1 deletions
diff --git a/arch/arm/configs/at91_dt_defconfig b/arch/arm/configs/at91_dt_defconfig index 75fd842d4071..690e89273230 100644 --- a/arch/arm/configs/at91_dt_defconfig +++ b/arch/arm/configs/at91_dt_defconfig | |||
@@ -14,11 +14,13 @@ CONFIG_MODULE_UNLOAD=y | |||
14 | # CONFIG_IOSCHED_DEADLINE is not set | 14 | # CONFIG_IOSCHED_DEADLINE is not set |
15 | # CONFIG_IOSCHED_CFQ is not set | 15 | # CONFIG_IOSCHED_CFQ is not set |
16 | CONFIG_ARCH_AT91=y | 16 | CONFIG_ARCH_AT91=y |
17 | CONFIG_SOC_AT91RM9200=y | ||
17 | CONFIG_SOC_AT91SAM9260=y | 18 | CONFIG_SOC_AT91SAM9260=y |
18 | CONFIG_SOC_AT91SAM9263=y | 19 | CONFIG_SOC_AT91SAM9263=y |
19 | CONFIG_SOC_AT91SAM9G45=y | 20 | CONFIG_SOC_AT91SAM9G45=y |
20 | CONFIG_SOC_AT91SAM9X5=y | 21 | CONFIG_SOC_AT91SAM9X5=y |
21 | CONFIG_SOC_AT91SAM9N12=y | 22 | CONFIG_SOC_AT91SAM9N12=y |
23 | CONFIG_MACH_AT91RM9200_DT=y | ||
22 | CONFIG_MACH_AT91SAM9_DT=y | 24 | CONFIG_MACH_AT91SAM9_DT=y |
23 | CONFIG_AT91_PROGRAMMABLE_CLOCKS=y | 25 | CONFIG_AT91_PROGRAMMABLE_CLOCKS=y |
24 | CONFIG_AT91_TIMER_HZ=128 | 26 | CONFIG_AT91_TIMER_HZ=128 |
@@ -62,6 +64,7 @@ CONFIG_MTD=y | |||
62 | CONFIG_MTD_CMDLINE_PARTS=y | 64 | CONFIG_MTD_CMDLINE_PARTS=y |
63 | CONFIG_MTD_CHAR=y | 65 | CONFIG_MTD_CHAR=y |
64 | CONFIG_MTD_BLOCK=y | 66 | CONFIG_MTD_BLOCK=y |
67 | CONFIG_MTD_DATAFLASH=y | ||
65 | CONFIG_MTD_NAND=y | 68 | CONFIG_MTD_NAND=y |
66 | CONFIG_MTD_NAND_ATMEL=y | 69 | CONFIG_MTD_NAND_ATMEL=y |
67 | CONFIG_MTD_UBI=y | 70 | CONFIG_MTD_UBI=y |
@@ -78,7 +81,6 @@ CONFIG_BLK_DEV_SD=y | |||
78 | CONFIG_SCSI_MULTI_LUN=y | 81 | CONFIG_SCSI_MULTI_LUN=y |
79 | # CONFIG_SCSI_LOWLEVEL is not set | 82 | # CONFIG_SCSI_LOWLEVEL is not set |
80 | CONFIG_NETDEVICES=y | 83 | CONFIG_NETDEVICES=y |
81 | CONFIG_MII=y | ||
82 | CONFIG_MACB=y | 84 | CONFIG_MACB=y |
83 | # CONFIG_NET_VENDOR_BROADCOM is not set | 85 | # CONFIG_NET_VENDOR_BROADCOM is not set |
84 | # CONFIG_NET_VENDOR_FARADAY is not set | 86 | # CONFIG_NET_VENDOR_FARADAY is not set |
diff --git a/arch/arm/mach-at91/include/mach/hardware.h b/arch/arm/mach-at91/include/mach/hardware.h index a832e0707611..f17aa3150019 100644 --- a/arch/arm/mach-at91/include/mach/hardware.h +++ b/arch/arm/mach-at91/include/mach/hardware.h | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <mach/at91sam9g45.h> | 33 | #include <mach/at91sam9g45.h> |
34 | #include <mach/at91sam9x5.h> | 34 | #include <mach/at91sam9x5.h> |
35 | #include <mach/at91sam9n12.h> | 35 | #include <mach/at91sam9n12.h> |
36 | #include <mach/sama5d3.h> | ||
36 | 37 | ||
37 | /* | 38 | /* |
38 | * On all at91 except rm9200 and x40 have the System Controller starts | 39 | * On all at91 except rm9200 and x40 have the System Controller starts |
diff --git a/arch/arm/mach-at91/include/mach/sama5d3.h b/arch/arm/mach-at91/include/mach/sama5d3.h index 6dc81ee38048..31096a8aaf1d 100644 --- a/arch/arm/mach-at91/include/mach/sama5d3.h +++ b/arch/arm/mach-at91/include/mach/sama5d3.h | |||
@@ -65,6 +65,14 @@ | |||
65 | #define SAMA5D3_ID_IRQ0 47 /* Advanced Interrupt Controller (IRQ0) */ | 65 | #define SAMA5D3_ID_IRQ0 47 /* Advanced Interrupt Controller (IRQ0) */ |
66 | 66 | ||
67 | /* | 67 | /* |
68 | * User Peripheral physical base addresses. | ||
69 | */ | ||
70 | #define SAMA5D3_BASE_USART0 0xf001c000 | ||
71 | #define SAMA5D3_BASE_USART1 0xf0020000 | ||
72 | #define SAMA5D3_BASE_USART2 0xf8020000 | ||
73 | #define SAMA5D3_BASE_USART3 0xf8024000 | ||
74 | |||
75 | /* | ||
68 | * Internal Memory | 76 | * Internal Memory |
69 | */ | 77 | */ |
70 | #define SAMA5D3_SRAM_BASE 0x00300000 /* Internal SRAM base address */ | 78 | #define SAMA5D3_SRAM_BASE 0x00300000 /* Internal SRAM base address */ |
diff --git a/arch/arm/mach-at91/include/mach/uncompress.h b/arch/arm/mach-at91/include/mach/uncompress.h index 5659f7c72120..4bb644f8e87c 100644 --- a/arch/arm/mach-at91/include/mach/uncompress.h +++ b/arch/arm/mach-at91/include/mach/uncompress.h | |||
@@ -94,6 +94,15 @@ static const u32 uarts_sam9x5[] = { | |||
94 | 0, | 94 | 0, |
95 | }; | 95 | }; |
96 | 96 | ||
97 | static const u32 uarts_sama5[] = { | ||
98 | AT91_BASE_DBGU1, | ||
99 | SAMA5D3_BASE_USART0, | ||
100 | SAMA5D3_BASE_USART1, | ||
101 | SAMA5D3_BASE_USART2, | ||
102 | SAMA5D3_BASE_USART3, | ||
103 | 0, | ||
104 | }; | ||
105 | |||
97 | static inline const u32* decomp_soc_detect(void __iomem *dbgu_base) | 106 | static inline const u32* decomp_soc_detect(void __iomem *dbgu_base) |
98 | { | 107 | { |
99 | u32 cidr, socid; | 108 | u32 cidr, socid; |
@@ -121,8 +130,12 @@ static inline const u32* decomp_soc_detect(void __iomem *dbgu_base) | |||
121 | case ARCH_ID_AT91SAM9RL64: | 130 | case ARCH_ID_AT91SAM9RL64: |
122 | return uarts_sam9rl; | 131 | return uarts_sam9rl; |
123 | 132 | ||
133 | case ARCH_ID_AT91SAM9N12: | ||
124 | case ARCH_ID_AT91SAM9X5: | 134 | case ARCH_ID_AT91SAM9X5: |
125 | return uarts_sam9x5; | 135 | return uarts_sam9x5; |
136 | |||
137 | case ARCH_ID_SAMA5D3: | ||
138 | return uarts_sama5; | ||
126 | } | 139 | } |
127 | 140 | ||
128 | /* at91sam9g10 */ | 141 | /* at91sam9g10 */ |