aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-03-07 08:29:23 -0500
committerLinus Walleij <linus.walleij@linaro.org>2018-05-04 05:02:48 -0400
commit40a6c00f58ef138ea2c009792c65ad31ab627be5 (patch)
treee43d6e05015bf376f0ec773accdcd678b71cb324
parent60cc43fc888428bb2f18f08997432d426a243338 (diff)
ARM: ux500: Drop U8540/9540 support
The U8540 was an evolved version of the U8500, but it was never mass produced or put into products, only reference designs exist. The upstream support was never completed and it is unlikely that this will happen so drop the support for now to simplify maintenance of the U8500. Cc: Loic Pallardy <loic.pallardy@st.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--arch/arm/mach-ux500/Kconfig3
-rw-r--r--arch/arm/mach-ux500/cpu-db8500.c16
-rw-r--r--arch/arm/mach-ux500/db8500-regs.h4
3 files changed, 2 insertions, 21 deletions
diff --git a/arch/arm/mach-ux500/Kconfig b/arch/arm/mach-ux500/Kconfig
index f98332ea2ef2..7289ec8404c9 100644
--- a/arch/arm/mach-ux500/Kconfig
+++ b/arch/arm/mach-ux500/Kconfig
@@ -26,11 +26,8 @@ config UX500_SOC_DB8500
26 bool 26 bool
27 select MFD_DB8500_PRCMU 27 select MFD_DB8500_PRCMU
28 select PINCTRL_DB8500 28 select PINCTRL_DB8500
29 select PINCTRL_DB8540
30 select PINCTRL_AB8500 29 select PINCTRL_AB8500
31 select PINCTRL_AB8505 30 select PINCTRL_AB8505
32 select PINCTRL_AB9540
33 select PINCTRL_AB8540
34 select REGULATOR 31 select REGULATOR
35 select REGULATOR_DB8500_PRCMU 32 select REGULATOR_DB8500_PRCMU
36 select CLKSRC_DBX500_PRCMU 33 select CLKSRC_DBX500_PRCMU
diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c
index 36cd23c8be9b..389ecf6faa00 100644
--- a/arch/arm/mach-ux500/cpu-db8500.c
+++ b/arch/arm/mach-ux500/cpu-db8500.c
@@ -111,11 +111,6 @@ static void ux500_restart(enum reboot_mode mode, const char *cmd)
111 prcmu_system_reset(0); 111 prcmu_system_reset(0);
112} 112}
113 113
114static struct of_dev_auxdata u8540_auxdata_lookup[] __initdata = {
115 OF_DEV_AUXDATA("stericsson,db8500-prcmu", 0x80157000, "db8500-prcmu", NULL),
116 {},
117};
118
119static const struct of_device_id u8500_local_bus_nodes[] = { 114static const struct of_device_id u8500_local_bus_nodes[] = {
120 /* only create devices below soc node */ 115 /* only create devices below soc node */
121 { .compatible = "stericsson,db8500", }, 116 { .compatible = "stericsson,db8500", },
@@ -129,20 +124,13 @@ static void __init u8500_init_machine(void)
129 /* Initialize ux500 power domains */ 124 /* Initialize ux500 power domains */
130 ux500_pm_domains_init(); 125 ux500_pm_domains_init();
131 126
132 /* automatically probe child nodes of dbx5x0 devices */ 127 of_platform_populate(NULL, u8500_local_bus_nodes,
133 if (of_machine_is_compatible("st-ericsson,u8540")) 128 NULL, NULL);
134 of_platform_populate(NULL, u8500_local_bus_nodes,
135 u8540_auxdata_lookup, NULL);
136 else
137 of_platform_populate(NULL, u8500_local_bus_nodes,
138 NULL, NULL);
139} 129}
140 130
141static const char * stericsson_dt_platform_compat[] = { 131static const char * stericsson_dt_platform_compat[] = {
142 "st-ericsson,u8500", 132 "st-ericsson,u8500",
143 "st-ericsson,u8540",
144 "st-ericsson,u9500", 133 "st-ericsson,u9500",
145 "st-ericsson,u9540",
146 NULL, 134 NULL,
147}; 135};
148 136
diff --git a/arch/arm/mach-ux500/db8500-regs.h b/arch/arm/mach-ux500/db8500-regs.h
index 27399553c841..3d6e1955119a 100644
--- a/arch/arm/mach-ux500/db8500-regs.h
+++ b/arch/arm/mach-ux500/db8500-regs.h
@@ -41,10 +41,6 @@
41/* ASIC ID is at 0xbf4 offset within this region */ 41/* ASIC ID is at 0xbf4 offset within this region */
42#define U8500_ASIC_ID_BASE 0x9001D000 42#define U8500_ASIC_ID_BASE 0x9001D000
43 43
44#define U9540_BOOT_ROM_BASE 0xFFFE0000
45/* ASIC ID is at 0xbf4 offset within this region */
46#define U9540_ASIC_ID_BASE 0xFFFFD000
47
48#define U8500_PER6_BASE 0xa03c0000 44#define U8500_PER6_BASE 0xa03c0000
49#define U8500_PER7_BASE 0xa03d0000 45#define U8500_PER7_BASE 0xa03d0000
50#define U8500_PER5_BASE 0xa03e0000 46#define U8500_PER5_BASE 0xa03e0000