Skip to content

Commit 40a6c00

Browse files
author
Linus Walleij
committed
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>
1 parent 60cc43f commit 40a6c00

3 files changed

Lines changed: 2 additions & 21 deletions

File tree

‎arch/arm/mach-ux500/Kconfig‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,8 @@ config UX500_SOC_DB8500
2626
bool
2727
select MFD_DB8500_PRCMU
2828
select PINCTRL_DB8500
29-
select PINCTRL_DB8540
3029
select PINCTRL_AB8500
3130
select PINCTRL_AB8505
32-
select PINCTRL_AB9540
33-
select PINCTRL_AB8540
3431
select REGULATOR
3532
select REGULATOR_DB8500_PRCMU
3633
select CLKSRC_DBX500_PRCMU

‎arch/arm/mach-ux500/cpu-db8500.c‎

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,6 @@ static void ux500_restart(enum reboot_mode mode, const char *cmd)
111111
prcmu_system_reset(0);
112112
}
113113

114-
static struct of_dev_auxdata u8540_auxdata_lookup[] __initdata = {
115-
OF_DEV_AUXDATA("stericsson,db8500-prcmu", 0x80157000, "db8500-prcmu", NULL),
116-
{},
117-
};
118-
119114
static const struct of_device_id u8500_local_bus_nodes[] = {
120115
/* only create devices below soc node */
121116
{ .compatible = "stericsson,db8500", },
@@ -129,20 +124,13 @@ static void __init u8500_init_machine(void)
129124
/* Initialize ux500 power domains */
130125
ux500_pm_domains_init();
131126

132-
/* automatically probe child nodes of dbx5x0 devices */
133-
if (of_machine_is_compatible("st-ericsson,u8540"))
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);
127+
of_platform_populate(NULL, u8500_local_bus_nodes,
128+
NULL, NULL);
139129
}
140130

141131
static const char * stericsson_dt_platform_compat[] = {
142132
"st-ericsson,u8500",
143-
"st-ericsson,u8540",
144133
"st-ericsson,u9500",
145-
"st-ericsson,u9540",
146134
NULL,
147135
};
148136

‎arch/arm/mach-ux500/db8500-regs.h‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@
4141
/* ASIC ID is at 0xbf4 offset within this region */
4242
#define U8500_ASIC_ID_BASE 0x9001D000
4343

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-
4844
#define U8500_PER6_BASE 0xa03c0000
4945
#define U8500_PER7_BASE 0xa03d0000
5046
#define U8500_PER5_BASE 0xa03e0000

0 commit comments

Comments
 (0)