aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-bcm
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-12-31 11:00:24 -0500
committerArnd Bergmann <arnd@arndb.de>2015-12-31 11:37:12 -0500
commitfc2f669e7d0ea9559cbdc229ff97f9fff5f8de4f (patch)
treed8cd91c4ec187e70ae7318c041f3ba775d11af4b /arch/arm/mach-bcm
parent2bc75dbf14f8f3db56c1f546e65a90b5286614ad (diff)
parent5234c34e4cd7695647ccc1cabb50c3e7720dd3fb (diff)
Merge tag 'bcm2835-soc-next-2015-12-28' of http://github.com/anholt/linux into next/soc
Merge "BCM2835 SOC changes for 4.5" from Eric Anholt: This pull request includes the bcm2835 changes for 4.5 targeting the arm-soc next/soc branch. * tag 'bcm2835-soc-next-2015-12-28' of http://github.com/anholt/linux: ARM: bcm2835: Add Kconfig support for bcm2836 ARM: bcm2835: Add a compat string for bcm2836 machine probe dt-bindings: Add root properties for Raspberry Pi 2 Conflicts: arch/arm/mach-bcm/Kconfig
Diffstat (limited to 'arch/arm/mach-bcm')
-rw-r--r--arch/arm/mach-bcm/Kconfig9
-rw-r--r--arch/arm/mach-bcm/board_bcm2835.c5
2 files changed, 10 insertions, 4 deletions
diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig
index c9723d82cb30..7ef121472cdd 100644
--- a/arch/arm/mach-bcm/Kconfig
+++ b/arch/arm/mach-bcm/Kconfig
@@ -136,17 +136,18 @@ comment "Other Architectures"
136 136
137config ARCH_BCM2835 137config ARCH_BCM2835
138 bool "Broadcom BCM2835 family" 138 bool "Broadcom BCM2835 family"
139 depends on ARCH_MULTI_V6 139 depends on ARCH_MULTI_V6 || ARCH_MULTI_V7
140 select ARCH_REQUIRE_GPIOLIB 140 select ARCH_REQUIRE_GPIOLIB
141 select ARM_AMBA 141 select ARM_AMBA
142 select ARM_ERRATA_411920 142 select ARM_ERRATA_411920 if ARCH_MULTI_V6
143 select ARM_TIMER_SP804 143 select ARM_TIMER_SP804
144 select HAVE_ARM_ARCH_TIMER if ARCH_MULTI_V7
144 select CLKSRC_OF 145 select CLKSRC_OF
145 select PINCTRL 146 select PINCTRL
146 select PINCTRL_BCM2835 147 select PINCTRL_BCM2835
147 help 148 help
148 This enables support for the Broadcom BCM2835 SoC. This SoC is 149 This enables support for the Broadcom BCM2835 and BCM2836 SoCs.
149 used in the Raspberry Pi and Roku 2 devices. 150 This SoC is used in the Raspberry Pi and Roku 2 devices.
150 151
151config ARCH_BCM_63XX 152config ARCH_BCM_63XX
152 bool "Broadcom BCM63xx DSL SoC" 153 bool "Broadcom BCM63xx DSL SoC"
diff --git a/arch/arm/mach-bcm/board_bcm2835.c b/arch/arm/mach-bcm/board_bcm2835.c
index 0f7b9eac3d15..834d67684e20 100644
--- a/arch/arm/mach-bcm/board_bcm2835.c
+++ b/arch/arm/mach-bcm/board_bcm2835.c
@@ -36,7 +36,12 @@ static void __init bcm2835_init(void)
36} 36}
37 37
38static const char * const bcm2835_compat[] = { 38static const char * const bcm2835_compat[] = {
39#ifdef CONFIG_ARCH_MULTI_V6
39 "brcm,bcm2835", 40 "brcm,bcm2835",
41#endif
42#ifdef CONFIG_ARCH_MULTI_V7
43 "brcm,bcm2836",
44#endif
40 NULL 45 NULL
41}; 46};
42 47