Skip to contentSkip to conversation

ARM: deprecated platform removal

PATCH Superseded Arnd Bergmann 36 participants 106 messages Sep 8 – Sep 13 Page 3 of 4

Subsystems (56)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
Acked-by on v1 5/13
#43 lore raw

Re: [PATCH 05/13] ARM: orion/dove/mv78xx0: remove all board files

In reply to Arnd Bergmann
Quoted 39 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The 'orion' platform is the predecessor to what linux now calls the 'mvebu' line of Marvell SoCs, and originally covered orion5x, mv78xx0, kirkwood, dove and a few others that do not have any upstream support at the moment.

Only a few board files remain here, these are the ones left in 2022 board file purge because they had some level of support in Debian or OpenWRT, mostly for commercial NAS or router boxes. This distro support is now gone, and nobody has converted the board files to devicetree, though the orion5x and dove platforms also come with devicetree support for some other machines.

Cc Andrew Lunn <[email protected]>
Cc Sebastian Hesselbarth <[email protected]>
Cc Gregory Clement <[email protected]>
Cc Alexander Clouter <[email protected]>
Cc Jeremy J. Peper <[email protected]>
Cc Damien Le Moal <[email protected]>
Cc Niklas Cassel <[email protected]>
Cc Ulf Hansson <[email protected]>
Cc Lorenzo Pieralisi <[email protected]>
Cc "Krzysztof Wilczyński" <[email protected]>
Cc Manivannan Sadhasivam <[email protected]>
Cc Rob Herring <[email protected]>
Cc Bjorn Helgaas <[email protected]>
Cc Vinod Koul <[email protected]>
Cc Alexandre Belloni <[email protected]>
Cc "Rafael J. Wysocki" <[email protected]>
Cc Daniel Lezcano <[email protected]>
Cc Guenter Roeck <[email protected]>
Cc Mark Brown <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Bartosz Golaszewski <[email protected]>
Cc Thomas Weissschuh <[email protected]>
Quoted 8 lines

Kind regards
Uffe

Quoted 9,582 lines
---
 MAINTAINERS                                   |   2 -
 arch/arm/Kconfig                              |   2 -
 arch/arm/Kconfig.debug                        |   2 +-
 arch/arm/Makefile                             |   2 -
 arch/arm/configs/dove_defconfig               | 134 ---
 arch/arm/configs/mv78xx0_defconfig            | 120 ---
 arch/arm/mach-dove/Kconfig                    |  32 -
 arch/arm/mach-dove/Makefile                   |   7 -
 arch/arm/mach-dove/bridge-regs.h              |  50 --
 arch/arm/mach-dove/cm-a510.c                  |  94 --
 arch/arm/mach-dove/common.c                   | 449 ----------
 arch/arm/mach-dove/common.h                   |  46 -
 arch/arm/mach-dove/dove.h                     | 185 ----
 arch/arm/mach-dove/irq.c                      |  81 --
 arch/arm/mach-dove/irqs.h                     |  89 --
 arch/arm/mach-dove/mpp.c                      | 159 ----
 arch/arm/mach-dove/mpp.h                      | 197 -----
 arch/arm/mach-dove/pcie.c                     | 226 -----
 arch/arm/mach-dove/pm.h                       |  58 --
 arch/arm/mach-mv78xx0/Kconfig                 |  27 -
 arch/arm/mach-mv78xx0/Makefile                |   5 -
 arch/arm/mach-mv78xx0/bridge-regs.h           |  31 -
 arch/arm/mach-mv78xx0/buffalo-wxl-setup.c     | 183 ----
 arch/arm/mach-mv78xx0/common.c                | 444 ----------
 arch/arm/mach-mv78xx0/common.h                |  54 --
 arch/arm/mach-mv78xx0/irq.c                   |  69 --
 arch/arm/mach-mv78xx0/irqs.h                  |  87 --
 arch/arm/mach-mv78xx0/mpp.c                   |  34 -
 arch/arm/mach-mv78xx0/mpp.h                   | 337 -------
 arch/arm/mach-mv78xx0/mv78xx0.h               | 134 ---
 arch/arm/mach-mv78xx0/pcie.c                  | 280 ------
 arch/arm/mach-orion5x/Kconfig                 |  95 --
 arch/arm/mach-orion5x/Makefile                |   9 -
 arch/arm/mach-orion5x/board-dt.c              |   3 +-
 arch/arm/mach-orion5x/common.c                | 238 +----
 arch/arm/mach-orion5x/common.h                |  15 -
 arch/arm/mach-orion5x/dns323-setup.c          | 757 ----------------
 arch/arm/mach-orion5x/kurobox_pro-setup.c     | 407 ---------
 arch/arm/mach-orion5x/mv2120-setup.c          | 256 ------
 arch/arm/mach-orion5x/net2big-setup.c         | 444 ----------
 arch/arm/mach-orion5x/pci.c                   |   1 -
 .../arm/mach-orion5x/terastation_pro2-setup.c | 366 --------
 arch/arm/mach-orion5x/ts209-setup.c           | 331 -------
 arch/arm/mach-orion5x/ts409-setup.c           | 329 -------
 arch/arm/mach-orion5x/ts78xx-fpga.h           |  42 -
 arch/arm/mach-orion5x/ts78xx-setup.c          | 574 ------------
 arch/arm/mach-orion5x/tsx09-common.c          | 129 ---
 arch/arm/mach-orion5x/tsx09-common.h          |  21 -
 arch/arm/mm/Kconfig                           |   2 +-
 arch/arm/plat-orion/Makefile                  |   2 +-
 arch/arm/plat-orion/common.c                  | 826 ------------------
 arch/arm/plat-orion/include/plat/addr-map.h   |  54 --
 arch/arm/plat-orion/include/plat/common.h     | 104 ---
 arch/arm/plat-orion/include/plat/time.h       |  20 -
 arch/arm/plat-orion/pcie.c                    |   1 -
 arch/arm/plat-orion/time.c                    | 238 -----
 drivers/ata/Kconfig                           |   3 +-
 drivers/mmc/host/Kconfig                      |   2 +-
 drivers/pci/controller/Kconfig                |   2 +-
 drivers/phy/marvell/Kconfig                   |   2 +-
 drivers/rtc/Kconfig                           |   2 +-
 drivers/soc/Makefile                          |   1 -
 drivers/thermal/Kconfig                       |   2 +-
 drivers/watchdog/Kconfig                      |   2 +-
 sound/soc/kirkwood/Kconfig                    |   2 +-
 65 files changed, 14 insertions(+), 8888 deletions(-)
 delete mode 100644 arch/arm/configs/dove_defconfig
 delete mode 100644 arch/arm/configs/mv78xx0_defconfig
 delete mode 100644 arch/arm/mach-dove/Kconfig
 delete mode 100644 arch/arm/mach-dove/Makefile
 delete mode 100644 arch/arm/mach-dove/bridge-regs.h
 delete mode 100644 arch/arm/mach-dove/cm-a510.c
 delete mode 100644 arch/arm/mach-dove/common.c
 delete mode 100644 arch/arm/mach-dove/common.h
 delete mode 100644 arch/arm/mach-dove/dove.h
 delete mode 100644 arch/arm/mach-dove/irq.c
 delete mode 100644 arch/arm/mach-dove/irqs.h
 delete mode 100644 arch/arm/mach-dove/mpp.c
 delete mode 100644 arch/arm/mach-dove/mpp.h
 delete mode 100644 arch/arm/mach-dove/pcie.c
 delete mode 100644 arch/arm/mach-dove/pm.h
 delete mode 100644 arch/arm/mach-mv78xx0/Kconfig
 delete mode 100644 arch/arm/mach-mv78xx0/Makefile
 delete mode 100644 arch/arm/mach-mv78xx0/bridge-regs.h
 delete mode 100644 arch/arm/mach-mv78xx0/buffalo-wxl-setup.c
 delete mode 100644 arch/arm/mach-mv78xx0/common.c
 delete mode 100644 arch/arm/mach-mv78xx0/common.h
 delete mode 100644 arch/arm/mach-mv78xx0/irq.c
 delete mode 100644 arch/arm/mach-mv78xx0/irqs.h
 delete mode 100644 arch/arm/mach-mv78xx0/mpp.c
 delete mode 100644 arch/arm/mach-mv78xx0/mpp.h
 delete mode 100644 arch/arm/mach-mv78xx0/mv78xx0.h
 delete mode 100644 arch/arm/mach-mv78xx0/pcie.c
 delete mode 100644 arch/arm/mach-orion5x/dns323-setup.c
 delete mode 100644 arch/arm/mach-orion5x/kurobox_pro-setup.c
 delete mode 100644 arch/arm/mach-orion5x/mv2120-setup.c
 delete mode 100644 arch/arm/mach-orion5x/net2big-setup.c
 delete mode 100644 arch/arm/mach-orion5x/terastation_pro2-setup.c
 delete mode 100644 arch/arm/mach-orion5x/ts209-setup.c
 delete mode 100644 arch/arm/mach-orion5x/ts409-setup.c
 delete mode 100644 arch/arm/mach-orion5x/ts78xx-fpga.h
 delete mode 100644 arch/arm/mach-orion5x/ts78xx-setup.c
 delete mode 100644 arch/arm/mach-orion5x/tsx09-common.c
 delete mode 100644 arch/arm/mach-orion5x/tsx09-common.h
 delete mode 100644 arch/arm/plat-orion/common.c
 delete mode 100644 arch/arm/plat-orion/include/plat/addr-map.h
 delete mode 100644 arch/arm/plat-orion/include/plat/common.h
 delete mode 100644 arch/arm/plat-orion/include/plat/time.h
 delete mode 100644 arch/arm/plat-orion/time.c
MAINTAINERS +0 -2
index 6e8fe7640064..028db7ad15ad 100644
@@ -3080,8 +3080,6 @@ F:        Documentation/devicetree/bindings/arm/marvell/marvell,orion5x.yaml
 F:     Documentation/devicetree/bindings/soc/dove/
 F:     arch/arm/boot/dts/marvell/dove*
 F:     arch/arm/boot/dts/marvell/orion5x*
-F:     arch/arm/mach-dove/
-F:     arch/arm/mach-mv78xx0/
 F:     arch/arm/mach-orion5x/
 F:     arch/arm/plat-orion/
 F:     drivers/bus/mvebu-mbus.c
arch/arm/Kconfig +0 -2
index 5770deca136d..da29afce309f 100644
@@ -393,8 +393,6 @@ source "arch/arm/mach-mmp/Kconfig"
 
 source "arch/arm/mach-mstar/Kconfig"
 
-source "arch/arm/mach-mv78xx0/Kconfig"
-
 source "arch/arm/mach-mvebu/Kconfig"
 
 source "arch/arm/mach-mxs/Kconfig"
arch/arm/Kconfig.debug +1 -1
index 56c090840c5a..e2fc89055463 100644
@@ -583,7 +583,7 @@ choice
 
        config DEBUG_MVEBU_UART0_ALTERNATE
                bool "Kernel low-level debugging messages via MVEBU UART0 (new bootloaders)"
-               depends on ARCH_MVEBU || ARCH_DOVE || ARCH_MV78XX0 || ARCH_ORION5X
+               depends on ARCH_MVEBU || ARCH_ORION5X
                select DEBUG_UART_8250
                help
                  Say Y here if you want kernel low-level debugging support
arch/arm/Makefile +0 -2
index f5bc9ad7f6f5..5421a3ec3825 100644
@@ -179,7 +179,6 @@ machine-$(CONFIG_ARCH_BERLIN)               += berlin
 machine-$(CONFIG_ARCH_CLPS711X)                += clps711x
 machine-$(CONFIG_ARCH_DAVINCI)         += davinci
 machine-$(CONFIG_ARCH_DIGICOLOR)       += digicolor
-machine-$(CONFIG_ARCH_DOVE)            += dove
 machine-$(CONFIG_ARCH_EXYNOS)          += exynos
 machine-$(CONFIG_ARCH_GEMINI)          += gemini
 machine-$(CONFIG_ARCH_HIGHBANK)                += highbank
@@ -190,7 +189,6 @@ machine-$(CONFIG_ARCH_LPC18XX)              += lpc18xx
 machine-$(CONFIG_ARCH_LPC32XX)         += lpc32xx
 machine-$(CONFIG_ARCH_MESON)           += meson
 machine-$(CONFIG_ARCH_MMP)             += mmp
-machine-$(CONFIG_ARCH_MV78XX0)         += mv78xx0
 machine-$(CONFIG_ARCH_MVEBU)           += mvebu
 machine-$(CONFIG_ARCH_MXC)             += imx
 machine-$(CONFIG_ARCH_MEDIATEK)                += mediatek
arch/arm/configs/dove_defconfig deleted +0 -134
deleted file mode 100644
index 917a864fec74..000000000000
@@ -1,134 +0,0 @@
-CONFIG_SYSVIPC=y
-CONFIG_NO_HZ_IDLE=y
-CONFIG_HIGH_RES_TIMERS=y
-CONFIG_LOG_BUF_SHIFT=14
-CONFIG_EXPERT=y
-# CONFIG_ARCH_MULTI_V6 is not set
-CONFIG_ARCH_MULTI_V7=y
-CONFIG_ARCH_DOVE=y
-CONFIG_MACH_CM_A510=y
-CONFIG_HIGHMEM=y
-CONFIG_ATAGS=y
-CONFIG_ARM_APPENDED_DTB=y
-CONFIG_ARM_ATAG_DTB_COMPAT=y
-CONFIG_VFP=y
-CONFIG_MODULES=y
-CONFIG_MODULE_UNLOAD=y
-CONFIG_PARTITION_ADVANCED=y
-CONFIG_NET=y
-CONFIG_PACKET=y
-CONFIG_UNIX=y
-CONFIG_INET=y
-CONFIG_IP_MULTICAST=y
-CONFIG_IP_PNP=y
-CONFIG_IP_PNP_DHCP=y
-CONFIG_IP_PNP_BOOTP=y
-# CONFIG_IPV6 is not set
-CONFIG_PCI=y
-CONFIG_PCI_MSI=y
-CONFIG_PCI_MVEBU=y
-CONFIG_DEVTMPFS=y
-CONFIG_DEVTMPFS_MOUNT=y
-CONFIG_MTD=y
-CONFIG_MTD_CMDLINE_PARTS=y
-CONFIG_MTD_BLOCK=y
-CONFIG_MTD_CFI=y
-CONFIG_MTD_JEDECPROBE=y
-CONFIG_MTD_CFI_ADV_OPTIONS=y
-CONFIG_MTD_CFI_GEOMETRY=y
-# CONFIG_MTD_MAP_BANK_WIDTH_4 is not set
-CONFIG_MTD_CFI_INTELEXT=y
-CONFIG_MTD_CFI_STAA=y
-CONFIG_MTD_PHYSMAP=y
-CONFIG_MTD_M25P80=y
-CONFIG_MTD_SPI_NOR=y
-CONFIG_BLK_DEV_LOOP=y
-CONFIG_BLK_DEV_RAM=y
-CONFIG_BLK_DEV_RAM_COUNT=1
-# CONFIG_SCSI_PROC_FS is not set
-CONFIG_BLK_DEV_SD=y
-# CONFIG_BLK_DEV_BSG is not set
-# CONFIG_SCSI_LOWLEVEL is not set
-CONFIG_ATA=y
-CONFIG_SATA_MV=y
-CONFIG_NETDEVICES=y
-CONFIG_MV643XX_ETH=y
-# CONFIG_INPUT_MOUSEDEV is not set
-CONFIG_INPUT_EVDEV=y
-# CONFIG_KEYBOARD_ATKBD is not set
-# CONFIG_MOUSE_PS2 is not set
-# CONFIG_SERIO is not set
-CONFIG_LEGACY_PTY_COUNT=16
-CONFIG_SERIAL_8250=y
-CONFIG_SERIAL_8250_CONSOLE=y
-CONFIG_SERIAL_8250_RUNTIME_UARTS=2
-CONFIG_SERIAL_OF_PLATFORM=y
-# CONFIG_HW_RANDOM is not set
-CONFIG_I2C=y
-CONFIG_I2C_CHARDEV=y
-CONFIG_I2C_MV64XXX=y
-CONFIG_SPI=y
-CONFIG_SPI_ORION=y
-# CONFIG_HWMON is not set
-CONFIG_THERMAL=y
-CONFIG_DOVE_THERMAL=y
-CONFIG_WATCHDOG=y
-CONFIG_ORION_WATCHDOG=y
-CONFIG_USB=y
-CONFIG_USB_XHCI_HCD=y
-CONFIG_USB_EHCI_HCD=y
-CONFIG_USB_EHCI_ROOT_HUB_TT=y
-CONFIG_USB_STORAGE=y
-CONFIG_MMC=y
-CONFIG_MMC_SDHCI=y
-CONFIG_MMC_SDHCI_PLTFM=y
-CONFIG_MMC_SDHCI_DOVE=y
-CONFIG_NEW_LEDS=y
-CONFIG_LEDS_CLASS=y
-CONFIG_LEDS_GPIO=y
-CONFIG_LEDS_TRIGGERS=y
-CONFIG_LEDS_TRIGGER_TIMER=y
-CONFIG_LEDS_TRIGGER_HEARTBEAT=y
-CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
-CONFIG_RTC_CLASS=y
-CONFIG_RTC_DRV_MV=y
-CONFIG_DMADEVICES=y
-CONFIG_MV_XOR=y
-CONFIG_EXT2_FS=y
-CONFIG_EXT4_FS=y
-# CONFIG_EXT4_FS_XATTR is not set
-CONFIG_ISO9660_FS=y
-CONFIG_JOLIET=y
-CONFIG_UDF_FS=m
-CONFIG_MSDOS_FS=y
-CONFIG_VFAT_FS=y
-CONFIG_TMPFS=y
-CONFIG_JFFS2_FS=y
-CONFIG_NFS_FS=y
-CONFIG_ROOT_NFS=y
-CONFIG_NLS_CODEPAGE_437=y
-CONFIG_NLS_CODEPAGE_850=y
-CONFIG_NLS_ISO8859_1=y
-CONFIG_NLS_ISO8859_2=y
-CONFIG_NLS_UTF8=y
-CONFIG_TIMER_STATS=y
-CONFIG_CRYPTO_NULL=y
-CONFIG_CRYPTO_BLOWFISH=y
-CONFIG_CRYPTO_TEA=y
-CONFIG_CRYPTO_TWOFISH=y
-CONFIG_CRYPTO_ECB=m
-CONFIG_CRYPTO_HMAC=y
-CONFIG_CRYPTO_MD4=y
-CONFIG_CRYPTO_SHA1=y
-CONFIG_CRYPTO_SHA256=y
-CONFIG_CRYPTO_SHA512=y
-CONFIG_CRYPTO_DEFLATE=y
-CONFIG_CRYPTO_LZO=y
-CONFIG_CRYPTO_DEV_MARVELL_CESA=y
-CONFIG_PRINTK_TIME=y
-# CONFIG_DEBUG_BUGVERBOSE is not set
-CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y
-CONFIG_MAGIC_SYSRQ=y
-CONFIG_DEBUG_FS=y
-# CONFIG_SCHED_DEBUG is not set
-CONFIG_DEBUG_USER=y
arch/arm/configs/mv78xx0_defconfig deleted +0 -120
deleted file mode 100644
index e3cc8de7c1c2..000000000000
@@ -1,120 +0,0 @@
-CONFIG_SYSVIPC=y
-CONFIG_NO_HZ_IDLE=y
-CONFIG_HIGH_RES_TIMERS=y
-CONFIG_PREEMPT=y
-CONFIG_LOG_BUF_SHIFT=14
-CONFIG_EXPERT=y
-CONFIG_KALLSYMS_ALL=y
-CONFIG_PROFILING=y
-CONFIG_ARCH_MULTI_V5=y
-# CONFIG_ARCH_MULTI_V6 is not set
-# CONFIG_ARCH_MULTI_V7 is not set
-CONFIG_ARCH_MV78XX0=y
-CONFIG_MACH_TERASTATION_WXL=y
-CONFIG_HIGHMEM=y
-CONFIG_ATAGS=y
-CONFIG_VFP=y
-CONFIG_KPROBES=y
-CONFIG_MODULES=y
-CONFIG_MODULE_UNLOAD=y
-CONFIG_PARTITION_ADVANCED=y
-CONFIG_BSD_DISKLABEL=y
-CONFIG_NET=y
-CONFIG_PACKET=y
-CONFIG_UNIX=y
-CONFIG_INET=y
-CONFIG_IP_MULTICAST=y
-CONFIG_IP_PNP=y
-CONFIG_IP_PNP_DHCP=y
-CONFIG_IP_PNP_BOOTP=y
-# CONFIG_IPV6 is not set
-CONFIG_NET_PKTGEN=m
-CONFIG_MTD=y
-CONFIG_MTD_CMDLINE_PARTS=y
-CONFIG_MTD_BLOCK=y
-CONFIG_MTD_CFI=y
-CONFIG_MTD_JEDECPROBE=y
-CONFIG_MTD_CFI_ADV_OPTIONS=y
-CONFIG_MTD_CFI_GEOMETRY=y
-CONFIG_MTD_CFI_INTELEXT=y
-CONFIG_MTD_CFI_AMDSTD=y
-CONFIG_MTD_PHYSMAP=y
-CONFIG_MTD_RAW_NAND=y
-CONFIG_MTD_NAND_ORION=y
-CONFIG_BLK_DEV_LOOP=y
-# CONFIG_SCSI_PROC_FS is not set
-CONFIG_BLK_DEV_SD=y
-CONFIG_BLK_DEV_SR=m
-CONFIG_CHR_DEV_SG=m
-# CONFIG_BLK_DEV_BSG is not set
-CONFIG_ATA=y
-CONFIG_SATA_MV=y
-CONFIG_NETDEVICES=y
-CONFIG_MII=y
-CONFIG_NET_PCI=y
-CONFIG_MV643XX_ETH=y
-# CONFIG_INPUT_MOUSEDEV is not set
-CONFIG_MARVELL_PHY=y
-CONFIG_INPUT_EVDEV=y
-# CONFIG_INPUT_KEYBOARD is not set
-# CONFIG_INPUT_MOUSE is not set
-# CONFIG_SERIO is not set
-# CONFIG_VT is not set
-CONFIG_LEGACY_PTY_COUNT=16
-CONFIG_SERIAL_8250=y
-CONFIG_SERIAL_8250_CONSOLE=y
-# CONFIG_SERIAL_8250_PCI is not set
-CONFIG_SERIAL_8250_RUNTIME_UARTS=2
-# CONFIG_HW_RANDOM is not set
-CONFIG_I2C=y
-CONFIG_I2C_CHARDEV=y
-CONFIG_I2C_MV64XXX=y
-CONFIG_USB=y
-CONFIG_USB_EHCI_HCD=y
-CONFIG_USB_EHCI_ROOT_HUB_TT=y
-CONFIG_USB_EHCI_TT_NEWSCHED=y
-CONFIG_USB_PRINTER=y
-CONFIG_USB_STORAGE=y
-CONFIG_USB_STORAGE_DATAFAB=y
-CONFIG_USB_STORAGE_FREECOM=y
-CONFIG_USB_STORAGE_SDDR09=y
-CONFIG_USB_STORAGE_SDDR55=y
-CONFIG_USB_STORAGE_JUMPSHOT=y
-CONFIG_NEW_LEDS=y
-CONFIG_LEDS_CLASS=y
-CONFIG_LEDS_TRIGGERS=y
-CONFIG_LEDS_TRIGGER_TIMER=y
-CONFIG_LEDS_TRIGGER_HEARTBEAT=y
-CONFIG_RTC_CLASS=y
-CONFIG_RTC_DRV_DS1307=y
-CONFIG_RTC_DRV_RS5C372=y
-CONFIG_RTC_DRV_M41T80=y
-CONFIG_EXT2_FS=y
-CONFIG_EXT4_FS=y
-# CONFIG_EXT4_FS_XATTR is not set
-CONFIG_ISO9660_FS=m
-CONFIG_JOLIET=y
-CONFIG_UDF_FS=m
-CONFIG_MSDOS_FS=y
-CONFIG_VFAT_FS=y
-CONFIG_TMPFS=y
-CONFIG_JFFS2_FS=y
-CONFIG_CRAMFS=y
-CONFIG_NFS_FS=y
-CONFIG_NFS_V3=y
-CONFIG_ROOT_NFS=y
-CONFIG_NLS_CODEPAGE_437=y
-CONFIG_NLS_CODEPAGE_850=y
-CONFIG_NLS_ISO8859_1=y
-CONFIG_NLS_ISO8859_2=y
-CONFIG_CRYPTO_CBC=m
-CONFIG_CRYPTO_ECB=m
-# CONFIG_DEBUG_BUGVERBOSE is not set
-CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y
-CONFIG_MAGIC_SYSRQ=y
-CONFIG_DEBUG_FS=y
-CONFIG_DEBUG_KERNEL=y
-# CONFIG_SLUB_DEBUG is not set
-CONFIG_SCHEDSTATS=y
-CONFIG_DEBUG_USER=y
-CONFIG_DEBUG_LL=y
arch/arm/mach-dove/Kconfig deleted +0 -32
deleted file mode 100644
index f547120e223e..000000000000
@@ -1,32 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-menuconfig ARCH_DOVE
-       bool "Marvell Dove (DEPRECATED)" if ARCH_MULTI_V7
-       depends on ATAGS
-       select CPU_PJ4
-       select GPIOLIB
-       select MVEBU_MBUS
-       select PINCTRL
-       select PINCTRL_DOVE
-       select PLAT_ORION_LEGACY
-       select PM_GENERIC_DOMAINS if PM
-       select PCI_QUIRKS if PCI
-       help
-         Support for the Marvell Dove SoC 88AP510 using board files.
-
-         Support for this machine will be removed in early 2027, unless
-         there is a strong reason to keep it. Users should migrate to
-         the devicetree-enabled version (CONFIG_MACH_DOVE) instead.
-
-if ARCH_DOVE
-
-config DOVE_LEGACY
-       bool
-
-config MACH_CM_A510
-       bool "CompuLab CM-A510 Board"
-       select DOVE_LEGACY
-       help
-         Say 'Y' here if you want your kernel to support the
-         CompuLab CM-A510 Board.
-
-endif
arch/arm/mach-dove/Makefile deleted +0 -7
deleted file mode 100644
index 0d31390be069..000000000000
@@ -1,7 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-ccflags-y := -I$(srctree)/arch/arm/plat-orion/include
-
-obj-y                          += common.o
-obj-$(CONFIG_DOVE_LEGACY)      += irq.o mpp.o
-obj-$(CONFIG_PCI)              += pcie.o
-obj-$(CONFIG_MACH_CM_A510)     += cm-a510.o
arch/arm/mach-dove/bridge-regs.h deleted +0 -50
deleted file mode 100644
index 6fbc152d0950..000000000000
@@ -1,50 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/* Mbus-L to Mbus Bridge Registers */
-
-#ifndef __ASM_ARCH_BRIDGE_REGS_H
-#define __ASM_ARCH_BRIDGE_REGS_H
-
-#include "dove.h"
-
-#define CPU_CONFIG             (BRIDGE_VIRT_BASE + 0x0000)
-
-#define CPU_CONTROL            (BRIDGE_VIRT_BASE + 0x0104)
-#define  CPU_CTRL_PCIE0_LINK   0x00000001
-#define  CPU_RESET             0x00000002
-#define  CPU_CTRL_PCIE1_LINK   0x00000008
-
-#define RSTOUTn_MASK           (BRIDGE_VIRT_BASE + 0x0108)
-#define RSTOUTn_MASK_PHYS      (BRIDGE_PHYS_BASE + 0x0108)
-#define  SOFT_RESET_OUT_EN     0x00000004
-
-#define SYSTEM_SOFT_RESET      (BRIDGE_VIRT_BASE + 0x010c)
-#define  SOFT_RESET            0x00000001
-
-#define BRIDGE_CAUSE           (BRIDGE_VIRT_BASE + 0x0110)
-#define  BRIDGE_INT_TIMER1_CLR (~0x0004)
-
-#define IRQ_VIRT_BASE          (BRIDGE_VIRT_BASE + 0x0200)
-#define IRQ_CAUSE_LOW_OFF      0x0000
-#define IRQ_MASK_LOW_OFF       0x0004
-#define FIQ_MASK_LOW_OFF       0x0008
-#define ENDPOINT_MASK_LOW_OFF  0x000c
-#define IRQ_CAUSE_HIGH_OFF     0x0010
-#define IRQ_MASK_HIGH_OFF      0x0014
-#define FIQ_MASK_HIGH_OFF      0x0018
-#define ENDPOINT_MASK_HIGH_OFF 0x001c
-#define PCIE_INTERRUPT_MASK_OFF        0x0020
-
-#define IRQ_MASK_LOW           (IRQ_VIRT_BASE + IRQ_MASK_LOW_OFF)
-#define FIQ_MASK_LOW           (IRQ_VIRT_BASE + FIQ_MASK_LOW_OFF)
-#define ENDPOINT_MASK_LOW      (IRQ_VIRT_BASE + ENDPOINT_MASK_LOW_OFF)
-#define IRQ_MASK_HIGH          (IRQ_VIRT_BASE + IRQ_MASK_HIGH_OFF)
-#define FIQ_MASK_HIGH          (IRQ_VIRT_BASE + FIQ_MASK_HIGH_OFF)
-#define ENDPOINT_MASK_HIGH     (IRQ_VIRT_BASE + ENDPOINT_MASK_HIGH_OFF)
-#define PCIE_INTERRUPT_MASK    (IRQ_VIRT_BASE + PCIE_INTERRUPT_MASK_OFF)
-
-#define POWER_MANAGEMENT       (BRIDGE_VIRT_BASE + 0x011c)
-
-#define TIMER_VIRT_BASE                (BRIDGE_VIRT_BASE + 0x0300)
-#define TIMER_PHYS_BASE         (BRIDGE_PHYS_BASE + 0x0300)
-
-#endif
arch/arm/mach-dove/cm-a510.c deleted +0 -94
deleted file mode 100644
index beb532537c22..000000000000
@@ -1,94 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * arch/arm/mach-dove/cm-a510.c
- *
- * Copyright (C) 2010 CompuLab, Ltd.
- * Konstantin Sinyuk <[email protected]>
- *
- * Based on Marvell DB-MV88AP510-BP Development Board Setup
- */
-
-#include <linux/kernel.h>
-#include <linux/init.h>
-#include <linux/platform_device.h>
-#include <linux/ata_platform.h>
-#include <linux/mv643xx_eth.h>
-#include <linux/spi/spi.h>
-#include <linux/spi/flash.h>
-
-#include <asm/mach-types.h>
-#include <asm/mach/arch.h>
-
-#include "dove.h"
-#include "common.h"
-
-static struct mv643xx_eth_platform_data cm_a510_ge00_data = {
-       .phy_addr       = MV643XX_ETH_PHY_ADDR_DEFAULT,
-};
-
-static struct mv_sata_platform_data cm_a510_sata_data = {
-       .n_ports        = 1,
-};
-
-/*
- * SPI Devices:
- * SPI0: 1M Flash Winbond w25q32bv
- */
-static const struct flash_platform_data cm_a510_spi_flash_data = {
-       .type           = "w25q32bv",
-};
-
-static struct spi_board_info __initdata cm_a510_spi_flash_info[] = {
-       {
-               .modalias       = "m25p80",
-               .platform_data  = &cm_a510_spi_flash_data,
-               .irq            = -1,
-               .max_speed_hz   = 20000000,
-               .bus_num        = 0,
-               .chip_select    = 0,
-       },
-};
-
-static int __init cm_a510_pci_init(void)
-{
-       if (machine_is_cm_a510())
-               dove_pcie_init(1, 1);
-
-       return 0;
-}
-
-subsys_initcall(cm_a510_pci_init);
-
-/* Board Init */
-static void __init cm_a510_init(void)
-{
-       /*
-        * Basic Dove setup. Needs to be called early.
-        */
-       dove_init();
-
-       dove_ge00_init(&cm_a510_ge00_data);
-       dove_ehci0_init();
-       dove_ehci1_init();
-       dove_sata_init(&cm_a510_sata_data);
-       dove_sdio0_init();
-       dove_sdio1_init();
-       dove_spi0_init();
-       dove_spi1_init();
-       dove_uart0_init();
-       dove_uart1_init();
-       dove_i2c_init();
-       spi_register_board_info(cm_a510_spi_flash_info,
-                               ARRAY_SIZE(cm_a510_spi_flash_info));
-}
-
-MACHINE_START(CM_A510, "Compulab CM-A510 Board")
-       .atag_offset    = 0x100,
-       .nr_irqs        = DOVE_NR_IRQS,
-       .init_machine   = cm_a510_init,
-       .map_io         = dove_map_io,
-       .init_early     = dove_init_early,
-       .init_irq       = dove_init_irq,
-       .init_time      = dove_timer_init,
-       .restart        = dove_restart,
-MACHINE_END
arch/arm/mach-dove/common.c deleted +0 -449
deleted file mode 100644
index 35e978514591..000000000000
@@ -1,449 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * arch/arm/mach-dove/common.c
- *
- * Core functions for Marvell Dove 88AP510 System On Chip
- */
-
-#include <linux/clk-provider.h>
-#include <linux/dma-mapping.h>
-#include <linux/init.h>
-#include <linux/io.h>
-#include <linux/platform_data/dma-mv_xor.h>
-#include <linux/platform_data/usb-ehci-orion.h>
-#include <linux/platform_device.h>
-#include <linux/soc/dove/pmu.h>
-#include <asm/hardware/cache-tauros2.h>
-#include <asm/mach/arch.h>
-#include <asm/mach/map.h>
-#include <asm/mach/time.h>
-#include <plat/common.h>
-#include <plat/irq.h>
-#include <plat/time.h>
-#include "bridge-regs.h"
-#include "pm.h"
-#include "common.h"
-
-/* These can go away once Dove uses the mvebu-mbus DT binding */
-#define DOVE_MBUS_PCIE0_MEM_TARGET    0x4
-#define DOVE_MBUS_PCIE0_MEM_ATTR      0xe8
-#define DOVE_MBUS_PCIE0_IO_TARGET     0x4
-#define DOVE_MBUS_PCIE0_IO_ATTR       0xe0
-#define DOVE_MBUS_PCIE1_MEM_TARGET    0x8
-#define DOVE_MBUS_PCIE1_MEM_ATTR      0xe8
-#define DOVE_MBUS_PCIE1_IO_TARGET     0x8
-#define DOVE_MBUS_PCIE1_IO_ATTR       0xe0
-#define DOVE_MBUS_CESA_TARGET         0x3
-#define DOVE_MBUS_CESA_ATTR           0x1
-#define DOVE_MBUS_BOOTROM_TARGET      0x1
-#define DOVE_MBUS_BOOTROM_ATTR        0xfd
-#define DOVE_MBUS_SCRATCHPAD_TARGET   0xd
-#define DOVE_MBUS_SCRATCHPAD_ATTR     0x0
-
-/*****************************************************************************
- * I/O Address Mapping
- ****************************************************************************/
-static struct map_desc __maybe_unused dove_io_desc[] __initdata = {
-       {
-               .virtual        = (unsigned long) DOVE_SB_REGS_VIRT_BASE,
-               .pfn            = __phys_to_pfn(DOVE_SB_REGS_PHYS_BASE),
-               .length         = DOVE_SB_REGS_SIZE,
-               .type           = MT_DEVICE,
-       }, {
-               .virtual        = (unsigned long) DOVE_NB_REGS_VIRT_BASE,
-               .pfn            = __phys_to_pfn(DOVE_NB_REGS_PHYS_BASE),
-               .length         = DOVE_NB_REGS_SIZE,
-               .type           = MT_DEVICE,
-       },
-};
-
-void __init dove_map_io(void)
-{
-       iotable_init(dove_io_desc, ARRAY_SIZE(dove_io_desc));
-}
-
-/*****************************************************************************
- * CLK tree
- ****************************************************************************/
-static int dove_tclk;
-
-static DEFINE_SPINLOCK(gating_lock);
-static struct clk *tclk;
-
-static struct clk __init *dove_register_gate(const char *name,
-                                            const char *parent, u8 bit_idx)
-{
-       return clk_register_gate(NULL, name, parent, 0,
-                                (void __iomem *)CLOCK_GATING_CONTROL,
-                                bit_idx, 0, &gating_lock);
-}
-
-static void __init dove_clk_init(void)
-{
-       struct clk *usb0, *usb1, *sata, *pex0, *pex1, *sdio0, *sdio1;
-       struct clk *nand, *camera, *i2s0, *i2s1, *crypto, *ac97, *pdma;
-       struct clk *xor0, *xor1, *ge;
-
-       tclk = clk_register_fixed_rate(NULL, "tclk", NULL, 0, dove_tclk);
-
-       usb0 = dove_register_gate("usb0", "tclk", CLOCK_GATING_BIT_USB0);
-       usb1 = dove_register_gate("usb1", "tclk", CLOCK_GATING_BIT_USB1);
-       sata = dove_register_gate("sata", "tclk", CLOCK_GATING_BIT_SATA);
-       pex0 = dove_register_gate("pex0", "tclk", CLOCK_GATING_BIT_PCIE0);
-       pex1 = dove_register_gate("pex1", "tclk", CLOCK_GATING_BIT_PCIE1);
-       sdio0 = dove_register_gate("sdio0", "tclk", CLOCK_GATING_BIT_SDIO0);
-       sdio1 = dove_register_gate("sdio1", "tclk", CLOCK_GATING_BIT_SDIO1);
-       nand = dove_register_gate("nand", "tclk", CLOCK_GATING_BIT_NAND);
-       camera = dove_register_gate("camera", "tclk", CLOCK_GATING_BIT_CAMERA);
-       i2s0 = dove_register_gate("i2s0", "tclk", CLOCK_GATING_BIT_I2S0);
-       i2s1 = dove_register_gate("i2s1", "tclk", CLOCK_GATING_BIT_I2S1);
-       crypto = dove_register_gate("crypto", "tclk", CLOCK_GATING_BIT_CRYPTO);
-       ac97 = dove_register_gate("ac97", "tclk", CLOCK_GATING_BIT_AC97);
-       pdma = dove_register_gate("pdma", "tclk", CLOCK_GATING_BIT_PDMA);
-       xor0 = dove_register_gate("xor0", "tclk", CLOCK_GATING_BIT_XOR0);
-       xor1 = dove_register_gate("xor1", "tclk", CLOCK_GATING_BIT_XOR1);
-       dove_register_gate("gephy", "tclk", CLOCK_GATING_BIT_GIGA_PHY);
-       ge = dove_register_gate("ge", "gephy", CLOCK_GATING_BIT_GBE);
-
-       orion_clkdev_add(NULL, "orion_spi.0", tclk);
-       orion_clkdev_add(NULL, "orion_spi.1", tclk);
-       orion_clkdev_add(NULL, "orion_wdt", tclk);
-       orion_clkdev_add(NULL, "mv64xxx_i2c.0", tclk);
-
-       orion_clkdev_add(NULL, "orion-ehci.0", usb0);
-       orion_clkdev_add(NULL, "orion-ehci.1", usb1);
-       orion_clkdev_add(NULL, "mv643xx_eth_port.0", ge);
-       orion_clkdev_add(NULL, "sata_mv.0", sata);
-       orion_clkdev_add("0", "pcie", pex0);
-       orion_clkdev_add("1", "pcie", pex1);
-       orion_clkdev_add(NULL, "sdhci-dove.0", sdio0);
-       orion_clkdev_add(NULL, "sdhci-dove.1", sdio1);
-       orion_clkdev_add(NULL, "orion_nand", nand);
-       orion_clkdev_add(NULL, "cafe1000-ccic.0", camera);
-       orion_clkdev_add(NULL, "mvebu-audio.0", i2s0);
-       orion_clkdev_add(NULL, "mvebu-audio.1", i2s1);
-       orion_clkdev_add(NULL, "mv_crypto", crypto);
-       orion_clkdev_add(NULL, "dove-ac97", ac97);
-       orion_clkdev_add(NULL, "dove-pdma", pdma);
-       orion_clkdev_add(NULL, MV_XOR_NAME ".0", xor0);
-       orion_clkdev_add(NULL, MV_XOR_NAME ".1", xor1);
-}
-
-/*****************************************************************************
- * EHCI0
- ****************************************************************************/
-void __init dove_ehci0_init(void)
-{
-       orion_ehci_init(DOVE_USB0_PHYS_BASE, IRQ_DOVE_USB0, EHCI_PHY_NA);
-}
-
-/*****************************************************************************
- * EHCI1
- ****************************************************************************/
-void __init dove_ehci1_init(void)
-{
-       orion_ehci_1_init(DOVE_USB1_PHYS_BASE, IRQ_DOVE_USB1);
-}
-
-/*****************************************************************************
- * GE00
- ****************************************************************************/
-void __init dove_ge00_init(struct mv643xx_eth_platform_data *eth_data)
-{
-       orion_ge00_init(eth_data, DOVE_GE00_PHYS_BASE,
-                       IRQ_DOVE_GE00_SUM, IRQ_DOVE_GE00_ERR,
-                       1600);
-}
-
-/*****************************************************************************
- * SoC RTC
- ****************************************************************************/
-static void __init dove_rtc_init(void)
-{
-       orion_rtc_init(DOVE_RTC_PHYS_BASE, IRQ_DOVE_RTC);
-}
-
-/*****************************************************************************
- * SATA
- ****************************************************************************/
-void __init dove_sata_init(struct mv_sata_platform_data *sata_data)
-{
-       orion_sata_init(sata_data, DOVE_SATA_PHYS_BASE, IRQ_DOVE_SATA);
-
-}
-
-/*****************************************************************************
- * UART0
- ****************************************************************************/
-void __init dove_uart0_init(void)
-{
-       orion_uart0_init(DOVE_UART0_VIRT_BASE, DOVE_UART0_PHYS_BASE,
-                        IRQ_DOVE_UART_0, tclk);
-}
-
-/*****************************************************************************
- * UART1
- ****************************************************************************/
-void __init dove_uart1_init(void)
-{
-       orion_uart1_init(DOVE_UART1_VIRT_BASE, DOVE_UART1_PHYS_BASE,
-                        IRQ_DOVE_UART_1, tclk);
-}
-
-/*****************************************************************************
- * UART2
- ****************************************************************************/
-void __init dove_uart2_init(void)
-{
-       orion_uart2_init(DOVE_UART2_VIRT_BASE, DOVE_UART2_PHYS_BASE,
-                        IRQ_DOVE_UART_2, tclk);
-}
-
-/*****************************************************************************
- * UART3
- ****************************************************************************/
-void __init dove_uart3_init(void)
-{
-       orion_uart3_init(DOVE_UART3_VIRT_BASE, DOVE_UART3_PHYS_BASE,
-                        IRQ_DOVE_UART_3, tclk);
-}
-
-/*****************************************************************************
- * SPI
- ****************************************************************************/
-void __init dove_spi0_init(void)
-{
-       orion_spi_init(DOVE_SPI0_PHYS_BASE);
-}
-
-void __init dove_spi1_init(void)
-{
-       orion_spi_1_init(DOVE_SPI1_PHYS_BASE);
-}
-
-/*****************************************************************************
- * I2C
- ****************************************************************************/
-void __init dove_i2c_init(void)
-{
-       orion_i2c_init(DOVE_I2C_PHYS_BASE, IRQ_DOVE_I2C, 10);
-}
-
-/*****************************************************************************
- * Time handling
- ****************************************************************************/
-void __init dove_init_early(void)
-{
-       orion_time_set_base(TIMER_VIRT_BASE);
-       mvebu_mbus_init("marvell,dove-mbus",
-                       BRIDGE_WINS_BASE, BRIDGE_WINS_SZ,
-                       DOVE_MC_WINS_BASE, DOVE_MC_WINS_SZ);
-}
-
-static int __init dove_find_tclk(void)
-{
-       return 166666667;
-}
-
-void __init dove_timer_init(void)
-{
-       dove_tclk = dove_find_tclk();
-       orion_time_init(BRIDGE_VIRT_BASE, BRIDGE_INT_TIMER1_CLR,
-                       IRQ_DOVE_BRIDGE, dove_tclk);
-}
-
-/*****************************************************************************
- * XOR 0
- ****************************************************************************/
-static void __init dove_xor0_init(void)
-{
-       orion_xor0_init(DOVE_XOR0_PHYS_BASE, DOVE_XOR0_HIGH_PHYS_BASE,
-                       IRQ_DOVE_XOR_00, IRQ_DOVE_XOR_01);
-}
-
-/*****************************************************************************
- * XOR 1
- ****************************************************************************/
-static void __init dove_xor1_init(void)
-{
-       orion_xor1_init(DOVE_XOR1_PHYS_BASE, DOVE_XOR1_HIGH_PHYS_BASE,
-                       IRQ_DOVE_XOR_10, IRQ_DOVE_XOR_11);
-}
-
-/*****************************************************************************
- * SDIO
- ****************************************************************************/
-static u64 sdio_dmamask = DMA_BIT_MASK(32);
-
-static struct resource dove_sdio0_resources[] = {
-       {
-               .start  = DOVE_SDIO0_PHYS_BASE,
-               .end    = DOVE_SDIO0_PHYS_BASE + 0xff,
-               .flags  = IORESOURCE_MEM,
-       }, {
-               .start  = IRQ_DOVE_SDIO0,
-               .end    = IRQ_DOVE_SDIO0,
-               .flags  = IORESOURCE_IRQ,
-       },
-};
-
-static struct platform_device dove_sdio0 = {
-       .name           = "sdhci-dove",
-       .id             = 0,
-       .dev            = {
-               .dma_mask               = &sdio_dmamask,
-               .coherent_dma_mask      = DMA_BIT_MASK(32),
-       },
-       .resource       = dove_sdio0_resources,
-       .num_resources  = ARRAY_SIZE(dove_sdio0_resources),
-};
-
-void __init dove_sdio0_init(void)
-{
-       platform_device_register(&dove_sdio0);
-}
-
-static struct resource dove_sdio1_resources[] = {
-       {
-               .start  = DOVE_SDIO1_PHYS_BASE,
-               .end    = DOVE_SDIO1_PHYS_BASE + 0xff,
-               .flags  = IORESOURCE_MEM,
-       }, {
-               .start  = IRQ_DOVE_SDIO1,
-               .end    = IRQ_DOVE_SDIO1,
-               .flags  = IORESOURCE_IRQ,
-       },
-};
-
-static struct platform_device dove_sdio1 = {
-       .name           = "sdhci-dove",
-       .id             = 1,
-       .dev            = {
-               .dma_mask               = &sdio_dmamask,
-               .coherent_dma_mask      = DMA_BIT_MASK(32),
-       },
-       .resource       = dove_sdio1_resources,
-       .num_resources  = ARRAY_SIZE(dove_sdio1_resources),
-};
-
-void __init dove_sdio1_init(void)
-{
-       platform_device_register(&dove_sdio1);
-}
-
-void __init dove_setup_cpu_wins(void)
-{
-       /*
-        * The PCIe windows will no longer be statically allocated
-        * here once Dove is migrated to the pci-mvebu driver. The
-        * non-PCIe windows will no longer be created here once Dove
-        * fully moves to DT.
-        */
-       mvebu_mbus_add_window_remap_by_id(DOVE_MBUS_PCIE0_IO_TARGET,
-                                         DOVE_MBUS_PCIE0_IO_ATTR,
-                                         DOVE_PCIE0_IO_PHYS_BASE,
-                                         DOVE_PCIE0_IO_SIZE,
-                                         DOVE_PCIE0_IO_BUS_BASE);
-       mvebu_mbus_add_window_remap_by_id(DOVE_MBUS_PCIE1_IO_TARGET,
-                                         DOVE_MBUS_PCIE1_IO_ATTR,
-                                         DOVE_PCIE1_IO_PHYS_BASE,
-                                         DOVE_PCIE1_IO_SIZE,
-                                         DOVE_PCIE1_IO_BUS_BASE);
-       mvebu_mbus_add_window_by_id(DOVE_MBUS_PCIE0_MEM_TARGET,
-                                   DOVE_MBUS_PCIE0_MEM_ATTR,
-                                   DOVE_PCIE0_MEM_PHYS_BASE,
-                                   DOVE_PCIE0_MEM_SIZE);
-       mvebu_mbus_add_window_by_id(DOVE_MBUS_PCIE1_MEM_TARGET,
-                                   DOVE_MBUS_PCIE1_MEM_ATTR,
-                                   DOVE_PCIE1_MEM_PHYS_BASE,
-                                   DOVE_PCIE1_MEM_SIZE);
-       mvebu_mbus_add_window_by_id(DOVE_MBUS_CESA_TARGET,
-                                   DOVE_MBUS_CESA_ATTR,
-                                   DOVE_CESA_PHYS_BASE,
-                                   DOVE_CESA_SIZE);
-       mvebu_mbus_add_window_by_id(DOVE_MBUS_BOOTROM_TARGET,
-                                   DOVE_MBUS_BOOTROM_ATTR,
-                                   DOVE_BOOTROM_PHYS_BASE,
-                                   DOVE_BOOTROM_SIZE);
-       mvebu_mbus_add_window_by_id(DOVE_MBUS_SCRATCHPAD_TARGET,
-                                   DOVE_MBUS_SCRATCHPAD_ATTR,
-                                   DOVE_SCRATCHPAD_PHYS_BASE,
-                                   DOVE_SCRATCHPAD_SIZE);
-}
-
-static struct resource orion_wdt_resource[] = {
-               DEFINE_RES_MEM(TIMER_PHYS_BASE, 0x04),
-               DEFINE_RES_MEM(RSTOUTn_MASK_PHYS, 0x04),
-};
-
-static struct platform_device orion_wdt_device = {
-       .name           = "orion_wdt",
-       .id             = -1,
-       .num_resources  = ARRAY_SIZE(orion_wdt_resource),
-       .resource       = orion_wdt_resource,
-};
-
-static void __init __maybe_unused orion_wdt_init(void)
-{
-       platform_device_register(&orion_wdt_device);
-}
-
-static const struct dove_pmu_domain_initdata pmu_domains[] __initconst = {
-       {
-               .pwr_mask = PMU_PWR_VPU_PWR_DWN_MASK,
-               .rst_mask = PMU_SW_RST_VIDEO_MASK,
-               .iso_mask = PMU_ISO_VIDEO_MASK,
-               .name = "vpu-domain",
-       }, {
-               .pwr_mask = PMU_PWR_GPU_PWR_DWN_MASK,
-               .rst_mask = PMU_SW_RST_GPU_MASK,
-               .iso_mask = PMU_ISO_GPU_MASK,
-               .name = "gpu-domain",
-       }, {
-               /* sentinel */
-       },
-};
-
-static const struct dove_pmu_initdata pmu_data __initconst = {
-       .pmc_base = DOVE_PMU_VIRT_BASE,
-       .pmu_base = DOVE_PMU_VIRT_BASE + 0x8000,
-       .irq = IRQ_DOVE_PMU,
-       .irq_domain_start = IRQ_DOVE_PMU_START,
-       .domains = pmu_domains,
-};
-
-void __init dove_init(void)
-{
-       pr_info("Dove 88AP510 SoC, TCLK = %d MHz.\n",
-               (dove_tclk + 499999) / 1000000);
-
-#ifdef CONFIG_CACHE_TAUROS2
-       tauros2_init(0);
-#endif
-       dove_setup_cpu_wins();
-
-       /* Setup root of clk tree */
-       dove_clk_init();
-
-       /* internal devices that every board has */
-       dove_init_pmu_legacy(&pmu_data);
-       dove_rtc_init();
-       dove_xor0_init();
-       dove_xor1_init();
-}
-
-void dove_restart(enum reboot_mode mode, const char *cmd)
-{
-       /*
-        * Enable soft reset to assert RSTOUTn.
-        */
-       writel(SOFT_RESET_OUT_EN, RSTOUTn_MASK);
-
-       /*
-        * Assert soft reset.
-        */
-       writel(SOFT_RESET, SYSTEM_SOFT_RESET);
-
-       while (1)
-               ;
-}
arch/arm/mach-dove/common.h deleted +0 -46
deleted file mode 100644
index 57ebc413d68c..000000000000
@@ -1,46 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * arch/arm/mach-dove/common.h
- *
- * Core functions for Marvell Dove 88AP510 System On Chip
- */
-
-#ifndef __ARCH_DOVE_COMMON_H
-#define __ARCH_DOVE_COMMON_H
-
-#include <linux/reboot.h>
-
-struct mv643xx_eth_platform_data;
-struct mv_sata_platform_data;
-
-extern void dove_timer_init(void);
-
-/*
- * Basic Dove init functions used early by machine-setup.
- */
-void dove_map_io(void);
-void dove_init(void);
-void dove_init_early(void);
-void dove_init_irq(void);
-void dove_setup_cpu_wins(void);
-void dove_ge00_init(struct mv643xx_eth_platform_data *eth_data);
-void dove_sata_init(struct mv_sata_platform_data *sata_data);
-#ifdef CONFIG_PCI
-void dove_pcie_init(int init_port0, int init_port1);
-#else
-static inline void dove_pcie_init(int init_port0, int init_port1) { }
-#endif
-void dove_ehci0_init(void);
-void dove_ehci1_init(void);
-void dove_uart0_init(void);
-void dove_uart1_init(void);
-void dove_uart2_init(void);
-void dove_uart3_init(void);
-void dove_spi0_init(void);
-void dove_spi1_init(void);
-void dove_i2c_init(void);
-void dove_sdio0_init(void);
-void dove_sdio1_init(void);
-void dove_restart(enum reboot_mode, const char *);
-
-#endif
arch/arm/mach-dove/dove.h deleted +0 -185
deleted file mode 100644
index e5054e3b0b78..000000000000
@@ -1,185 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/* Generic definitions for Marvell Dove 88AP510 SoC */
-
-#ifndef __ASM_ARCH_DOVE_H
-#define __ASM_ARCH_DOVE_H
-
-#include "irqs.h"
-
-/*
- * Marvell Dove address maps.
- *
- * phys                virt            size
- * c8000000    fdb00000        1M      Cryptographic SRAM
- * e0000000    @runtime        128M    PCIe-0 Memory space
- * e8000000    @runtime        128M    PCIe-1 Memory space
- * f1000000    fec00000        1M      on-chip south-bridge registers
- * f1800000    fe400000        8M      on-chip north-bridge registers
- * f2000000    fee00000        1M      PCIe-0 I/O space
- * f2100000    fef00000        1M      PCIe-1 I/O space
- */
-
-#define DOVE_CESA_PHYS_BASE            0xc8000000
-#define DOVE_CESA_VIRT_BASE            IOMEM(0xfdb00000)
-#define DOVE_CESA_SIZE                 SZ_1M
-
-#define DOVE_PCIE0_MEM_PHYS_BASE       0xe0000000
-#define DOVE_PCIE0_MEM_SIZE            SZ_128M
-
-#define DOVE_PCIE1_MEM_PHYS_BASE       0xe8000000
-#define DOVE_PCIE1_MEM_SIZE            SZ_128M
-
-#define DOVE_BOOTROM_PHYS_BASE         0xf8000000
-#define DOVE_BOOTROM_SIZE              SZ_128M
-
-#define DOVE_SCRATCHPAD_PHYS_BASE      0xf0000000
-#define DOVE_SCRATCHPAD_VIRT_BASE      IOMEM(0xfdd00000)
-#define DOVE_SCRATCHPAD_SIZE           SZ_1M
-
-#define DOVE_SB_REGS_PHYS_BASE         0xf1000000
-#define DOVE_SB_REGS_VIRT_BASE         IOMEM(0xfec00000)
-#define DOVE_SB_REGS_SIZE              SZ_1M
-
-#define DOVE_NB_REGS_PHYS_BASE         0xf1800000
-#define DOVE_NB_REGS_VIRT_BASE         IOMEM(0xfe400000)
-#define DOVE_NB_REGS_SIZE              SZ_8M
-
-#define DOVE_PCIE0_IO_PHYS_BASE                0xf2000000
-#define DOVE_PCIE0_IO_BUS_BASE         0x00000000
-#define DOVE_PCIE0_IO_SIZE             SZ_64K
-
-#define DOVE_PCIE1_IO_PHYS_BASE                0xf2100000
-#define DOVE_PCIE1_IO_BUS_BASE         0x00010000
-#define DOVE_PCIE1_IO_SIZE             SZ_64K
-
-/*
- * Dove Core Registers Map
- */
-
-/* SPI, I2C, UART */
-#define DOVE_I2C_PHYS_BASE     (DOVE_SB_REGS_PHYS_BASE + 0x11000)
-#define DOVE_UART0_PHYS_BASE   (DOVE_SB_REGS_PHYS_BASE + 0x12000)
-#define DOVE_UART0_VIRT_BASE   (DOVE_SB_REGS_VIRT_BASE + 0x12000)
-#define DOVE_UART1_PHYS_BASE   (DOVE_SB_REGS_PHYS_BASE + 0x12100)
-#define DOVE_UART1_VIRT_BASE   (DOVE_SB_REGS_VIRT_BASE + 0x12100)
-#define DOVE_UART2_PHYS_BASE   (DOVE_SB_REGS_PHYS_BASE + 0x12200)
-#define DOVE_UART2_VIRT_BASE   (DOVE_SB_REGS_VIRT_BASE + 0x12200)
-#define DOVE_UART3_PHYS_BASE   (DOVE_SB_REGS_PHYS_BASE + 0x12300)
-#define DOVE_UART3_VIRT_BASE   (DOVE_SB_REGS_VIRT_BASE + 0x12300)
-#define DOVE_SPI0_PHYS_BASE    (DOVE_SB_REGS_PHYS_BASE + 0x10600)
-#define DOVE_SPI1_PHYS_BASE    (DOVE_SB_REGS_PHYS_BASE + 0x14600)
-
-/* North-South Bridge */
-#define BRIDGE_VIRT_BASE       (DOVE_SB_REGS_VIRT_BASE + 0x20000)
-#define BRIDGE_PHYS_BASE       (DOVE_SB_REGS_PHYS_BASE + 0x20000)
-#define  BRIDGE_WINS_BASE       (BRIDGE_PHYS_BASE)
-#define  BRIDGE_WINS_SZ         (0x80)
-
-/* Cryptographic Engine */
-#define DOVE_CRYPT_PHYS_BASE   (DOVE_SB_REGS_PHYS_BASE + 0x30000)
-
-/* PCIe 0 */
-#define DOVE_PCIE0_VIRT_BASE   (DOVE_SB_REGS_VIRT_BASE + 0x40000)
-
-/* USB */
-#define DOVE_USB0_PHYS_BASE    (DOVE_SB_REGS_PHYS_BASE + 0x50000)
-#define DOVE_USB1_PHYS_BASE    (DOVE_SB_REGS_PHYS_BASE + 0x51000)
-
-/* XOR 0 Engine */
-#define DOVE_XOR0_PHYS_BASE    (DOVE_SB_REGS_PHYS_BASE + 0x60800)
-#define DOVE_XOR0_VIRT_BASE    (DOVE_SB_REGS_VIRT_BASE + 0x60800)
-#define DOVE_XOR0_HIGH_PHYS_BASE       (DOVE_SB_REGS_PHYS_BASE + 0x60A00)
-#define DOVE_XOR0_HIGH_VIRT_BASE       (DOVE_SB_REGS_VIRT_BASE + 0x60A00)
-
-/* XOR 1 Engine */
-#define DOVE_XOR1_PHYS_BASE    (DOVE_SB_REGS_PHYS_BASE + 0x60900)
-#define DOVE_XOR1_VIRT_BASE    (DOVE_SB_REGS_VIRT_BASE + 0x60900)
-#define DOVE_XOR1_HIGH_PHYS_BASE       (DOVE_SB_REGS_PHYS_BASE + 0x60B00)
-#define DOVE_XOR1_HIGH_VIRT_BASE       (DOVE_SB_REGS_VIRT_BASE + 0x60B00)
-
-/* Gigabit Ethernet */
-#define DOVE_GE00_PHYS_BASE    (DOVE_SB_REGS_PHYS_BASE + 0x70000)
-
-/* PCIe 1 */
-#define DOVE_PCIE1_VIRT_BASE   (DOVE_SB_REGS_VIRT_BASE + 0x80000)
-
-/* CAFE */
-#define DOVE_SDIO0_PHYS_BASE   (DOVE_SB_REGS_PHYS_BASE + 0x92000)
-#define DOVE_SDIO1_PHYS_BASE   (DOVE_SB_REGS_PHYS_BASE + 0x90000)
-#define DOVE_CAM_PHYS_BASE     (DOVE_SB_REGS_PHYS_BASE + 0x94000)
-#define DOVE_CAFE_WIN_PHYS_BASE        (DOVE_SB_REGS_PHYS_BASE + 0x98000)
-
-/* SATA */
-#define DOVE_SATA_PHYS_BASE    (DOVE_SB_REGS_PHYS_BASE + 0xa0000)
-
-/* I2S/SPDIF */
-#define DOVE_AUD0_PHYS_BASE    (DOVE_SB_REGS_PHYS_BASE + 0xb0000)
-#define DOVE_AUD1_PHYS_BASE    (DOVE_SB_REGS_PHYS_BASE + 0xb4000)
-
-/* NAND Flash Controller */
-#define DOVE_NFC_PHYS_BASE     (DOVE_SB_REGS_PHYS_BASE + 0xc0000)
-
-/* MPP, GPIO, Reset Sampling */
-#define DOVE_MPP_VIRT_BASE     (DOVE_SB_REGS_VIRT_BASE + 0xd0200)
-#define DOVE_PMU_MPP_GENERAL_CTRL (DOVE_MPP_VIRT_BASE + 0x10)
-#define DOVE_RESET_SAMPLE_LO   (DOVE_MPP_VIRT_BASE + 0x014)
-#define DOVE_RESET_SAMPLE_HI   (DOVE_MPP_VIRT_BASE + 0x018)
-#define DOVE_GPIO_LO_VIRT_BASE (DOVE_SB_REGS_VIRT_BASE + 0xd0400)
-#define DOVE_GPIO_HI_VIRT_BASE (DOVE_SB_REGS_VIRT_BASE + 0xd0420)
-#define DOVE_GPIO2_VIRT_BASE    (DOVE_SB_REGS_VIRT_BASE + 0xe8400)
-#define DOVE_MPP_GENERAL_VIRT_BASE     (DOVE_SB_REGS_VIRT_BASE + 0xe803c)
-#define  DOVE_AU1_SPDIFO_GPIO_EN       (1 << 1)
-#define  DOVE_NAND_GPIO_EN             (1 << 0)
-#define DOVE_MPP_CTRL4_VIRT_BASE       (DOVE_GPIO_LO_VIRT_BASE + 0x40)
-#define  DOVE_SPI_GPIO_SEL             (1 << 5)
-#define  DOVE_UART1_GPIO_SEL           (1 << 4)
-#define  DOVE_AU1_GPIO_SEL             (1 << 3)
-#define  DOVE_CAM_GPIO_SEL             (1 << 2)
-#define  DOVE_SD1_GPIO_SEL             (1 << 1)
-#define  DOVE_SD0_GPIO_SEL             (1 << 0)
-
-/* Power Management */
-#define DOVE_PMU_VIRT_BASE     (DOVE_SB_REGS_VIRT_BASE + 0xd0000)
-#define DOVE_PMU_SIG_CTRL      (DOVE_PMU_VIRT_BASE + 0x802c)
-
-/* Real Time Clock */
-#define DOVE_RTC_PHYS_BASE     (DOVE_SB_REGS_PHYS_BASE + 0xd8500)
-
-/* AC97 */
-#define DOVE_AC97_PHYS_BASE    (DOVE_SB_REGS_PHYS_BASE + 0xe0000)
-#define DOVE_AC97_VIRT_BASE    (DOVE_SB_REGS_VIRT_BASE + 0xe0000)
-
-/* Peripheral DMA */
-#define DOVE_PDMA_PHYS_BASE    (DOVE_SB_REGS_PHYS_BASE + 0xe4000)
-#define DOVE_PDMA_VIRT_BASE    (DOVE_SB_REGS_VIRT_BASE + 0xe4000)
-
-#define DOVE_GLOBAL_CONFIG_1   (DOVE_SB_REGS_VIRT_BASE + 0xe802C)
-#define  DOVE_TWSI_ENABLE_OPTION1      (1 << 7)
-#define DOVE_GLOBAL_CONFIG_2   (DOVE_SB_REGS_VIRT_BASE + 0xe8030)
-#define  DOVE_TWSI_ENABLE_OPTION2      (1 << 20)
-#define  DOVE_TWSI_ENABLE_OPTION3      (1 << 21)
-#define  DOVE_TWSI_OPTION3_GPIO                (1 << 22)
-#define DOVE_SSP_PHYS_BASE     (DOVE_SB_REGS_PHYS_BASE + 0xec000)
-#define DOVE_SSP_CTRL_STATUS_1 (DOVE_SB_REGS_VIRT_BASE + 0xe8034)
-#define  DOVE_SSP_ON_AU1               (1 << 0)
-#define  DOVE_SSP_CLOCK_ENABLE         (1 << 1)
-#define  DOVE_SSP_BPB_CLOCK_SRC_SSP    (1 << 11)
-/* Memory Controller */
-#define DOVE_MC_PHYS_BASE       (DOVE_NB_REGS_PHYS_BASE + 0x00000)
-#define  DOVE_MC_WINS_BASE      (DOVE_MC_PHYS_BASE + 0x100)
-#define  DOVE_MC_WINS_SZ        (0x8)
-#define DOVE_MC_VIRT_BASE      (DOVE_NB_REGS_VIRT_BASE + 0x00000)
-
-/* LCD Controller */
-#define DOVE_LCD_PHYS_BASE     (DOVE_NB_REGS_PHYS_BASE + 0x10000)
-#define DOVE_LCD1_PHYS_BASE    (DOVE_NB_REGS_PHYS_BASE + 0x20000)
-#define DOVE_LCD2_PHYS_BASE    (DOVE_NB_REGS_PHYS_BASE + 0x10000)
-#define DOVE_LCD_DCON_PHYS_BASE        (DOVE_NB_REGS_PHYS_BASE + 0x30000)
-
-/* Graphic Engine */
-#define DOVE_GPU_PHYS_BASE     (DOVE_NB_REGS_PHYS_BASE + 0x40000)
-
-/* Video Engine */
-#define DOVE_VPU_PHYS_BASE     (DOVE_NB_REGS_PHYS_BASE + 0x400000)
-
-#endif
arch/arm/mach-dove/irq.c deleted +0 -81
deleted file mode 100644
index 027a8f87bc2e..000000000000
@@ -1,81 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * arch/arm/mach-dove/irq.c
- *
- * Dove IRQ handling.
- */
-#include <linux/init.h>
-#include <linux/irq.h>
-#include <linux/io.h>
-#include <asm/exception.h>
-
-#include <plat/irq.h>
-#include <plat/orion-gpio.h>
-
-#include "pm.h"
-#include "bridge-regs.h"
-#include "common.h"
-
-static int __initdata gpio0_irqs[4] = {
-       IRQ_DOVE_GPIO_0_7,
-       IRQ_DOVE_GPIO_8_15,
-       IRQ_DOVE_GPIO_16_23,
-       IRQ_DOVE_GPIO_24_31,
-};
-
-static int __initdata gpio1_irqs[4] = {
-       IRQ_DOVE_HIGH_GPIO,
-       0,
-       0,
-       0,
-};
-
-static int __initdata gpio2_irqs[4] = {
-       0,
-       0,
-       0,
-       0,
-};
-
-static void __iomem *dove_irq_base = IRQ_VIRT_BASE;
-
-static asmlinkage void
-__exception_irq_entry dove_legacy_handle_irq(struct pt_regs *regs)
-{
-       u32 stat;
-
-       stat = readl_relaxed(dove_irq_base + IRQ_CAUSE_LOW_OFF);
-       stat &= readl_relaxed(dove_irq_base + IRQ_MASK_LOW_OFF);
-       if (stat) {
-               unsigned int hwirq = 1 + __fls(stat);
-               handle_IRQ(hwirq, regs);
-               return;
-       }
-       stat = readl_relaxed(dove_irq_base + IRQ_CAUSE_HIGH_OFF);
-       stat &= readl_relaxed(dove_irq_base + IRQ_MASK_HIGH_OFF);
-       if (stat) {
-               unsigned int hwirq = 33 + __fls(stat);
-               handle_IRQ(hwirq, regs);
-               return;
-       }
-}
-
-void __init dove_init_irq(void)
-{
-       orion_irq_init(1, IRQ_VIRT_BASE + IRQ_MASK_LOW_OFF);
-       orion_irq_init(33, IRQ_VIRT_BASE + IRQ_MASK_HIGH_OFF);
-
-       set_handle_irq(dove_legacy_handle_irq);
-
-       /*
-        * Initialize gpiolib for GPIOs 0-71.
-        */
-       orion_gpio_init(0, 32, DOVE_GPIO_LO_VIRT_BASE, 0,
-                       IRQ_DOVE_GPIO_START, gpio0_irqs);
-
-       orion_gpio_init(32, 32, DOVE_GPIO_HI_VIRT_BASE, 0,
-                       IRQ_DOVE_GPIO_START + 32, gpio1_irqs);
-
-       orion_gpio_init(64, 8, DOVE_GPIO2_VIRT_BASE, 0,
-                       IRQ_DOVE_GPIO_START + 64, gpio2_irqs);
-}
arch/arm/mach-dove/irqs.h deleted +0 -89
deleted file mode 100644
index 5467098c7042..000000000000
@@ -1,89 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/* IRQ definitions for Marvell Dove 88AP510 SoC */
-
-#ifndef __ASM_ARCH_IRQS_H
-#define __ASM_ARCH_IRQS_H
-
-/*
- * Dove Low Interrupt Controller
- */
-#define IRQ_DOVE_BRIDGE                (1 + 0)
-#define IRQ_DOVE_H2C           (1 + 1)
-#define IRQ_DOVE_C2H           (1 + 2)
-#define IRQ_DOVE_NAND          (1 + 3)
-#define IRQ_DOVE_PDMA          (1 + 4)
-#define IRQ_DOVE_SPI1          (1 + 5)
-#define IRQ_DOVE_SPI0          (1 + 6)
-#define IRQ_DOVE_UART_0                (1 + 7)
-#define IRQ_DOVE_UART_1                (1 + 8)
-#define IRQ_DOVE_UART_2                (1 + 9)
-#define IRQ_DOVE_UART_3                (1 + 10)
-#define IRQ_DOVE_I2C           (1 + 11)
-#define IRQ_DOVE_GPIO_0_7      (1 + 12)
-#define IRQ_DOVE_GPIO_8_15     (1 + 13)
-#define IRQ_DOVE_GPIO_16_23    (1 + 14)
-#define IRQ_DOVE_PCIE0_ERR     (1 + 15)
-#define IRQ_DOVE_PCIE0         (1 + 16)
-#define IRQ_DOVE_PCIE1_ERR     (1 + 17)
-#define IRQ_DOVE_PCIE1         (1 + 18)
-#define IRQ_DOVE_I2S0          (1 + 19)
-#define IRQ_DOVE_I2S0_ERR      (1 + 20)
-#define IRQ_DOVE_I2S1          (1 + 21)
-#define IRQ_DOVE_I2S1_ERR      (1 + 22)
-#define IRQ_DOVE_USB_ERR       (1 + 23)
-#define IRQ_DOVE_USB0          (1 + 24)
-#define IRQ_DOVE_USB1          (1 + 25)
-#define IRQ_DOVE_GE00_RX       (1 + 26)
-#define IRQ_DOVE_GE00_TX       (1 + 27)
-#define IRQ_DOVE_GE00_MISC     (1 + 28)
-#define IRQ_DOVE_GE00_SUM      (1 + 29)
-#define IRQ_DOVE_GE00_ERR      (1 + 30)
-#define IRQ_DOVE_CRYPTO                (1 + 31)
-
-/*
- * Dove High Interrupt Controller
- */
-#define IRQ_DOVE_AC97          (1 + 32)
-#define IRQ_DOVE_PMU           (1 + 33)
-#define IRQ_DOVE_CAM           (1 + 34)
-#define IRQ_DOVE_SDIO0         (1 + 35)
-#define IRQ_DOVE_SDIO1         (1 + 36)
-#define IRQ_DOVE_SDIO0_WAKEUP  (1 + 37)
-#define IRQ_DOVE_SDIO1_WAKEUP  (1 + 38)
-#define IRQ_DOVE_XOR_00                (1 + 39)
-#define IRQ_DOVE_XOR_01                (1 + 40)
-#define IRQ_DOVE_XOR0_ERR      (1 + 41)
-#define IRQ_DOVE_XOR_10                (1 + 42)
-#define IRQ_DOVE_XOR_11                (1 + 43)
-#define IRQ_DOVE_XOR1_ERR      (1 + 44)
-#define IRQ_DOVE_LCD_DCON      (1 + 45)
-#define IRQ_DOVE_LCD1          (1 + 46)
-#define IRQ_DOVE_LCD0          (1 + 47)
-#define IRQ_DOVE_GPU           (1 + 48)
-#define IRQ_DOVE_PERFORM_MNTR  (1 + 49)
-#define IRQ_DOVE_VPRO_DMA1     (1 + 51)
-#define IRQ_DOVE_SSP_TIMER     (1 + 54)
-#define IRQ_DOVE_SSP           (1 + 55)
-#define IRQ_DOVE_MC_L2_ERR     (1 + 56)
-#define IRQ_DOVE_CRYPTO_ERR    (1 + 59)
-#define IRQ_DOVE_GPIO_24_31    (1 + 60)
-#define IRQ_DOVE_HIGH_GPIO     (1 + 61)
-#define IRQ_DOVE_SATA          (1 + 62)
-
-/*
- * DOVE General Purpose Pins
- */
-#define IRQ_DOVE_GPIO_START    65
-#define NR_GPIO_IRQS           64
-
-/*
- * PMU interrupts
- */
-#define IRQ_DOVE_PMU_START     (IRQ_DOVE_GPIO_START + NR_GPIO_IRQS)
-#define NR_PMU_IRQS            7
-#define IRQ_DOVE_RTC           (IRQ_DOVE_PMU_START + 5)
-
-#define DOVE_NR_IRQS           (IRQ_DOVE_PMU_START + NR_PMU_IRQS)
-
-
-#endif
arch/arm/mach-dove/mpp.c deleted +0 -159
deleted file mode 100644
index e41bd473abe9..000000000000
@@ -1,159 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * arch/arm/mach-dove/mpp.c
- *
- * MPP functions for Marvell Dove SoCs
- */
-
-#include <linux/kernel.h>
-#include <linux/gpio/consumer.h>
-#include <linux/io.h>
-#include <plat/mpp.h>
-#include <plat/orion-gpio.h>
-#include "dove.h"
-#include "mpp.h"
-
-struct dove_mpp_grp {
-       int start;
-       int end;
-};
-
-/* Map a group to a range of GPIO pins in that group */
-static const struct dove_mpp_grp dove_mpp_grp[] = {
-       [MPP_24_39] = {
-               .start  = 24,
-               .end    = 39,
-       },
-       [MPP_40_45] = {
-               .start  = 40,
-               .end    = 45,
-       },
-       [MPP_46_51] = {
-               .start  = 46,
-               .end    = 51,
-       },
-       [MPP_58_61] = {
-               .start  = 58,
-               .end    = 61,
-       },
-       [MPP_62_63] = {
-               .start  = 62,
-               .end    = 63,
-       },
-};
-
-/* Enable gpio for a range of pins. mode should be a combination of
-   GPIO_OUTPUT_OK | GPIO_INPUT_OK */
-static void __init dove_mpp_gpio_mode(int start, int end, int gpio_mode)
-{
-       int i;
-
-       for (i = start; i <= end; i++)
-               orion_gpio_set_valid(i, gpio_mode);
-}
-
-/* Dump all the extra MPP registers. The platform code will dump the
-   registers for pins 0-23. */
-static void __init dove_mpp_dump_regs(void)
-{
-       pr_debug("PMU_CTRL4_CTRL: %08x\n",
-                readl(DOVE_MPP_CTRL4_VIRT_BASE));
-
-       pr_debug("PMU_MPP_GENERAL_CTRL: %08x\n",
-                readl(DOVE_PMU_MPP_GENERAL_CTRL));
-
-       pr_debug("MPP_GENERAL: %08x\n", readl(DOVE_MPP_GENERAL_VIRT_BASE));
-}
-
-static void __init dove_mpp_cfg_nfc(int sel)
-{
-       u32 mpp_gen_cfg = readl(DOVE_MPP_GENERAL_VIRT_BASE);
-
-       mpp_gen_cfg &= ~0x1;
-       mpp_gen_cfg |= sel;
-       writel(mpp_gen_cfg, DOVE_MPP_GENERAL_VIRT_BASE);
-
-       dove_mpp_gpio_mode(64, 71, GPIO_OUTPUT_OK);
-}
-
-static void __init dove_mpp_cfg_au1(int sel)
-{
-       u32 mpp_ctrl4 = readl(DOVE_MPP_CTRL4_VIRT_BASE);
-       u32 ssp_ctrl1 = readl(DOVE_SSP_CTRL_STATUS_1);
-       u32 mpp_gen_ctrl = readl(DOVE_MPP_GENERAL_VIRT_BASE);
-       u32 global_cfg_2 = readl(DOVE_GLOBAL_CONFIG_2);
-
-       mpp_ctrl4 &= ~(DOVE_AU1_GPIO_SEL);
-       ssp_ctrl1 &= ~(DOVE_SSP_ON_AU1);
-       mpp_gen_ctrl &= ~(DOVE_AU1_SPDIFO_GPIO_EN);
-       global_cfg_2 &= ~(DOVE_TWSI_OPTION3_GPIO);
-
-       if (!sel || sel == 0x2)
-               dove_mpp_gpio_mode(52, 57, 0);
-       else
-               dove_mpp_gpio_mode(52, 57, GPIO_OUTPUT_OK | GPIO_INPUT_OK);
-
-       if (sel & 0x1) {
-               global_cfg_2 |= DOVE_TWSI_OPTION3_GPIO;
-               dove_mpp_gpio_mode(56, 57, 0);
-       }
-       if (sel & 0x2) {
-               mpp_gen_ctrl |= DOVE_AU1_SPDIFO_GPIO_EN;
-               dove_mpp_gpio_mode(57, 57, GPIO_OUTPUT_OK | GPIO_INPUT_OK);
-       }
-       if (sel & 0x4) {
-               ssp_ctrl1 |= DOVE_SSP_ON_AU1;
-               dove_mpp_gpio_mode(52, 55, 0);
-       }
-       if (sel & 0x8)
-               mpp_ctrl4 |= DOVE_AU1_GPIO_SEL;
-
-       writel(mpp_ctrl4, DOVE_MPP_CTRL4_VIRT_BASE);
-       writel(ssp_ctrl1, DOVE_SSP_CTRL_STATUS_1);
-       writel(mpp_gen_ctrl, DOVE_MPP_GENERAL_VIRT_BASE);
-       writel(global_cfg_2, DOVE_GLOBAL_CONFIG_2);
-}
-
-/* Configure the group registers, enabling GPIO if sel indicates the
-   pin is to be used for GPIO */
-static void __init dove_mpp_conf_grp(unsigned int *mpp_grp_list)
-{
-       u32 mpp_ctrl4 = readl(DOVE_MPP_CTRL4_VIRT_BASE);
-       int gpio_mode;
-
-       for ( ; *mpp_grp_list; mpp_grp_list++) {
-               unsigned int num = MPP_NUM(*mpp_grp_list);
-               unsigned int sel = MPP_SEL(*mpp_grp_list);
-
-               if (num > MPP_GRP_MAX) {
-                       pr_err("dove: invalid MPP GRP number (%u)\n", num);
-                       continue;
-               }
-
-               mpp_ctrl4 &= ~(0x1 << num);
-               mpp_ctrl4 |= sel << num;
-
-               gpio_mode = sel ? GPIO_OUTPUT_OK | GPIO_INPUT_OK : 0;
-               dove_mpp_gpio_mode(dove_mpp_grp[num].start,
-                                  dove_mpp_grp[num].end, gpio_mode);
-       }
-       writel(mpp_ctrl4, DOVE_MPP_CTRL4_VIRT_BASE);
-}
-
-/* Configure the various MPP pins on Dove */
-void __init dove_mpp_conf(unsigned int *mpp_list,
-                         unsigned int *mpp_grp_list,
-                         unsigned int grp_au1_52_57,
-                         unsigned int grp_nfc_64_71)
-{
-       dove_mpp_dump_regs();
-
-       /* Use platform code for pins 0-23 */
-       orion_mpp_conf(mpp_list, 0, MPP_MAX, DOVE_MPP_VIRT_BASE);
-
-       dove_mpp_conf_grp(mpp_grp_list);
-       dove_mpp_cfg_au1(grp_au1_52_57);
-       dove_mpp_cfg_nfc(grp_nfc_64_71);
-
-       dove_mpp_dump_regs();
-}
arch/arm/mach-dove/mpp.h deleted +0 -197
deleted file mode 100644
index 2e4b89c86ca8..000000000000
@@ -1,197 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef __ARCH_DOVE_MPP_CODED_H
-#define __ARCH_DOVE_MPP_CODED_H
-
-#define MPP(_num, _sel, _in, _out) ( \
-       /* MPP number */                ((_num) & 0xff) | \
-       /* MPP select value */          (((_sel) & 0xf) << 8) | \
-       /* may be input signal */       ((!!(_in)) << 12) | \
-       /* may be output signal */      ((!!(_out)) << 13))
-
-#define MPP0_GPIO0             MPP(0, 0x0, 1, 1)
-#define MPP0_UA2_RTSn          MPP(0, 0x2, 0, 0)
-#define MPP0_SDIO0_CD          MPP(0, 0x3, 0, 0)
-#define MPP0_LCD0_PWM          MPP(0, 0xf, 0, 0)
-
-#define MPP1_GPIO1             MPP(1, 0x0, 1, 1)
-#define MPP1_UA2_CTSn          MPP(1, 0x2, 0, 0)
-#define MPP1_SDIO0_WP          MPP(1, 0x3, 0, 0)
-#define MPP1_LCD1_PWM          MPP(1, 0xf, 0, 0)
-
-#define MPP2_GPIO2             MPP(2, 0x0, 1, 1)
-#define MPP2_SATA_PRESENT      MPP(2, 0x1, 0, 0)
-#define MPP2_UA2_TXD           MPP(2, 0x2, 0, 0)
-#define MPP2_SDIO0_BUS_POWER   MPP(2, 0x3, 0, 0)
-#define MPP2_UA_RTSn1          MPP(2, 0x4, 0, 0)
-
-#define MPP3_GPIO3             MPP(3, 0x0, 1, 1)
-#define MPP3_SATA_ACT          MPP(3, 0x1, 0, 0)
-#define MPP3_UA2_RXD           MPP(3, 0x2, 0, 0)
-#define MPP3_SDIO0_LED_CTRL    MPP(3, 0x3, 0, 0)
-#define MPP3_UA_CTSn1          MPP(3, 0x4, 0, 0)
-#define MPP3_SPI_LCD_CS1       MPP(3, 0xf, 0, 0)
-
-#define MPP4_GPIO4             MPP(4, 0x0, 1, 1)
-#define MPP4_UA3_RTSn          MPP(4, 0x2, 0, 0)
-#define MPP4_SDIO1_CD          MPP(4, 0x3, 0, 0)
-#define MPP4_SPI_1_MISO                MPP(4, 0x4, 0, 0)
-
-#define MPP5_GPIO5             MPP(5, 0x0, 1, 1)
-#define MPP5_UA3_CTSn          MPP(5, 0x2, 0, 0)
-#define MPP5_SDIO1_WP          MPP(5, 0x3, 0, 0)
-#define MPP5_SPI_1_CS          MPP(5, 0x4, 0, 0)
-
-#define MPP6_GPIO6             MPP(6, 0x0, 1, 1)
-#define MPP6_UA3_TXD           MPP(6, 0x2, 0, 0)
-#define MPP6_SDIO1_BUS_POWER   MPP(6, 0x3, 0, 0)
-#define MPP6_SPI_1_MOSI                MPP(6, 0x4, 0, 0)
-
-#define MPP7_GPIO7             MPP(7, 0x0, 1, 1)
-#define MPP7_UA3_RXD           MPP(7, 0x2, 0, 0)
-#define MPP7_SDIO1_LED_CTRL    MPP(7, 0x3, 0, 0)
-#define MPP7_SPI_1_SCK         MPP(7, 0x4, 0, 0)
-
-#define MPP8_GPIO8             MPP(8, 0x0, 1, 1)
-#define MPP8_WD_RST_OUT                MPP(8, 0x1, 0, 0)
-
-#define MPP9_GPIO9             MPP(9, 0x0, 1, 1)
-#define MPP9_PEX1_CLKREQn      MPP(9, 0x5, 0, 0)
-
-#define MPP10_GPIO10           MPP(10, 0x0, 1, 1)
-#define MPP10_SSP_SCLK         MPP(10, 0x5, 0, 0)
-
-#define MPP11_GPIO11           MPP(11, 0x0, 1, 1)
-#define MPP11_SATA_PRESENT     MPP(11, 0x1, 0, 0)
-#define MPP11_SATA_ACT         MPP(11, 0x2, 0, 0)
-#define MPP11_SDIO0_LED_CTRL   MPP(11, 0x3, 0, 0)
-#define MPP11_SDIO1_LED_CTRL   MPP(11, 0x4, 0, 0)
-#define MPP11_PEX0_CLKREQn     MPP(11, 0x5, 0, 0)
-
-#define MPP12_GPIO12           MPP(12, 0x0, 1, 1)
-#define MPP12_SATA_ACT         MPP(12, 0x1, 0, 0)
-#define MPP12_UA2_RTSn         MPP(12, 0x2, 0, 0)
-#define MPP12_AD0_I2S_EXT_MCLK MPP(12, 0x3, 0, 0)
-#define MPP12_SDIO1_CD         MPP(12, 0x4, 0, 0)
-
-#define MPP13_GPIO13           MPP(13, 0x0, 1, 1)
-#define MPP13_UA2_CTSn         MPP(13, 0x2, 0, 0)
-#define MPP13_AD1_I2S_EXT_MCLK MPP(13, 0x3, 0, 0)
-#define MPP13_SDIO1WP          MPP(13, 0x4, 0, 0)
-#define MPP13_SSP_EXTCLK       MPP(13, 0x5, 0, 0)
-
-#define MPP14_GPIO14           MPP(14, 0x0, 1, 1)
-#define MPP14_UA2_TXD          MPP(14, 0x2, 0, 0)
-#define MPP14_SDIO1_BUS_POWER  MPP(14, 0x4, 0, 0)
-#define MPP14_SSP_RXD          MPP(14, 0x5, 0, 0)
-
-#define MPP15_GPIO15           MPP(15, 0x0, 1, 1)
-#define MPP15_UA2_RXD          MPP(15, 0x2, 0, 0)
-#define MPP15_SDIO1_LED_CTRL   MPP(15, 0x4, 0, 0)
-#define MPP15_SSP_SFRM         MPP(15, 0x5, 0, 0)
-
-#define MPP16_GPIO16           MPP(16, 0x0, 1, 1)
-#define MPP16_UA3_RTSn         MPP(16, 0x2, 0, 0)
-#define MPP16_SDIO0_CD         MPP(16, 0x3, 0, 0)
-#define MPP16_SPI_LCD_CS1      MPP(16, 0x4, 0, 0)
-#define MPP16_AC97_SDATA_IN1   MPP(16, 0x5, 0, 0)
-
-#define MPP17_GPIO17           MPP(17, 0x0, 1, 1)
-#define MPP17_AC97_SYSCLK_OUT  MPP(17, 0x1, 0, 0)
-#define MPP17_UA3_CTSn         MPP(17, 0x2, 0, 0)
-#define MPP17_SDIO0_WP         MPP(17, 0x3, 0, 0)
-#define MPP17_TW_SDA2          MPP(17, 0x4, 0, 0)
-#define MPP17_AC97_SDATA_IN2   MPP(17, 0x5, 0, 0)
-
-#define MPP18_GPIO18           MPP(18, 0x0, 1, 1)
-#define MPP18_UA3_TXD          MPP(18, 0x2, 0, 0)
-#define MPP18_SDIO0_BUS_POWER  MPP(18, 0x3, 0, 0)
-#define MPP18_LCD0_PWM         MPP(18, 0x4, 0, 0)
-#define MPP18_AC_SDATA_IN3     MPP(18, 0x5, 0, 0)
-
-#define MPP19_GPIO19           MPP(19, 0x0, 1, 1)
-#define MPP19_UA3_RXD          MPP(19, 0x2, 0, 0)
-#define MPP19_SDIO0_LED_CTRL   MPP(19, 0x3, 0, 0)
-#define MPP19_TW_SCK2          MPP(19, 0x4, 0, 0)
-
-#define MPP20_GPIO20           MPP(20, 0x0, 1, 1)
-#define MPP20_AC97_SYSCLK_OUT  MPP(20, 0x1, 0, 0)
-#define MPP20_SPI_LCD_MISO     MPP(20, 0x2, 0, 0)
-#define MPP20_SDIO1_CD         MPP(20, 0x3, 0, 0)
-#define MPP20_SDIO0_CD         MPP(20, 0x5, 0, 0)
-#define MPP20_SPI_1_MISO       MPP(20, 0x6, 0, 0)
-
-#define MPP21_GPIO21           MPP(21, 0x0, 1, 1)
-#define MPP21_UA1_RTSn         MPP(21, 0x1, 0, 0)
-#define MPP21_SPI_LCD_CS0      MPP(21, 0x2, 0, 0)
-#define MPP21_SDIO1_WP         MPP(21, 0x3, 0, 0)
-#define MPP21_SSP_SFRM         MPP(21, 0x4, 0, 0)
-#define MPP21_SDIO0_WP         MPP(21, 0x5, 0, 0)
-#define MPP21_SPI_1_CS         MPP(21, 0x6, 0, 0)
-
-#define MPP22_GPIO22           MPP(22, 0x0, 1, 1)
-#define MPP22_UA1_CTSn         MPP(22, 0x1, 0, 0)
-#define MPP22_SPI_LCD_MOSI     MPP(22, 0x2, 0, 0)
-#define MPP22_SDIO1_BUS_POWER  MPP(22, 0x3, 0, 0)
-#define MPP22_SSP_TXD          MPP(22, 0x4, 0, 0)
-#define MPP22_SDIO0_BUS_POWER  MPP(22, 0x5, 0, 0)
-#define MPP22_SPI_1_MOSI       MPP(22, 0x6, 0, 0)
-
-#define MPP23_GPIO23           MPP(23, 0x0, 1, 1)
-#define MPP23_SPI_LCD_SCK      MPP(23, 0x2, 0, 0)
-#define MPP23_SDIO1_LED_CTRL   MPP(23, 0x3, 0, 0)
-#define MPP23_SSP_SCLK         MPP(23, 0x4, 0, 0)
-#define MPP23_SDIO0_LED_CTRL   MPP(23, 0x5, 0, 0)
-#define MPP23_SPI_1_SCK                MPP(23, 0x6, 0, 0)
-
-#define MPP_MAX                        23
-
-#define MPP_GRP(_grp, _mode)   MPP((_grp), (_mode), 0, 0)
-
-/* for MPP groups _num is a group index */
-enum dove_mpp_grp_idx {
-       MPP_24_39 = 2,
-       MPP_40_45 = 0,
-       MPP_46_51 = 1,
-       MPP_58_61 = 5,
-       MPP_62_63 = 4,
-       MPP_GRP_MAX = 5,
-};
-
-#define MPP_GRP_24_39_GPIO             MPP_GRP(MPP_24_39, 0x1)
-#define MPP_GRP_24_39_CAM              MPP_GRP(MPP_24_39, 0x0)
-
-#define MPP_GRP_40_45_GPIO             MPP_GRP(MPP_40_45, 0x1)
-#define MPP_GRP_40_45_SD0              MPP_GRP(MPP_40_45, 0x0)
-
-#define MPP_GRP_46_51_GPIO             MPP_GRP(MPP_46_51, 0x1)
-#define MPP_GRP_46_51_SD1              MPP_GRP(MPP_46_51, 0x0)
-
-#define MPP_GRP_58_61_GPIO             MPP_GRP(MPP_58_61, 0x1)
-#define MPP_GRP_58_61_SPI              MPP_GRP(MPP_58_61, 0x0)
-
-#define MPP_GRP_62_63_GPIO             MPP_GRP(MPP_62_63, 0x1)
-#define MPP_GRP_62_63_UA1              MPP_GRP(MPP_62_63, 0x0)
-
-/* The MPP[64:71] control differs from other groups */
-#define MPP_GRP_NFC_64_71_GPO          0x1
-#define MPP_GRP_NFC_64_71_NFC          0x0
-
-/*
- * The MPP[52:57] functionality is encoded by 4 bits in different
- * registers. The _num field in this case encodes those bits in
- * correspodence with Table 135 of 88AP510 Functional specification
- */
-#define MPP_GRP_AU1_52_57_AU1          0x0
-#define MPP_GRP_AU1_52_57_AU1_GPIO57   0x2
-#define MPP_GRP_AU1_52_57_GPIO         0xa
-#define MPP_GRP_AU1_52_57_TW_GPIO      0xb
-#define MPP_GRP_AU1_52_57_AU1_SSP      0xc
-#define MPP_GRP_AU1_52_57_SSP_GPIO     0xe
-#define MPP_GRP_AU1_52_57_SSP_TW       0xf
-
-void dove_mpp_conf(unsigned int *mpp_list,
-                  unsigned int *mpp_grp_list,
-                  unsigned int grp_au1_52_57,
-                  unsigned int grp_nfc_64_71);
-
-#endif /* __ARCH_DOVE_MPP_CODED_H */
arch/arm/mach-dove/pcie.c deleted +0 -226
deleted file mode 100644
index 3044b7e03890..000000000000
@@ -1,226 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * arch/arm/mach-dove/pcie.c
- *
- * PCIe functions for Marvell Dove 88AP510 SoC
- */
-
-#include <linux/kernel.h>
-#include <linux/pci.h>
-#include <linux/clk.h>
-#include <video/vga.h>
-#include <asm/mach/pci.h>
-#include <asm/mach/arch.h>
-#include <asm/setup.h>
-#include <asm/delay.h>
-#include <plat/pcie.h>
-#include <plat/addr-map.h>
-#include "irqs.h"
-#include "bridge-regs.h"
-#include "common.h"
-
-struct pcie_port {
-       u8                      index;
-       u8                      root_bus_nr;
-       void __iomem            *base;
-       spinlock_t              conf_lock;
-       char                    mem_space_name[16];
-       struct resource         res;
-};
-
-static struct pcie_port pcie_port[2];
-static int num_pcie_ports;
-
-
-static int __init dove_pcie_setup(int nr, struct pci_sys_data *sys)
-{
-       struct pcie_port *pp;
-       struct resource realio;
-
-       if (nr >= num_pcie_ports)
-               return 0;
-
-       pp = &pcie_port[nr];
-       sys->private_data = pp;
-       pp->root_bus_nr = sys->busnr;
-
-       /*
-        * Generic PCIe unit setup.
-        */
-       orion_pcie_set_local_bus_nr(pp->base, sys->busnr);
-
-       orion_pcie_setup(pp->base);
-
-       realio.start = sys->busnr * SZ_64K;
-       realio.end = realio.start + SZ_64K - 1;
-       pci_remap_iospace(&realio, pp->index == 0 ? DOVE_PCIE0_IO_PHYS_BASE :
-                                                   DOVE_PCIE1_IO_PHYS_BASE);
-
-       /*
-        * IORESOURCE_MEM
-        */
-       snprintf(pp->mem_space_name, sizeof(pp->mem_space_name),
-                "PCIe %d MEM", pp->index);
-       pp->mem_space_name[sizeof(pp->mem_space_name) - 1] = 0;
-       pp->res.name = pp->mem_space_name;
-       if (pp->index == 0) {
-               pp->res.start = DOVE_PCIE0_MEM_PHYS_BASE;
-               pp->res.end = pp->res.start + DOVE_PCIE0_MEM_SIZE - 1;
-       } else {
-               pp->res.start = DOVE_PCIE1_MEM_PHYS_BASE;
-               pp->res.end = pp->res.start + DOVE_PCIE1_MEM_SIZE - 1;
-       }
-       pp->res.flags = IORESOURCE_MEM;
-       if (request_resource(&iomem_resource, &pp->res))
-               panic("Request PCIe Memory resource failed\n");
-       pci_add_resource_offset(&sys->resources, &pp->res, sys->mem_offset);
-
-       return 1;
-}
-
-static int pcie_valid_config(struct pcie_port *pp, int bus, int dev)
-{
-       /*
-        * Don't go out when trying to access nonexisting devices
-        * on the local bus.
-        */
-       if (bus == pp->root_bus_nr && dev > 1)
-               return 0;
-
-       return 1;
-}
-
-static int pcie_rd_conf(struct pci_bus *bus, u32 devfn, int where,
-                       int size, u32 *val)
-{
-       struct pci_sys_data *sys = bus->sysdata;
-       struct pcie_port *pp = sys->private_data;
-       unsigned long flags;
-       int ret;
-
-       if (pcie_valid_config(pp, bus->number, PCI_SLOT(devfn)) == 0) {
-               *val = 0xffffffff;
-               return PCIBIOS_DEVICE_NOT_FOUND;
-       }
-
-       spin_lock_irqsave(&pp->conf_lock, flags);
-       ret = orion_pcie_rd_conf(pp->base, bus, devfn, where, size, val);
-       spin_unlock_irqrestore(&pp->conf_lock, flags);
-
-       return ret;
-}
-
-static int pcie_wr_conf(struct pci_bus *bus, u32 devfn,
-                       int where, int size, u32 val)
-{
-       struct pci_sys_data *sys = bus->sysdata;
-       struct pcie_port *pp = sys->private_data;
-       unsigned long flags;
-       int ret;
-
-       if (pcie_valid_config(pp, bus->number, PCI_SLOT(devfn)) == 0)
-               return PCIBIOS_DEVICE_NOT_FOUND;
-
-       spin_lock_irqsave(&pp->conf_lock, flags);
-       ret = orion_pcie_wr_conf(pp->base, bus, devfn, where, size, val);
-       spin_unlock_irqrestore(&pp->conf_lock, flags);
-
-       return ret;
-}
-
-static struct pci_ops pcie_ops = {
-       .read = pcie_rd_conf,
-       .write = pcie_wr_conf,
-};
-
-/*
- * The root complex has a hardwired class of PCI_CLASS_MEMORY_OTHER, when it
- * is operating as a root complex this needs to be switched to
- * PCI_CLASS_BRIDGE_HOST or Linux will errantly try to process the BAR's on
- * the device. Decoding setup is handled by the orion code.
- */
-static void rc_pci_fixup(struct pci_dev *dev)
-{
-       if (dev->bus->parent == NULL && dev->devfn == 0) {
-               struct resource *r;
-
-               dev->class &= 0xff;
-               dev->class |= PCI_CLASS_BRIDGE_HOST << 8;
-               pci_dev_for_each_resource(dev, r) {
-                       r->start = 0;
-                       r->end   = 0;
-                       r->flags = 0;
-               }
-       }
-}
-DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MARVELL, PCI_ANY_ID, rc_pci_fixup);
-
-static int __init
-dove_pcie_scan_bus(int nr, struct pci_host_bridge *bridge)
-{
-       struct pci_sys_data *sys = pci_host_bridge_priv(bridge);
-
-       if (nr >= num_pcie_ports) {
-               BUG();
-               return -EINVAL;
-       }
-
-       list_splice_init(&sys->resources, &bridge->windows);
-       bridge->dev.parent = NULL;
-       bridge->sysdata = sys;
-       bridge->busnr = sys->busnr;
-       bridge->ops = &pcie_ops;
-
-       return pci_scan_root_bus_bridge(bridge);
-}
-
-static int __init dove_pcie_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
-{
-       struct pci_sys_data *sys = dev->sysdata;
-       struct pcie_port *pp = sys->private_data;
-
-       return pp->index ? IRQ_DOVE_PCIE1 : IRQ_DOVE_PCIE0;
-}
-
-static struct hw_pci dove_pci __initdata = {
-       .nr_controllers = 2,
-       .setup          = dove_pcie_setup,
-       .scan           = dove_pcie_scan_bus,
-       .map_irq        = dove_pcie_map_irq,
-};
-
-static void __init add_pcie_port(int index, void __iomem *base)
-{
-       printk(KERN_INFO "Dove PCIe port %d: ", index);
-
-       if (orion_pcie_link_up(base)) {
-               struct pcie_port *pp = &pcie_port[num_pcie_ports++];
-               struct clk *clk = clk_get_sys("pcie", (index ? "1" : "0"));
-
-               if (!IS_ERR(clk))
-                       clk_prepare_enable(clk);
-
-               printk(KERN_INFO "link up\n");
-
-               pp->index = index;
-               pp->root_bus_nr = -1;
-               pp->base = base;
-               spin_lock_init(&pp->conf_lock);
-               memset(&pp->res, 0, sizeof(pp->res));
-       } else {
-               printk(KERN_INFO "link down, ignoring\n");
-       }
-}
-
-void __init dove_pcie_init(int init_port0, int init_port1)
-{
-       vga_base = DOVE_PCIE0_MEM_PHYS_BASE;
-
-       if (init_port0)
-               add_pcie_port(0, DOVE_PCIE0_VIRT_BASE);
-
-       if (init_port1)
-               add_pcie_port(1, DOVE_PCIE1_VIRT_BASE);
-
-       pci_common_init(&dove_pci);
-}
arch/arm/mach-dove/pm.h deleted +0 -58
deleted file mode 100644
index a4c3aba1e2d0..000000000000
@@ -1,58 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#ifndef __ASM_ARCH_PM_H
-#define __ASM_ARCH_PM_H
-
-#include <asm/errno.h>
-#include "irqs.h"
-
-#define CLOCK_GATING_CONTROL   (DOVE_PMU_VIRT_BASE + 0x38)
-#define  CLOCK_GATING_BIT_USB0         0
-#define  CLOCK_GATING_BIT_USB1         1
-#define  CLOCK_GATING_BIT_GBE          2
-#define  CLOCK_GATING_BIT_SATA         3
-#define  CLOCK_GATING_BIT_PCIE0                4
-#define  CLOCK_GATING_BIT_PCIE1                5
-#define  CLOCK_GATING_BIT_SDIO0                8
-#define  CLOCK_GATING_BIT_SDIO1                9
-#define  CLOCK_GATING_BIT_NAND         10
-#define  CLOCK_GATING_BIT_CAMERA       11
-#define  CLOCK_GATING_BIT_I2S0         12
-#define  CLOCK_GATING_BIT_I2S1         13
-#define  CLOCK_GATING_BIT_CRYPTO       15
-#define  CLOCK_GATING_BIT_AC97         21
-#define  CLOCK_GATING_BIT_PDMA         22
-#define  CLOCK_GATING_BIT_XOR0         23
-#define  CLOCK_GATING_BIT_XOR1         24
-#define  CLOCK_GATING_BIT_GIGA_PHY     30
-#define  CLOCK_GATING_USB0_MASK                (1 << CLOCK_GATING_BIT_USB0)
-#define  CLOCK_GATING_USB1_MASK                (1 << CLOCK_GATING_BIT_USB1)
-#define  CLOCK_GATING_GBE_MASK         (1 << CLOCK_GATING_BIT_GBE)
-#define  CLOCK_GATING_SATA_MASK                (1 << CLOCK_GATING_BIT_SATA)
-#define  CLOCK_GATING_PCIE0_MASK       (1 << CLOCK_GATING_BIT_PCIE0)
-#define  CLOCK_GATING_PCIE1_MASK       (1 << CLOCK_GATING_BIT_PCIE1)
-#define  CLOCK_GATING_SDIO0_MASK       (1 << CLOCK_GATING_BIT_SDIO0)
-#define  CLOCK_GATING_SDIO1_MASK       (1 << CLOCK_GATING_BIT_SDIO1)
-#define  CLOCK_GATING_NAND_MASK                (1 << CLOCK_GATING_BIT_NAND)
-#define  CLOCK_GATING_CAMERA_MASK      (1 << CLOCK_GATING_BIT_CAMERA)
-#define  CLOCK_GATING_I2S0_MASK                (1 << CLOCK_GATING_BIT_I2S0)
-#define  CLOCK_GATING_I2S1_MASK                (1 << CLOCK_GATING_BIT_I2S1)
-#define  CLOCK_GATING_CRYPTO_MASK      (1 << CLOCK_GATING_BIT_CRYPTO)
-#define  CLOCK_GATING_AC97_MASK                (1 << CLOCK_GATING_BIT_AC97)
-#define  CLOCK_GATING_PDMA_MASK                (1 << CLOCK_GATING_BIT_PDMA)
-#define  CLOCK_GATING_XOR0_MASK                (1 << CLOCK_GATING_BIT_XOR0)
-#define  CLOCK_GATING_XOR1_MASK                (1 << CLOCK_GATING_BIT_XOR1)
-#define  CLOCK_GATING_GIGA_PHY_MASK    (1 << CLOCK_GATING_BIT_GIGA_PHY)
-
-#define PMU_INTERRUPT_CAUSE    (DOVE_PMU_VIRT_BASE + 0x50)
-
-#define  PMU_SW_RST_VIDEO_MASK         BIT(16)
-#define  PMU_SW_RST_GPU_MASK           BIT(18)
-
-#define  PMU_PWR_GPU_PWR_DWN_MASK      BIT(2)
-#define  PMU_PWR_VPU_PWR_DWN_MASK      BIT(3)
-
-#define  PMU_ISO_VIDEO_MASK            BIT(0)
-#define  PMU_ISO_GPU_MASK              BIT(1)
-
-#endif
arch/arm/mach-mv78xx0/Kconfig deleted +0 -27
deleted file mode 100644
index 98b35f5d05ba..000000000000
@@ -1,27 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only
-menuconfig ARCH_MV78XX0
-       bool "Marvell MV78xx0 (DEPRECATED)"
-       depends on ARCH_MULTI_V5
-       depends on CPU_LITTLE_ENDIAN
-       depends on ATAGS
-       select CPU_FEROCEON
-       select GPIOLIB
-       select GPIOLIB_LEGACY
-       select MVEBU_MBUS
-       select FORCE_PCI
-       select PLAT_ORION_LEGACY
-       help
-         Support for the following Marvell MV78xx0 series SoCs:
-         MV781x0, MV782x0.
-
-         This platform is scheduled for removal in early 2027.
-
-if ARCH_MV78XX0
-
-config MACH_TERASTATION_WXL
-       bool "Buffalo WLX (Terastation Duo) NAS"
-       help
-         Say 'Y' here if you want your kernel to support the
-         Buffalo WXL Nas.
-
-endif
arch/arm/mach-mv78xx0/Makefile deleted +0 -5
deleted file mode 100644
index ddee6ae501bb..000000000000
@@ -1,5 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-ccflags-y := -I$(srctree)/arch/arm/plat-orion/include
-
-obj-y                          += common.o mpp.o irq.o pcie.o
-obj-$(CONFIG_MACH_TERASTATION_WXL) += buffalo-wxl-setup.o
arch/arm/mach-mv78xx0/bridge-regs.h deleted +0 -31
deleted file mode 100644
index d57ac967c4b3..000000000000
@@ -1,31 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#ifndef __ASM_ARCH_BRIDGE_REGS_H
-#define __ASM_ARCH_BRIDGE_REGS_H
-
-#include "mv78xx0.h"
-
-#define CPU_CONTROL            (BRIDGE_VIRT_BASE + 0x0104)
-#define L2_WRITETHROUGH                0x00020000
-
-#define RSTOUTn_MASK           (BRIDGE_VIRT_BASE + 0x0108)
-#define RSTOUTn_MASK_PHYS      (BRIDGE_PHYS_BASE + 0x0108)
-#define SOFT_RESET_OUT_EN      0x00000004
-
-#define SYSTEM_SOFT_RESET      (BRIDGE_VIRT_BASE + 0x010c)
-#define SOFT_RESET             0x00000001
-
-#define BRIDGE_INT_TIMER1_CLR  (~0x0004)
-
-#define IRQ_VIRT_BASE          (BRIDGE_VIRT_BASE + 0x0200)
-#define IRQ_CAUSE_ERR_OFF      0x0000
-#define IRQ_CAUSE_LOW_OFF      0x0004
-#define IRQ_CAUSE_HIGH_OFF     0x0008
-#define IRQ_MASK_ERR_OFF       0x000c
-#define IRQ_MASK_LOW_OFF       0x0010
-#define IRQ_MASK_HIGH_OFF      0x0014
-
-#define TIMER_VIRT_BASE                (BRIDGE_VIRT_BASE + 0x0300)
-#define TIMER_PHYS_BASE                (BRIDGE_PHYS_BASE + 0x0300)
-
-#endif
arch/arm/mach-mv78xx0/buffalo-wxl-setup.c deleted +0 -183
deleted file mode 100644
index 3b2e381b7383..000000000000
@@ -1,183 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * arch/arm/mach-mv78xx0/buffalo-wxl-setup.c
- *
- * Buffalo WXL (Terastation Duo) Setup routines
- *
- * sebastien requiem <[email protected]>
- */
-
-#include <linux/kernel.h>
-#include <linux/init.h>
-#include <linux/platform_device.h>
-#include <linux/ata_platform.h>
-#include <linux/mv643xx_eth.h>
-#include <linux/ethtool.h>
-#include <linux/i2c.h>
-#include <linux/gpio/legacy.h>
-#include <linux/gpio_keys.h>
-#include <linux/input.h>
-#include <asm/mach-types.h>
-#include <asm/mach/arch.h>
-#include "mv78xx0.h"
-#include "common.h"
-#include "mpp.h"
-
-
-#define TSWXL_AUTO_SWITCH      15
-#define TSWXL_USB_POWER1       30
-#define TSWXL_USB_POWER2       31
-
-
-/* This arch has 2 Giga Ethernet */
-
-static struct mv643xx_eth_platform_data db78x00_ge00_data = {
-       .phy_addr       = MV643XX_ETH_PHY_ADDR(0),
-};
-
-static struct mv643xx_eth_platform_data db78x00_ge01_data = {
-       .phy_addr       = MV643XX_ETH_PHY_ADDR(8),
-};
-
-
-/* 2 SATA controller supporting HotPlug */
-
-static struct mv_sata_platform_data db78x00_sata_data = {
-       .n_ports        = 2,
-};
-
-static struct i2c_board_info __initdata db78x00_i2c_rtc = {
-       I2C_BOARD_INFO("rs5c372a", 0x32),
-};
-
-
-static unsigned int wxl_mpp_config[] __initdata = {
-       MPP0_GE1_TXCLK,
-       MPP1_GE1_TXCTL,
-       MPP2_GE1_RXCTL,
-       MPP3_GE1_RXCLK,
-       MPP4_GE1_TXD0,
-       MPP5_GE1_TXD1,
-       MPP6_GE1_TXD2,
-       MPP7_GE1_TXD3,
-       MPP8_GE1_RXD0,
-       MPP9_GE1_RXD1,
-       MPP10_GE1_RXD2,
-       MPP11_GE1_RXD3,
-       MPP12_GPIO,
-       MPP13_GPIO,
-       MPP14_GPIO,
-       MPP15_GPIO,
-       MPP16_GPIO,
-       MPP17_GPIO,
-       MPP18_GPIO,
-       MPP19_GPIO,
-       MPP20_GPIO,
-       MPP21_GPIO,
-       MPP22_GPIO,
-       MPP23_GPIO,
-       MPP24_UA2_TXD,
-       MPP25_UA2_RXD,
-       MPP26_UA2_CTSn,
-       MPP27_UA2_RTSn,
-       MPP28_GPIO,
-       MPP29_GPIO,
-       MPP30_GPIO,
-       MPP31_GPIO,
-       MPP32_GPIO,
-       MPP33_GPIO,
-       MPP34_GPIO,
-       MPP35_GPIO,
-       MPP36_GPIO,
-       MPP37_GPIO,
-       MPP38_GPIO,
-       MPP39_GPIO,
-       MPP40_GPIO,
-       MPP41_GPIO,
-       MPP42_GPIO,
-       MPP43_GPIO,
-       MPP44_GPIO,
-       MPP45_GPIO,
-       MPP46_GPIO,
-       MPP47_GPIO,
-       MPP48_GPIO,
-       MPP49_GPIO,
-       0
-};
-
-static struct gpio_keys_button tswxl_buttons[] = {
-       {
-               .code      = KEY_OPTION,
-               .gpio      = TSWXL_AUTO_SWITCH,
-               .desc      = "Power-auto Switch",
-               .active_low     = 1,
-       }
-};
-
-static struct gpio_keys_platform_data tswxl_button_data = {
-       .buttons        = tswxl_buttons,
-       .nbuttons       = ARRAY_SIZE(tswxl_buttons),
-};
-
-static struct platform_device tswxl_button_device = {
-       .name      = "gpio-keys",
-       .id          = -1,
-       .num_resources  = 0,
-       .dev        = {
-               .platform_data  = &tswxl_button_data,
-       },
-};
-
-static void __init wxl_init(void)
-{
-       /*
-        * Basic MV78xx0 setup. Needs to be called early.
-        */
-       mv78xx0_init();
-       mv78xx0_mpp_conf(wxl_mpp_config);
-
-       /*
-        * Partition on-chip peripherals between the two CPU cores.
-        */
-       mv78xx0_ehci0_init();
-       mv78xx0_ehci1_init();
-       mv78xx0_ge00_init(&db78x00_ge00_data);
-       mv78xx0_ge01_init(&db78x00_ge01_data);
-       mv78xx0_sata_init(&db78x00_sata_data);
-       mv78xx0_uart0_init();
-       mv78xx0_uart1_init();
-       mv78xx0_uart2_init();
-       mv78xx0_uart3_init();
-       mv78xx0_xor_init();
-       mv78xx0_crypto_init();
-       mv78xx0_i2c_init();
-       i2c_register_board_info(0, &db78x00_i2c_rtc, 1);
-
-       //enable both usb ports
-       gpio_direction_output(TSWXL_USB_POWER1, 1);
-       gpio_direction_output(TSWXL_USB_POWER2, 1);
-
-       //enable rear switch
-       platform_device_register(&tswxl_button_device);
-}
-
-static int __init wxl_pci_init(void)
-{
-       if (machine_is_terastation_wxl() && mv78xx0_core_index() == 0)
-                mv78xx0_pcie_init(1, 1);
-
-       return 0;
-}
-subsys_initcall(wxl_pci_init);
-
-MACHINE_START(TERASTATION_WXL, "Buffalo Nas WXL")
-       /* Maintainer: Sebastien Requiem <[email protected]> */
-       .atag_offset    = 0x100,
-       .nr_irqs        = MV78XX0_NR_IRQS,
-       .init_machine   = wxl_init,
-       .map_io         = mv78xx0_map_io,
-       .init_early     = mv78xx0_init_early,
-       .init_irq       = mv78xx0_init_irq,
-       .init_time      = mv78xx0_timer_init,
-       .restart        = mv78xx0_restart,
-MACHINE_END
arch/arm/mach-mv78xx0/common.c deleted +0 -444
deleted file mode 100644
index 679753fcc0ef..000000000000
@@ -1,444 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * arch/arm/mach-mv78xx0/common.c
- *
- * Core functions for Marvell MV78xx0 SoCs
- */
-
-#include <linux/kernel.h>
-#include <linux/init.h>
-#include <linux/io.h>
-#include <linux/platform_device.h>
-#include <linux/serial_8250.h>
-#include <linux/ata_platform.h>
-#include <linux/clk-provider.h>
-#include <linux/ethtool.h>
-#include <asm/hardware/cache-feroceon-l2.h>
-#include <asm/mach/map.h>
-#include <asm/mach/time.h>
-#include <linux/platform_data/usb-ehci-orion.h>
-#include <linux/platform_data/mtd-orion_nand.h>
-#include <plat/time.h>
-#include <plat/common.h>
-#include <plat/addr-map.h>
-#include "mv78xx0.h"
-#include "bridge-regs.h"
-#include "common.h"
-
-static int get_tclk(void);
-
-/*****************************************************************************
- * Common bits
- ****************************************************************************/
-int mv78xx0_core_index(void)
-{
-       u32 extra;
-
-       /*
-        * Read Extra Features register.
-        */
-       __asm__("mrc p15, 1, %0, c15, c1, 0" : "=r" (extra));
-
-       return !!(extra & 0x00004000);
-}
-
-static int get_hclk(void)
-{
-       int hclk;
-
-       /*
-        * HCLK tick rate is configured by DEV_D[7:5] pins.
-        */
-       switch ((readl(SAMPLE_AT_RESET_LOW) >> 5) & 7) {
-       case 0:
-               hclk = 166666667;
-               break;
-       case 1:
-               hclk = 200000000;
-               break;
-       case 2:
-               hclk = 266666667;
-               break;
-       case 3:
-               hclk = 333333333;
-               break;
-       case 4:
-               hclk = 400000000;
-               break;
-       default:
-               panic("unknown HCLK PLL setting: %.8x\n",
-                       readl(SAMPLE_AT_RESET_LOW));
-       }
-
-       return hclk;
-}
-
-static void get_pclk_l2clk(int hclk, int core_index, int *pclk, int *l2clk)
-{
-       u32 cfg;
-
-       /*
-        * Core #0 PCLK/L2CLK is configured by bits [13:8], core #1
-        * PCLK/L2CLK by bits [19:14].
-        */
-       if (core_index == 0) {
-               cfg = (readl(SAMPLE_AT_RESET_LOW) >> 8) & 0x3f;
-       } else {
-               cfg = (readl(SAMPLE_AT_RESET_LOW) >> 14) & 0x3f;
-       }
-
-       /*
-        * Bits [11:8] ([17:14] for core #1) configure the PCLK:HCLK
-        * ratio (1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5, 5.5, 6).
-        */
-       *pclk = ((u64)hclk * (2 + (cfg & 0xf))) >> 1;
-
-       /*
-        * Bits [13:12] ([19:18] for core #1) configure the PCLK:L2CLK
-        * ratio (1, 2, 3).
-        */
-       *l2clk = *pclk / (((cfg >> 4) & 3) + 1);
-}
-
-static int get_tclk(void)
-{
-       int tclk_freq;
-
-       /*
-        * TCLK tick rate is configured by DEV_A[2:0] strap pins.
-        */
-       switch ((readl(SAMPLE_AT_RESET_HIGH) >> 6) & 7) {
-       case 1:
-               tclk_freq = 166666667;
-               break;
-       case 3:
-               tclk_freq = 200000000;
-               break;
-       default:
-               panic("unknown TCLK PLL setting: %.8x\n",
-                       readl(SAMPLE_AT_RESET_HIGH));
-       }
-
-       return tclk_freq;
-}
-
-
-/*****************************************************************************
- * I/O Address Mapping
- ****************************************************************************/
-static struct map_desc mv78xx0_io_desc[] __initdata = {
-       {
-               .virtual        = (unsigned long) MV78XX0_CORE_REGS_VIRT_BASE,
-               .pfn            = 0,
-               .length         = MV78XX0_CORE_REGS_SIZE,
-               .type           = MT_DEVICE,
-       }, {
-               .virtual        = (unsigned long) MV78XX0_REGS_VIRT_BASE,
-               .pfn            = __phys_to_pfn(MV78XX0_REGS_PHYS_BASE),
-               .length         = MV78XX0_REGS_SIZE,
-               .type           = MT_DEVICE,
-       },
-};
-
-void __init mv78xx0_map_io(void)
-{
-       unsigned long phys;
-
-       /*
-        * Map the right set of per-core registers depending on
-        * which core we are running on.
-        */
-       if (mv78xx0_core_index() == 0) {
-               phys = MV78XX0_CORE0_REGS_PHYS_BASE;
-       } else {
-               phys = MV78XX0_CORE1_REGS_PHYS_BASE;
-       }
-       mv78xx0_io_desc[0].pfn = __phys_to_pfn(phys);
-
-       iotable_init(mv78xx0_io_desc, ARRAY_SIZE(mv78xx0_io_desc));
-}
-
-
-/*****************************************************************************
- * CLK tree
- ****************************************************************************/
-static struct clk *tclk;
-
-static void __init clk_init(void)
-{
-       tclk = clk_register_fixed_rate(NULL, "tclk", NULL, 0, get_tclk());
-
-       orion_clkdev_init(tclk);
-}
-
-/*****************************************************************************
- * EHCI
- ****************************************************************************/
-void __init mv78xx0_ehci0_init(void)
-{
-       orion_ehci_init(USB0_PHYS_BASE, IRQ_MV78XX0_USB_0, EHCI_PHY_NA);
-}
-
-
-/*****************************************************************************
- * EHCI1
- ****************************************************************************/
-void __init mv78xx0_ehci1_init(void)
-{
-       orion_ehci_1_init(USB1_PHYS_BASE, IRQ_MV78XX0_USB_1);
-}
-
-
-/*****************************************************************************
- * EHCI2
- ****************************************************************************/
-void __init mv78xx0_ehci2_init(void)
-{
-       orion_ehci_2_init(USB2_PHYS_BASE, IRQ_MV78XX0_USB_2);
-}
-
-
-/*****************************************************************************
- * GE00
- ****************************************************************************/
-void __init mv78xx0_ge00_init(struct mv643xx_eth_platform_data *eth_data)
-{
-       orion_ge00_init(eth_data,
-                       GE00_PHYS_BASE, IRQ_MV78XX0_GE00_SUM,
-                       IRQ_MV78XX0_GE_ERR,
-                       MV643XX_TX_CSUM_DEFAULT_LIMIT);
-}
-
-
-/*****************************************************************************
- * GE01
- ****************************************************************************/
-void __init mv78xx0_ge01_init(struct mv643xx_eth_platform_data *eth_data)
-{
-       orion_ge01_init(eth_data,
-                       GE01_PHYS_BASE, IRQ_MV78XX0_GE01_SUM,
-                       MV643XX_TX_CSUM_DEFAULT_LIMIT);
-}
-
-
-/*****************************************************************************
- * GE10
- ****************************************************************************/
-void __init mv78xx0_ge10_init(struct mv643xx_eth_platform_data *eth_data)
-{
-       u32 dev, rev;
-
-       /*
-        * On the Z0, ge10 and ge11 are internally connected back
-        * to back, and not brought out.
-        */
-       mv78xx0_pcie_id(&dev, &rev);
-       if (dev == MV78X00_Z0_DEV_ID) {
-               eth_data->phy_addr = MV643XX_ETH_PHY_NONE;
-               eth_data->speed = SPEED_1000;
-               eth_data->duplex = DUPLEX_FULL;
-       }
-
-       orion_ge10_init(eth_data, GE10_PHYS_BASE, IRQ_MV78XX0_GE10_SUM);
-}
-
-
-/*****************************************************************************
- * GE11
- ****************************************************************************/
-void __init mv78xx0_ge11_init(struct mv643xx_eth_platform_data *eth_data)
-{
-       u32 dev, rev;
-
-       /*
-        * On the Z0, ge10 and ge11 are internally connected back
-        * to back, and not brought out.
-        */
-       mv78xx0_pcie_id(&dev, &rev);
-       if (dev == MV78X00_Z0_DEV_ID) {
-               eth_data->phy_addr = MV643XX_ETH_PHY_NONE;
-               eth_data->speed = SPEED_1000;
-               eth_data->duplex = DUPLEX_FULL;
-       }
-
-       orion_ge11_init(eth_data, GE11_PHYS_BASE, IRQ_MV78XX0_GE11_SUM);
-}
-
-/*****************************************************************************
- * I2C
- ****************************************************************************/
-void __init mv78xx0_i2c_init(void)
-{
-       orion_i2c_init(I2C_0_PHYS_BASE, IRQ_MV78XX0_I2C_0, 8);
-       orion_i2c_1_init(I2C_1_PHYS_BASE, IRQ_MV78XX0_I2C_1, 8);
-}
-
-/*****************************************************************************
- * SATA
- ****************************************************************************/
-void __init mv78xx0_sata_init(struct mv_sata_platform_data *sata_data)
-{
-       orion_sata_init(sata_data, SATA_PHYS_BASE, IRQ_MV78XX0_SATA);
-}
-
-
-/*****************************************************************************
- * UART0
- ****************************************************************************/
-void __init mv78xx0_uart0_init(void)
-{
-       orion_uart0_init(UART0_VIRT_BASE, UART0_PHYS_BASE,
-                        IRQ_MV78XX0_UART_0, tclk);
-}
-
-
-/*****************************************************************************
- * UART1
- ****************************************************************************/
-void __init mv78xx0_uart1_init(void)
-{
-       orion_uart1_init(UART1_VIRT_BASE, UART1_PHYS_BASE,
-                        IRQ_MV78XX0_UART_1, tclk);
-}
-
-
-/*****************************************************************************
- * UART2
- ****************************************************************************/
-void __init mv78xx0_uart2_init(void)
-{
-       orion_uart2_init(UART2_VIRT_BASE, UART2_PHYS_BASE,
-                        IRQ_MV78XX0_UART_2, tclk);
-}
-
-/*****************************************************************************
- * UART3
- ****************************************************************************/
-void __init mv78xx0_uart3_init(void)
-{
-       orion_uart3_init(UART3_VIRT_BASE, UART3_PHYS_BASE,
-                        IRQ_MV78XX0_UART_3, tclk);
-}
-
-/*****************************************************************************
- * Time handling
- ****************************************************************************/
-void __init mv78xx0_init_early(void)
-{
-       orion_time_set_base(TIMER_VIRT_BASE);
-       if (mv78xx0_core_index() == 0)
-               mvebu_mbus_init("marvell,mv78xx0-mbus",
-                               BRIDGE_WINS_CPU0_BASE, BRIDGE_WINS_SZ,
-                               DDR_WINDOW_CPU0_BASE, DDR_WINDOW_CPU_SZ);
-       else
-               mvebu_mbus_init("marvell,mv78xx0-mbus",
-                               BRIDGE_WINS_CPU1_BASE, BRIDGE_WINS_SZ,
-                               DDR_WINDOW_CPU1_BASE, DDR_WINDOW_CPU_SZ);
-}
-
-void __ref mv78xx0_timer_init(void)
-{
-       orion_time_init(BRIDGE_VIRT_BASE, BRIDGE_INT_TIMER1_CLR,
-                       IRQ_MV78XX0_TIMER_1, get_tclk());
-}
-
-/****************************************************************************
-* XOR engine
-****************************************************************************/
-void __init mv78xx0_xor_init(void)
-{
-       orion_xor0_init(XOR_PHYS_BASE,
-               XOR_PHYS_BASE + 0x200,
-               IRQ_MV78XX0_XOR_0, IRQ_MV78XX0_XOR_1);
-}
-
-/****************************************************************************
- * Cryptographic Engines and Security Accelerator (CESA)
-****************************************************************************/
-void __init mv78xx0_crypto_init(void)
-{
-       mvebu_mbus_add_window_by_id(MV78XX0_MBUS_SRAM_TARGET,
-                               MV78XX0_MBUS_SRAM_ATTR,
-                               MV78XX0_SRAM_PHYS_BASE,
-                       MV78XX0_SRAM_SIZE);
-       orion_crypto_init(CRYPTO_PHYS_BASE, MV78XX0_SRAM_PHYS_BASE,
-               SZ_8K, IRQ_MV78XX0_CRYPTO);
-}
-
-
-/*****************************************************************************
- * General
- ****************************************************************************/
-static char * __init mv78xx0_id(void)
-{
-       u32 dev, rev;
-
-       mv78xx0_pcie_id(&dev, &rev);
-
-       if (dev == MV78X00_Z0_DEV_ID) {
-               if (rev == MV78X00_REV_Z0)
-                       return "MV78X00-Z0";
-               else
-                       return "MV78X00-Rev-Unsupported";
-       } else if (dev == MV78100_DEV_ID) {
-               if (rev == MV78100_REV_A0)
-                       return "MV78100-A0";
-               else if (rev == MV78100_REV_A1)
-                       return "MV78100-A1";
-               else
-                       return "MV78100-Rev-Unsupported";
-       } else if (dev == MV78200_DEV_ID) {
-               if (rev == MV78100_REV_A0)
-                       return "MV78200-A0";
-               else
-                       return "MV78200-Rev-Unsupported";
-       } else {
-               return "Device-Unknown";
-       }
-}
-
-static int __init is_l2_writethrough(void)
-{
-       return !!(readl(CPU_CONTROL) & L2_WRITETHROUGH);
-}
-
-void __init mv78xx0_init(void)
-{
-       int core_index;
-       int hclk;
-       int pclk;
-       int l2clk;
-
-       core_index = mv78xx0_core_index();
-       hclk = get_hclk();
-       get_pclk_l2clk(hclk, core_index, &pclk, &l2clk);
-
-       printk(KERN_INFO "%s ", mv78xx0_id());
-       printk("core #%d, ", core_index);
-       printk("PCLK = %dMHz, ", (pclk + 499999) / 1000000);
-       printk("L2 = %dMHz, ", (l2clk + 499999) / 1000000);
-       printk("HCLK = %dMHz, ", (hclk + 499999) / 1000000);
-       printk("TCLK = %dMHz\n", (get_tclk() + 499999) / 1000000);
-
-       if (IS_ENABLED(CONFIG_CACHE_FEROCEON_L2))
-               feroceon_l2_init(is_l2_writethrough());
-
-       /* Setup root of clk tree */
-       clk_init();
-}
-
-void mv78xx0_restart(enum reboot_mode mode, const char *cmd)
-{
-       /*
-        * Enable soft reset to assert RSTOUTn.
-        */
-       writel(SOFT_RESET_OUT_EN, RSTOUTn_MASK);
-
-       /*
-        * Assert soft reset.
-        */
-       writel(SOFT_RESET, SYSTEM_SOFT_RESET);
-
-       while (1)
-               ;
-}
arch/arm/mach-mv78xx0/common.h deleted +0 -54
deleted file mode 100644
index 9f1dfd595003..000000000000
@@ -1,54 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * arch/arm/mach-mv78xx0/common.h
- *
- * Core functions for Marvell MV78xx0 SoCs
- */
-
-#ifndef __ARCH_MV78XX0_COMMON_H
-#define __ARCH_MV78XX0_COMMON_H
-
-#include <linux/reboot.h>
-
-struct mv643xx_eth_platform_data;
-struct mv_sata_platform_data;
-
-/*
- * Basic MV78xx0 init functions used early by machine-setup.
- */
-int mv78xx0_core_index(void);
-void mv78xx0_map_io(void);
-void mv78xx0_init(void);
-void mv78xx0_init_early(void);
-void mv78xx0_init_irq(void);
-
-void mv78xx0_setup_cpu_mbus(void);
-void mv78xx0_setup_pcie_io_win(int window, u32 base, u32 size,
-                              int maj, int min);
-void mv78xx0_setup_pcie_mem_win(int window, u32 base, u32 size,
-                               int maj, int min);
-
-void mv78xx0_pcie_id(u32 *dev, u32 *rev);
-
-void mv78xx0_ehci0_init(void);
-void mv78xx0_ehci1_init(void);
-void mv78xx0_ehci2_init(void);
-void mv78xx0_ge00_init(struct mv643xx_eth_platform_data *eth_data);
-void mv78xx0_ge01_init(struct mv643xx_eth_platform_data *eth_data);
-void mv78xx0_ge10_init(struct mv643xx_eth_platform_data *eth_data);
-void mv78xx0_ge11_init(struct mv643xx_eth_platform_data *eth_data);
-void mv78xx0_pcie_init(int init_port0, int init_port1);
-void mv78xx0_sata_init(struct mv_sata_platform_data *sata_data);
-void mv78xx0_uart0_init(void);
-void mv78xx0_uart1_init(void);
-void mv78xx0_uart2_init(void);
-void mv78xx0_uart3_init(void);
-void mv78xx0_xor_init(void);
-void mv78xx0_crypto_init(void);
-void mv78xx0_i2c_init(void);
-void mv78xx0_restart(enum reboot_mode, const char *);
-
-extern void mv78xx0_timer_init(void);
-
-
-#endif
arch/arm/mach-mv78xx0/irq.c deleted +0 -69
deleted file mode 100644
index 6e42f6446637..000000000000
@@ -1,69 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * arch/arm/mach-mv78xx0/irq.c
- *
- * MV78xx0 IRQ handling.
- */
-#include <linux/gpio/consumer.h>
-#include <linux/kernel.h>
-#include <linux/irq.h>
-#include <linux/io.h>
-#include <asm/exception.h>
-#include <plat/orion-gpio.h>
-#include <plat/irq.h>
-#include "bridge-regs.h"
-#include "common.h"
-
-static int __initdata gpio0_irqs[4] = {
-       IRQ_MV78XX0_GPIO_0_7,
-       IRQ_MV78XX0_GPIO_8_15,
-       IRQ_MV78XX0_GPIO_16_23,
-       IRQ_MV78XX0_GPIO_24_31,
-};
-
-static void __iomem *mv78xx0_irq_base = IRQ_VIRT_BASE;
-
-static asmlinkage void
-__exception_irq_entry mv78xx0_legacy_handle_irq(struct pt_regs *regs)
-{
-       u32 stat;
-
-       stat = readl_relaxed(mv78xx0_irq_base + IRQ_CAUSE_LOW_OFF);
-       stat &= readl_relaxed(mv78xx0_irq_base + IRQ_MASK_LOW_OFF);
-       if (stat) {
-               unsigned int hwirq = __fls(stat);
-               handle_IRQ(hwirq, regs);
-               return;
-       }
-       stat = readl_relaxed(mv78xx0_irq_base + IRQ_CAUSE_HIGH_OFF);
-       stat &= readl_relaxed(mv78xx0_irq_base + IRQ_MASK_HIGH_OFF);
-       if (stat) {
-               unsigned int hwirq = 32 + __fls(stat);
-               handle_IRQ(hwirq, regs);
-               return;
-       }
-       stat = readl_relaxed(mv78xx0_irq_base + IRQ_CAUSE_ERR_OFF);
-       stat &= readl_relaxed(mv78xx0_irq_base + IRQ_MASK_ERR_OFF);
-       if (stat) {
-               unsigned int hwirq = 64 + __fls(stat);
-               handle_IRQ(hwirq, regs);
-               return;
-       }
-}
-
-void __init mv78xx0_init_irq(void)
-{
-       orion_irq_init(0, IRQ_VIRT_BASE + IRQ_MASK_LOW_OFF);
-       orion_irq_init(32, IRQ_VIRT_BASE + IRQ_MASK_HIGH_OFF);
-       orion_irq_init(64, IRQ_VIRT_BASE + IRQ_MASK_ERR_OFF);
-
-       set_handle_irq(mv78xx0_legacy_handle_irq);
-
-       /*
-        * Initialize gpiolib for GPIOs 0-31.  (The GPIO interrupt mask
-        * registers for core #1 are at an offset of 0x18 from those of
-        * core #0.)
-        */
-       orion_gpio_init(0, 32, GPIO_VIRT_BASE, mv78xx0_core_index() ? 0x18 : 0,
-                       IRQ_MV78XX0_GPIO_START, gpio0_irqs);
-}
arch/arm/mach-mv78xx0/irqs.h deleted +0 -87
deleted file mode 100644
index 12b357d383d8..000000000000
@@ -1,87 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/* IRQ definitions for Marvell MV78xx0 SoCs */
-
-#ifndef __ASM_ARCH_IRQS_H
-#define __ASM_ARCH_IRQS_H
-
-/*
- * MV78xx0 Low Interrupt Controller
- */
-#define IRQ_MV78XX0_ERR                0
-#define IRQ_MV78XX0_SPI                1
-#define IRQ_MV78XX0_I2C_0      2
-#define IRQ_MV78XX0_I2C_1      3
-#define IRQ_MV78XX0_IDMA_0     4
-#define IRQ_MV78XX0_IDMA_1     5
-#define IRQ_MV78XX0_IDMA_2     6
-#define IRQ_MV78XX0_IDMA_3     7
-#define IRQ_MV78XX0_TIMER_0    8
-#define IRQ_MV78XX0_TIMER_1    9
-#define IRQ_MV78XX0_TIMER_2    10
-#define IRQ_MV78XX0_TIMER_3    11
-#define IRQ_MV78XX0_UART_0     12
-#define IRQ_MV78XX0_UART_1     13
-#define IRQ_MV78XX0_UART_2     14
-#define IRQ_MV78XX0_UART_3     15
-#define IRQ_MV78XX0_USB_0      16
-#define IRQ_MV78XX0_USB_1      17
-#define IRQ_MV78XX0_USB_2      18
-#define IRQ_MV78XX0_CRYPTO     19
-#define IRQ_MV78XX0_SDIO_0     20
-#define IRQ_MV78XX0_SDIO_1     21
-#define IRQ_MV78XX0_XOR_0      22
-#define IRQ_MV78XX0_XOR_1      23
-#define IRQ_MV78XX0_I2S_0      24
-#define IRQ_MV78XX0_I2S_1      25
-#define IRQ_MV78XX0_SATA       26
-#define IRQ_MV78XX0_TDMI       27
-
-/*
- * MV78xx0 High Interrupt Controller
- */
-#define IRQ_MV78XX0_PCIE_00    32
-#define IRQ_MV78XX0_PCIE_01    33
-#define IRQ_MV78XX0_PCIE_02    34
-#define IRQ_MV78XX0_PCIE_03    35
-#define IRQ_MV78XX0_PCIE_10    36
-#define IRQ_MV78XX0_PCIE_11    37
-#define IRQ_MV78XX0_PCIE_12    38
-#define IRQ_MV78XX0_PCIE_13    39
-#define IRQ_MV78XX0_GE00_SUM   40
-#define IRQ_MV78XX0_GE00_RX    41
-#define IRQ_MV78XX0_GE00_TX    42
-#define IRQ_MV78XX0_GE00_MISC  43
-#define IRQ_MV78XX0_GE01_SUM   44
-#define IRQ_MV78XX0_GE01_RX    45
-#define IRQ_MV78XX0_GE01_TX    46
-#define IRQ_MV78XX0_GE01_MISC  47
-#define IRQ_MV78XX0_GE10_SUM   48
-#define IRQ_MV78XX0_GE10_RX    49
-#define IRQ_MV78XX0_GE10_TX    50
-#define IRQ_MV78XX0_GE10_MISC  51
-#define IRQ_MV78XX0_GE11_SUM   52
-#define IRQ_MV78XX0_GE11_RX    53
-#define IRQ_MV78XX0_GE11_TX    54
-#define IRQ_MV78XX0_GE11_MISC  55
-#define IRQ_MV78XX0_GPIO_0_7   56
-#define IRQ_MV78XX0_GPIO_8_15  57
-#define IRQ_MV78XX0_GPIO_16_23 58
-#define IRQ_MV78XX0_GPIO_24_31 59
-#define IRQ_MV78XX0_DB_IN      60
-#define IRQ_MV78XX0_DB_OUT     61
-
-/*
- * MV78xx0 Error Interrupt Controller
- */
-#define IRQ_MV78XX0_GE_ERR     70
-
-/*
- * MV78XX0 General Purpose Pins
- */
-#define IRQ_MV78XX0_GPIO_START 96
-#define NR_GPIO_IRQS           32
-
-#define MV78XX0_NR_IRQS                (IRQ_MV78XX0_GPIO_START + NR_GPIO_IRQS)
-
-
-#endif
arch/arm/mach-mv78xx0/mpp.c deleted +0 -34
deleted file mode 100644
index 32bf590d79fe..000000000000
@@ -1,34 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * arch/arm/mach-mv78x00/mpp.c
- *
- * MPP functions for Marvell MV78x00 SoCs
- */
-#include <linux/gpio/consumer.h>
-#include <linux/kernel.h>
-#include <linux/init.h>
-#include <linux/io.h>
-#include <plat/mpp.h>
-#include "mv78xx0.h"
-#include "common.h"
-#include "mpp.h"
-
-static unsigned int __init mv78xx0_variant(void)
-{
-       u32 dev, rev;
-
-       mv78xx0_pcie_id(&dev, &rev);
-
-       if (dev == MV78100_DEV_ID && rev >= MV78100_REV_A0)
-               return MPP_78100_A0_MASK;
-
-       printk(KERN_ERR "MPP setup: unknown mv78x00 variant "
-                       "(dev %#x rev %#x)\n", dev, rev);
-       return 0;
-}
-
-void __init mv78xx0_mpp_conf(unsigned int *mpp_list)
-{
-       orion_mpp_conf(mpp_list, mv78xx0_variant(),
-                      MPP_MAX, DEV_BUS_VIRT_BASE);
-}
arch/arm/mach-mv78xx0/mpp.h deleted +0 -337
deleted file mode 100644
index 47db52f45546..000000000000
@@ -1,337 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * linux/arch/arm/mach-mv78xx0/mpp.h -- Multi Purpose Pins
- *
- * sebastien requiem <[email protected]>
- */
-
-#ifndef __MV78X00_MPP_H
-#define __MV78X00_MPP_H
-
-#define MPP(_num, _sel, _in, _out, _78100_A0) (\
-    /* MPP number */        ((_num) & 0xff) | \
-    /* MPP select value */        (((_sel) & 0xf) << 8) | \
-    /* may be input signal */    ((!!(_in)) << 12) | \
-    /* may be output signal */    ((!!(_out)) << 13) | \
-    /* available on A0 */    ((!!(_78100_A0)) << 14))
-
-                /*   num sel  i  o  78100_A0  */
-
-#define MPP_78100_A0_MASK    MPP(0, 0x0, 0, 0, 1)
-
-#define MPP0_GPIO        MPP(0, 0x0, 1, 1, 1)
-#define MPP0_GE0_COL        MPP(0, 0x1, 0, 0, 1)
-#define MPP0_GE1_TXCLK        MPP(0, 0x2, 0, 0, 1)
-#define MPP0_UNUSED        MPP(0, 0x3, 0, 0, 1)
-
-#define MPP1_GPIO        MPP(1, 0x0, 1, 1, 1)
-#define MPP1_GE0_RXERR        MPP(1, 0x1, 0, 0, 1)
-#define MPP1_GE1_TXCTL        MPP(1, 0x2, 0, 0, 1)
-#define MPP1_UNUSED        MPP(1, 0x3, 0, 0, 1)
-
-#define MPP2_GPIO        MPP(2, 0x0, 1, 1, 1)
-#define MPP2_GE0_CRS        MPP(2, 0x1, 0, 0, 1)
-#define MPP2_GE1_RXCTL        MPP(2, 0x2, 0, 0, 1)
-#define MPP2_UNUSED        MPP(2, 0x3, 0, 0, 1)
-
-#define MPP3_GPIO        MPP(3, 0x0, 1, 1, 1)
-#define MPP3_GE0_TXERR        MPP(3, 0x1, 0, 0, 1)
-#define MPP3_GE1_RXCLK        MPP(3, 0x2, 0, 0, 1)
-#define MPP3_UNUSED        MPP(3, 0x3, 0, 0, 1)
-
-#define MPP4_GPIO        MPP(4, 0x0, 1, 1, 1)
-#define MPP4_GE0_TXD4        MPP(4, 0x1, 0, 0, 1)
-#define MPP4_GE1_TXD0        MPP(4, 0x2, 0, 0, 1)
-#define MPP4_UNUSED        MPP(4, 0x3, 0, 0, 1)
-
-#define MPP5_GPIO        MPP(5, 0x0, 1, 1, 1)
-#define MPP5_GE0_TXD5        MPP(5, 0x1, 0, 0, 1)
-#define MPP5_GE1_TXD1        MPP(5, 0x2, 0, 0, 1)
-#define MPP5_UNUSED        MPP(5, 0x3, 0, 0, 1)
-
-#define MPP6_GPIO        MPP(6, 0x0, 1, 1, 1)
-#define MPP6_GE0_TXD6        MPP(6, 0x1, 0, 0, 1)
-#define MPP6_GE1_TXD2        MPP(6, 0x2, 0, 0, 1)
-#define MPP6_UNUSED        MPP(6, 0x3, 0, 0, 1)
-
-#define MPP7_GPIO        MPP(7, 0x0, 1, 1, 1)
-#define MPP7_GE0_TXD7        MPP(7, 0x1, 0, 0, 1)
-#define MPP7_GE1_TXD3        MPP(7, 0x2, 0, 0, 1)
-#define MPP7_UNUSED        MPP(7, 0x3, 0, 0, 1)
-
-#define MPP8_GPIO        MPP(8, 0x0, 1, 1, 1)
-#define MPP8_GE0_RXD4        MPP(8, 0x1, 0, 0, 1)
-#define MPP8_GE1_RXD0        MPP(8, 0x2, 0, 0, 1)
-#define MPP8_UNUSED        MPP(8, 0x3, 0, 0, 1)
-
-#define MPP9_GPIO        MPP(9, 0x0, 1, 1, 1)
-#define MPP9_GE0_RXD5        MPP(9, 0x1, 0, 0, 1)
-#define MPP9_GE1_RXD1        MPP(9, 0x2, 0, 0, 1)
-#define MPP9_UNUSED        MPP(9, 0x3, 0, 0, 1)
-
-#define MPP10_GPIO        MPP(10, 0x0, 1, 1, 1)
-#define MPP10_GE0_RXD6        MPP(10, 0x1, 0, 0, 1)
-#define MPP10_GE1_RXD2        MPP(10, 0x2, 0, 0, 1)
-#define MPP10_UNUSED        MPP(10, 0x3, 0, 0, 1)
-
-#define MPP11_GPIO        MPP(11, 0x0, 1, 1, 1)
-#define MPP11_GE0_RXD7        MPP(11, 0x1, 0, 0, 1)
-#define MPP11_GE1_RXD3        MPP(11, 0x2, 0, 0, 1)
-#define MPP11_UNUSED        MPP(11, 0x3, 0, 0, 1)
-
-#define MPP12_GPIO        MPP(12, 0x0, 1, 1, 1)
-#define MPP12_M_BB        MPP(12, 0x3, 0, 0, 1)
-#define MPP12_UA0_CTSn        MPP(12, 0x4, 0, 0, 1)
-#define MPP12_NAND_FLASH_REn0    MPP(12, 0x5, 0, 0, 1)
-#define MPP12_TDM0_SCSn        MPP(12, 0X6, 0, 0, 1)
-#define MPP12_UNUSED        MPP(12, 0x1, 0, 0, 1)
-
-#define MPP13_GPIO        MPP(13, 0x0, 1, 1, 1)
-#define MPP13_SYSRST_OUTn    MPP(13, 0x3, 0, 0, 1)
-#define MPP13_UA0_RTSn        MPP(13, 0x4, 0, 0, 1)
-#define MPP13_NAN_FLASH_WEn0    MPP(13, 0x5, 0, 0, 1)
-#define MPP13_TDM_SCLK        MPP(13, 0x6, 0, 0, 1)
-#define MPP13_UNUSED        MPP(13, 0x1, 0, 0, 1)
-
-#define MPP14_GPIO        MPP(14, 0x0, 1, 1, 1)
-#define MPP14_SATA1_ACTn    MPP(14, 0x3, 0, 0, 1)
-#define MPP14_UA1_CTSn        MPP(14, 0x4, 0, 0, 1)
-#define MPP14_NAND_FLASH_REn1    MPP(14, 0x5, 0, 0, 1)
-#define MPP14_TDM_SMOSI        MPP(14, 0x6, 0, 0, 1)
-#define MPP14_UNUSED        MPP(14, 0x1, 0, 0, 1)
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

arch/arm/mach-mv78xx0/mv78xx0.h deleted +0 -134
deleted file mode 100644
index 88efb1e44142..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-mv78xx0/pcie.c deleted +0 -280
deleted file mode 100644
index 533cb7856943..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-orion5x/Kconfig +0 -95
index c61999d01c80..78b8d59d7cc1 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-orion5x/Makefile +0 -9
index 6f54d7fef27a..7e9634e04318 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-orion5x/board-dt.c +1 -2
index be47492c6640..2614213e2cbc 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-orion5x/common.c +2 -236
index df056d60b675..050a95af2bbf 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-orion5x/common.h +0 -15
index 8df70e23aa82..4dc6c59bde99 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-orion5x/dns323-setup.c deleted +0 -757
deleted file mode 100644
index 7b81b08b0dda..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-orion5x/kurobox_pro-setup.c deleted +0 -407
deleted file mode 100644
index e61b9ab06943..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-orion5x/mv2120-setup.c deleted +0 -256
deleted file mode 100644
index b15fe5b7a0f9..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-orion5x/net2big-setup.c deleted +0 -444
deleted file mode 100644
index f04571e79805..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-orion5x/pci.c +0 -1
index 06f5320036b1..3d1e6ad0e14b 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-orion5x/terastation_pro2-setup.c deleted +0 -366
deleted file mode 100644
index c3db3376950a..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-orion5x/ts209-setup.c deleted +0 -331
deleted file mode 100644
index 25cd50306c65..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-orion5x/ts409-setup.c deleted +0 -329
deleted file mode 100644
index f92acef0b45f..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-orion5x/ts78xx-fpga.h deleted +0 -42
deleted file mode 100644
index 2f4fe3ca5c1a..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-orion5x/ts78xx-setup.c deleted +0 -574
deleted file mode 100644
index af810e7ccd79..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-orion5x/tsx09-common.c deleted +0 -129
deleted file mode 100644
index 099e6fdfa8e6..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-orion5x/tsx09-common.h deleted +0 -21
deleted file mode 100644
index 72bedc6b82fb..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mm/Kconfig +1 -1
index 6574659dfb61..c40cdb2274ea 100644

Lines of this file are not shown. View the raw message.

arch/arm/plat-orion/Makefile +1 -1
index e8c7580df8ca..dfde39cdd992 100644

Lines of this file are not shown. View the raw message.

arch/arm/plat-orion/common.c deleted +0 -826
deleted file mode 100644
index cabe98386245..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/plat-orion/include/plat/addr-map.h deleted +0 -54
deleted file mode 100644
index b76c06569fe5..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/plat-orion/include/plat/common.h deleted +0 -104
deleted file mode 100644
index d2aad95d20cb..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/plat-orion/include/plat/time.h deleted +0 -20
deleted file mode 100644
index 07527e417c62..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/plat-orion/pcie.c +0 -1
index 8b8c06d2e9c4..e817f20409c4 100644

Lines of this file are not shown. View the raw message.

arch/arm/plat-orion/time.c deleted +0 -238
deleted file mode 100644
index 509d4824dc1c..000000000000

Lines of this file are not shown. View the raw message.

drivers/ata/Kconfig +1 -2
index 28ca856ecc75..434cce3efd96 100644

Lines of this file are not shown. View the raw message.

drivers/mmc/host/Kconfig +1 -1
index 4f060d3e5636..d06903635335 100644

Lines of this file are not shown. View the raw message.

drivers/pci/controller/Kconfig +1 -1
index d246bbe37948..7e550c474b7a 100644

Lines of this file are not shown. View the raw message.

drivers/phy/marvell/Kconfig +1 -1
index bccd72dccb77..c29d2d28ae55 100644

Lines of this file are not shown. View the raw message.

drivers/rtc/Kconfig +1 -1
index 55ffee3d75ce..5cb6cdfe6015 100644

Lines of this file are not shown. View the raw message.

drivers/soc/Makefile +0 -1
index c9e689080ceb..6411b96d584c 100644

Lines of this file are not shown. View the raw message.

drivers/thermal/Kconfig +1 -1
index 810eeccedfba..8cef9b658191 100644

Lines of this file are not shown. View the raw message.

drivers/watchdog/Kconfig +1 -1
index 0ab0dcc6d27d..d83bfb189705 100644

Lines of this file are not shown. View the raw message.

sound/soc/kirkwood/Kconfig +1 -2
index 924072e402c8..d59c5bb0b391 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

2.53.0

Part of the diff is not shown here. View the raw message.

maintainer Reviewed-by on v1 5/13
#44 lore raw

Re: [PATCH 05/13] ARM: orion/dove/mv78xx0: remove all board files

In reply to Arnd Bergmann
Quoted 7 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The 'orion' platform is the predecessor to what linux now calls the 'mvebu' line of Marvell SoCs, and originally covered orion5x, mv78xx0, kirkwood, dove and a few others that do not have any upstream support at the moment.

Quoted 7 lines

Only a few board files remain here, these are the ones left in 2022 board file purge because they had some level of support in Debian or OpenWRT, mostly for commercial NAS or router boxes. This distro support is now gone, and nobody has converted the board files to devicetree, though the orion5x and dove platforms also come with devicetree support for some other machines.

Andrew

maintainer Acked-by on v1 5/13
#45 lore raw

Re: [PATCH 05/13] ARM: orion/dove/mv78xx0: remove all board files

In reply to Arnd Bergmann
Quoted 38 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The 'orion' platform is the predecessor to what linux now calls the 'mvebu' line of Marvell SoCs, and originally covered orion5x, mv78xx0, kirkwood, dove and a few others that do not have any upstream support at the moment.

Only a few board files remain here, these are the ones left in 2022 board file purge because they had some level of support in Debian or OpenWRT, mostly for commercial NAS or router boxes. This distro support is now gone, and nobody has converted the board files to devicetree, though the orion5x and dove platforms also come with devicetree support for some other machines.

Cc Andrew Lunn <[email protected]>
Cc Sebastian Hesselbarth <[email protected]>
Cc Gregory Clement <[email protected]>
Cc Alexander Clouter <[email protected]>
Cc Jeremy J. Peper <[email protected]>
Cc Damien Le Moal <[email protected]>
Cc Niklas Cassel <[email protected]>
Cc Ulf Hansson <[email protected]>
Cc Lorenzo Pieralisi <[email protected]>
Cc "Krzysztof Wilczyński" <[email protected]>
Cc Manivannan Sadhasivam <[email protected]>
Cc Rob Herring <[email protected]>
Cc Bjorn Helgaas <[email protected]>
Cc Vinod Koul <[email protected]>
Cc Alexandre Belloni <[email protected]>
Cc "Rafael J. Wysocki" <[email protected]>
Cc Daniel Lezcano <[email protected]>
Cc Guenter Roeck <[email protected]>
Cc Mark Brown <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Bartosz Golaszewski <[email protected]>
Cc Thomas Weissschuh <[email protected]>
Quoted 8 lines
maintainer Acked-by on v1 5/13
#46 lore raw

Re: [PATCH 05/13] ARM: orion/dove/mv78xx0: remove all board files

In reply to Arnd Bergmann
Quoted 38 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The 'orion' platform is the predecessor to what linux now calls the 'mvebu' line of Marvell SoCs, and originally covered orion5x, mv78xx0, kirkwood, dove and a few others that do not have any upstream support at the moment.

Only a few board files remain here, these are the ones left in 2022 board file purge because they had some level of support in Debian or OpenWRT, mostly for commercial NAS or router boxes. This distro support is now gone, and nobody has converted the board files to devicetree, though the orion5x and dove platforms also come with devicetree support for some other machines.

Cc Andrew Lunn <[email protected]>
Cc Sebastian Hesselbarth <[email protected]>
Cc Gregory Clement <[email protected]>
Cc Alexander Clouter <[email protected]>
Cc Jeremy J. Peper <[email protected]>
Cc Damien Le Moal <[email protected]>
Cc Niklas Cassel <[email protected]>
Cc Ulf Hansson <[email protected]>
Cc Lorenzo Pieralisi <[email protected]>
Cc "Krzysztof Wilczyński" <[email protected]>
Cc Manivannan Sadhasivam <[email protected]>
Cc Rob Herring <[email protected]>
Cc Bjorn Helgaas <[email protected]>
Cc Vinod Koul <[email protected]>
Cc Alexandre Belloni <[email protected]>
Cc "Rafael J. Wysocki" <[email protected]>
Cc Daniel Lezcano <[email protected]>
Cc Guenter Roeck <[email protected]>
Cc Mark Brown <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Bartosz Golaszewski <[email protected]>
Cc Thomas Weissschuh <[email protected]>
Quoted 8 lines

Yours,
Linus Walleij

maintainer Acked-by on v1 5/13
#47 lore raw

Re: [PATCH 05/13] ARM: orion/dove/mv78xx0: remove all board files

In reply to Arnd Bergmann
Quoted 38 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The 'orion' platform is the predecessor to what linux now calls the 'mvebu' line of Marvell SoCs, and originally covered orion5x, mv78xx0, kirkwood, dove and a few others that do not have any upstream support at the moment.

Only a few board files remain here, these are the ones left in 2022 board file purge because they had some level of support in Debian or OpenWRT, mostly for commercial NAS or router boxes. This distro support is now gone, and nobody has converted the board files to devicetree, though the orion5x and dove platforms also come with devicetree support for some other machines.

Cc Andrew Lunn <[email protected]>
Cc Sebastian Hesselbarth <[email protected]>
Cc Gregory Clement <[email protected]>
Cc Alexander Clouter <[email protected]>
Cc Jeremy J. Peper <[email protected]>
Cc Damien Le Moal <[email protected]>
Cc Niklas Cassel <[email protected]>
Cc Ulf Hansson <[email protected]>
Cc Lorenzo Pieralisi <[email protected]>
Cc "Krzysztof Wilczyński" <[email protected]>
Cc Manivannan Sadhasivam <[email protected]>
Cc Rob Herring <[email protected]>
Cc Bjorn Helgaas <[email protected]>
Cc Vinod Koul <[email protected]>
Cc Alexandre Belloni <[email protected]>
Cc "Rafael J. Wysocki" <[email protected]>
Cc Daniel Lezcano <[email protected]>
Cc Guenter Roeck <[email protected]>
Cc Mark Brown <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Bartosz Golaszewski <[email protected]>
Cc Thomas Weissschuh <[email protected]>
Quoted 8 lines
maintainer Acked-by on v1 5/13
#48 lore raw

Re: [PATCH 05/13] ARM: orion/dove/mv78xx0: remove all board files

In reply to Arnd Bergmann
Quoted 7 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The 'orion' platform is the predecessor to what linux now calls the 'mvebu' line of Marvell SoCs, and originally covered orion5x, mv78xx0, kirkwood, dove and a few others that do not have any upstream support at the moment.

Quoted 7 lines

Only a few board files remain here, these are the ones left in 2022 board file purge because they had some level of support in Debian or OpenWRT, mostly for commercial NAS or router boxes. This distro support is now gone, and nobody has converted the board files to devicetree, though the orion5x and dove platforms also come with devicetree support for some other machines.

Thanks,

Gregory

Signature · 3 lines
Grégory CLEMENT, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Acked-by on v1 5/13
#49 lore raw

Re: [PATCH 05/13] ARM: orion/dove/mv78xx0: remove all board files

In reply to Arnd Bergmann
Quoted 46 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The 'orion' platform is the predecessor to what linux now calls the 'mvebu' line of Marvell SoCs, and originally covered orion5x, mv78xx0, kirkwood, dove and a few others that do not have any upstream support at the moment.

Only a few board files remain here, these are the ones left in 2022 board file purge because they had some level of support in Debian or OpenWRT, mostly for commercial NAS or router boxes. This distro support is now gone, and nobody has converted the board files to devicetree, though the orion5x and dove platforms also come with devicetree support for some other machines.

Cc Andrew Lunn <[email protected]>
Cc Sebastian Hesselbarth <[email protected]>
Cc Gregory Clement <[email protected]>
Cc Alexander Clouter <[email protected]>
Cc Jeremy J. Peper <[email protected]>
Cc Damien Le Moal <[email protected]>
Cc Niklas Cassel <[email protected]>
Cc Ulf Hansson <[email protected]>
Cc Lorenzo Pieralisi <[email protected]>
Cc "Krzysztof Wilczyński" <[email protected]>
Cc Manivannan Sadhasivam <[email protected]>
Cc Rob Herring <[email protected]>
Cc Bjorn Helgaas <[email protected]>
Cc Vinod Koul <[email protected]>
Cc Alexandre Belloni <[email protected]>
Cc "Rafael J. Wysocki" <[email protected]>
Cc Daniel Lezcano <[email protected]>
Cc Guenter Roeck <[email protected]>
Cc Mark Brown <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Bartosz Golaszewski <[email protected]>
Cc Thomas Weissschuh <[email protected]>
Quoted 1 line

---

#50 lore raw

PATCH 6/13 ARM: omap2: remove omap24xx support

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The omap24xx SoC platform was used in the Nokia N800 and N810 tablets released on 2007 and was among the first ARMv6 CPUs in products that made it into products.

Unfortunately the early ARM1136r0 CPU cores had a number of quirks that caused a disproportionate amount of work to keep them compatible with later ARMv6K/v7/v8 implementations.

Drop the support for this SoC in order to allow removing ARM1136r0.

Cc Aaro Koskinen <[email protected]>
Cc Andreas Kemnade <[email protected]>
Cc Kevin Hilman <[email protected]>
Cc Roger Quadros <[email protected]>
Cc Tony Lindgren <[email protected]>
Cc Paul Walmsley <[email protected]>
Cc Herbert Xu <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Kyungmin Park <[email protected]>
Cc Helge Deller <[email protected]>
Cc Tero Kristo <[email protected]>
Cc Stephen Boyd <[email protected]>
Cc Thomas Zimmermann <[email protected]>
---
 MAINTAINERS                                   |    2 -
 arch/arm/boot/dts/ti/omap/Makefile            |    6 -
 arch/arm/boot/dts/ti/omap/omap2.dtsi          |  338 -----
 .../arm/boot/dts/ti/omap/omap2420-clocks.dtsi |  267 ----
 arch/arm/boot/dts/ti/omap/omap2420-h4.dts     |   63 -
 arch/arm/boot/dts/ti/omap/omap2420-n800.dts   |    9 -
 .../boot/dts/ti/omap/omap2420-n810-wimax.dts  |    9 -
 arch/arm/boot/dts/ti/omap/omap2420-n810.dts   |   75 -
 .../dts/ti/omap/omap2420-n8x0-common.dtsi     |  123 --
 arch/arm/boot/dts/ti/omap/omap2420.dtsi       |  262 ----
 .../arm/boot/dts/ti/omap/omap2430-clocks.dtsi |  341 -----
 arch/arm/boot/dts/ti/omap/omap2430-sdp.dts    |   70 -
 arch/arm/boot/dts/ti/omap/omap2430.dtsi       |  366 -----
 .../arm/boot/dts/ti/omap/omap24xx-clocks.dtsi | 1241 -----------------
 arch/arm/configs/omap2plus_defconfig          |    2 -
 arch/arm/mach-omap2/Kconfig                   |   62 +-
 arch/arm/mach-omap2/Makefile                  |   63 +-
 arch/arm/mach-omap2/board-generic.c           |   34 -
 arch/arm/mach-omap2/board-n8x0.c              |  512 -------
 arch/arm/mach-omap2/clkt2xxx_dpll.c           |   56 -
 arch/arm/mach-omap2/clkt2xxx_dpllcore.c       |  194 ---
 arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c  |  259 ----
 arch/arm/mach-omap2/clock.c                   |   12 +-
 arch/arm/mach-omap2/clock2xxx.h               |   17 -
 arch/arm/mach-omap2/clockdomain.c             |    4 +-
 arch/arm/mach-omap2/clockdomain.h             |    5 -
 arch/arm/mach-omap2/clockdomains2420_data.c   |  154 --
 arch/arm/mach-omap2/clockdomains2430_data.c   |  181 ---
 .../mach-omap2/clockdomains2xxx_3xxx_data.c   |   29 +-
 arch/arm/mach-omap2/cm-regbits-24xx.h         |   51 -
 arch/arm/mach-omap2/cm2xxx.c                  |  302 ----
 arch/arm/mach-omap2/cm2xxx.h                  |   60 -
 arch/arm/mach-omap2/cm_common.c               |   12 -
 arch/arm/mach-omap2/common-board-devices.h    |   11 -
 arch/arm/mach-omap2/common.h                  |   12 -
 arch/arm/mach-omap2/control.h                 |   56 -
 arch/arm/mach-omap2/display.c                 |    4 +-
 arch/arm/mach-omap2/dma.c                     |   53 +-
 arch/arm/mach-omap2/fb.c                      |   14 +-
 arch/arm/mach-omap2/gpmc.h                    |   10 -
 arch/arm/mach-omap2/i2c.c                     |    2 +-
 arch/arm/mach-omap2/id.c                      |   80 +-
 arch/arm/mach-omap2/io.c                      |  140 +-
 arch/arm/mach-omap2/iomap.h                   |   46 -
 arch/arm/mach-omap2/l3_2xxx.h                 |   15 -
 arch/arm/mach-omap2/l4_2xxx.h                 |   19 -
 arch/arm/mach-omap2/mmc.h                     |   18 -
 arch/arm/mach-omap2/msdi.c                    |   75 -
 arch/arm/mach-omap2/omap2-restart.c           |   62 -
 arch/arm/mach-omap2/omap24xx.h                |   73 -
 arch/arm/mach-omap2/omap_hwmod.c              |   18 +-
 arch/arm/mach-omap2/omap_hwmod.h              |    2 -
 arch/arm/mach-omap2/omap_hwmod_2420_data.c    |  402 ------
 arch/arm/mach-omap2/omap_hwmod_2430_data.c    |  606 --------
 .../omap_hwmod_2xxx_interconnect_data.c       |  256 ----
 .../mach-omap2/omap_hwmod_2xxx_ipblock_data.c |  668 ---------
 arch/arm/mach-omap2/omap_hwmod_common_data.h  |   66 -
 arch/arm/mach-omap2/opp2420_data.c            |  131 --
 arch/arm/mach-omap2/opp2430_data.c            |  136 --
 arch/arm/mach-omap2/opp2xxx.h                 |  430 ------
 arch/arm/mach-omap2/pdata-quirks.c            |   35 +-
 arch/arm/mach-omap2/pm.h                      |    5 -
 arch/arm/mach-omap2/powerdomain.h             |    3 -
 arch/arm/mach-omap2/powerdomains2xxx_data.c   |  134 --
 arch/arm/mach-omap2/prcm-common.h             |  147 --
 arch/arm/mach-omap2/prm-regbits-24xx.h        |   39 -
 arch/arm/mach-omap2/prm2xxx.c                 |  229 ---
 arch/arm/mach-omap2/prm2xxx.h                 |  128 --
 arch/arm/mach-omap2/prm2xxx_3xxx.c            |    1 -
 arch/arm/mach-omap2/prm_common.c              |   11 -
 arch/arm/mach-omap2/sdrc.h                    |   21 -
 arch/arm/mach-omap2/sdrc2xxx.c                |  164 ---
 arch/arm/mach-omap2/sleep24xx.S               |   91 --
 arch/arm/mach-omap2/soc.h                     |   59 -
 arch/arm/mach-omap2/sram.c                    |  159 +--
 arch/arm/mach-omap2/sram.h                    |   32 -
 arch/arm/mach-omap2/sram242x.S                |  317 -----
 arch/arm/mach-omap2/sram243x.S                |  317 -----
 arch/arm/mach-omap2/usb-tusb6010.c            |  217 ---
 arch/arm/mach-omap2/usb-tusb6010.h            |   12 -
 arch/arm/mach-omap2/voltagedomains2xxx_data.c |   29 -
 drivers/crypto/Kconfig                        |    2 +-
 drivers/media/platform/ti/omap/Kconfig        |    4 +-
 drivers/mtd/nand/onenand/Kconfig              |    4 +-
 drivers/video/fbdev/omap2/omapfb/Kconfig      |    2 +-
 include/linux/clk/ti.h                        |    8 -
 86 files changed, 60 insertions(+), 10696 deletions(-)
 delete mode 100644 arch/arm/boot/dts/ti/omap/omap2.dtsi
 delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-clocks.dtsi
 delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-h4.dts
 delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-n800.dts
 delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-n810-wimax.dts
 delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-n810.dts
 delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-n8x0-common.dtsi
 delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420.dtsi
 delete mode 100644 arch/arm/boot/dts/ti/omap/omap2430-clocks.dtsi
 delete mode 100644 arch/arm/boot/dts/ti/omap/omap2430-sdp.dts
 delete mode 100644 arch/arm/boot/dts/ti/omap/omap2430.dtsi
 delete mode 100644 arch/arm/boot/dts/ti/omap/omap24xx-clocks.dtsi
 delete mode 100644 arch/arm/mach-omap2/board-n8x0.c
 delete mode 100644 arch/arm/mach-omap2/clkt2xxx_dpll.c
 delete mode 100644 arch/arm/mach-omap2/clkt2xxx_dpllcore.c
 delete mode 100644 arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c
 delete mode 100644 arch/arm/mach-omap2/clock2xxx.h
 delete mode 100644 arch/arm/mach-omap2/clockdomains2420_data.c
 delete mode 100644 arch/arm/mach-omap2/clockdomains2430_data.c
 delete mode 100644 arch/arm/mach-omap2/cm-regbits-24xx.h
 delete mode 100644 arch/arm/mach-omap2/cm2xxx.c
 delete mode 100644 arch/arm/mach-omap2/cm2xxx.h
 delete mode 100644 arch/arm/mach-omap2/common-board-devices.h
 delete mode 100644 arch/arm/mach-omap2/gpmc.h
 delete mode 100644 arch/arm/mach-omap2/l3_2xxx.h
 delete mode 100644 arch/arm/mach-omap2/l4_2xxx.h
 delete mode 100644 arch/arm/mach-omap2/mmc.h
 delete mode 100644 arch/arm/mach-omap2/msdi.c
 delete mode 100644 arch/arm/mach-omap2/omap2-restart.c
 delete mode 100644 arch/arm/mach-omap2/omap24xx.h
 delete mode 100644 arch/arm/mach-omap2/omap_hwmod_2420_data.c
 delete mode 100644 arch/arm/mach-omap2/omap_hwmod_2430_data.c
 delete mode 100644 arch/arm/mach-omap2/omap_hwmod_2xxx_interconnect_data.c
 delete mode 100644 arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c
 delete mode 100644 arch/arm/mach-omap2/opp2420_data.c
 delete mode 100644 arch/arm/mach-omap2/opp2430_data.c
 delete mode 100644 arch/arm/mach-omap2/opp2xxx.h
 delete mode 100644 arch/arm/mach-omap2/powerdomains2xxx_data.c
 delete mode 100644 arch/arm/mach-omap2/prm-regbits-24xx.h
 delete mode 100644 arch/arm/mach-omap2/prm2xxx.c
 delete mode 100644 arch/arm/mach-omap2/prm2xxx.h
 delete mode 100644 arch/arm/mach-omap2/sdrc2xxx.c
 delete mode 100644 arch/arm/mach-omap2/sleep24xx.S
 delete mode 100644 arch/arm/mach-omap2/sram242x.S
 delete mode 100644 arch/arm/mach-omap2/sram243x.S
 delete mode 100644 arch/arm/mach-omap2/usb-tusb6010.c
 delete mode 100644 arch/arm/mach-omap2/usb-tusb6010.h
 delete mode 100644 arch/arm/mach-omap2/voltagedomains2xxx_data.c
MAINTAINERS +0 -2
index 028db7ad15ad..0d10f778800d 100644
@@ -19874,7 +19874,6 @@ M:	Jarkko Nikula <[email protected]>
 L:	[email protected]
 L:	[email protected]
 S:	Maintained
-F:	sound/soc/ti/n810.c
 F:	sound/soc/ti/omap*
 F:	sound/soc/ti/rx51.c
 F:	sound/soc/ti/sdma-pcm.*
@@ -20027,7 +20026,6 @@ F:	drivers/gpio/gpio-tps65219.c
 F:	drivers/i2c/busses/i2c-omap.c
 F:	drivers/irqchip/irq-omap-intc.c
 F:	drivers/mfd/*omap*.c
-F:	drivers/mfd/menelaus.c
 F:	drivers/mfd/palmas.c
 F:	drivers/mfd/tps65217.c
 F:	drivers/mfd/tps65218.c
arch/arm/boot/dts/ti/omap/Makefile +0 -6
index 498c36ccb5ea..3c5d378df6b9 100644
@@ -1,10 +1,4 @@
 # SPDX-License-Identifier: GPL-2.0
-dtb-$(CONFIG_ARCH_OMAP2) += \
-	omap2420-h4.dtb \
-	omap2420-n800.dtb \
-	omap2420-n810.dtb \
-	omap2420-n810-wimax.dtb \
-	omap2430-sdp.dtb
 dtb-$(CONFIG_ARCH_OMAP3) += \
 	am3517-craneboard.dtb \
 	am3517-evm.dtb \
arch/arm/boot/dts/ti/omap/omap2.dtsi deleted +0 -338

338 lines not on this page · raw message

arch/arm/boot/dts/ti/omap/omap2420-clocks.dtsi deleted +0 -267

267 lines not on this page · raw message

arch/arm/boot/dts/ti/omap/omap2420-h4.dts deleted +0 -63

63 lines not on this page · raw message

arch/arm/boot/dts/ti/omap/omap2420-n800.dts deleted +0 -9
deleted file mode 100644
index f06d767e818b..000000000000
@@ -1,9 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0
-/dts-v1/;
-
-#include "omap2420-n8x0-common.dtsi"
-
-/ {
-	model = "Nokia N800";
-	compatible = "nokia,n800", "nokia,n8x0", "ti,omap2420", "ti,omap2";
-};
arch/arm/boot/dts/ti/omap/omap2420-n810-wimax.dts deleted +0 -9
deleted file mode 100644
index ac9acbd609b6..000000000000
@@ -1,9 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0
-/dts-v1/;
-
-#include "omap2420-n8x0-common.dtsi"
-
-/ {
-	model = "Nokia N810 WiMax";
-	compatible = "nokia,n810-wimax", "nokia,n8x0", "ti,omap2420", "ti,omap2";
-};
arch/arm/boot/dts/ti/omap/omap2420-n810.dts deleted +0 -75

75 lines not on this page · raw message

arch/arm/boot/dts/ti/omap/omap2420-n8x0-common.dtsi deleted +0 -123

123 lines not on this page · raw message

arch/arm/boot/dts/ti/omap/omap2420.dtsi deleted +0 -262

262 lines not on this page · raw message

arch/arm/boot/dts/ti/omap/omap2430-clocks.dtsi deleted +0 -341

341 lines not on this page · raw message

arch/arm/boot/dts/ti/omap/omap2430-sdp.dts deleted +0 -70

70 lines not on this page · raw message

arch/arm/boot/dts/ti/omap/omap2430.dtsi deleted +0 -366

366 lines not on this page · raw message

arch/arm/boot/dts/ti/omap/omap24xx-clocks.dtsi deleted +0 -1241

1,053 lines not on this page · raw message

arch/arm/configs/omap2plus_defconfig +0 -2
index f827f89567fd..2e9597f50c58 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/Kconfig +4 -58

62 lines not on this page · raw message

arch/arm/mach-omap2/Makefile +6 -57

63 lines not on this page · raw message

arch/arm/mach-omap2/board-generic.c +0 -34
index bff673e932fe..972b8cf0547f 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/board-n8x0.c deleted +0 -512

512 lines not on this page · raw message

arch/arm/mach-omap2/clkt2xxx_dpll.c deleted +0 -56

56 lines not on this page · raw message

arch/arm/mach-omap2/clkt2xxx_dpllcore.c deleted +0 -194

194 lines not on this page · raw message

arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c deleted +0 -259

259 lines not on this page · raw message

arch/arm/mach-omap2/clock.c +2 -10
index 83fae51722a9..b73a80503da8 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/clock2xxx.h deleted +0 -17
deleted file mode 100644
index 73c011dadfd2..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/clockdomain.c +2 -2
index 69dc5b839335..4b5ae1f40d50 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/clockdomain.h +0 -5
index 86a2f9e5d0ef..2d422b5f121f 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/clockdomains2420_data.c deleted +0 -154

154 lines not on this page · raw message

arch/arm/mach-omap2/clockdomains2430_data.c deleted +0 -181

181 lines not on this page · raw message

arch/arm/mach-omap2/clockdomains2xxx_3xxx_data.c +2 -27
index 220c22f5e0f5..4d20c2720660 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/cm-regbits-24xx.h deleted +0 -51

51 lines not on this page · raw message

arch/arm/mach-omap2/cm2xxx.c deleted +0 -302

302 lines not on this page · raw message

arch/arm/mach-omap2/cm2xxx.h deleted +0 -60

60 lines not on this page · raw message

arch/arm/mach-omap2/cm_common.c +0 -12
index 87f2c2d2d754..fc16cd1fd2d5 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/common-board-devices.h deleted +0 -11
deleted file mode 100644
index 69694af71475..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/common.h +0 -12
index 9d60799e9752..f8ed97044ade 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/control.h +0 -56

56 lines not on this page · raw message

arch/arm/mach-omap2/display.c +1 -3
index dbec3bb9fbf4..addc14898bd5 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/dma.c +1 -52

53 lines not on this page · raw message

arch/arm/mach-omap2/fb.c +1 -13
index 0f8c8efe3ae8..9a425c36f996 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/gpmc.h deleted +0 -10
deleted file mode 100644
index e060f1b5c27d..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/i2c.c +1 -1
index 3b4b9514f4fa..d956c70f8899 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/id.c +2 -78

80 lines not on this page · raw message

arch/arm/mach-omap2/io.c +5 -135

140 lines not on this page · raw message

arch/arm/mach-omap2/iomap.h +0 -46

46 lines not on this page · raw message

arch/arm/mach-omap2/l3_2xxx.h deleted +0 -15
deleted file mode 100644
index 6297c62428ac..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/l4_2xxx.h deleted +0 -19
deleted file mode 100644
index 418e1072d730..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/mmc.h deleted +0 -18
deleted file mode 100644
index b5533e93cb63..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/msdi.c deleted +0 -75

75 lines not on this page · raw message

arch/arm/mach-omap2/omap2-restart.c deleted +0 -62

62 lines not on this page · raw message

arch/arm/mach-omap2/omap24xx.h deleted +0 -73

73 lines not on this page · raw message

arch/arm/mach-omap2/omap_hwmod.c +1 -17
index 03cd523dff87..c918399ea735 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/omap_hwmod.h +0 -2
index dcab7a01c10e..b60cd09c1997 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/omap_hwmod_2420_data.c deleted +0 -402

402 lines not on this page · raw message

arch/arm/mach-omap2/omap_hwmod_2430_data.c deleted +0 -606

606 lines not on this page · raw message

arch/arm/mach-omap2/omap_hwmod_2xxx_interconnect_data.c deleted +0 -256

256 lines not on this page · raw message

arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c deleted +0 -668

668 lines not on this page · raw message

arch/arm/mach-omap2/omap_hwmod_common_data.h +0 -66

66 lines not on this page · raw message

arch/arm/mach-omap2/opp2420_data.c deleted +0 -131

131 lines not on this page · raw message

arch/arm/mach-omap2/opp2430_data.c deleted +0 -136

136 lines not on this page · raw message

arch/arm/mach-omap2/opp2xxx.h deleted +0 -430

430 lines not on this page · raw message

arch/arm/mach-omap2/pdata-quirks.c +3 -32
index b947bacf23a3..8b8021b297aa 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/pm.h +0 -5
index f97ff93f2fb4..5751b85e9ffb 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/powerdomain.h +0 -3
index fbc89999460b..eaf6d1104dc2 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/powerdomains2xxx_data.c deleted +0 -134

134 lines not on this page · raw message

arch/arm/mach-omap2/prcm-common.h +0 -147

147 lines not on this page · raw message

arch/arm/mach-omap2/prm-regbits-24xx.h deleted +0 -39
deleted file mode 100644
index ff83801f6439..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/prm2xxx.c deleted +0 -229

229 lines not on this page · raw message

arch/arm/mach-omap2/prm2xxx.h deleted +0 -128

128 lines not on this page · raw message

arch/arm/mach-omap2/prm2xxx_3xxx.c +0 -1
index d983efac6f4f..afaba7153ece 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/prm_common.c +0 -11
index ee4588acda50..3546e7292bfb 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/sdrc.h +0 -21
index 45b35422b587..c34fba4d2f1a 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/sdrc2xxx.c deleted +0 -164

164 lines not on this page · raw message

arch/arm/mach-omap2/sleep24xx.S deleted +0 -91

91 lines not on this page · raw message

arch/arm/mach-omap2/soc.h +0 -59

59 lines not on this page · raw message

arch/arm/mach-omap2/sram.c +23 -136

159 lines not on this page · raw message

arch/arm/mach-omap2/sram.h +0 -32
index 030cabc39821..2db2c4598cdb 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/sram242x.S deleted +0 -317

317 lines not on this page · raw message

arch/arm/mach-omap2/sram243x.S deleted +0 -317

317 lines not on this page · raw message

arch/arm/mach-omap2/usb-tusb6010.c deleted +0 -217

217 lines not on this page · raw message

arch/arm/mach-omap2/usb-tusb6010.h deleted +0 -12
deleted file mode 100644
index d210ff6238c2..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/voltagedomains2xxx_data.c deleted +0 -29
deleted file mode 100644
index 9bc116fe3ba9..000000000000

Lines of this file are not shown. View the raw message.

drivers/crypto/Kconfig +1 -1
index 0189dfdcbbe1..a383ff8f446c 100644

Lines of this file are not shown. View the raw message.

drivers/media/platform/ti/omap/Kconfig +2 -2
index a9dbe1097775..c41812b324ad 100644

Lines of this file are not shown. View the raw message.

drivers/mtd/nand/onenand/Kconfig +2 -2
index 7d57836bf32f..8a362fd5bfc4 100644

Lines of this file are not shown. View the raw message.

drivers/video/fbdev/omap2/omapfb/Kconfig +1 -1
index 2d20e79adefc..d8227f4326bd 100644

Lines of this file are not shown. View the raw message.

include/linux/clk/ti.h +0 -8
index 54a3fa370004..ca151152da19 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.53.0

Part of the diff is not shown here. View the raw message.

maintainer Acked-by on v1 6/13
#51 lore raw

Re: [PATCH 06/13] ARM: omap2: remove omap24xx support

Hi,

Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The omap24xx SoC platform was used in the Nokia N800 and N810 tablets released on 2007 and was among the first ARMv6 CPUs in products that made it into products.

Quoted 7 lines

Unfortunately the early ARM1136r0 CPU cores had a number of quirks that caused a disproportionate amount of work to keep them compatible with later ARMv6K/v7/v8 implementations.

Drop the support for this SoC in order to allow removing ARM1136r0.

Cc Aaro Koskinen <[email protected]>

A.

maintainer
#52 lore raw

Re: [PATCH 06/13] ARM: omap2: remove omap24xx support

In reply to Arnd Bergmann
Quoted 27 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The omap24xx SoC platform was used in the Nokia N800 and N810 tablets released on 2007 and was among the first ARMv6 CPUs in products that made it into products.

Unfortunately the early ARM1136r0 CPU cores had a number of quirks that caused a disproportionate amount of work to keep them compatible with later ARMv6K/v7/v8 implementations.

Drop the support for this SoC in order to allow removing ARM1136r0.

Cc Aaro Koskinen <[email protected]>
Cc Andreas Kemnade <[email protected]>
Cc Kevin Hilman <[email protected]>
Cc Roger Quadros <[email protected]>
Cc Tony Lindgren <[email protected]>
Cc Paul Walmsley <[email protected]>
Cc Herbert Xu <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Kyungmin Park <[email protected]>
Cc Helge Deller <[email protected]>
Cc Tero Kristo <[email protected]>
Cc Stephen Boyd <[email protected]>
Cc Thomas Zimmermann <[email protected]>
Quoted 8 lines

Since Aaro says it can go, it can go.

If the n800 had a PostmarketOS port things would be different, but it does not.

Yours,
Linus Walleij

#53 lore raw

Re: [PATCH 06/13] ARM: omap2: remove omap24xx support

In reply to Arnd Bergmann
Quoted 1 line · Arnd Bergmann
 86 files changed, 60 insertions(+), 10696 deletions(-)

Note that Sashiko skipped reviewing this patch, because it exceeded its current 10000 line limit.

arch/arm/configs/omap2plus_defconfig CONFIG_NAMESPACES=y · line 27

Quoted 3 lines
arch/arm/configs/omap2plus_defconfig +0 -2
-CONFIG_ARCH_MULTI_V6=y
 CONFIG_OMAP_RESET_CLOCKS=y
-CONFIG_ARCH_OMAP2=y

With CONFIG_ARCH_MULTI_V6 gone, CONFIG_ARM_ERRATA_411920=y a few lines down can be deleted (savedefconfig drops it)

arch/arm/mach-omap2/gpmc.h

Quoted 2 lines
arch/arm/mach-omap2/gpmc.h deleted +0 -0
deleted file mode 100644

perl scripts/get_maintainer.pl --self-test=patterns now warns:
./MAINTAINERS:19896: warning: no file matches F: arch/arm/mach-omap2/*gpmc*

arch/arm/mach-omap2/gpmc.h void __init pdata_quirks_init(const struct of_device_id *omap_dt_match_table) · line 533

Quoted 2 lines
arch/arm/mach-omap2/gpmc.h deleted +0 -0
@@ -560,13 +533,11 @@ void __init pdata_quirks_init(const struct of_device_id *omap_dt_match_table)
 	 * We still need this for omap2420 and omap3 PM to work, others are

Stale comment about omap2420

arch/arm/mach-omap2/voltagedomains2xxx_data.c line 26

Quoted 4 lines
arch/arm/mach-omap2/voltagedomains2xxx_data.c deleted +0 -1
deleted file mode 100644
[...]
-void __init omap2xxx_voltagedomains_init(void)

The declaration for this is still in voltage.h.

Thanks,
Karl

#54 lore raw

Re: [PATCH 06/13] ARM: omap2: remove omap24xx support

Quoted 9 lines · Karl Mehltretter

arch/arm/configs/omap2plus_defconfig CONFIG_NAMESPACES=y · line 27

Quoted 5 lines · Arnd Bergmann
 86 files changed, 60 insertions(+), 10696 deletions(-)
arch/arm/configs/omap2plus_defconfig +0 -2
-CONFIG_ARCH_MULTI_V6=y
 CONFIG_OMAP_RESET_CLOCKS=y
-CONFIG_ARCH_OMAP2=y

With CONFIG_ARCH_MULTI_V6 gone, CONFIG_ARM_ERRATA_411920=y a few lines down can be deleted (savedefconfig drops it)

fixed now

Quoted 5 lines

arch/arm/mach-omap2/gpmc.h

Quoted 2 lines
arch/arm/mach-omap2/gpmc.h deleted +0 -0
deleted file mode 100644

perl scripts/get_maintainer.pl --self-test=patterns now warns:
./MAINTAINERS:19896: warning: no file matches F: arch/arm/mach-omap2/*gpmc*

Ah perfect, I was looking for that command, and will check the rest of my series now.

Quoted 4 lines

arch/arm/mach-omap2/gpmc.h void __init pdata_quirks_init(const struct of_device_id *omap_dt_match_table) · line 533

Quoted 2 lines
arch/arm/mach-omap2/gpmc.h deleted +0 -0
@@ -560,13 +533,11 @@ void __init pdata_quirks_init(const struct of_device_id *omap_dt_match_table)
 	 * We still need this for omap2420 and omap3 PM to work, others are

Stale comment about omap2420

fixed.

Quoted 6 lines

arch/arm/mach-omap2/voltagedomains2xxx_data.c line 26

Quoted 4 lines
arch/arm/mach-omap2/voltagedomains2xxx_data.c deleted +0 -1
deleted file mode 100644
[...]
-void __init omap2xxx_voltagedomains_init(void)

The declaration for this is still in voltage.h.

fixed.

Thanks a lot for taking a look here.

Arnd

maintainer Reviewed-by on v1 6/13
#55 lore raw

Re: [PATCH 06/13] ARM: omap2: remove omap24xx support

In reply to Arnd Bergmann

Am 08.09.26 um 17:27 schrieb Arnd Bergmann:

Quoted 1 line
  drivers/video/fbdev/omap2/omapfb/Kconfig      |    2 +-
Quoted 12,086 lines
  include/linux/clk/ti.h                        |    8 -
  86 files changed, 60 insertions(+), 10696 deletions(-)

delete mode 100644 arch/arm/boot/dts/ti/omap/omap2.dtsi
delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-clocks.dtsi delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-h4.dts delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-n800.dts delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-n810-wimax.dts delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-n810.dts delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-n8x0-common.dtsi delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420.dtsi delete mode 100644 arch/arm/boot/dts/ti/omap/omap2430-clocks.dtsi delete mode 100644 arch/arm/boot/dts/ti/omap/omap2430-sdp.dts delete mode 100644 arch/arm/boot/dts/ti/omap/omap2430.dtsi delete mode 100644 arch/arm/boot/dts/ti/omap/omap24xx-clocks.dtsi delete mode 100644 arch/arm/mach-omap2/board-n8x0.c
delete mode 100644 arch/arm/mach-omap2/clkt2xxx_dpll.c
delete mode 100644 arch/arm/mach-omap2/clkt2xxx_dpllcore.c delete mode 100644 arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c delete mode 100644 arch/arm/mach-omap2/clock2xxx.h
delete mode 100644 arch/arm/mach-omap2/clockdomains2420_data.c delete mode 100644 arch/arm/mach-omap2/clockdomains2430_data.c delete mode 100644 arch/arm/mach-omap2/cm-regbits-24xx.h delete mode 100644 arch/arm/mach-omap2/cm2xxx.c
delete mode 100644 arch/arm/mach-omap2/cm2xxx.h
delete mode 100644 arch/arm/mach-omap2/common-board-devices.h delete mode 100644 arch/arm/mach-omap2/gpmc.h
delete mode 100644 arch/arm/mach-omap2/l3_2xxx.h
delete mode 100644 arch/arm/mach-omap2/l4_2xxx.h
delete mode 100644 arch/arm/mach-omap2/mmc.h
delete mode 100644 arch/arm/mach-omap2/msdi.c
delete mode 100644 arch/arm/mach-omap2/omap2-restart.c
delete mode 100644 arch/arm/mach-omap2/omap24xx.h
delete mode 100644 arch/arm/mach-omap2/omap_hwmod_2420_data.c delete mode 100644 arch/arm/mach-omap2/omap_hwmod_2430_data.c delete mode 100644 arch/arm/mach-omap2/omap_hwmod_2xxx_interconnect_data.c delete mode 100644 arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c delete mode 100644 arch/arm/mach-omap2/opp2420_data.c
delete mode 100644 arch/arm/mach-omap2/opp2430_data.c
delete mode 100644 arch/arm/mach-omap2/opp2xxx.h
delete mode 100644 arch/arm/mach-omap2/powerdomains2xxx_data.c delete mode 100644 arch/arm/mach-omap2/prm-regbits-24xx.h delete mode 100644 arch/arm/mach-omap2/prm2xxx.c
delete mode 100644 arch/arm/mach-omap2/prm2xxx.h
delete mode 100644 arch/arm/mach-omap2/sdrc2xxx.c
delete mode 100644 arch/arm/mach-omap2/sleep24xx.S
delete mode 100644 arch/arm/mach-omap2/sram242x.S
delete mode 100644 arch/arm/mach-omap2/sram243x.S
delete mode 100644 arch/arm/mach-omap2/usb-tusb6010.c
delete mode 100644 arch/arm/mach-omap2/usb-tusb6010.h
delete mode 100644 arch/arm/mach-omap2/voltagedomains2xxx_data.c

MAINTAINERS +0 -2
index 028db7ad15ad..0d10f778800d 100644
@@ -19874,7 +19874,6 @@ M:	Jarkko Nikula <[email protected]>
  L:	[email protected]
  L:	[email protected]
  S:	Maintained
-F:	sound/soc/ti/n810.c
  F:	sound/soc/ti/omap*
  F:	sound/soc/ti/rx51.c
  F:	sound/soc/ti/sdma-pcm.*
@@ -20027,7 +20026,6 @@ F:	drivers/gpio/gpio-tps65219.c
  F:	drivers/i2c/busses/i2c-omap.c
  F:	drivers/irqchip/irq-omap-intc.c
  F:	drivers/mfd/*omap*.c
-F:	drivers/mfd/menelaus.c
  F:	drivers/mfd/palmas.c
  F:	drivers/mfd/tps65217.c
  F:	drivers/mfd/tps65218.c
arch/arm/boot/dts/ti/omap/Makefile +0 -6
index 498c36ccb5ea..3c5d378df6b9 100644
@@ -1,10 +1,4 @@
  # SPDX-License-Identifier: GPL-2.0
-dtb-$(CONFIG_ARCH_OMAP2) += \
-	omap2420-h4.dtb \
-	omap2420-n800.dtb \
-	omap2420-n810.dtb \
-	omap2420-n810-wimax.dtb \
-	omap2430-sdp.dtb
  dtb-$(CONFIG_ARCH_OMAP3) += \
  	am3517-craneboard.dtb \
  	am3517-evm.dtb \
arch/arm/boot/dts/ti/omap/omap2.dtsi deleted +0 -338
deleted file mode 100644
index fdc1790adf43..000000000000
@@ -1,338 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * Device Tree Source for OMAP2 SoC
- *
- * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
- */
-
-#include <dt-bindings/bus/ti-sysc.h>
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/interrupt-controller/irq.h>
-#include <dt-bindings/pinctrl/omap.h>
-
-/ {
-	compatible = "ti,omap2430", "ti,omap2420", "ti,omap2";
-	interrupt-parent = <&intc>;
-	#address-cells = <1>;
-	#size-cells = <1>;
-	chosen { };
-
-	aliases {
-		serial0 = &uart1;
-		serial1 = &uart2;
-		serial2 = &uart3;
-		i2c0 = &i2c1;
-		i2c1 = &i2c2;
-	};
-
-	cpus {
-		#address-cells = <0>;
-		#size-cells = <0>;
-
-		cpu {
-			compatible = "arm,arm1136jf-s";
-			device_type = "cpu";
-		};
-	};
-
-	pmu {
-		compatible = "arm,arm1136-pmu";
-		interrupts = <3>;
-	};
-
-	soc {
-		compatible = "ti,omap-infra";
-		mpu {
-			compatible = "ti,omap2-mpu";
-			ti,hwmods = "mpu";
-		};
-	};
-
-	ocp {
-		compatible = "simple-bus";
-		#address-cells = <1>;
-		#size-cells = <1>;
-		ranges;
-		ti,hwmods = "l3_main";
-
-		aes: aes@480a6000 {
-			compatible = "ti,omap2-aes";
-			ti,hwmods = "aes";
-			reg = <0x480a6000 0x50>;
-			dmas = <&sdma 9 &sdma 10>;
-			dma-names = "tx", "rx";
-		};
-
-		hdq1w: 1w@480b2000 {
-			compatible = "ti,omap2420-1w";
-			ti,hwmods = "hdq1w";
-			reg = <0x480b2000 0x1000>;
-			interrupts = <58>;
-		};
-
-		intc: interrupt-controller@1 {
-			compatible = "ti,omap2-intc";
-			interrupt-controller;
-			#interrupt-cells = <1>;
-			reg = <0x480FE000 0x1000>;
-		};
-
-		target-module@48056000 {
-			compatible = "ti,sysc-omap2", "ti,sysc";
-			reg = <0x48056000 0x4>,
-			      <0x4805602c 0x4>,
-			      <0x48056028 0x4>;
-			reg-names = "rev", "sysc", "syss";
-			ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
-					 SYSC_OMAP2_EMUFREE |
-					 SYSC_OMAP2_SOFTRESET |
-					 SYSC_OMAP2_AUTOIDLE)>;
-			ti,sysc-midle = <SYSC_IDLE_FORCE>,
-					<SYSC_IDLE_NO>,
-					<SYSC_IDLE_SMART>;
-			ti,syss-mask = <1>;
-			clocks = <&core_l3_ck>;
-			clock-names = "fck";
-			#address-cells = <1>;
-			#size-cells = <1>;
-			ranges = <0 0x48056000 0x1000>;
-
-			sdma: dma-controller@0 {
-				compatible = "ti,omap2420-sdma", "ti,omap-sdma";
-				reg = <0 0x1000>;
-				interrupts = <12>,
-					     <13>,
-					     <14>,
-					     <15>;
-				#dma-cells = <1>;
-				dma-channels = <32>;
-				dma-requests = <64>;
-			};
-		};
-
-		i2c1: i2c@48070000 {
-			compatible = "ti,omap2-i2c";
-			ti,hwmods = "i2c1";
-			reg = <0x48070000 0x80>;
-			#address-cells = <1>;
-			#size-cells = <0>;
-			interrupts = <56>;
-		};
-
-		i2c2: i2c@48072000 {
-			compatible = "ti,omap2-i2c";
-			ti,hwmods = "i2c2";
-			reg = <0x48072000 0x80>;
-			#address-cells = <1>;
-			#size-cells = <0>;
-			interrupts = <57>;
-		};
-
-		mcspi1: spi@48098000 {
-			#address-cells = <1>;
-			#size-cells = <0>;
-			compatible = "ti,omap2-mcspi";
-			ti,hwmods = "mcspi1";
-			reg = <0x48098000 0x100>;
-			interrupts = <65>;
-			dmas = <&sdma 35 &sdma 36 &sdma 37 &sdma 38
-				&sdma 39 &sdma 40 &sdma 41 &sdma 42>;
-			dma-names = "tx0", "rx0", "tx1", "rx1",
-				    "tx2", "rx2", "tx3", "rx3";
-		};
-
-		mcspi2: spi@4809a000 {
-			#address-cells = <1>;
-			#size-cells = <0>;
-			compatible = "ti,omap2-mcspi";
-			ti,hwmods = "mcspi2";
-			reg = <0x4809a000 0x100>;
-			interrupts = <66>;
-			dmas = <&sdma 43 &sdma 44 &sdma 45 &sdma 46>;
-			dma-names = "tx0", "rx0", "tx1", "rx1";
-		};
-
-		rng: rng@480a0000 {
-			compatible = "ti,omap2-rng";
-			ti,hwmods = "rng";
-			reg = <0x480a0000 0x50>;
-			interrupts = <52>;
-		};
-
-		sham: sham@480a4000 {
-			compatible = "ti,omap2-sham";
-			ti,hwmods = "sham";
-			reg = <0x480a4000 0x64>;
-			interrupts = <51>;
-			dmas = <&sdma 13>;
-			dma-names = "rx";
-		};
-
-		uart1: serial@4806a000 {
-			compatible = "ti,omap2-uart";
-			ti,hwmods = "uart1";
-			reg = <0x4806a000 0x2000>;
-			interrupts = <72>;
-			dmas = <&sdma 49 &sdma 50>;
-			dma-names = "tx", "rx";
-			clock-frequency = <48000000>;
-		};
-
-		uart2: serial@4806c000 {
-			compatible = "ti,omap2-uart";
-			ti,hwmods = "uart2";
-			reg = <0x4806c000 0x400>;
-			interrupts = <73>;
-			dmas = <&sdma 51 &sdma 52>;
-			dma-names = "tx", "rx";
-			clock-frequency = <48000000>;
-		};
-
-		uart3: serial@4806e000 {
-			compatible = "ti,omap2-uart";
-			ti,hwmods = "uart3";
-			reg = <0x4806e000 0x400>;
-			interrupts = <74>;
-			dmas = <&sdma 53 &sdma 54>;
-			dma-names = "tx", "rx";
-			clock-frequency = <48000000>;
-		};
-
-		timer2_target: target-module@4802a000 {
-			compatible = "ti,sysc-omap2-timer", "ti,sysc";
-			reg = <0x4802a000 0x4>,
-			      <0x4802a010 0x4>,
-			      <0x4802a014 0x4>;
-			reg-names = "rev", "sysc", "syss";
-			ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
-					 SYSC_OMAP2_EMUFREE |
-					 SYSC_OMAP2_ENAWAKEUP |
-					 SYSC_OMAP2_SOFTRESET |
-					 SYSC_OMAP2_AUTOIDLE)>;
-			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
-					<SYSC_IDLE_NO>,
-					<SYSC_IDLE_SMART>;
-			ti,syss-mask = <1>;
-			clocks = <&gpt2_fck>, <&gpt2_ick>;
-			clock-names = "fck", "ick";
-			#address-cells = <1>;
-			#size-cells = <1>;
-			ranges = <0x0 0x4802a000 0x1000>;
-
-			timer2: timer@0 {
-				compatible = "ti,omap2420-timer";
-				reg = <0 0x400>;
-				interrupts = <38>;
-			};
-		};
-
-		timer3: timer@48078000 {
-			compatible = "ti,omap2420-timer";
-			reg = <0x48078000 0x400>;
-			interrupts = <39>;
-			ti,hwmods = "timer3";
-		};
-
-		timer4: timer@4807a000 {
-			compatible = "ti,omap2420-timer";
-			reg = <0x4807a000 0x400>;
-			interrupts = <40>;
-			ti,hwmods = "timer4";
-		};
-
-		timer5: timer@4807c000 {
-			compatible = "ti,omap2420-timer";
-			reg = <0x4807c000 0x400>;
-			interrupts = <41>;
-			ti,hwmods = "timer5";
-			ti,timer-dsp;
-		};
-
-		timer6: timer@4807e000 {
-			compatible = "ti,omap2420-timer";
-			reg = <0x4807e000 0x400>;
-			interrupts = <42>;
-			ti,hwmods = "timer6";
-			ti,timer-dsp;
-		};
-
-		timer7: timer@48080000 {
-			compatible = "ti,omap2420-timer";
-			reg = <0x48080000 0x400>;
-			interrupts = <43>;
-			ti,hwmods = "timer7";
-			ti,timer-dsp;
-		};
-
-		timer8: timer@48082000 {
-			compatible = "ti,omap2420-timer";
-			reg = <0x48082000 0x400>;
-			interrupts = <44>;
-			ti,hwmods = "timer8";
-			ti,timer-dsp;
-		};
-
-		timer9: timer@48084000 {
-			compatible = "ti,omap2420-timer";
-			reg = <0x48084000 0x400>;
-			interrupts = <45>;
-			ti,hwmods = "timer9";
-			ti,timer-pwm;
-		};
-
-		timer10: timer@48086000 {
-			compatible = "ti,omap2420-timer";
-			reg = <0x48086000 0x400>;
-			interrupts = <46>;
-			ti,hwmods = "timer10";
-			ti,timer-pwm;
-		};
-
-		timer11: timer@48088000 {
-			compatible = "ti,omap2420-timer";
-			reg = <0x48088000 0x400>;
-			interrupts = <47>;
-			ti,hwmods = "timer11";
-			ti,timer-pwm;
-		};
-
-		timer12: timer@4808a000 {
-			compatible = "ti,omap2420-timer";
-			reg = <0x4808a000 0x400>;
-			interrupts = <48>;
-			ti,hwmods = "timer12";
-			ti,timer-pwm;
-		};
-
-		dss: dss@48050000 {
-			compatible = "ti,omap2-dss";
-			reg = <0x48050000 0x400>;
-			status = "disabled";
-			ti,hwmods = "dss_core";
-			#address-cells = <1>;
-			#size-cells = <1>;
-			ranges;
-
-			dispc@48050400 {
-				compatible = "ti,omap2-dispc";
-				reg = <0x48050400 0x400>;
-				interrupts = <25>;
-				ti,hwmods = "dss_dispc";
-			};
-
-			rfbi: encoder@48050800 {
-				compatible = "ti,omap2-rfbi";
-				reg = <0x48050800 0x400>;
-				status = "disabled";
-				ti,hwmods = "dss_rfbi";
-			};
-
-			venc: encoder@48050c00 {
-				compatible = "ti,omap2-venc";
-				reg = <0x48050c00 0x400>;
-				status = "disabled";
-				ti,hwmods = "dss_venc";
-			};
-		};
-	};
-};
arch/arm/boot/dts/ti/omap/omap2420-clocks.dtsi deleted +0 -267
deleted file mode 100644
index 00a7a199a91c..000000000000
@@ -1,267 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * Device Tree Source for OMAP2420 clock data
- *
- * Copyright (C) 2014 Texas Instruments, Inc.
- */
-
-&prcm_clocks {
-	sys_clkout2_src_gate: sys_clkout2_src_gate@70 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-no-wait-gate-clock";
-		clocks = <&core_ck>;
-		ti,bit-shift = <15>;
-		reg = <0x0070>;
-	};
-
-	sys_clkout2_src_mux: sys_clkout2_src_mux@70 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-mux-clock";
-		clocks = <&core_ck>, <&sys_ck>, <&func_96m_ck>, <&func_54m_ck>;
-		ti,bit-shift = <8>;
-		reg = <0x0070>;
-	};
-
-	sys_clkout2_src: sys_clkout2_src {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&sys_clkout2_src_gate>, <&sys_clkout2_src_mux>;
-	};
-
-	sys_clkout2: sys_clkout2@70 {
-		#clock-cells = <0>;
-		compatible = "ti,divider-clock";
-		clocks = <&sys_clkout2_src>;
-		ti,bit-shift = <11>;
-		ti,max-div = <64>;
-		reg = <0x0070>;
-		ti,index-power-of-two;
-	};
-
-	dsp_gate_ick: dsp_gate_ick@810 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-interface-clock";
-		clocks = <&dsp_fck>;
-		ti,bit-shift = <1>;
-		reg = <0x0810>;
-	};
-
-	dsp_div_ick: dsp_div_ick@840 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-divider-clock";
-		clocks = <&dsp_fck>;
-		ti,bit-shift = <5>;
-		ti,max-div = <3>;
-		reg = <0x0840>;
-		ti,index-starts-at-one;
-	};
-
-	dsp_ick: dsp_ick {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&dsp_gate_ick>, <&dsp_div_ick>;
-	};
-
-	iva1_gate_ifck: iva1_gate_ifck@800 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-gate-clock";
-		clocks = <&core_ck>;
-		ti,bit-shift = <10>;
-		reg = <0x0800>;
-	};
-
-	iva1_div_ifck: iva1_div_ifck@840 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-divider-clock";
-		clocks = <&core_ck>;
-		ti,bit-shift = <8>;
-		reg = <0x0840>;
-		ti,dividers = <0>, <1>, <2>, <3>, <4>, <0>, <6>, <0>, <8>, <0>, <0>, <0>, <12>;
-	};
-
-	iva1_ifck: iva1_ifck {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&iva1_gate_ifck>, <&iva1_div_ifck>;
-	};
-
-	iva1_ifck_div: iva1_ifck_div {
-		#clock-cells = <0>;
-		compatible = "fixed-factor-clock";
-		clocks = <&iva1_ifck>;
-		clock-mult = <1>;
-		clock-div = <2>;
-	};
-
-	iva1_mpu_int_ifck: iva1_mpu_int_ifck@800 {
-		#clock-cells = <0>;
-		compatible = "ti,wait-gate-clock";
-		clocks = <&iva1_ifck_div>;
-		ti,bit-shift = <8>;
-		reg = <0x0800>;
-	};
-
-	wdt3_ick: wdt3_ick@210 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <28>;
-		reg = <0x0210>;
-	};
-
-	wdt3_fck: wdt3_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,wait-gate-clock";
-		clocks = <&func_32k_ck>;
-		ti,bit-shift = <28>;
-		reg = <0x0200>;
-	};
-
-	mmc_ick: mmc_ick@210 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <26>;
-		reg = <0x0210>;
-	};
-
-	mmc_fck: mmc_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,wait-gate-clock";
-		clocks = <&func_96m_ck>;
-		ti,bit-shift = <26>;
-		reg = <0x0200>;
-	};
-
-	eac_ick: eac_ick@210 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <24>;
-		reg = <0x0210>;
-	};
-
-	eac_fck: eac_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,wait-gate-clock";
-		clocks = <&func_96m_ck>;
-		ti,bit-shift = <24>;
-		reg = <0x0200>;
-	};
-
-	i2c1_fck: i2c1_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,wait-gate-clock";
-		clocks = <&func_12m_ck>;
-		ti,bit-shift = <19>;
-		reg = <0x0200>;
-	};
-
-	i2c2_fck: i2c2_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,wait-gate-clock";
-		clocks = <&func_12m_ck>;
-		ti,bit-shift = <20>;
-		reg = <0x0200>;
-	};
-
-	vlynq_ick: vlynq_ick@210 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&core_l3_ck>;
-		ti,bit-shift = <3>;
-		reg = <0x0210>;
-	};
-
-	vlynq_gate_fck: vlynq_gate_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-gate-clock";
-		clocks = <&core_ck>;
-		ti,bit-shift = <3>;
-		reg = <0x0200>;
-	};
-
-	core_d18_ck: core_d18_ck {
-		#clock-cells = <0>;
-		compatible = "fixed-factor-clock";
-		clocks = <&core_ck>;
-		clock-mult = <1>;
-		clock-div = <18>;
-	};
-
-	vlynq_mux_fck: vlynq_mux_fck@240 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-mux-clock";
-		clocks = <&func_96m_ck>, <&core_ck>, <&core_d2_ck>, <&core_d3_ck>, <&core_d4_ck>, <&dummy_ck>, <&core_d6_ck>, <&dummy_ck>, <&core_d8_ck>, <&core_d9_ck>, <&dummy_ck>, <&dummy_ck>, <&core_d12_ck>, <&dummy_ck>, <&dummy_ck>, <&dummy_ck>, <&core_d16_ck>, <&dummy_ck>, <&core_d18_ck>;
-		ti,bit-shift = <15>;
-		reg = <0x0240>;
-	};
-
-	vlynq_fck: vlynq_fck {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&vlynq_gate_fck>, <&vlynq_mux_fck>;
-	};
-};
-
-&prcm_clockdomains {
-	gfx_clkdm: gfx_clkdm {
-		compatible = "ti,clockdomain";
-		clocks = <&gfx_ick>;
-	};
-
-	core_l3_clkdm: core_l3_clkdm {
-		compatible = "ti,clockdomain";
-		clocks = <&cam_fck>, <&vlynq_ick>, <&usb_fck>;
-	};
-
-	wkup_clkdm: wkup_clkdm {
-		compatible = "ti,clockdomain";
-		clocks = <&dpll_ck>, <&emul_ck>, <&gpt1_ick>, <&gpios_ick>,
-			 <&gpios_fck>, <&mpu_wdt_ick>, <&mpu_wdt_fck>,
-			 <&sync_32k_ick>, <&wdt1_ick>, <&omapctrl_ick>;
-	};
-
-	iva1_clkdm: iva1_clkdm {
-		compatible = "ti,clockdomain";
-		clocks = <&iva1_mpu_int_ifck>;
-	};
-
-	dss_clkdm: dss_clkdm {
-		compatible = "ti,clockdomain";
-		clocks = <&dss_ick>, <&dss_54m_fck>;
-	};
-
-	core_l4_clkdm: core_l4_clkdm {
-		compatible = "ti,clockdomain";
-		clocks = <&ssi_l4_ick>, <&gpt2_ick>, <&gpt3_ick>, <&gpt4_ick>,
-			 <&gpt5_ick>, <&gpt6_ick>, <&gpt7_ick>, <&gpt8_ick>,
-			 <&gpt9_ick>, <&gpt10_ick>, <&gpt11_ick>, <&gpt12_ick>,
-			 <&mcbsp1_ick>, <&mcbsp2_ick>, <&mcspi1_ick>,
-			 <&mcspi1_fck>, <&mcspi2_ick>, <&mcspi2_fck>,
-			 <&uart1_ick>, <&uart1_fck>, <&uart2_ick>, <&uart2_fck>,
-			 <&uart3_ick>, <&uart3_fck>, <&cam_ick>,
-			 <&mailboxes_ick>, <&wdt4_ick>, <&wdt4_fck>,
-			 <&wdt3_ick>, <&wdt3_fck>, <&mspro_ick>, <&mspro_fck>,
-			 <&mmc_ick>, <&mmc_fck>, <&fac_ick>, <&fac_fck>,
-			 <&eac_ick>, <&eac_fck>, <&hdq_ick>, <&hdq_fck>,
-			 <&i2c1_ick>, <&i2c1_fck>, <&i2c2_ick>, <&i2c2_fck>,
-			 <&des_ick>, <&sha_ick>, <&rng_ick>, <&aes_ick>,
-			 <&pka_ick>;
-	};
-};
-
-&func_96m_ck {
-	compatible = "fixed-factor-clock";
-	clocks = <&apll96_ck>;
-	clock-mult = <1>;
-	clock-div = <1>;
-};
-
-&dsp_div_fck {
-	ti,dividers = <0>, <1>, <2>, <3>, <4>, <0>, <6>, <0>, <8>, <0>, <0>, <0>, <12>;
-};
-
-&ssi_ssr_sst_div_fck {
-	ti,dividers = <0>, <1>, <2>, <3>, <4>, <0>, <6>, <0>, <8>;
-};
arch/arm/boot/dts/ti/omap/omap2420-h4.dts deleted +0 -63
deleted file mode 100644
index 5acf5dd87c59..000000000000
@@ -1,63 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
- */
-/dts-v1/;
-
-#include "omap2420.dtsi"
-
-/ {
-	model = "TI OMAP2420 H4 board";
-	compatible = "ti,omap2420-h4", "ti,omap2420", "ti,omap2";
-
-	memory@80000000 {
-		device_type = "memory";
-		reg = <0x80000000 0x4000000>; /* 64 MB */
-	};
-};
-
-&gpmc {
-	ranges = <0 0 0x08000000 0x04000000>;
-
-	nor@0,0 {
-		compatible = "cfi-flash";
-		linux,mtd-name = "intel,ge28f256l18b85";
-		#address-cells = <1>;
-		#size-cells = <1>;
-		reg = <0 0 0x04000000>;
-		bank-width = <2>;
-
-		gpmc,mux-add-data = <2>;
-		gpmc,cs-on-ns = <10>;
-		gpmc,cs-rd-off-ns = <160>;
-		gpmc,cs-wr-off-ns = <160>;
-		gpmc,adv-on-ns = <20>;
-		gpmc,adv-rd-off-ns = <50>;
-		gpmc,adv-wr-off-ns = <50>;
-		gpmc,oe-on-ns = <60>;
-		gpmc,oe-off-ns = <120>;
-		gpmc,we-on-ns = <60>;
-		gpmc,we-off-ns = <120>;
-		gpmc,rd-cycle-ns = <170>;
-		gpmc,wr-cycle-ns = <170>;
-		gpmc,access-ns = <150>;
-		gpmc,page-burst-access-ns = <10>;
-
-		partition@0 {
-			label = "bootloader";
-			reg = <0 0x20000>;
-		};
-		partition@20000 {
-			label = "params";
-			reg = <0x20000 0x20000>;
-		};
-		partition@40000 {
-			label = "kernel";
-			reg = <0x40000 0x200000>;
-		};
-		partition@240000 {
-			label = "file-system";
-			reg = <0x240000 0x3dc0000>;
-		};
-	};
-};
arch/arm/boot/dts/ti/omap/omap2420-n800.dts deleted +0 -9
deleted file mode 100644
index f06d767e818b..000000000000
@@ -1,9 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0
-/dts-v1/;
-
-#include "omap2420-n8x0-common.dtsi"
-
-/ {
-	model = "Nokia N800";
-	compatible = "nokia,n800", "nokia,n8x0", "ti,omap2420", "ti,omap2";
-};
arch/arm/boot/dts/ti/omap/omap2420-n810-wimax.dts deleted +0 -9
deleted file mode 100644
index ac9acbd609b6..000000000000
@@ -1,9 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0
-/dts-v1/;
-
-#include "omap2420-n8x0-common.dtsi"
-
-/ {
-	model = "Nokia N810 WiMax";
-	compatible = "nokia,n810-wimax", "nokia,n8x0", "ti,omap2420", "ti,omap2";
-};
arch/arm/boot/dts/ti/omap/omap2420-n810.dts deleted +0 -75
deleted file mode 100644
index 3bf8175d85a8..000000000000
@@ -1,75 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0
-/dts-v1/;
-
-#include "omap2420-n8x0-common.dtsi"
-
-/ {
-	model = "Nokia N810";
-	compatible = "nokia,n810", "nokia,n8x0", "ti,omap2420", "ti,omap2";
-
-	vio_ape: vio_ape {
-		compatible = "regulator-fixed";
-		regulator-name = "vio_ape";
-		regulator-min-microvolt = <1800000>;
-		regulator-max-microvolt = <1800000>;
-	};
-
-	v28_aic: v28_aic {
-		compatible = "regulator-fixed";
-		regulator-name = "v28_aic";
-		regulator-min-microvolt = <2800000>;
-		regulator-max-microvolt = <2800000>;
-	};
-};
-
-&omap2420_pmx {
-	mcbsp2_pins: mcbsp2-pins {
-		pinctrl-single,pins = <
-			OMAP2420_CORE_IOPAD(0x0124, PIN_INPUT | MUX_MODE1)	/* eac_ac_sclk.mcbsp2_clkx */
-			OMAP2420_CORE_IOPAD(0x0125, PIN_INPUT | MUX_MODE1)	/* eac_ac_fs.mcbsp2_fsx */
-			OMAP2420_CORE_IOPAD(0x0126, PIN_INPUT | MUX_MODE1)	/* eac_ac_din.mcbsp2_dr */
-			OMAP2420_CORE_IOPAD(0x0127, PIN_OUTPUT | MUX_MODE1)	/* eac_ac_dout.mcbsp2_dx */
-		>;
-	};
-
-	aic33_pins: aic33-pins {
-		pinctrl-single,pins = <
-			OMAP2420_CORE_IOPAD(0x0129, PIN_OUTPUT | MUX_MODE3)	/* eac_ac_rst.gpio118 */
-			OMAP2420_CORE_IOPAD(0x00e8, PIN_OUTPUT | MUX_MODE2)	/* vlynq_tx1.sys_clkout2 */
-		>;
-	};
-};
-
-&i2c2 {
-	aic33@18 {
-		compatible = "ti,tlv320aic33";
-		reg = <0x18>;
-
-		pinctrl-names = "default";
-		pinctrl-0 = <&aic33_pins>;
-
-		reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>; /* gpio118 */
-
-		ai3x-gpio-func = <
-			10 /* AIC3X_GPIO1_FUNC_DIGITAL_MIC_MODCLK */
-			5 /* AIC3X_GPIO2_FUNC_DIGITAL_MIC_INPUT */
-		>;
-		ai3x-micbias-vg = <1>; /* 2V */
-
-		AVDD-supply = <&v28_aic>;
-		DRVDD-supply = <&v28_aic>;
-		IOVDD-supply = <&vio_ape>;
-		DVDD-supply = <&vio_ape>;
-
-		assigned-clocks = <&sys_clkout2_src>, <&sys_clkout2>;
-		assigned-clock-parents = <&func_96m_ck>;
-		assigned-clock-rates = <0>, <12000000>;
-	};
-};
-
-&mcbsp2 {
-	pinctrl-names = "default";
-	pinctrl-0 = <&mcbsp2_pins>;
-
-	status = "okay";
-};
arch/arm/boot/dts/ti/omap/omap2420-n8x0-common.dtsi deleted +0 -123
deleted file mode 100644
index fe9dd8bbfc85..000000000000
@@ -1,123 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0
-#include "omap2420.dtsi"
-
-/ {
-	memory@80000000 {
-		device_type = "memory";
-		reg = <0x80000000 0x8000000>; /* 128 MB */
-	};
-
-	chosen {
-		stdout-path = &uart3;
-	};
-
-	ocp {
-		i2c0 {
-			compatible = "i2c-cbus-gpio";
-			gpios = <&gpio3 2 GPIO_ACTIVE_HIGH /* gpio66 clk */
-				 &gpio3 1 GPIO_ACTIVE_HIGH /* gpio65 dat */
-				 &gpio3 0 GPIO_ACTIVE_HIGH /* gpio64 sel */
-				>;
-			#address-cells = <1>;
-			#size-cells = <0>;
-			retu: retu@1 {
-				compatible = "nokia,retu";
-				interrupt-parent = <&gpio4>;
-				interrupts = <12 IRQ_TYPE_EDGE_RISING>;
-				reg = <0x1>;
-			};
-		};
-	};
-};
-
-&i2c1 {
-	clock-frequency = <400000>;
-
-	pmic@72 {
-		compatible = "menelaus";
-		reg = <0x72>;
-		interrupts = <7 IRQ_TYPE_EDGE_RISING>;
-	};
-};
-
-&i2c2 {
-	clock-frequency = <400000>;
-};
-
-&gpmc {
-	ranges = <0 0 0x04000000 0x1000000>;	/* CS0: 16MB for OneNAND */
-
-	/* gpio-irq for dma: 26 */
-
-	onenand@0,0 {
-		#address-cells = <1>;
-		#size-cells = <1>;
-		compatible = "ti,omap2-onenand";
-		reg = <0 0 0x20000>;	/* CS0, offset 0, IO size 128K */
-
-		gpmc,sync-read;
-		gpmc,burst-length = <16>;
-		gpmc,burst-read;
-		gpmc,burst-wrap;
-		gpmc,device-width = <2>;
-		gpmc,mux-add-data = <2>;
-		gpmc,cs-on-ns = <0>;
-		gpmc,cs-rd-off-ns = <127>;
-		gpmc,cs-wr-off-ns = <109>;
-		gpmc,adv-on-ns = <0>;
-		gpmc,adv-rd-off-ns = <18>;
-		gpmc,adv-wr-off-ns = <18>;
-		gpmc,oe-on-ns = <27>;
-		gpmc,oe-off-ns = <127>;
-		gpmc,we-on-ns = <27>;
-		gpmc,we-off-ns = <72>;
-		gpmc,rd-cycle-ns = <145>;
-		gpmc,wr-cycle-ns = <136>;
-		gpmc,access-ns = <118>;
-		gpmc,page-burst-access-ns = <27>;
-		gpmc,bus-turnaround-ns = <0>;
-		gpmc,cycle2cycle-delay-ns = <0>;
-		gpmc,wait-monitoring-ns = <0>;
-		gpmc,clk-activation-ns = <9>;
-		gpmc,sync-clk-ps = <27000>;
-
-		/* MTD partition table corresponding to old board-n8x0 file. */
-		partition@0 {
-			label = "bootloader";
-			reg = <0x00000000 0x00020000>;
-			read-only;
-		};
-		partition@1 {
-			label = "config";
-			reg = <0x00020000 0x00060000>;
-		};
-		partition@2 {
-			label = "kernel";
-			reg = <0x00080000 0x00200000>;
-		};
-		partition@3 {
-			label = "initfs";
-			reg = <0x00280000 0x00400000>;
-		};
-		partition@4 {
-			label = "rootfs";
-			reg = <0x00680000 0x0f980000>;
-		};
-		partition@5 {
-			label = "omap2-onenand";
-			reg = <0x00000000 0x10000000>;
-		};
-	};
-};
-
-&mcspi2 {
-	status = "okay";
-
-	wifi@0 {
-		reg = <0>;
-		compatible = "st,stlc4560";
-		spi-max-frequency = <48000000>;
-		interrupts-extended = <&gpio3 23 IRQ_TYPE_EDGE_RISING>;
-		powerdown-gpios = <&gpio4 1 GPIO_ACTIVE_LOW>; /* gpio 97 */
-	};
-};
arch/arm/boot/dts/ti/omap/omap2420.dtsi deleted +0 -262
deleted file mode 100644
index 821da51cb870..000000000000
@@ -1,262 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * Device Tree Source for OMAP2420 SoC
- *
- * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
- */
-
-#include "omap2.dtsi"
-
-/ {
-	compatible = "ti,omap2420", "ti,omap2";
-
-	ocp {
-		l4: l4@48000000 {
-			compatible = "ti,omap2-l4", "simple-bus";
-			#address-cells = <1>;
-			#size-cells = <1>;
-			ranges = <0 0x48000000 0x100000>;
-
-			prcm: prcm@8000 {
-				compatible = "ti,omap2-prcm";
-				reg = <0x8000 0x1000>;
-
-				prcm_clocks: clocks {
-					#address-cells = <1>;
-					#size-cells = <0>;
-				};
-
-				prcm_clockdomains: clockdomains {
-				};
-			};
-
-			scm: scm@0 {
-				compatible = "ti,omap2-scm", "simple-bus";
-				reg = <0x0 0x1000>;
-				#address-cells = <1>;
-				#size-cells = <1>;
-				#pinctrl-cells = <1>;
-				ranges = <0 0x0 0x1000>;
-
-				omap2420_pmx: pinmux@30 {
-					compatible = "ti,omap2420-padconf",
-						     "pinctrl-single";
-					reg = <0x30 0x0113>;
-					#address-cells = <1>;
-					#size-cells = <0>;
-					#pinctrl-cells = <1>;
-					pinctrl-single,register-width = <8>;
-					pinctrl-single,function-mask = <0x3f>;
-				};
-
-				scm_conf: scm_conf@270 {
-					compatible = "syscon";
-					reg = <0x270 0x100>;
-					#address-cells = <1>;
-					#size-cells = <1>;
-
-					scm_clocks: clocks {
-						#address-cells = <1>;
-						#size-cells = <0>;
-					};
-				};
-
-				scm_clockdomains: clockdomains {
-				};
-			};
-
-			target-module@4000 {
-				compatible = "ti,sysc-omap2", "ti,sysc";
-				reg = <0x4000 0x4>,
-				      <0x4004 0x4>;
-				reg-names = "rev", "sysc";
-				ti,sysc-sidle = <SYSC_IDLE_FORCE>,
-						<SYSC_IDLE_NO>;
-				clocks = <&func_32k_ck>;
-				clock-names = "fck";
-				#address-cells = <1>;
-				#size-cells = <1>;
-				ranges = <0x0 0x4000 0x1000>;
-
-				counter32k: counter@0 {
-					compatible = "ti,omap-counter32k";
-					reg = <0 0x20>;
-				};
-			};
-		};
-
-		gpio1: gpio@48018000 {
-			compatible = "ti,omap2-gpio";
-			reg = <0x48018000 0x200>;
-			interrupts = <29>;
-			ti,hwmods = "gpio1";
-			ti,gpio-always-on;
-			#gpio-cells = <2>;
-			gpio-controller;
-			#interrupt-cells = <2>;
-			interrupt-controller;
-		};
-
-		gpio2: gpio@4801a000 {
-			compatible = "ti,omap2-gpio";
-			reg = <0x4801a000 0x200>;
-			interrupts = <30>;
-			ti,hwmods = "gpio2";
-			ti,gpio-always-on;
-			#gpio-cells = <2>;
-			gpio-controller;
-			#interrupt-cells = <2>;
-			interrupt-controller;
-		};
-
-		gpio3: gpio@4801c000 {
-			compatible = "ti,omap2-gpio";
-			reg = <0x4801c000 0x200>;
-			interrupts = <31>;
-			ti,hwmods = "gpio3";
-			ti,gpio-always-on;
-			#gpio-cells = <2>;
-			gpio-controller;
-			#interrupt-cells = <2>;
-			interrupt-controller;
-		};
-
-		gpio4: gpio@4801e000 {
-			compatible = "ti,omap2-gpio";
-			reg = <0x4801e000 0x200>;
-			interrupts = <32>;
-			ti,hwmods = "gpio4";
-			ti,gpio-always-on;
-			#gpio-cells = <2>;
-			gpio-controller;
-			#interrupt-cells = <2>;
-			interrupt-controller;
-		};
-
-		gpmc: gpmc@6800a000 {
-			compatible = "ti,omap2420-gpmc";
-			reg = <0x6800a000 0x1000>;
-			#address-cells = <2>;
-			#size-cells = <1>;
-			interrupts = <20>;
-			gpmc,num-cs = <8>;
-			gpmc,num-waitpins = <4>;
-			ti,hwmods = "gpmc";
-			interrupt-controller;
-			#interrupt-cells = <2>;
-			gpio-controller;
-			#gpio-cells = <2>;
-		};
-
-		mcbsp1: mcbsp@48074000 {
-			compatible = "ti,omap2420-mcbsp";
-			reg = <0x48074000 0xff>;
-			reg-names = "mpu";
-			interrupts = <59>, /* TX interrupt */
-				     <60>; /* RX interrupt */
-			interrupt-names = "tx", "rx";
-			ti,hwmods = "mcbsp1";
-			dmas = <&sdma 31>,
-			       <&sdma 32>;
-			dma-names = "tx", "rx";
-			status = "disabled";
-		};
-
-		mcbsp2: mcbsp@48076000 {
-			compatible = "ti,omap2420-mcbsp";
-			reg = <0x48076000 0xff>;
-			reg-names = "mpu";
-			interrupts = <62>, /* TX interrupt */
-				     <63>; /* RX interrupt */
-			interrupt-names = "tx", "rx";
-			ti,hwmods = "mcbsp2";
-			dmas = <&sdma 33>,
-			       <&sdma 34>;
-			dma-names = "tx", "rx";
-			status = "disabled";
-		};
-
-		msdi1: mmc@4809c000 {
-			compatible = "ti,omap2420-mmc";
-			ti,hwmods = "msdi1";
-			reg = <0x4809c000 0x80>;
-			interrupts = <83>;
-			dmas = <&sdma 61 &sdma 62>;
-			dma-names = "tx", "rx";
-		};
-
-		mailbox: mailbox@48094000 {
-			compatible = "ti,omap2-mailbox";
-			reg = <0x48094000 0x200>;
-			interrupts = <26>, <34>;
-			ti,hwmods = "mailbox";
-			#mbox-cells = <1>;
-			ti,mbox-num-users = <4>;
-			ti,mbox-num-fifos = <6>;
-			mbox_dsp: mbox-dsp {
-				ti,mbox-tx = <0 0 0>;
-				ti,mbox-rx = <1 0 0>;
-			};
-			mbox_iva: mbox-iva {
-				ti,mbox-tx = <2 1 3>;
-				ti,mbox-rx = <3 1 3>;
-			};
-		};
-
-		timer1_target: target-module@48028000 {
-			compatible = "ti,sysc-omap2-timer", "ti,sysc";
-			reg = <0x48028000 0x4>,
-			      <0x48028010 0x4>,
-			      <0x48028014 0x4>;
-			reg-names = "rev", "sysc", "syss";
-			ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
-					 SYSC_OMAP2_EMUFREE |
-					 SYSC_OMAP2_ENAWAKEUP |
-					 SYSC_OMAP2_SOFTRESET |
-					 SYSC_OMAP2_AUTOIDLE)>;
-			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
-					<SYSC_IDLE_NO>,
-					<SYSC_IDLE_SMART>;
-			ti,syss-mask = <1>;
-			clocks = <&gpt1_fck>, <&gpt1_ick>;
-			clock-names = "fck", "ick";
-			#address-cells = <1>;
-			#size-cells = <1>;
-			ranges = <0x0 0x48028000 0x1000>;
-
-			timer1: timer@0 {
-				compatible = "ti,omap2420-timer";
-				reg = <0 0x400>;
-				interrupts = <37>;
-				ti,timer-alwon;
-			};
-		};
-
-		wd_timer2: wdt@48022000 {
-			compatible = "ti,omap2-wdt";
-			ti,hwmods = "wd_timer2";
-			reg = <0x48022000 0x80>;
-		};
-	};
-};
-
-&i2c1 {
-	compatible = "ti,omap2420-i2c";
-};
-
-&i2c2 {
-	compatible = "ti,omap2420-i2c";
-};
-
-#include "omap24xx-clocks.dtsi"
-#include "omap2420-clocks.dtsi"
-
-/* Preferred always-on timer for clockevent */
-&timer1_target {
-	ti,no-reset-on-init;
-	ti,no-idle;
-	timer@0 {
-		assigned-clocks = <&gpt1_fck>;
-		assigned-clock-parents = <&func_32k_ck>;
-	};
-};
arch/arm/boot/dts/ti/omap/omap2430-clocks.dtsi deleted +0 -341
deleted file mode 100644
index 4e5ab5189476..000000000000
@@ -1,341 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * Device Tree Source for OMAP2430 clock data
- *
- * Copyright (C) 2014 Texas Instruments, Inc.
- */
-
-&scm_clocks {
-	mcbsp3_mux_fck: mcbsp3_mux_fck@78 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-mux-clock";
-		clocks = <&func_96m_ck>, <&mcbsp_clks>;
-		reg = <0x78>;
-	};
-
-	mcbsp3_fck: mcbsp3_fck {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&mcbsp3_gate_fck>, <&mcbsp3_mux_fck>;
-	};
-
-	mcbsp4_mux_fck: mcbsp4_mux_fck@78 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-mux-clock";
-		clocks = <&func_96m_ck>, <&mcbsp_clks>;
-		ti,bit-shift = <2>;
-		reg = <0x78>;
-	};
-
-	mcbsp4_fck: mcbsp4_fck {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&mcbsp4_gate_fck>, <&mcbsp4_mux_fck>;
-	};
-
-	mcbsp5_mux_fck: mcbsp5_mux_fck@78 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-mux-clock";
-		clocks = <&func_96m_ck>, <&mcbsp_clks>;
-		ti,bit-shift = <4>;
-		reg = <0x78>;
-	};
-
-	mcbsp5_fck: mcbsp5_fck {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&mcbsp5_gate_fck>, <&mcbsp5_mux_fck>;
-	};
-};
-
-&prcm_clocks {
-	iva2_1_gate_ick: iva2_1_gate_ick@800 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-gate-clock";
-		clocks = <&dsp_fck>;
-		ti,bit-shift = <0>;
-		reg = <0x0800>;
-	};
-
-	iva2_1_div_ick: iva2_1_div_ick@840 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-divider-clock";
-		clocks = <&dsp_fck>;
-		ti,bit-shift = <5>;
-		ti,max-div = <3>;
-		reg = <0x0840>;
-		ti,index-starts-at-one;
-	};
-
-	iva2_1_ick: iva2_1_ick {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&iva2_1_gate_ick>, <&iva2_1_div_ick>;
-	};
-
-	mdm_gate_ick: mdm_gate_ick@c10 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-interface-clock";
-		clocks = <&core_ck>;
-		ti,bit-shift = <0>;
-		reg = <0x0c10>;
-	};
-
-	mdm_div_ick: mdm_div_ick@c40 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-divider-clock";
-		clocks = <&core_ck>;
-		reg = <0x0c40>;
-		ti,dividers = <0>, <1>, <0>, <0>, <4>, <0>, <6>, <0>, <0>, <9>;
-	};
-
-	mdm_ick: mdm_ick {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&mdm_gate_ick>, <&mdm_div_ick>;
-	};
-
-	mdm_osc_ck: mdm_osc_ck@c00 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&osc_ck>;
-		ti,bit-shift = <1>;
-		reg = <0x0c00>;
-	};
-
-	mcbsp3_ick: mcbsp3_ick@214 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <3>;
-		reg = <0x0214>;
-	};
-
-	mcbsp3_gate_fck: mcbsp3_gate_fck@204 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-gate-clock";
-		clocks = <&mcbsp_clks>;
-		ti,bit-shift = <3>;
-		reg = <0x0204>;
-	};
-
-	mcbsp4_ick: mcbsp4_ick@214 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <4>;
-		reg = <0x0214>;
-	};
-
-	mcbsp4_gate_fck: mcbsp4_gate_fck@204 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-gate-clock";
-		clocks = <&mcbsp_clks>;
-		ti,bit-shift = <4>;
-		reg = <0x0204>;
-	};
-
-	mcbsp5_ick: mcbsp5_ick@214 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <5>;
-		reg = <0x0214>;
-	};
-
-	mcbsp5_gate_fck: mcbsp5_gate_fck@204 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-gate-clock";
-		clocks = <&mcbsp_clks>;
-		ti,bit-shift = <5>;
-		reg = <0x0204>;
-	};
-
-	mcspi3_ick: mcspi3_ick@214 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <9>;
-		reg = <0x0214>;
-	};
-
-	mcspi3_fck: mcspi3_fck@204 {
-		#clock-cells = <0>;
-		compatible = "ti,wait-gate-clock";
-		clocks = <&func_48m_ck>;
-		ti,bit-shift = <9>;
-		reg = <0x0204>;
-	};
-
-	icr_ick: icr_ick@410 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&sys_ck>;
-		ti,bit-shift = <6>;
-		reg = <0x0410>;
-	};
-
-	i2chs1_fck: i2chs1_fck@204 {
-		#clock-cells = <0>;
-		compatible = "ti,omap2430-interface-clock";
-		clocks = <&func_96m_ck>;
-		ti,bit-shift = <19>;
-		reg = <0x0204>;
-	};
-
-	i2chs2_fck: i2chs2_fck@204 {
-		#clock-cells = <0>;
-		compatible = "ti,omap2430-interface-clock";
-		clocks = <&func_96m_ck>;
-		ti,bit-shift = <20>;
-		reg = <0x0204>;
-	};
-
-	usbhs_ick: usbhs_ick@214 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&core_l3_ck>;
-		ti,bit-shift = <6>;
-		reg = <0x0214>;
-	};
-
-	mmchs1_ick: mmchs1_ick@214 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <7>;
-		reg = <0x0214>;
-	};
-
-	mmchs1_fck: mmchs1_fck@204 {
-		#clock-cells = <0>;
-		compatible = "ti,wait-gate-clock";
-		clocks = <&func_96m_ck>;
-		ti,bit-shift = <7>;
-		reg = <0x0204>;
-	};
-
-	mmchs2_ick: mmchs2_ick@214 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <8>;
-		reg = <0x0214>;
-	};
-
-	mmchs2_fck: mmchs2_fck@204 {
-		#clock-cells = <0>;
-		compatible = "ti,wait-gate-clock";
-		clocks = <&func_96m_ck>;
-		ti,bit-shift = <8>;
-		reg = <0x0204>;
-	};
-
-	gpio5_ick: gpio5_ick@214 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <10>;
-		reg = <0x0214>;
-	};
-
-	gpio5_fck: gpio5_fck@204 {
-		#clock-cells = <0>;
-		compatible = "ti,wait-gate-clock";
-		clocks = <&func_32k_ck>;
-		ti,bit-shift = <10>;
-		reg = <0x0204>;
-	};
-
-	mdm_intc_ick: mdm_intc_ick@214 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <11>;
-		reg = <0x0214>;
-	};
-
-	mmchsdb1_fck: mmchsdb1_fck@204 {
-		#clock-cells = <0>;
-		compatible = "ti,wait-gate-clock";
-		clocks = <&func_32k_ck>;
-		ti,bit-shift = <16>;
-		reg = <0x0204>;
-	};
-
-	mmchsdb2_fck: mmchsdb2_fck@204 {
-		#clock-cells = <0>;
-		compatible = "ti,wait-gate-clock";
-		clocks = <&func_32k_ck>;
-		ti,bit-shift = <17>;
-		reg = <0x0204>;
-	};
-};
-
-&prcm_clockdomains {
-	gfx_clkdm: gfx_clkdm {
-		compatible = "ti,clockdomain";
-		clocks = <&gfx_ick>;
-	};
-
-	core_l3_clkdm: core_l3_clkdm {
-		compatible = "ti,clockdomain";
-		clocks = <&cam_fck>, <&usb_fck>, <&usbhs_ick>;
-	};
-
-	wkup_clkdm: wkup_clkdm {
-		compatible = "ti,clockdomain";
-		clocks = <&dpll_ck>, <&emul_ck>, <&gpt1_ick>, <&gpios_ick>,
-			 <&gpios_fck>, <&mpu_wdt_ick>, <&mpu_wdt_fck>,
-			 <&sync_32k_ick>, <&wdt1_ick>, <&omapctrl_ick>,
-			 <&icr_ick>;
-	};
-
-	dss_clkdm: dss_clkdm {
-		compatible = "ti,clockdomain";
-		clocks = <&dss_ick>, <&dss_54m_fck>;
-	};
-
-	core_l4_clkdm: core_l4_clkdm {
-		compatible = "ti,clockdomain";
-		clocks = <&ssi_l4_ick>, <&gpt2_ick>, <&gpt3_ick>, <&gpt4_ick>,
-			 <&gpt5_ick>, <&gpt6_ick>, <&gpt7_ick>, <&gpt8_ick>,
-			 <&gpt9_ick>, <&gpt10_ick>, <&gpt11_ick>, <&gpt12_ick>,
-			 <&mcbsp1_ick>, <&mcbsp2_ick>, <&mcbsp3_ick>,
-			 <&mcbsp4_ick>, <&mcbsp5_ick>, <&mcspi1_ick>,
-			 <&mcspi1_fck>, <&mcspi2_ick>, <&mcspi2_fck>,
-			 <&mcspi3_ick>, <&mcspi3_fck>, <&uart1_ick>,
-			 <&uart1_fck>, <&uart2_ick>, <&uart2_fck>, <&uart3_ick>,
-			 <&uart3_fck>, <&cam_ick>, <&mailboxes_ick>,
-			 <&wdt4_ick>, <&wdt4_fck>, <&mspro_ick>, <&mspro_fck>,
-			 <&fac_ick>, <&fac_fck>, <&hdq_ick>, <&hdq_fck>,
-			 <&i2c1_ick>, <&i2chs1_fck>, <&i2c2_ick>, <&i2chs2_fck>,
-			 <&des_ick>, <&sha_ick>, <&rng_ick>, <&aes_ick>,
-			 <&pka_ick>, <&mmchs1_ick>, <&mmchs1_fck>,
-			 <&mmchs2_ick>, <&mmchs2_fck>, <&gpio5_ick>,
-			 <&gpio5_fck>, <&mdm_intc_ick>, <&mmchsdb1_fck>,
-			 <&mmchsdb2_fck>;
-	};
-
-	mdm_clkdm: mdm_clkdm {
-		compatible = "ti,clockdomain";
-		clocks = <&mdm_osc_ck>;
-	};
-};
-
-&func_96m_ck {
-	compatible = "ti,mux-clock";
-	clocks = <&apll96_ck>, <&alt_ck>;
-	ti,bit-shift = <4>;
-	reg = <0x0540>;
-};
-
-&dsp_div_fck {
-	ti,max-div = <4>;
-	ti,index-starts-at-one;
-};
-
-&ssi_ssr_sst_div_fck {
-	ti,max-div = <5>;
-	ti,index-starts-at-one;
-};
arch/arm/boot/dts/ti/omap/omap2430-sdp.dts deleted +0 -70
deleted file mode 100644
index 207070677e3a..000000000000
@@ -1,70 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
- */
-/dts-v1/;
-
-#include "omap2430.dtsi"
-
-/ {
-	model = "TI OMAP2430 SDP";
-	compatible = "ti,omap2430-sdp", "ti,omap2430", "ti,omap2";
-
-	memory@80000000 {
-		device_type = "memory";
-		reg = <0x80000000 0x8000000>; /* 128 MB */
-	};
-};
-
-&i2c2 {
-	clock-frequency = <100000>;
-
-	twl: twl@48 {
-		reg = <0x48>;
-		interrupts = <7>; /* SYS_NIRQ cascaded to intc */
-	};
-};
-
-#include "twl4030.dtsi"
-
-&mmc1 {
-	vmmc-supply = <&vmmc1>;
-	bus-width = <4>;
-};
-
-&gpmc {
-	ranges = <5 0 0x08000000 0x01000000>;
-	ethernet@gpmc {
-		compatible = "smsc,lan91c94";
-		interrupt-parent = <&gpio5>;
-		interrupts = <21 IRQ_TYPE_LEVEL_LOW>;	/* gpio149 */
-		reg = <5 0x300 0xf>;
-		bank-width = <2>;
-		gpmc,sync-clk-ps = <0>;
-		gpmc,mux-add-data = <2>;
-		gpmc,device-width = <1>;
-		gpmc,cycle2cycle-samecsen;
-		gpmc,cycle2cycle-diffcsen;
-		gpmc,cs-on-ns = <6>;
-		gpmc,cs-rd-off-ns = <187>;
-		gpmc,cs-wr-off-ns = <187>;
-		gpmc,adv-on-ns = <18>;
-		gpmc,adv-rd-off-ns = <48>;
-		gpmc,adv-wr-off-ns = <48>;
-		gpmc,oe-on-ns = <60>;
-		gpmc,oe-off-ns = <169>;
-		gpmc,we-on-ns = <66>;
-		gpmc,we-off-ns = <169>;
-		gpmc,rd-cycle-ns = <187>;
-		gpmc,wr-cycle-ns = <187>;
-		gpmc,access-ns = <187>;
-		gpmc,page-burst-access-ns = <24>;
-		gpmc,bus-turnaround-ns = <24>;
-		gpmc,cycle2cycle-delay-ns = <24>;
-		gpmc,wait-monitoring-ns = <0>;
-		gpmc,clk-activation-ns = <0>;
-		gpmc,wr-data-mux-bus-ns = <0>;
-		gpmc,wr-access-ns = <0>;
-	};
-};
-
arch/arm/boot/dts/ti/omap/omap2430.dtsi deleted +0 -366
deleted file mode 100644
index 01bd471f9223..000000000000
@@ -1,366 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * Device Tree Source for OMAP243x SoC
- *
- * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
- */
-
-#include "omap2.dtsi"
-
-/ {
-	compatible = "ti,omap2430", "ti,omap2";
-
-	ocp {
-		l4_wkup: l4_wkup@49000000 {
-			compatible = "ti,omap2-l4-wkup", "simple-bus";
-			#address-cells = <1>;
-			#size-cells = <1>;
-			ranges = <0 0x49000000 0x31000>;
-
-			prcm: prcm@6000 {
-				compatible = "ti,omap2-prcm";
-				reg = <0x6000 0x1000>;
-
-				prcm_clocks: clocks {
-					#address-cells = <1>;
-					#size-cells = <0>;
-				};
-
-				prcm_clockdomains: clockdomains {
-				};
-			};
-
-			scm: scm@2000 {
-				compatible = "ti,omap2-scm", "simple-bus";
-				reg = <0x2000 0x1000>;
-				#address-cells = <1>;
-				#size-cells = <1>;
-				#pinctrl-cells = <1>;
-				ranges = <0 0x2000 0x1000>;
-
-				omap2430_pmx: pinmux@30 {
-					compatible = "ti,omap2430-padconf",
-						     "pinctrl-single";
-					reg = <0x30 0x0154>;
-					#address-cells = <1>;
-					#size-cells = <0>;
-					#pinctrl-cells = <1>;
-					pinctrl-single,register-width = <8>;
-					pinctrl-single,function-mask = <0x3f>;
-				};
-
-				scm_conf: scm_conf@270 {
-					compatible = "ti,omap2-scm-conf", "syscon",
-						     "simple-bus";
-					reg = <0x270 0x240>;
-					#address-cells = <1>;
-					#size-cells = <1>;
-					ranges = <0 0x270 0x240>;
-
-					scm_clocks: clocks {
-						#address-cells = <1>;
-						#size-cells = <0>;
-					};
-
-					pbias_regulator: pbias_regulator@230 {
-						compatible = "ti,pbias-omap2", "ti,pbias-omap";
-						reg = <0x230 0x4>;
-						syscon = <&scm_conf>;
-						pbias_mmc_reg: pbias_mmc_omap2430 {
-							regulator-name = "pbias_mmc_omap2430";
-							regulator-min-microvolt = <1800000>;
-							regulator-max-microvolt = <3000000>;
-						};
-					};
-				};
-
-				scm_clockdomains: clockdomains {
-				};
-			};
-
-			target-module@20000 {
-				compatible = "ti,sysc-omap2", "ti,sysc";
-				reg = <0x20000 0x4>,
-				      <0x20004 0x4>;
-				reg-names = "rev", "sysc";
-				ti,sysc-sidle = <SYSC_IDLE_FORCE>,
-						<SYSC_IDLE_NO>;
-				clocks = <&func_32k_ck>;
-				clock-names = "fck";
-				#address-cells = <1>;
-				#size-cells = <1>;
-				ranges = <0x0 0x20000 0x1000>;
-
-				counter32k: counter@0 {
-					compatible = "ti,omap-counter32k";
-					reg = <0 0x20>;
-				};
-			};
-		};
-
-		gpio1: gpio@4900c000 {
-			compatible = "ti,omap2-gpio";
-			reg = <0x4900c000 0x200>;
-			interrupts = <29>;
-			ti,hwmods = "gpio1";
-			ti,gpio-always-on;
-			#gpio-cells = <2>;
-			gpio-controller;
-			#interrupt-cells = <2>;
-			interrupt-controller;
-		};
-
-		gpio2: gpio@4900e000 {
-			compatible = "ti,omap2-gpio";
-			reg = <0x4900e000 0x200>;
-			interrupts = <30>;
-			ti,hwmods = "gpio2";
-			ti,gpio-always-on;
-			#gpio-cells = <2>;
-			gpio-controller;
-			#interrupt-cells = <2>;
-			interrupt-controller;
-		};
-
-		gpio3: gpio@49010000 {
-			compatible = "ti,omap2-gpio";
-			reg = <0x49010000 0x200>;
-			interrupts = <31>;
-			ti,hwmods = "gpio3";
-			ti,gpio-always-on;
-			#gpio-cells = <2>;
-			gpio-controller;
-			#interrupt-cells = <2>;
-			interrupt-controller;
-		};
-
-		gpio4: gpio@49012000 {
-			compatible = "ti,omap2-gpio";
-			reg = <0x49012000 0x200>;
-			interrupts = <32>;
-			ti,hwmods = "gpio4";
-			ti,gpio-always-on;
-			#gpio-cells = <2>;
-			gpio-controller;
-			#interrupt-cells = <2>;
-			interrupt-controller;
-		};
-
-		gpio5: gpio@480b6000 {
-			compatible = "ti,omap2-gpio";
-			reg = <0x480b6000 0x200>;
-			interrupts = <33>;
-			ti,hwmods = "gpio5";
-			#gpio-cells = <2>;
-			gpio-controller;
-			#interrupt-cells = <2>;
-			interrupt-controller;
-		};
-
-		gpmc: gpmc@6e000000 {
-			compatible = "ti,omap2430-gpmc";
-			reg = <0x6e000000 0x1000>;
-			#address-cells = <2>;
-			#size-cells = <1>;
-			interrupts = <20>;
-			gpmc,num-cs = <8>;
-			gpmc,num-waitpins = <4>;
-			ti,hwmods = "gpmc";
-			interrupt-controller;
-			#interrupt-cells = <2>;
-			gpio-controller;
-			#gpio-cells = <2>;
-		};
-
-		mcbsp1: mcbsp@48074000 {
-			compatible = "ti,omap2430-mcbsp";
-			reg = <0x48074000 0xff>;
-			reg-names = "mpu";
-			interrupts = <64>, /* OCP compliant interrupt */
-				     <59>, /* TX interrupt */
-				     <60>, /* RX interrupt */
-				     <61>; /* RX overflow interrupt */
-			interrupt-names = "common", "tx", "rx", "rx_overflow";
-			ti,buffer-size = <128>;
-			ti,hwmods = "mcbsp1";
-			dmas = <&sdma 31>,
-			       <&sdma 32>;
-			dma-names = "tx", "rx";
-			status = "disabled";
-		};
-
-		mcbsp2: mcbsp@48076000 {
-			compatible = "ti,omap2430-mcbsp";
-			reg = <0x48076000 0xff>;
-			reg-names = "mpu";
-			interrupts = <16>, /* OCP compliant interrupt */
-				     <62>, /* TX interrupt */
-				     <63>; /* RX interrupt */
-			interrupt-names = "common", "tx", "rx";
-			ti,buffer-size = <128>;
-			ti,hwmods = "mcbsp2";
-			dmas = <&sdma 33>,
-			       <&sdma 34>;
-			dma-names = "tx", "rx";
-			status = "disabled";
-		};
-
-		mcbsp3: mcbsp@4808c000 {
-			compatible = "ti,omap2430-mcbsp";
-			reg = <0x4808c000 0xff>;
-			reg-names = "mpu";
-			interrupts = <17>, /* OCP compliant interrupt */
-				     <89>, /* TX interrupt */
-				     <90>; /* RX interrupt */
-			interrupt-names = "common", "tx", "rx";
-			ti,buffer-size = <128>;
-			ti,hwmods = "mcbsp3";
-			dmas = <&sdma 17>,
-			       <&sdma 18>;
-			dma-names = "tx", "rx";
-			status = "disabled";
-		};
-
-		mcbsp4: mcbsp@4808e000 {
-			compatible = "ti,omap2430-mcbsp";
-			reg = <0x4808e000 0xff>;
-			reg-names = "mpu";
-			interrupts = <18>, /* OCP compliant interrupt */
-				     <54>, /* TX interrupt */
-				     <55>; /* RX interrupt */
-			interrupt-names = "common", "tx", "rx";
-			ti,buffer-size = <128>;
-			ti,hwmods = "mcbsp4";
-			dmas = <&sdma 19>,
-			       <&sdma 20>;
-			dma-names = "tx", "rx";
-			status = "disabled";
-		};
-
-		mcbsp5: mcbsp@48096000 {
-			compatible = "ti,omap2430-mcbsp";
-			reg = <0x48096000 0xff>;
-			reg-names = "mpu";
-			interrupts = <19>, /* OCP compliant interrupt */
-				     <81>, /* TX interrupt */
-				     <82>; /* RX interrupt */
-			interrupt-names = "common", "tx", "rx";
-			ti,buffer-size = <128>;
-			ti,hwmods = "mcbsp5";
-			dmas = <&sdma 21>,
-			       <&sdma 22>;
-			dma-names = "tx", "rx";
-			status = "disabled";
-		};
-
-		mmc1: mmc@4809c000 {
-			compatible = "ti,omap2-hsmmc";
-			reg = <0x4809c000 0x200>;
-			interrupts = <83>;
-			ti,hwmods = "mmc1";
-			ti,dual-volt;
-			dmas = <&sdma 61>, <&sdma 62>;
-			dma-names = "tx", "rx";
-			pbias-supply = <&pbias_mmc_reg>;
-		};
-
-		mmc2: mmc@480b4000 {
-			compatible = "ti,omap2-hsmmc";
-			reg = <0x480b4000 0x200>;
-			interrupts = <86>;
-			ti,hwmods = "mmc2";
-			dmas = <&sdma 47>, <&sdma 48>;
-			dma-names = "tx", "rx";
-		};
-
-		mailbox: mailbox@48094000 {
-			compatible = "ti,omap2-mailbox";
-			reg = <0x48094000 0x200>;
-			interrupts = <26>;
-			ti,hwmods = "mailbox";
-			#mbox-cells = <1>;
-			ti,mbox-num-users = <4>;
-			ti,mbox-num-fifos = <6>;
-			mbox_dsp: mbox-dsp {
-				ti,mbox-tx = <0 0 0>;
-				ti,mbox-rx = <1 0 0>;
-			};
-		};
-
-		timer1_target: target-module@49018000 {
-			compatible = "ti,sysc-omap2-timer", "ti,sysc";
-			reg = <0x49018000 0x4>,
-			      <0x49018010 0x4>,
-			      <0x49018014 0x4>;
-			reg-names = "rev", "sysc", "syss";
-			ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
-					 SYSC_OMAP2_EMUFREE |
-					 SYSC_OMAP2_ENAWAKEUP |
-					 SYSC_OMAP2_SOFTRESET |
-					 SYSC_OMAP2_AUTOIDLE)>;
-			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
-					<SYSC_IDLE_NO>,
-					<SYSC_IDLE_SMART>;
-			ti,syss-mask = <1>;
-			clocks = <&gpt1_fck>, <&gpt1_ick>;
-			clock-names = "fck", "ick";
-			#address-cells = <1>;
-			#size-cells = <1>;
-			ranges = <0x0 0x49018000 0x1000>;
-
-			timer1: timer@0 {
-				compatible = "ti,omap2420-timer";
-				reg = <0 0x400>;
-				interrupts = <37>;
-				ti,timer-alwon;
-			};
-		};
-
-		mcspi3: spi@480b8000 {
-			compatible = "ti,omap2-mcspi";
-			ti,hwmods = "mcspi3";
-			reg = <0x480b8000 0x100>;
-			interrupts = <91>;
-			dmas = <&sdma 15 &sdma 16 &sdma 23 &sdma 24>;
-			dma-names = "tx0", "rx0", "tx1", "rx1";
-		};
-
-		usb_otg_hs: usb_otg_hs@480ac000 {
-			compatible = "ti,omap2-musb";
-			ti,hwmods = "usb_otg_hs";
-			reg = <0x480ac000 0x1000>;
-			interrupts = <93>;
-		};
-
-		wd_timer2: watchdog@49016000 {
-			compatible = "ti,omap2-wdt";
-			ti,hwmods = "wd_timer2";
-			reg = <0x49016000 0x80>;
-		};
-	};
-};
-
-&sdma {
-	compatible = "ti,omap2430-sdma", "ti,omap-sdma";
-};
-
-&i2c1 {
-	compatible = "ti,omap2430-i2c";
-};
-
-&i2c2 {
-	compatible = "ti,omap2430-i2c";
-};
-
-#include "omap24xx-clocks.dtsi"
-#include "omap2430-clocks.dtsi"
-
-/* Preferred always-on timer for clockevent */
-&timer1_target {
-	ti,no-reset-on-init;
-	ti,no-idle;
-	timer@0 {
-		assigned-clocks = <&gpt1_fck>;
-		assigned-clock-parents = <&func_32k_ck>;
-	};
-};
arch/arm/boot/dts/ti/omap/omap24xx-clocks.dtsi deleted +0 -1241
deleted file mode 100644
index 07af87edf0e2..000000000000
@@ -1,1241 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-only
-/*
- * Device Tree Source for OMAP24xx clock data
- *
- * Copyright (C) 2014 Texas Instruments, Inc.
- */
-&scm_clocks {
-	mcbsp1_mux_fck: mcbsp1_mux_fck@4 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-mux-clock";
-		clocks = <&func_96m_ck>, <&mcbsp_clks>;
-		ti,bit-shift = <2>;
-		reg = <0x4>;
-	};
-
-	mcbsp1_fck: mcbsp1_fck {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&mcbsp1_gate_fck>, <&mcbsp1_mux_fck>;
-	};
-
-	mcbsp2_mux_fck: mcbsp2_mux_fck@4 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-mux-clock";
-		clocks = <&func_96m_ck>, <&mcbsp_clks>;
-		ti,bit-shift = <6>;
-		reg = <0x4>;
-	};
-
-	mcbsp2_fck: mcbsp2_fck {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&mcbsp2_gate_fck>, <&mcbsp2_mux_fck>;
-	};
-};
-
-&prcm_clocks {
-	func_32k_ck: func_32k_ck {
-		#clock-cells = <0>;
-		compatible = "fixed-clock";
-		clock-frequency = <32768>;
-	};
-
-	secure_32k_ck: secure_32k_ck {
-		#clock-cells = <0>;
-		compatible = "fixed-clock";
-		clock-frequency = <32768>;
-	};
-
-	virt_12m_ck: virt_12m_ck {
-		#clock-cells = <0>;
-		compatible = "fixed-clock";
-		clock-frequency = <12000000>;
-	};
-
-	virt_13m_ck: virt_13m_ck {
-		#clock-cells = <0>;
-		compatible = "fixed-clock";
-		clock-frequency = <13000000>;
-	};
-
-	virt_19200000_ck: virt_19200000_ck {
-		#clock-cells = <0>;
-		compatible = "fixed-clock";
-		clock-frequency = <19200000>;
-	};
-
-	virt_26m_ck: virt_26m_ck {
-		#clock-cells = <0>;
-		compatible = "fixed-clock";
-		clock-frequency = <26000000>;
-	};
-
-	aplls_clkin_ck: aplls_clkin_ck@540 {
-		#clock-cells = <0>;
-		compatible = "ti,mux-clock";
-		clocks = <&virt_19200000_ck>, <&virt_26m_ck>, <&virt_13m_ck>, <&virt_12m_ck>;
-		ti,bit-shift = <23>;
-		reg = <0x0540>;
-	};
-
-	aplls_clkin_x2_ck: aplls_clkin_x2_ck {
-		#clock-cells = <0>;
-		compatible = "fixed-factor-clock";
-		clocks = <&aplls_clkin_ck>;
-		clock-mult = <2>;
-		clock-div = <1>;
-	};
-
-	osc_ck: osc_ck@60 {
-		#clock-cells = <0>;
-		compatible = "ti,mux-clock";
-		clocks = <&aplls_clkin_ck>, <&aplls_clkin_x2_ck>;
-		ti,bit-shift = <6>;
-		reg = <0x0060>;
-		ti,index-starts-at-one;
-	};
-
-	sys_ck: sys_ck@60 {
-		#clock-cells = <0>;
-		compatible = "ti,divider-clock";
-		clocks = <&osc_ck>;
-		ti,bit-shift = <6>;
-		ti,max-div = <3>;
-		reg = <0x0060>;
-		ti,index-starts-at-one;
-	};
-
-	alt_ck: alt_ck {
-		#clock-cells = <0>;
-		compatible = "fixed-clock";
-		clock-frequency = <54000000>;
-	};
-
-	mcbsp_clks: mcbsp_clks {
-		#clock-cells = <0>;
-		compatible = "fixed-clock";
-		clock-frequency = <0x0>;
-	};
-
-	dpll_ck: dpll_ck@500 {
-		#clock-cells = <0>;
-		compatible = "ti,omap2-dpll-core-clock";
-		clocks = <&sys_ck>, <&sys_ck>;
-		reg = <0x0500>, <0x0540>;
-	};
-
-	apll96_ck: apll96_ck@500 {
-		#clock-cells = <0>;
-		compatible = "ti,omap2-apll-clock";
-		clocks = <&sys_ck>;
-		ti,bit-shift = <2>;
-		ti,idlest-shift = <8>;
-		ti,clock-frequency = <96000000>;
-		reg = <0x0500>, <0x0530>, <0x0520>;
-	};
-
-	apll54_ck: apll54_ck@500 {
-		#clock-cells = <0>;
-		compatible = "ti,omap2-apll-clock";
-		clocks = <&sys_ck>;
-		ti,bit-shift = <6>;
-		ti,idlest-shift = <9>;
-		ti,clock-frequency = <54000000>;
-		reg = <0x0500>, <0x0530>, <0x0520>;
-	};
-
-	func_54m_ck: func_54m_ck@540 {
-		#clock-cells = <0>;
-		compatible = "ti,mux-clock";
-		clocks = <&apll54_ck>, <&alt_ck>;
-		ti,bit-shift = <5>;
-		reg = <0x0540>;
-	};
-
-	core_ck: core_ck {
-		#clock-cells = <0>;
-		compatible = "fixed-factor-clock";
-		clocks = <&dpll_ck>;
-		clock-mult = <1>;
-		clock-div = <1>;
-	};
-
-	func_96m_ck: func_96m_ck@540 {
-		#clock-cells = <0>;
-	};
-
-	apll96_d2_ck: apll96_d2_ck {
-		#clock-cells = <0>;
-		compatible = "fixed-factor-clock";
-		clocks = <&apll96_ck>;
-		clock-mult = <1>;
-		clock-div = <2>;
-	};
-
-	func_48m_ck: func_48m_ck@540 {
-		#clock-cells = <0>;
-		compatible = "ti,mux-clock";
-		clocks = <&apll96_d2_ck>, <&alt_ck>;
-		ti,bit-shift = <3>;
-		reg = <0x0540>;
-	};
-
-	func_12m_ck: func_12m_ck {
-		#clock-cells = <0>;
-		compatible = "fixed-factor-clock";
-		clocks = <&func_48m_ck>;
-		clock-mult = <1>;
-		clock-div = <4>;
-	};
-
-	sys_clkout_src_gate: sys_clkout_src_gate@70 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-no-wait-gate-clock";
-		clocks = <&core_ck>;
-		ti,bit-shift = <7>;
-		reg = <0x0070>;
-	};
-
-	sys_clkout_src_mux: sys_clkout_src_mux@70 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-mux-clock";
-		clocks = <&core_ck>, <&sys_ck>, <&func_96m_ck>, <&func_54m_ck>;
-		reg = <0x0070>;
-	};
-
-	sys_clkout_src: sys_clkout_src {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&sys_clkout_src_gate>, <&sys_clkout_src_mux>;
-	};
-
-	sys_clkout: sys_clkout@70 {
-		#clock-cells = <0>;
-		compatible = "ti,divider-clock";
-		clocks = <&sys_clkout_src>;
-		ti,bit-shift = <3>;
-		ti,max-div = <64>;
-		reg = <0x0070>;
-		ti,index-power-of-two;
-	};
-
-	emul_ck: emul_ck@78 {
-		#clock-cells = <0>;
-		compatible = "ti,gate-clock";
-		clocks = <&func_54m_ck>;
-		ti,bit-shift = <0>;
-		reg = <0x0078>;
-	};
-
-	mpu_ck: mpu_ck@140 {
-		#clock-cells = <0>;
-		compatible = "ti,divider-clock";
-		clocks = <&core_ck>;
-		ti,max-div = <31>;
-		reg = <0x0140>;
-		ti,index-starts-at-one;
-	};
-
-	dsp_gate_fck: dsp_gate_fck@800 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-gate-clock";
-		clocks = <&core_ck>;
-		ti,bit-shift = <0>;
-		reg = <0x0800>;
-	};
-
-	dsp_div_fck: dsp_div_fck@840 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-divider-clock";
-		clocks = <&core_ck>;
-		reg = <0x0840>;
-	};
-
-	dsp_fck: dsp_fck {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&dsp_gate_fck>, <&dsp_div_fck>;
-	};
-
-	core_l3_ck: core_l3_ck@240 {
-		#clock-cells = <0>;
-		compatible = "ti,divider-clock";
-		clocks = <&core_ck>;
-		ti,max-div = <31>;
-		reg = <0x0240>;
-		ti,index-starts-at-one;
-	};
-
-	gfx_3d_gate_fck: gfx_3d_gate_fck@300 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-gate-clock";
-		clocks = <&core_l3_ck>;
-		ti,bit-shift = <2>;
-		reg = <0x0300>;
-	};
-
-	gfx_3d_div_fck: gfx_3d_div_fck@340 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-divider-clock";
-		clocks = <&core_l3_ck>;
-		ti,max-div = <4>;
-		reg = <0x0340>;
-		ti,index-starts-at-one;
-	};
-
-	gfx_3d_fck: gfx_3d_fck {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&gfx_3d_gate_fck>, <&gfx_3d_div_fck>;
-	};
-
-	gfx_2d_gate_fck: gfx_2d_gate_fck@300 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-gate-clock";
-		clocks = <&core_l3_ck>;
-		ti,bit-shift = <1>;
-		reg = <0x0300>;
-	};
-
-	gfx_2d_div_fck: gfx_2d_div_fck@340 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-divider-clock";
-		clocks = <&core_l3_ck>;
-		ti,max-div = <4>;
-		reg = <0x0340>;
-		ti,index-starts-at-one;
-	};
-
-	gfx_2d_fck: gfx_2d_fck {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&gfx_2d_gate_fck>, <&gfx_2d_div_fck>;
-	};
-
-	gfx_ick: gfx_ick@310 {
-		#clock-cells = <0>;
-		compatible = "ti,wait-gate-clock";
-		clocks = <&core_l3_ck>;
-		ti,bit-shift = <0>;
-		reg = <0x0310>;
-	};
-
-	l4_ck: l4_ck@240 {
-		#clock-cells = <0>;
-		compatible = "ti,divider-clock";
-		clocks = <&core_l3_ck>;
-		ti,bit-shift = <5>;
-		ti,max-div = <3>;
-		reg = <0x0240>;
-		ti,index-starts-at-one;
-	};
-
-	dss_ick: dss_ick@210 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-no-wait-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <0>;
-		reg = <0x0210>;
-	};
-
-	dss1_gate_fck: dss1_gate_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-no-wait-gate-clock";
-		clocks = <&core_ck>;
-		ti,bit-shift = <0>;
-		reg = <0x0200>;
-	};
-
-	core_d2_ck: core_d2_ck {
-		#clock-cells = <0>;
-		compatible = "fixed-factor-clock";
-		clocks = <&core_ck>;
-		clock-mult = <1>;
-		clock-div = <2>;
-	};
-
-	core_d3_ck: core_d3_ck {
-		#clock-cells = <0>;
-		compatible = "fixed-factor-clock";
-		clocks = <&core_ck>;
-		clock-mult = <1>;
-		clock-div = <3>;
-	};
-
-	core_d4_ck: core_d4_ck {
-		#clock-cells = <0>;
-		compatible = "fixed-factor-clock";
-		clocks = <&core_ck>;
-		clock-mult = <1>;
-		clock-div = <4>;
-	};
-
-	core_d5_ck: core_d5_ck {
-		#clock-cells = <0>;
-		compatible = "fixed-factor-clock";
-		clocks = <&core_ck>;
-		clock-mult = <1>;
-		clock-div = <5>;
-	};
-
-	core_d6_ck: core_d6_ck {
-		#clock-cells = <0>;
-		compatible = "fixed-factor-clock";
-		clocks = <&core_ck>;
-		clock-mult = <1>;
-		clock-div = <6>;
-	};
-
-	dummy_ck: dummy_ck {
-		#clock-cells = <0>;
-		compatible = "fixed-clock";
-		clock-frequency = <0>;
-	};
-
-	core_d8_ck: core_d8_ck {
-		#clock-cells = <0>;
-		compatible = "fixed-factor-clock";
-		clocks = <&core_ck>;
-		clock-mult = <1>;
-		clock-div = <8>;
-	};
-
-	core_d9_ck: core_d9_ck {
-		#clock-cells = <0>;
-		compatible = "fixed-factor-clock";
-		clocks = <&core_ck>;
-		clock-mult = <1>;
-		clock-div = <9>;
-	};
-
-	core_d12_ck: core_d12_ck {
-		#clock-cells = <0>;
-		compatible = "fixed-factor-clock";
-		clocks = <&core_ck>;
-		clock-mult = <1>;
-		clock-div = <12>;
-	};
-
-	core_d16_ck: core_d16_ck {
-		#clock-cells = <0>;
-		compatible = "fixed-factor-clock";
-		clocks = <&core_ck>;
-		clock-mult = <1>;
-		clock-div = <16>;
-	};
-
-	dss1_mux_fck: dss1_mux_fck@240 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-mux-clock";
-		clocks = <&sys_ck>, <&core_ck>, <&core_d2_ck>, <&core_d3_ck>, <&core_d4_ck>, <&core_d5_ck>, <&core_d6_ck>, <&core_d8_ck>, <&core_d9_ck>, <&core_d12_ck>, <&core_d16_ck>;
-		ti,bit-shift = <8>;
-		reg = <0x0240>;
-	};
-
-	dss1_fck: dss1_fck {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&dss1_gate_fck>, <&dss1_mux_fck>;
-	};
-
-	dss2_gate_fck: dss2_gate_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-no-wait-gate-clock";
-		clocks = <&func_48m_ck>;
-		ti,bit-shift = <1>;
-		reg = <0x0200>;
-	};
-
-	dss2_mux_fck: dss2_mux_fck@240 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-mux-clock";
-		clocks = <&sys_ck>, <&func_48m_ck>;
-		ti,bit-shift = <13>;
-		reg = <0x0240>;
-	};
-
-	dss2_fck: dss2_fck {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&dss2_gate_fck>, <&dss2_mux_fck>;
-	};
-
-	dss_54m_fck: dss_54m_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,wait-gate-clock";
-		clocks = <&func_54m_ck>;
-		ti,bit-shift = <2>;
-		reg = <0x0200>;
-	};
-
-	ssi_ssr_sst_gate_fck: ssi_ssr_sst_gate_fck@204 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-gate-clock";
-		clocks = <&core_ck>;
-		ti,bit-shift = <1>;
-		reg = <0x0204>;
-	};
-
-	ssi_ssr_sst_div_fck: ssi_ssr_sst_div_fck@240 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-divider-clock";
-		clocks = <&core_ck>;
-		ti,bit-shift = <20>;
-		reg = <0x0240>;
-	};
-
-	ssi_ssr_sst_fck: ssi_ssr_sst_fck {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&ssi_ssr_sst_gate_fck>, <&ssi_ssr_sst_div_fck>;
-	};
-
-	usb_l4_gate_ick: usb_l4_gate_ick@214 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-interface-clock";
-		clocks = <&core_l3_ck>;
-		ti,bit-shift = <0>;
-		reg = <0x0214>;
-	};
-
-	usb_l4_div_ick: usb_l4_div_ick@240 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-divider-clock";
-		clocks = <&core_l3_ck>;
-		ti,bit-shift = <25>;
-		reg = <0x0240>;
-		ti,dividers = <0>, <1>, <2>, <0>, <4>;
-	};
-
-	usb_l4_ick: usb_l4_ick {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&usb_l4_gate_ick>, <&usb_l4_div_ick>;
-	};
-
-	ssi_l4_ick: ssi_l4_ick@214 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <1>;
-		reg = <0x0214>;
-	};
-
-	gpt1_ick: gpt1_ick@410 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&sys_ck>;
-		ti,bit-shift = <0>;
-		reg = <0x0410>;
-	};
-
-	gpt1_gate_fck: gpt1_gate_fck@400 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-gate-clock";
-		clocks = <&func_32k_ck>;
-		ti,bit-shift = <0>;
-		reg = <0x0400>;
-	};
-
-	gpt1_mux_fck: gpt1_mux_fck@440 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-mux-clock";
-		clocks = <&func_32k_ck>, <&sys_ck>, <&alt_ck>;
-		reg = <0x0440>;
-	};
-
-	gpt1_fck: gpt1_fck {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&gpt1_gate_fck>, <&gpt1_mux_fck>;
-	};
-
-	gpt2_ick: gpt2_ick@210 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <4>;
-		reg = <0x0210>;
-	};
-
-	gpt2_gate_fck: gpt2_gate_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-gate-clock";
-		clocks = <&func_32k_ck>;
-		ti,bit-shift = <4>;
-		reg = <0x0200>;
-	};
-
-	gpt2_mux_fck: gpt2_mux_fck@244 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-mux-clock";
-		clocks = <&func_32k_ck>, <&sys_ck>, <&alt_ck>;
-		ti,bit-shift = <2>;
-		reg = <0x0244>;
-	};
-
-	gpt2_fck: gpt2_fck {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&gpt2_gate_fck>, <&gpt2_mux_fck>;
-	};
-
-	gpt3_ick: gpt3_ick@210 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <5>;
-		reg = <0x0210>;
-	};
-
-	gpt3_gate_fck: gpt3_gate_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-gate-clock";
-		clocks = <&func_32k_ck>;
-		ti,bit-shift = <5>;
-		reg = <0x0200>;
-	};
-
-	gpt3_mux_fck: gpt3_mux_fck@244 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-mux-clock";
-		clocks = <&func_32k_ck>, <&sys_ck>, <&alt_ck>;
-		ti,bit-shift = <4>;
-		reg = <0x0244>;
-	};
-
-	gpt3_fck: gpt3_fck {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&gpt3_gate_fck>, <&gpt3_mux_fck>;
-	};
-
-	gpt4_ick: gpt4_ick@210 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <6>;
-		reg = <0x0210>;
-	};
-
-	gpt4_gate_fck: gpt4_gate_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-gate-clock";
-		clocks = <&func_32k_ck>;
-		ti,bit-shift = <6>;
-		reg = <0x0200>;
-	};
-
-	gpt4_mux_fck: gpt4_mux_fck@244 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-mux-clock";
-		clocks = <&func_32k_ck>, <&sys_ck>, <&alt_ck>;
-		ti,bit-shift = <6>;
-		reg = <0x0244>;
-	};
-
-	gpt4_fck: gpt4_fck {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&gpt4_gate_fck>, <&gpt4_mux_fck>;
-	};
-
-	gpt5_ick: gpt5_ick@210 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <7>;
-		reg = <0x0210>;
-	};
-
-	gpt5_gate_fck: gpt5_gate_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-gate-clock";
-		clocks = <&func_32k_ck>;
-		ti,bit-shift = <7>;
-		reg = <0x0200>;
-	};
-
-	gpt5_mux_fck: gpt5_mux_fck@244 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-mux-clock";
-		clocks = <&func_32k_ck>, <&sys_ck>, <&alt_ck>;
-		ti,bit-shift = <8>;
-		reg = <0x0244>;
-	};
-
-	gpt5_fck: gpt5_fck {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&gpt5_gate_fck>, <&gpt5_mux_fck>;
-	};
-
-	gpt6_ick: gpt6_ick@210 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <8>;
-		reg = <0x0210>;
-	};
-
-	gpt6_gate_fck: gpt6_gate_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-gate-clock";
-		clocks = <&func_32k_ck>;
-		ti,bit-shift = <8>;
-		reg = <0x0200>;
-	};
-
-	gpt6_mux_fck: gpt6_mux_fck@244 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-mux-clock";
-		clocks = <&func_32k_ck>, <&sys_ck>, <&alt_ck>;
-		ti,bit-shift = <10>;
-		reg = <0x0244>;
-	};
-
-	gpt6_fck: gpt6_fck {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&gpt6_gate_fck>, <&gpt6_mux_fck>;
-	};
-
-	gpt7_ick: gpt7_ick@210 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <9>;
-		reg = <0x0210>;
-	};
-
-	gpt7_gate_fck: gpt7_gate_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-gate-clock";
-		clocks = <&func_32k_ck>;
-		ti,bit-shift = <9>;
-		reg = <0x0200>;
-	};
-
-	gpt7_mux_fck: gpt7_mux_fck@244 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-mux-clock";
-		clocks = <&func_32k_ck>, <&sys_ck>, <&alt_ck>;
-		ti,bit-shift = <12>;
-		reg = <0x0244>;
-	};
-
-	gpt7_fck: gpt7_fck {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&gpt7_gate_fck>, <&gpt7_mux_fck>;
-	};
-
-	gpt8_ick: gpt8_ick@210 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <10>;
-		reg = <0x0210>;
-	};
-
-	gpt8_gate_fck: gpt8_gate_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-gate-clock";
-		clocks = <&func_32k_ck>;
-		ti,bit-shift = <10>;
-		reg = <0x0200>;
-	};
-
-	gpt8_mux_fck: gpt8_mux_fck@244 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-mux-clock";
-		clocks = <&func_32k_ck>, <&sys_ck>, <&alt_ck>;
-		ti,bit-shift = <14>;
-		reg = <0x0244>;
-	};
-
-	gpt8_fck: gpt8_fck {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&gpt8_gate_fck>, <&gpt8_mux_fck>;
-	};
-
-	gpt9_ick: gpt9_ick@210 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <11>;
-		reg = <0x0210>;
-	};
-
-	gpt9_gate_fck: gpt9_gate_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-gate-clock";
-		clocks = <&func_32k_ck>;
-		ti,bit-shift = <11>;
-		reg = <0x0200>;
-	};
-
-	gpt9_mux_fck: gpt9_mux_fck@244 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-mux-clock";
-		clocks = <&func_32k_ck>, <&sys_ck>, <&alt_ck>;
-		ti,bit-shift = <16>;
-		reg = <0x0244>;
-	};
-
-	gpt9_fck: gpt9_fck {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&gpt9_gate_fck>, <&gpt9_mux_fck>;
-	};
-
-	gpt10_ick: gpt10_ick@210 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <12>;
-		reg = <0x0210>;
-	};
-
-	gpt10_gate_fck: gpt10_gate_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-gate-clock";
-		clocks = <&func_32k_ck>;
-		ti,bit-shift = <12>;
-		reg = <0x0200>;
-	};
-
-	gpt10_mux_fck: gpt10_mux_fck@244 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-mux-clock";
-		clocks = <&func_32k_ck>, <&sys_ck>, <&alt_ck>;
-		ti,bit-shift = <18>;
-		reg = <0x0244>;
-	};
-
-	gpt10_fck: gpt10_fck {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&gpt10_gate_fck>, <&gpt10_mux_fck>;
-	};
-
-	gpt11_ick: gpt11_ick@210 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <13>;
-		reg = <0x0210>;
-	};
-
-	gpt11_gate_fck: gpt11_gate_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-gate-clock";
-		clocks = <&func_32k_ck>;
-		ti,bit-shift = <13>;
-		reg = <0x0200>;
-	};
-
-	gpt11_mux_fck: gpt11_mux_fck@244 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-mux-clock";
-		clocks = <&func_32k_ck>, <&sys_ck>, <&alt_ck>;
-		ti,bit-shift = <20>;
-		reg = <0x0244>;
-	};
-
-	gpt11_fck: gpt11_fck {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&gpt11_gate_fck>, <&gpt11_mux_fck>;
-	};
-
-	gpt12_ick: gpt12_ick@210 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <14>;
-		reg = <0x0210>;
-	};
-
-	gpt12_gate_fck: gpt12_gate_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-gate-clock";
-		clocks = <&func_32k_ck>;
-		ti,bit-shift = <14>;
-		reg = <0x0200>;
-	};
-
-	gpt12_mux_fck: gpt12_mux_fck@244 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-mux-clock";
-		clocks = <&func_32k_ck>, <&sys_ck>, <&alt_ck>;
-		ti,bit-shift = <22>;
-		reg = <0x0244>;
-	};
-
-	gpt12_fck: gpt12_fck {
-		#clock-cells = <0>;
-		compatible = "ti,composite-clock";
-		clocks = <&gpt12_gate_fck>, <&gpt12_mux_fck>;
-	};
-
-	mcbsp1_ick: mcbsp1_ick@210 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <15>;
-		reg = <0x0210>;
-	};
-
-	mcbsp1_gate_fck: mcbsp1_gate_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-gate-clock";
-		clocks = <&mcbsp_clks>;
-		ti,bit-shift = <15>;
-		reg = <0x0200>;
-	};
-
-	mcbsp2_ick: mcbsp2_ick@210 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <16>;
-		reg = <0x0210>;
-	};
-
-	mcbsp2_gate_fck: mcbsp2_gate_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,composite-gate-clock";
-		clocks = <&mcbsp_clks>;
-		ti,bit-shift = <16>;
-		reg = <0x0200>;
-	};
-
-	mcspi1_ick: mcspi1_ick@210 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <17>;
-		reg = <0x0210>;
-	};
-
-	mcspi1_fck: mcspi1_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,wait-gate-clock";
-		clocks = <&func_48m_ck>;
-		ti,bit-shift = <17>;
-		reg = <0x0200>;
-	};
-
-	mcspi2_ick: mcspi2_ick@210 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <18>;
-		reg = <0x0210>;
-	};
-
-	mcspi2_fck: mcspi2_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,wait-gate-clock";
-		clocks = <&func_48m_ck>;
-		ti,bit-shift = <18>;
-		reg = <0x0200>;
-	};
-
-	uart1_ick: uart1_ick@210 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <21>;
-		reg = <0x0210>;
-	};
-
-	uart1_fck: uart1_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,wait-gate-clock";
-		clocks = <&func_48m_ck>;
-		ti,bit-shift = <21>;
-		reg = <0x0200>;
-	};
-
-	uart2_ick: uart2_ick@210 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <22>;
-		reg = <0x0210>;
-	};
-
-	uart2_fck: uart2_fck@200 {
-		#clock-cells = <0>;
-		compatible = "ti,wait-gate-clock";
-		clocks = <&func_48m_ck>;
-		ti,bit-shift = <22>;
-		reg = <0x0200>;
-	};
-
-	uart3_ick: uart3_ick@214 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&l4_ck>;
-		ti,bit-shift = <2>;
-		reg = <0x0214>;
-	};
-
-	uart3_fck: uart3_fck@204 {
-		#clock-cells = <0>;
-		compatible = "ti,wait-gate-clock";
-		clocks = <&func_48m_ck>;
-		ti,bit-shift = <2>;
-		reg = <0x0204>;
-	};
-
-	gpios_ick: gpios_ick@410 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&sys_ck>;
-		ti,bit-shift = <2>;
-		reg = <0x0410>;
-	};
-
-	gpios_fck: gpios_fck@400 {
-		#clock-cells = <0>;
-		compatible = "ti,wait-gate-clock";
-		clocks = <&func_32k_ck>;
-		ti,bit-shift = <2>;
-		reg = <0x0400>;
-	};
-
-	mpu_wdt_ick: mpu_wdt_ick@410 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&sys_ck>;
-		ti,bit-shift = <3>;
-		reg = <0x0410>;
-	};
-
-	mpu_wdt_fck: mpu_wdt_fck@400 {
-		#clock-cells = <0>;
-		compatible = "ti,wait-gate-clock";
-		clocks = <&func_32k_ck>;
-		ti,bit-shift = <3>;
-		reg = <0x0400>;
-	};
-
-	sync_32k_ick: sync_32k_ick@410 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&sys_ck>;
-		ti,bit-shift = <1>;
-		reg = <0x0410>;
-	};
-
-	wdt1_ick: wdt1_ick@410 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&sys_ck>;
-		ti,bit-shift = <4>;
-		reg = <0x0410>;
-	};
-
-	omapctrl_ick: omapctrl_ick@410 {
-		#clock-cells = <0>;
-		compatible = "ti,omap3-interface-clock";
-		clocks = <&sys_ck>;
-		ti,bit-shift = <5>;
-		reg = <0x0410>;
-	};
-
-	cam_fck: cam_fck@200 {
-		#clock-cells = <0>;
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

arch/arm/configs/omap2plus_defconfig +0 -2
index f827f89567fd..2e9597f50c58 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/Kconfig +4 -58
index 79f8afe3a6bf..37ecbfc0a19f 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/Makefile +6 -57
index daf21127c82f..6c741442dc0d 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/board-generic.c +0 -34
index bff673e932fe..972b8cf0547f 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/board-n8x0.c deleted +0 -512
deleted file mode 100644
index d9acd32c5457..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/clkt2xxx_dpll.c deleted +0 -56
deleted file mode 100644
index 0edebf3355fa..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/clkt2xxx_dpllcore.c deleted +0 -194
deleted file mode 100644
index 93f6d3cd9525..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c deleted +0 -259
deleted file mode 100644
index 2b04e422b46c..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/clock.c +2 -10
index 83fae51722a9..b73a80503da8 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/clock2xxx.h deleted +0 -17
deleted file mode 100644
index 73c011dadfd2..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/clockdomain.c +2 -2
index 69dc5b839335..4b5ae1f40d50 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/clockdomain.h +0 -5
index 86a2f9e5d0ef..2d422b5f121f 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/clockdomains2420_data.c deleted +0 -154
deleted file mode 100644
index ac4ffb5d2ffc..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/clockdomains2430_data.c deleted +0 -181
deleted file mode 100644
index 0e97e178abaa..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/clockdomains2xxx_3xxx_data.c +2 -27
index 220c22f5e0f5..4d20c2720660 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/cm-regbits-24xx.h deleted +0 -51
deleted file mode 100644
index 59c14dbb6f87..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/cm2xxx.c deleted +0 -302
deleted file mode 100644
index 1c6d69f4bf49..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/cm2xxx.h deleted +0 -60
deleted file mode 100644
index 7cbeff15ffb0..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/cm_common.c +0 -12
index 87f2c2d2d754..fc16cd1fd2d5 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/common-board-devices.h deleted +0 -11
deleted file mode 100644
index 69694af71475..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/common.h +0 -12
index 9d60799e9752..f8ed97044ade 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/control.h +0 -56
index 7e7440533bf9..3ab1c6e6dde6 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/display.c +1 -3
index dbec3bb9fbf4..addc14898bd5 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/dma.c +1 -52
index 830cd4e7eb44..3a6b7b4620ca 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/fb.c +1 -13
index 0f8c8efe3ae8..9a425c36f996 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/gpmc.h deleted +0 -10
deleted file mode 100644
index e060f1b5c27d..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/i2c.c +1 -1
index 3b4b9514f4fa..d956c70f8899 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/id.c +2 -78
index cf2bfb447ee2..3e731dd21311 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/io.c +5 -135
index 14ec3f78000b..1c945be5e7cc 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/iomap.h +0 -46
index 6191d244438a..403444bb6924 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/l3_2xxx.h deleted +0 -15
deleted file mode 100644
index 6297c62428ac..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/l4_2xxx.h deleted +0 -19
deleted file mode 100644
index 418e1072d730..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/mmc.h deleted +0 -18
deleted file mode 100644
index b5533e93cb63..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/msdi.c deleted +0 -75
deleted file mode 100644
index 552b2fa4e4f1..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/omap2-restart.c deleted +0 -62
deleted file mode 100644
index fdcc75c97d70..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/omap24xx.h deleted +0 -73
deleted file mode 100644
index d9ecc0578292..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/omap_hwmod.c +1 -17
index 03cd523dff87..c918399ea735 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/omap_hwmod.h +0 -2
index dcab7a01c10e..b60cd09c1997 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/omap_hwmod_2420_data.c deleted +0 -402
deleted file mode 100644
index dbd9dc9f0962..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/omap_hwmod_2430_data.c deleted +0 -606
deleted file mode 100644
index c93200801b34..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/omap_hwmod_2xxx_interconnect_data.c deleted +0 -256
deleted file mode 100644
index 761d34914ed9..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c deleted +0 -668
deleted file mode 100644
index 4982e04ead53..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/omap_hwmod_common_data.h +0 -66
index 69dddc53e1d8..8b270cb3f64b 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/opp2420_data.c deleted +0 -131
deleted file mode 100644
index 18a448f938ea..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/opp2430_data.c deleted +0 -136
deleted file mode 100644
index ded8b566a23a..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/opp2xxx.h deleted +0 -430
deleted file mode 100644
index a451182cdc02..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/pdata-quirks.c +3 -32
index b947bacf23a3..8b8021b297aa 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/pm.h +0 -5
index f97ff93f2fb4..5751b85e9ffb 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/powerdomain.h +0 -3
index fbc89999460b..eaf6d1104dc2 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/powerdomains2xxx_data.c deleted +0 -134
deleted file mode 100644
index fa259adbdc61..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/prcm-common.h +0 -147
index 5e3544a63526..e326bb6a09db 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/prm-regbits-24xx.h deleted +0 -39
deleted file mode 100644
index ff83801f6439..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/prm2xxx.c deleted +0 -229
deleted file mode 100644
index 35a58f54b528..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/prm2xxx.h deleted +0 -128
deleted file mode 100644
index 659b917348f8..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/prm2xxx_3xxx.c +0 -1
index d983efac6f4f..afaba7153ece 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/prm_common.c +0 -11
index ee4588acda50..3546e7292bfb 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/sdrc.h +0 -21
index 45b35422b587..c34fba4d2f1a 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/sdrc2xxx.c deleted +0 -164
deleted file mode 100644
index 5a275b4fd404..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/sleep24xx.S deleted +0 -91
deleted file mode 100644
index 84d8c43ad382..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/soc.h +0 -59
index 9e3dbb743e5c..9c9f56ca9142 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/sram.c +23 -136
index 898b011ae8d9..8f980849f201 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/sram.h +0 -32
index 030cabc39821..2db2c4598cdb 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/sram242x.S deleted +0 -317
deleted file mode 100644
index 92ef21ac2ac1..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/sram243x.S deleted +0 -317
deleted file mode 100644
index faf03b7f08f5..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/usb-tusb6010.c deleted +0 -217
deleted file mode 100644
index b46c254c2bc4..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/usb-tusb6010.h deleted +0 -12
deleted file mode 100644
index d210ff6238c2..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-omap2/voltagedomains2xxx_data.c deleted +0 -29
deleted file mode 100644
index 9bc116fe3ba9..000000000000

Lines of this file are not shown. View the raw message.

drivers/crypto/Kconfig +1 -1
index 0189dfdcbbe1..a383ff8f446c 100644

Lines of this file are not shown. View the raw message.

drivers/media/platform/ti/omap/Kconfig +2 -2
index a9dbe1097775..c41812b324ad 100644

Lines of this file are not shown. View the raw message.

drivers/mtd/nand/onenand/Kconfig +2 -2
index 7d57836bf32f..8a362fd5bfc4 100644

Lines of this file are not shown. View the raw message.

drivers/video/fbdev/omap2/omapfb/Kconfig +1 -1
index 2d20e79adefc..d8227f4326bd 100644

Lines of this file are not shown. View the raw message.

include/linux/clk/ti.h +0 -8
index 54a3fa370004..ca151152da19 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 6 lines
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstr. 146, 90461 Nürnberg, Germany, www.suse.com
GF: Jochen Jaser, Andrew McDonald, (HRB 36809, AG Nürnberg)

Part of the diff is not shown here. View the raw message.

#56 lore raw

PATCH 7/13 ARM: imx: remove i.MX31 SoC support

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The Freescale i.MX31 was an early SoC based on the ARM1136r0 CPU core. It was used in the Bug Labs modular computer but ultimately much less popular than most other i.MX SoCs.

As the ARM1136r0 support is causing a lot of extra maintenance effort to keep alive and there are no known users, remove i.MX31 in order to allow removing support for that CPU core altogether.

The related i.MX35 is based on a slightly newer ARM1136r1 CPU core that does not have this problem, so there is no reason to remove that.

Cc Russell King <[email protected]>
Cc Frank Li <[email protected]>
Cc Sascha Hauer <[email protected]>
Cc Pengutronix Kernel Team <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Rob Herring <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Conor Dooley <[email protected]>
---
 arch/arm/Kconfig.debug                   |   9 -
 arch/arm/boot/dts/nxp/imx/Makefile       |   3 -
 arch/arm/boot/dts/nxp/imx/imx31-bug.dts  |  22 --
 arch/arm/boot/dts/nxp/imx/imx31-lite.dts | 178 -----------
 arch/arm/boot/dts/nxp/imx/imx31.dtsi     | 371 -----------------------
 arch/arm/configs/imx_v6_v7_defconfig     |   1 -
 arch/arm/mach-imx/Kconfig                |  11 -
 arch/arm/mach-imx/Makefile               |   1 -
 arch/arm/mach-imx/cpu-imx31.c            |  72 -----
 arch/arm/mach-imx/mach-imx31.c           |  18 --
 arch/arm/mach-imx/mm-imx3.c              |  44 ---
 11 files changed, 730 deletions(-)
 delete mode 100644 arch/arm/boot/dts/nxp/imx/imx31-bug.dts
 delete mode 100644 arch/arm/boot/dts/nxp/imx/imx31-lite.dts
 delete mode 100644 arch/arm/boot/dts/nxp/imx/imx31.dtsi
 delete mode 100644 arch/arm/mach-imx/cpu-imx31.c
 delete mode 100644 arch/arm/mach-imx/mach-imx31.c
arch/arm/Kconfig.debug +0 -9
index e2fc89055463..52387fe2a057 100644
@@ -424,13 +424,6 @@ choice
 		  Say Y here if you want kernel low-level debugging support
 		  on i.MX28.
 
-	config DEBUG_IMX31_UART
-		bool "i.MX31 Debug UART"
-		depends on SOC_IMX31
-		help
-		  Say Y here if you want kernel low-level debugging support
-		  on i.MX31.
-
 	config DEBUG_IMX35_UART
 		bool "i.MX35 Debug UART"
 		depends on SOC_IMX35
@@ -1411,7 +1404,6 @@ config DEBUG_IMX_UART_PORT
 	depends on DEBUG_IMX1_UART || \
 		   DEBUG_IMX25_UART || \
 		   DEBUG_IMX27_UART || \
-		   DEBUG_IMX31_UART || \
 		   DEBUG_IMX35_UART || \
 		   DEBUG_IMX50_UART || \
 		   DEBUG_IMX51_UART || \
@@ -1468,7 +1460,6 @@ config DEBUG_LL_INCLUDE
 	default "debug/imx.S" if DEBUG_IMX1_UART || \
 				 DEBUG_IMX25_UART || \
 				 DEBUG_IMX27_UART || \
-				 DEBUG_IMX31_UART || \
 				 DEBUG_IMX35_UART || \
 				 DEBUG_IMX50_UART || \
 				 DEBUG_IMX51_UART || \
arch/arm/boot/dts/nxp/imx/Makefile +0 -3
index 1a2539fa19b4..e0747cb6e772 100644
@@ -16,9 +16,6 @@ dtb-$(CONFIG_SOC_IMX27) += \
 	imx27-pdk.dtb \
 	imx27-phytec-phycore-rdk.dtb \
 	imx27-phytec-phycard-s-rdk.dtb
-dtb-$(CONFIG_SOC_IMX31) += \
-	imx31-bug.dtb \
-	imx31-lite.dtb
 dtb-$(CONFIG_SOC_IMX35) += \
 	imx35-eukrea-mbimxsd35-baseboard.dtb \
 	imx35-pdk.dtb
arch/arm/boot/dts/nxp/imx/imx31-bug.dts deleted +0 -22
deleted file mode 100644
index d87eee3f9b3c..000000000000
@@ -1,22 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-or-later
-/*
- * Copyright 2012 Denis 'GNUtoo' Carikli <[email protected]>
- */
-
-/dts-v1/;
-#include "imx31.dtsi"
-
-/ {
-	model = "Buglabs i.MX31 Bug 1.x";
-	compatible = "buglabs,imx31-bug", "fsl,imx31";
-
-	memory@80000000 {
-		device_type = "memory";
-		reg = <0x80000000 0x8000000>; /* 128M */
-	};
-};
-
-&uart5 {
-	uart-has-rtscts;
-	status = "okay";
-};
arch/arm/boot/dts/nxp/imx/imx31-lite.dts deleted +0 -178

178 lines not on this page · raw message

arch/arm/boot/dts/nxp/imx/imx31.dtsi deleted +0 -371

371 lines not on this page · raw message

arch/arm/configs/imx_v6_v7_defconfig +0 -1
index ed588add8d31..6ac42c06c1e9 100644
@@ -15,7 +15,6 @@ CONFIG_PERF_EVENTS=y
 CONFIG_KEXEC=y
 CONFIG_ARCH_MULTI_V6=y
 CONFIG_ARCH_MXC=y
-CONFIG_SOC_IMX31=y
 CONFIG_SOC_IMX35=y
 CONFIG_SOC_IMX50=y
 CONFIG_SOC_IMX51=y
arch/arm/mach-imx/Kconfig +0 -11
index 3f0521c652cb..77704c6a70ba 100644
@@ -39,17 +39,6 @@ if ARCH_MULTI_V6
 
 comment "ARM1136 platforms"
 
-config SOC_IMX31
-	bool "i.MX31 support (DEPRECATED)"
-	depends on !SMP
-	select CPU_ARM1136R0
-	select MXC_AVIC
-	help
-	  This enables support for Freescale i.MX31 processor
-
-	  This SoC is scheduled for removal in early 2027,
-	  since it uses the ARM1136r0 CPU revision.
-
 config SOC_IMX35
 	bool "i.MX35 support"
 	select CPU_ARM1136R1
arch/arm/mach-imx/Makefile +0 -1
index 5c650bf40e02..fa0144f0882d 100644
@@ -5,7 +5,6 @@ obj-$(CONFIG_SOC_IMX25) += cpu-imx25.o mach-imx25.o pm-imx25.o
 
 obj-$(CONFIG_SOC_IMX27) += cpu-imx27.o pm-imx27.o mach-imx27.o
 
-obj-$(CONFIG_SOC_IMX31) += mm-imx3.o cpu-imx31.o mach-imx31.o
 obj-$(CONFIG_SOC_IMX35) += mm-imx3.o cpu-imx35.o mach-imx35.o
 
 imx5-pm-$(CONFIG_PM) += pm-imx5.o
arch/arm/mach-imx/cpu-imx31.c deleted +0 -72

72 lines not on this page · raw message

arch/arm/mach-imx/mach-imx31.c deleted +0 -18
deleted file mode 100644
index e9a1092b6093..000000000000
@@ -1,18 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-or-later
-/*
- * Copyright 2012 Sascha Hauer, Pengutronix
- */
-
-#include <asm/mach/arch.h>
-#include "common.h"
-
-static const char * const imx31_dt_board_compat[] __initconst = {
-	"fsl,imx31",
-	NULL
-};
-
-DT_MACHINE_START(IMX31_DT, "Freescale i.MX31 (Device Tree Support)")
-	.map_io		= mx31_map_io,
-	.init_early	= imx31_init_early,
-	.dt_compat	= imx31_dt_board_compat,
-MACHINE_END
arch/arm/mach-imx/mm-imx3.c +0 -44

53 lines not on this page · raw message

Signature · 1 line
2.53.0
#57 lore raw

Re: [PATCH 07/13] ARM: imx: remove i.MX31 SoC support

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Medium] Removal of SOC_IMX31 leaves dangling references in Kconfig files and orphaned code, violating…

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Removal of SOC_IMX31 leaves dangling references in Kconfig files and orphaned code, violating Kconfig guidelines. --

commit 9fd3329c9e9c5af4c9aa12b23d3a92bfd1566e55
Author: Arnd Bergmann <[email protected]>

ARM: imx: remove i.MX31 SoC support

This commit removes support for the Freescale i.MX31 SoC based on the ARM1136r0 CPU core, which is causing extra maintenance effort. The device trees, configuration files, and core mach-imx code for i.MX31 are deleted while preserving support for the related i.MX35 SoC.

Quoted 5 lines
arch/arm/Kconfig.debug +0 -0
index e2fc890554631..52387fe2a0573 100644

arch/arm/Kconfig.debug choice · line 433

Quoted 10 lines
arch/arm/Kconfig.debug +0 -7
@@ -424,13 +424,6 @@ choice
 		  Say Y here if you want kernel low-level debugging support
 		  on i.MX28.
 
-	config DEBUG_IMX31_UART
-		bool "i.MX31 Debug UART"
-		depends on SOC_IMX31
-		help
-		  Say Y here if you want kernel low-level debugging support
-		  on i.MX31.
-

[Severity: Medium]
Can the removal of CONFIG_DEBUG_IMX31_UART leave obsolete preprocessor blocks in header files?

In arch/arm/include/debug/imx-uart.h, there is still a check for this symbol:

#elif defined(CONFIG_DEBUG_IMX31_UART)
#define UART_PADDR IMX_DEBUG_UART_BASE(IMX31)

Could this block now be dead code because the config symbol no longer exists?

[ ... ]

Quoted 9 lines
arch/arm/mach-imx/Kconfig +0 -1
index 3f0521c652cb0..77704c6a70bad 100644
@@ -39,17 +39,6 @@ if ARCH_MULTI_V6
 
 comment "ARM1136 platforms"
 
-config SOC_IMX31

arch/arm/mach-imx/Kconfig if ARCH_MULTI_V6 · line 52

Quoted 10 lines
arch/arm/mach-imx/Kconfig +0 -10
-	bool "i.MX31 support (DEPRECATED)"
-	depends on !SMP
-	select CPU_ARM1136R0
-	select MXC_AVIC
-	help
-	  This enables support for Freescale i.MX31 processor
-
-	  This SoC is scheduled for removal in early 2027,
-	  since it uses the ARM1136r0 CPU revision.
-

[Severity: Medium]
Could the removal of SOC_IMX31 orphan the hardware random number generator driver?

In drivers/char/hw_random/Kconfig, HW_RANDOM_MXC_RNGA currently has:

config HW_RANDOM_MXC_RNGA

	tristate "Freescale i.MX RNGA Random Number Generator"
	depends on SOC_IMX31 || COMPILE_TEST

Since SOC_IMX31 is no longer defined, this driver can now only be selected via COMPILE_TEST.

Is there also a risk of leaving dead code in the clock driver?

In drivers/clk/imx/Kconfig, CLK_IMX31 has:

config CLK_IMX31
def_bool SOC_IMX31

Could this convert the driver code into uncompilable dead code since SOC_IMX31 is removed?

[ ... ]

Quoted 4 lines
arch/arm/mach-imx/mm-imx3.c +0 -0
index 9b0b014d7fe27..42e73518004ae 100644

[ ... ]

Quoted 4 lines
arch/arm/mach-imx/mm-imx3.c +0 -4
-void __init mx31_map_io(void)
-{
-	iotable_init(mx31_io_desc, ARRAY_SIZE(mx31_io_desc));
-}

[ ... ]

arch/arm/mach-imx/mm-imx3.c static void __iomem *imx3_ioremap_caller(phys_addr_t phys_addr, size_t size, · line 111

Quoted 12 lines
arch/arm/mach-imx/mm-imx3.c +0 -12
-void __init imx31_init_early(void)
-{
-	struct device_node *np;
-
-	mxc_set_cpu_type(MXC_CPU_MX31);
-	arch_ioremap_caller = imx3_ioremap_caller;
-	arm_pm_idle = imx31_idle;
-	np = of_find_compatible_node(NULL, NULL, "fsl,imx31-ccm");
-	mx3_ccm_base = of_iomap(np, 0);
-	of_node_put(np);
-	BUG_ON(!mx3_ccm_base);
-}

[Severity: Medium]
Are there dangling declarations left behind in the subsystem headers?

In arch/arm/mach-imx/common.h, these declarations still exist:

void mx31_map_io(void);
void imx31_init_early(void);

Could these dead declarations be removed as well?

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=7
#58 lore raw

Re: [PATCH 07/13] ARM: imx: remove i.MX31 SoC support

Quoted 5 lines · On Tue, Sep 8, 2026, at 18:05, [email protected] wrote:

[Severity: Medium]
Can the removal of CONFIG_DEBUG_IMX31_UART leave obsolete preprocessor blocks in header files?

Quoted 7 lines

In arch/arm/include/debug/imx-uart.h, there is still a check for this symbol:

#elif defined(CONFIG_DEBUG_IMX31_UART)
#define UART_PADDR IMX_DEBUG_UART_BASE(IMX31)

Could this block now be dead code because the config symbol no longer exists?

Fixed now, I did script the search for unused Kconfig symbols, but missed the DEBUG_IMX31_UART dependency as that was a later addition to the series. I'll run those scripts again.

Quoted 16 lines

[Severity: Medium]
Could the removal of SOC_IMX31 orphan the hardware random number generator driver?

In drivers/char/hw_random/Kconfig, HW_RANDOM_MXC_RNGA currently has:

config HW_RANDOM_MXC_RNGA

	tristate "Freescale i.MX RNGA Random Number Generator"
	depends on SOC_IMX31 || COMPILE_TEST

Since SOC_IMX31 is no longer defined, this driver can now only be selected via COMPILE_TEST.

Is there also a risk of leaving dead code in the clock driver?

Quoted 7 lines

In drivers/clk/imx/Kconfig, CLK_IMX31 has:

config CLK_IMX31
def_bool SOC_IMX31

Could this convert the driver code into uncompilable dead code since SOC_IMX31 is removed?

These are all addressed in a later series.

Quoted 9 lines

[Severity: Medium]
Are there dangling declarations left behind in the subsystem headers?

In arch/arm/mach-imx/common.h, these declarations still exist:

void mx31_map_io(void);
void imx31_init_early(void);

Could these dead declarations be removed as well?

Fixed now.

Arnd

Acked-by on v1 7/13
#59 lore raw

Re: [PATCH 07/13] ARM: imx: remove i.MX31 SoC support

In reply to Arnd Bergmann
Quoted 13 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The Freescale i.MX31 was an early SoC based on the ARM1136r0 CPU core. It was used in the Bug Labs modular computer but ultimately much less popular than most other i.MX SoCs.

As the ARM1136r0 support is causing a lot of extra maintenance effort to keep alive and there are no known users, remove i.MX31 in order to allow removing support for that CPU core altogether.

The related i.MX35 is based on a slightly newer ARM1136r1 CPU core that does not have this problem, so there is no reason to remove that.

Quoted 11 lines
Cc Russell King <[email protected]>
Cc Frank Li <[email protected]>
Cc Sascha Hauer <[email protected]>
Cc Pengutronix Kernel Team <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Rob Herring <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Conor Dooley <[email protected]>
maintainer Acked-by on v1 7/13
#60 lore raw

Re: [PATCH 07/13] ARM: imx: remove i.MX31 SoC support

In reply to Arnd Bergmann
Quoted 13 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The Freescale i.MX31 was an early SoC based on the ARM1136r0 CPU core. It was used in the Bug Labs modular computer but ultimately much less popular than most other i.MX SoCs.

As the ARM1136r0 support is causing a lot of extra maintenance effort to keep alive and there are no known users, remove i.MX31 in order to allow removing support for that CPU core altogether.

The related i.MX35 is based on a slightly newer ARM1136r1 CPU core that does not have this problem, so there is no reason to remove that.

Quoted 11 lines
Cc Russell King <[email protected]>
Cc Frank Li <[email protected]>
Cc Sascha Hauer <[email protected]>
Cc Pengutronix Kernel Team <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Rob Herring <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Conor Dooley <[email protected]>

I still do possess a LogicPD i.MX31 Lite board, which boots the upstream kernel, but there is no plan to maintain it further.

Signature · 2 lines
Best wishes,
Vladimir
Acked-by on v1 7/13
#61 lore raw

Re: [PATCH 07/13] ARM: imx: remove i.MX31 SoC support

In reply to Arnd Bergmann
Quoted 24 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The Freescale i.MX31 was an early SoC based on the ARM1136r0 CPU core. It was used in the Bug Labs modular computer but ultimately much less popular than most other i.MX SoCs.

As the ARM1136r0 support is causing a lot of extra maintenance effort to keep alive and there are no known users, remove i.MX31 in order to allow removing support for that CPU core altogether.

The related i.MX35 is based on a slightly newer ARM1136r1 CPU core that does not have this problem, so there is no reason to remove that.

Cc Russell King <[email protected]>
Cc Frank Li <[email protected]>
Cc Sascha Hauer <[email protected]>
Cc Pengutronix Kernel Team <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Rob Herring <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Conor Dooley <[email protected]>
Quoted 1 line

---

Quoted 866 lines
 arch/arm/Kconfig.debug                   |   9 -
 arch/arm/boot/dts/nxp/imx/Makefile       |   3 -
 arch/arm/boot/dts/nxp/imx/imx31-bug.dts  |  22 --
 arch/arm/boot/dts/nxp/imx/imx31-lite.dts | 178 -----------
 arch/arm/boot/dts/nxp/imx/imx31.dtsi     | 371 -----------------------
 arch/arm/configs/imx_v6_v7_defconfig     |   1 -
 arch/arm/mach-imx/Kconfig                |  11 -
 arch/arm/mach-imx/Makefile               |   1 -
 arch/arm/mach-imx/cpu-imx31.c            |  72 -----
 arch/arm/mach-imx/mach-imx31.c           |  18 --
 arch/arm/mach-imx/mm-imx3.c              |  44 ---
 11 files changed, 730 deletions(-)
 delete mode 100644 arch/arm/boot/dts/nxp/imx/imx31-bug.dts
 delete mode 100644 arch/arm/boot/dts/nxp/imx/imx31-lite.dts
 delete mode 100644 arch/arm/boot/dts/nxp/imx/imx31.dtsi
 delete mode 100644 arch/arm/mach-imx/cpu-imx31.c
 delete mode 100644 arch/arm/mach-imx/mach-imx31.c
arch/arm/Kconfig.debug +0 -9
index e2fc89055463..52387fe2a057 100644
@@ -424,13 +424,6 @@ choice
 		  Say Y here if you want kernel low-level debugging support
 		  on i.MX28.
 
-	config DEBUG_IMX31_UART
-		bool "i.MX31 Debug UART"
-		depends on SOC_IMX31
-		help
-		  Say Y here if you want kernel low-level debugging support
-		  on i.MX31.
-
 	config DEBUG_IMX35_UART
 		bool "i.MX35 Debug UART"
 		depends on SOC_IMX35
@@ -1411,7 +1404,6 @@ config DEBUG_IMX_UART_PORT
 	depends on DEBUG_IMX1_UART || \
 		   DEBUG_IMX25_UART || \
 		   DEBUG_IMX27_UART || \
-		   DEBUG_IMX31_UART || \
 		   DEBUG_IMX35_UART || \
 		   DEBUG_IMX50_UART || \
 		   DEBUG_IMX51_UART || \
@@ -1468,7 +1460,6 @@ config DEBUG_LL_INCLUDE
 	default "debug/imx.S" if DEBUG_IMX1_UART || \
 				 DEBUG_IMX25_UART || \
 				 DEBUG_IMX27_UART || \
-				 DEBUG_IMX31_UART || \
 				 DEBUG_IMX35_UART || \
 				 DEBUG_IMX50_UART || \
 				 DEBUG_IMX51_UART || \
arch/arm/boot/dts/nxp/imx/Makefile +0 -3
index 1a2539fa19b4..e0747cb6e772 100644
@@ -16,9 +16,6 @@ dtb-$(CONFIG_SOC_IMX27) += \
 	imx27-pdk.dtb \
 	imx27-phytec-phycore-rdk.dtb \
 	imx27-phytec-phycard-s-rdk.dtb
-dtb-$(CONFIG_SOC_IMX31) += \
-	imx31-bug.dtb \
-	imx31-lite.dtb
 dtb-$(CONFIG_SOC_IMX35) += \
 	imx35-eukrea-mbimxsd35-baseboard.dtb \
 	imx35-pdk.dtb
arch/arm/boot/dts/nxp/imx/imx31-bug.dts deleted +0 -22
deleted file mode 100644
index d87eee3f9b3c..000000000000
@@ -1,22 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-or-later
-/*
- * Copyright 2012 Denis 'GNUtoo' Carikli <[email protected]>
- */
-
-/dts-v1/;
-#include "imx31.dtsi"
-
-/ {
-	model = "Buglabs i.MX31 Bug 1.x";
-	compatible = "buglabs,imx31-bug", "fsl,imx31";
-
-	memory@80000000 {
-		device_type = "memory";
-		reg = <0x80000000 0x8000000>; /* 128M */
-	};
-};
-
-&uart5 {
-	uart-has-rtscts;
-	status = "okay";
-};
arch/arm/boot/dts/nxp/imx/imx31-lite.dts deleted +0 -178
deleted file mode 100644
index 630f8fa69ba8..000000000000
@@ -1,178 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-//
-// Copyright (C) 2016-2018 Vladimir Zapolskiy <[email protected]>
-
-/dts-v1/;
-
-#include "imx31.dtsi"
-
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/interrupt-controller/irq.h>
-
-/ {
-	model = "LogicPD i.MX31 Lite";
-	compatible = "logicpd,imx31-lite", "fsl,imx31";
-
-	chosen {
-		stdout-path = &uart1;
-	};
-
-	memory@80000000 {
-		device_type = "memory";
-		reg = <0x80000000 0x8000000>;
-	};
-
-	leds {
-		compatible = "gpio-leds";
-
-		led0 {
-			gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
-		};
-
-		led1 {
-			gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
-		};
-	};
-};
-
-&ata {
-	status = "okay";
-};
-
-&nfc {
-	nand-bus-width = <8>;
-	nand-ecc-mode = "hw";
-	nand-on-flash-bbt;
-	status = "okay";
-};
-
-&sdhci1 {
-	bus-width = <4>;
-	cd-gpios = <&gpio2 11 GPIO_ACTIVE_HIGH>;
-	wp-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
-	status = "okay";
-};
-
-&spi2 {
-	status = "okay";
-
-	pmic@0 {
-		compatible = "fsl,mc13783";
-		reg = <0>;
-		spi-cs-high;
-		spi-max-frequency = <1000000>;
-		interrupt-parent = <&gpio1>;
-		interrupts = <3 IRQ_TYPE_EDGE_RISING>;
-
-		fsl,mc13xxx-uses-adc;
-		fsl,mc13xxx-uses-rtc;
-
-		regulators {
-			sw1a {		/* QVCC */
-				regulator-min-microvolt = <1200000>;
-				regulator-max-microvolt = <1500000>;
-				regulator-always-on;
-				regulator-boot-on;
-			};
-
-			sw1b {		/* QVCC */
-				regulator-min-microvolt = <1200000>;
-				regulator-max-microvolt = <1500000>;
-				regulator-always-on;
-				regulator-boot-on;
-			};
-
-			sw2a {		/* 1.8V_DDR, NVCC2, NVCC21 and NVCC22 */
-				regulator-min-microvolt = <1800000>;
-				regulator-max-microvolt = <1800000>;
-				regulator-always-on;
-				regulator-boot-on;
-			};
-
-			sw2b {		/* NVCC10 */
-				regulator-min-microvolt = <1800000>;
-				regulator-max-microvolt = <1800000>;
-				regulator-always-on;
-				regulator-boot-on;
-			};
-
-			violo {		/* NVCC1 and NVCC7 */
-				regulator-min-microvolt = <1800000>;
-				regulator-max-microvolt = <1800000>;
-				regulator-always-on;
-				regulator-boot-on;
-			};
-
-			viohi {		/* VIOHI */
-				regulator-min-microvolt = <2775000>;
-				regulator-max-microvolt = <2775000>;
-				regulator-always-on;
-				regulator-boot-on;
-			};
-
-			vaudio {	/* VAUDIO */
-				regulator-min-microvolt = <2775000>;
-				regulator-max-microvolt = <2775000>;
-			};
-
-			vcam {		/* NVCC4 */
-				regulator-min-microvolt = <2800000>;
-				regulator-max-microvolt = <2800000>;
-			};
-
-			vgen {		/* NVCC5 / NVCC8 and NVCC6 / NVCC9 */
-				regulator-min-microvolt = <2775000>;
-				regulator-max-microvolt = <2775000>;
-				regulator-always-on;
-				regulator-boot-on;
-			};
-
-			vmmc2 {		/* NVCC3 */
-				regulator-min-microvolt = <1600000>;
-				regulator-max-microvolt = <3000000>;
-				regulator-always-on;
-				regulator-boot-on;
-			};
-		};
-	};
-};
-
-&uart1 {
-	uart-has-rtscts;
-	status = "okay";
-};
-
-/* Routed to the extension board */
-&uart2 {
-	uart-has-rtscts;
-	status = "okay";
-};
-
-/* Routed to the extension board */
-&uart3 {
-	uart-has-rtscts;
-	status = "okay";
-};
-
-&weim {
-	status = "okay";
-
-	flash@0,0 {
-		compatible = "cfi-flash";
-		reg = <0 0x0 0x200000>;
-		bank-width = <2>;
-		linux,mtd-name = "physmap-flash.0";
-		fsl,weim-cs-timing = <0x0000cf03 0xa0330d01 0x00220800>;
-	};
-
-	ethernet@4,0 {
-		compatible = "smsc,lan9117", "smsc,lan9115";
-		reg = <4 0x0 0x100>;
-		interrupt-parent = <&gpio1>;
-		interrupts = <26 IRQ_TYPE_EDGE_FALLING>;
-		phy-mode = "mii";
-		reg-io-width = <2>;
-		smsc,irq-push-pull;
-		fsl,weim-cs-timing = <0x00008701 0x04000541 0x00010000>;
-	};
-};
arch/arm/boot/dts/nxp/imx/imx31.dtsi deleted +0 -371
deleted file mode 100644
index c58f855ea851..000000000000
@@ -1,371 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-//
-// Copyright 2016-2018 Vladimir Zapolskiy <[email protected]>
-// Copyright 2012 Denis 'GNUtoo' Carikli <[email protected]>
-
-/ {
-	#address-cells = <1>;
-	#size-cells = <1>;
-	/*
-	 * The decompressor and also some bootloaders rely on a
-	 * pre-existing /chosen node to be available to insert the
-	 * command line and merge other ATAGS info.
-	 */
-	chosen {};
-
-	aliases {
-		gpio0 = &gpio1;
-		gpio1 = &gpio2;
-		gpio2 = &gpio3;
-		i2c0 = &i2c1;
-		i2c1 = &i2c2;
-		i2c2 = &i2c3;
-		serial0 = &uart1;
-		serial1 = &uart2;
-		serial2 = &uart3;
-		serial3 = &uart4;
-		serial4 = &uart5;
-		spi0 = &spi1;
-		spi1 = &spi2;
-		spi2 = &spi3;
-	};
-
-	cpus {
-		#address-cells = <1>;
-		#size-cells = <0>;
-
-		cpu@0 {
-			compatible = "arm,arm1136jf-s";
-			device_type = "cpu";
-			reg = <0>;
-		};
-	};
-
-	avic: interrupt-controller@68000000 {
-		compatible = "fsl,imx31-avic", "fsl,avic";
-		interrupt-controller;
-		#interrupt-cells = <1>;
-		reg = <0x68000000 0x100000>;
-	};
-
-	soc: soc {
-		#address-cells = <1>;
-		#size-cells = <1>;
-		compatible = "simple-bus";
-		interrupt-parent = <&avic>;
-		ranges;
-
-		iram: sram@1fffc000 {
-			compatible = "mmio-sram";
-			reg = <0x1fffc000 0x4000>;
-			#address-cells = <1>;
-			#size-cells = <1>;
-			ranges = <0 0x1fffc000 0x4000>;
-		};
-
-		aips1: bus@43f00000 { /* AIPS1 */
-			compatible = "fsl,aips-bus", "simple-bus";
-			#address-cells = <1>;
-			#size-cells = <1>;
-			reg = <0x43f00000 0x100000>;
-			ranges;
-
-			i2c1: i2c@43f80000 {
-				compatible = "fsl,imx31-i2c", "fsl,imx21-i2c";
-				reg = <0x43f80000 0x4000>;
-				interrupts = <10>;
-				clocks = <&clks 33>;
-				#address-cells = <1>;
-				#size-cells = <0>;
-				status = "disabled";
-			};
-
-			i2c3: i2c@43f84000 {
-				compatible = "fsl,imx31-i2c", "fsl,imx21-i2c";
-				reg = <0x43f84000 0x4000>;
-				interrupts = <3>;
-				clocks = <&clks 35>;
-				#address-cells = <1>;
-				#size-cells = <0>;
-				status = "disabled";
-			};
-
-			ata: ata@43f8c000 {
-				compatible = "fsl,imx31-pata", "fsl,imx27-pata";
-				reg = <0x43f8c000 0x4000>;
-				interrupts = <15>;
-				clocks = <&clks 26>;
-				status = "disabled";
-			};
-
-			uart1: serial@43f90000 {
-				compatible = "fsl,imx31-uart", "fsl,imx21-uart";
-				reg = <0x43f90000 0x4000>;
-				interrupts = <45>;
-				clocks = <&clks 10>, <&clks 30>;
-				clock-names = "ipg", "per";
-				status = "disabled";
-			};
-
-			uart2: serial@43f94000 {
-				compatible = "fsl,imx31-uart", "fsl,imx21-uart";
-				reg = <0x43f94000 0x4000>;
-				interrupts = <32>;
-				clocks = <&clks 10>, <&clks 31>;
-				clock-names = "ipg", "per";
-				status = "disabled";
-			};
-
-			i2c2: i2c@43f98000 {
-				compatible = "fsl,imx31-i2c", "fsl,imx21-i2c";
-				reg = <0x43f98000 0x4000>;
-				interrupts = <4>;
-				clocks = <&clks 34>;
-				#address-cells = <1>;
-				#size-cells = <0>;
-				status = "disabled";
-			};
-
-			spi1: spi@43fa4000 {
-				compatible = "fsl,imx31-cspi";
-				reg = <0x43fa4000 0x4000>;
-				interrupts = <14>;
-				clocks = <&clks 10>, <&clks 53>;
-				clock-names = "ipg", "per";
-				dmas = <&sdma 8 8 0>, <&sdma 9 8 0>;
-				dma-names = "rx", "tx";
-				#address-cells = <1>;
-				#size-cells = <0>;
-				status = "disabled";
-			};
-
-			kpp: kpp@43fa8000 {
-				compatible = "fsl,imx31-kpp", "fsl,imx21-kpp";
-				reg = <0x43fa8000 0x4000>;
-				interrupts = <24>;
-				clocks = <&clks 46>;
-				status = "disabled";
-			};
-
-			uart4: serial@43fb0000 {
-				compatible = "fsl,imx31-uart", "fsl,imx21-uart";
-				reg = <0x43fb0000 0x4000>;
-				clocks = <&clks 10>, <&clks 49>;
-				clock-names = "ipg", "per";
-				interrupts = <46>;
-				status = "disabled";
-			};
-
-			uart5: serial@43fb4000 {
-				compatible = "fsl,imx31-uart", "fsl,imx21-uart";
-				reg = <0x43fb4000 0x4000>;
-				interrupts = <47>;
-				clocks = <&clks 10>, <&clks 50>;
-				clock-names = "ipg", "per";
-				status = "disabled";
-			};
-		};
-
-		spba-bus@50000000 {
-			compatible = "fsl,spba-bus", "simple-bus";
-			#address-cells = <1>;
-			#size-cells = <1>;
-			reg = <0x50000000 0x100000>;
-			ranges;
-
-			sdhci1: mmc@50004000 {
-				compatible = "fsl,imx31-mmc";
-				reg = <0x50004000 0x4000>;
-				interrupts = <9>;
-				clocks = <&clks 10>, <&clks 20>;
-				clock-names = "ipg", "per";
-				dmas = <&sdma 20 3 0>;
-				dma-names = "rx-tx";
-				status = "disabled";
-			};
-
-			sdhci2: mmc@50008000 {
-				compatible = "fsl,imx31-mmc";
-				reg = <0x50008000 0x4000>;
-				interrupts = <8>;
-				clocks = <&clks 10>, <&clks 21>;
-				clock-names = "ipg", "per";
-				dmas = <&sdma 21 3 0>;
-				dma-names = "rx-tx";
-				status = "disabled";
-			};
-
-			uart3: serial@5000c000 {
-				compatible = "fsl,imx31-uart", "fsl,imx21-uart";
-				reg = <0x5000c000 0x4000>;
-				interrupts = <18>;
-				clocks = <&clks 10>, <&clks 48>;
-				clock-names = "ipg", "per";
-				status = "disabled";
-			};
-
-			spi2: spi@50010000 {
-				compatible = "fsl,imx31-cspi";
-				reg = <0x50010000 0x4000>;
-				interrupts = <13>;
-				clocks = <&clks 10>, <&clks 54>;
-				clock-names = "ipg", "per";
-				dmas = <&sdma 6 8 0>, <&sdma 7 8 0>;
-				dma-names = "rx", "tx";
-				#address-cells = <1>;
-				#size-cells = <0>;
-				status = "disabled";
-			};
-
-			iim: efuse@5001c000 {
-				compatible = "fsl,imx31-iim";
-				reg = <0x5001c000 0x1000>;
-				interrupts = <19>;
-				clocks = <&clks 25>;
-			};
-		};
-
-		bus@53f00000 { /* AIPS2 */
-			compatible = "fsl,aips-bus", "simple-bus";
-			#address-cells = <1>;
-			#size-cells = <1>;
-			reg = <0x53f00000 0x100000>;
-			ranges;
-
-			clks: ccm@53f80000 {
-				compatible = "fsl,imx31-ccm";
-				reg = <0x53f80000 0x4000>;
-				interrupts = <31>, <53>;
-				#clock-cells = <1>;
-			};
-
-			spi3: spi@53f84000 {
-				compatible = "fsl,imx31-cspi";
-				reg = <0x53f84000 0x4000>;
-				interrupts = <17>;
-				clocks = <&clks 10>, <&clks 28>;
-				clock-names = "ipg", "per";
-				dmas = <&sdma 10 8 0>, <&sdma 11 8 0>;
-				dma-names = "rx", "tx";
-				#address-cells = <1>;
-				#size-cells = <0>;
-				status = "disabled";
-			};
-
-			gpt: timer@53f90000 {
-				compatible = "fsl,imx31-gpt";
-				reg = <0x53f90000 0x4000>;
-				interrupts = <29>;
-				clocks = <&clks 10>, <&clks 22>;
-				clock-names = "ipg", "per";
-			};
-
-			gpio3: gpio@53fa4000 {
-				compatible = "fsl,imx31-gpio";
-				reg = <0x53fa4000 0x4000>;
-				interrupts = <56>;
-				gpio-controller;
-				#gpio-cells = <2>;
-				interrupt-controller;
-				#interrupt-cells = <2>;
-			};
-
-			rng@53fb0000 {
-				compatible = "fsl,imx31-rnga";
-				reg = <0x53fb0000 0x4000>;
-				interrupts = <22>;
-				clocks = <&clks 29>;
-			};
-
-			gpio1: gpio@53fcc000 {
-				compatible = "fsl,imx31-gpio";
-				reg = <0x53fcc000 0x4000>;
-				interrupts = <52>;
-				gpio-controller;
-				#gpio-cells = <2>;
-				interrupt-controller;
-				#interrupt-cells = <2>;
-			};
-
-			gpio2: gpio@53fd0000 {
-				compatible = "fsl,imx31-gpio";
-				reg = <0x53fd0000 0x4000>;
-				interrupts = <51>;
-				gpio-controller;
-				#gpio-cells = <2>;
-				interrupt-controller;
-				#interrupt-cells = <2>;
-			};
-
-			sdma: dma-controller@53fd4000 {
-				compatible = "fsl,imx31-sdma";
-				reg = <0x53fd4000 0x4000>;
-				interrupts = <34>;
-				clocks = <&clks 10>, <&clks 27>;
-				clock-names = "ipg", "ahb";
-				#dma-cells = <3>;
-				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx31.bin";
-			};
-
-			rtc: rtc@53fd8000 {
-				compatible = "fsl,imx31-rtc", "fsl,imx21-rtc";
-				reg = <0x53fd8000 0x4000>;
-				interrupts = <25>;
-				clocks = <&clks 2>, <&clks 40>;
-				clock-names = "ref", "ipg";
-			};
-
-			wdog: watchdog@53fdc000 {
-				compatible = "fsl,imx31-wdt", "fsl,imx21-wdt";
-				reg = <0x53fdc000 0x4000>;
-				clocks = <&clks 41>;
-				interrupts = <55>;
-			};
-
-			pwm: pwm@53fe0000 {
-				compatible = "fsl,imx31-pwm", "fsl,imx27-pwm";
-				reg = <0x53fe0000 0x4000>;
-				interrupts = <26>;
-				clocks = <&clks 10>, <&clks 42>;
-				clock-names = "ipg", "per";
-				#pwm-cells = <3>;
-				status = "disabled";
-			};
-		};
-
-		emi-bus@b8000000 { /* External Memory Interface */
-			compatible = "simple-bus";
-			reg = <0xb8000000 0x5000>;
-			ranges;
-			#address-cells = <1>;
-			#size-cells = <1>;
-
-			nfc: nand-controller@b8000000 {
-				compatible = "fsl,imx31-nand", "fsl,imx27-nand";
-				reg = <0xb8000000 0x1000>;
-				interrupts = <33>;
-				clocks = <&clks 9>;
-				dmas = <&sdma 30 17 0>;
-				dma-names = "rx-tx";
-				#address-cells = <1>;
-				#size-cells = <1>;
-				status = "disabled";
-			};
-
-			weim: memory-controller@b8002000 {
-				compatible = "fsl,imx31-weim", "fsl,imx27-weim";
-				reg = <0xb8002000 0x1000>;
-				clocks = <&clks 56>;
-				#address-cells = <2>;
-				#size-cells = <1>;
-				ranges = <0 0 0xa0000000 0x08000000
-					  1 0 0xa8000000 0x08000000
-					  2 0 0xb0000000 0x02000000
-					  3 0 0xb2000000 0x02000000
-					  4 0 0xb4000000 0x02000000
-					  5 0 0xb6000000 0x02000000>;
-				status = "disabled";
-			};
-		};
-	};
-};
arch/arm/configs/imx_v6_v7_defconfig +0 -1
index ed588add8d31..6ac42c06c1e9 100644
@@ -15,7 +15,6 @@ CONFIG_PERF_EVENTS=y
 CONFIG_KEXEC=y
 CONFIG_ARCH_MULTI_V6=y
 CONFIG_ARCH_MXC=y
-CONFIG_SOC_IMX31=y
 CONFIG_SOC_IMX35=y
 CONFIG_SOC_IMX50=y
 CONFIG_SOC_IMX51=y
arch/arm/mach-imx/Kconfig +0 -11
index 3f0521c652cb..77704c6a70ba 100644
@@ -39,17 +39,6 @@ if ARCH_MULTI_V6
 
 comment "ARM1136 platforms"
 
-config SOC_IMX31
-	bool "i.MX31 support (DEPRECATED)"
-	depends on !SMP
-	select CPU_ARM1136R0
-	select MXC_AVIC
-	help
-	  This enables support for Freescale i.MX31 processor
-
-	  This SoC is scheduled for removal in early 2027,
-	  since it uses the ARM1136r0 CPU revision.
-
 config SOC_IMX35
 	bool "i.MX35 support"
 	select CPU_ARM1136R1
arch/arm/mach-imx/Makefile +0 -1
index 5c650bf40e02..fa0144f0882d 100644
@@ -5,7 +5,6 @@ obj-$(CONFIG_SOC_IMX25) += cpu-imx25.o mach-imx25.o pm-imx25.o
 
 obj-$(CONFIG_SOC_IMX27) += cpu-imx27.o pm-imx27.o mach-imx27.o
 
-obj-$(CONFIG_SOC_IMX31) += mm-imx3.o cpu-imx31.o mach-imx31.o
 obj-$(CONFIG_SOC_IMX35) += mm-imx3.o cpu-imx35.o mach-imx35.o
 
 imx5-pm-$(CONFIG_PM) += pm-imx5.o
arch/arm/mach-imx/cpu-imx31.c deleted +0 -72
deleted file mode 100644
index e81ef9e36a1f..000000000000
@@ -1,72 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-or-later
-/*
- * MX31 CPU type detection
- *
- * Copyright (c) 2009 Daniel Mack <[email protected]>
- */
-
-#include <linux/module.h>
-#include <linux/of_address.h>
-#include <linux/io.h>
-
-#include "common.h"
-#include "hardware.h"
-#include "iim.h"
-
-static int mx31_cpu_rev = -1;
-
-static struct {
-	u8 srev;
-	const char *name;
-	unsigned int rev;
-} mx31_cpu_type[] = {
-	{ .srev = 0x00, .name = "i.MX31(L)", .rev = IMX_CHIP_REVISION_1_0 },
-	{ .srev = 0x10, .name = "i.MX31",    .rev = IMX_CHIP_REVISION_1_1 },
-	{ .srev = 0x11, .name = "i.MX31L",   .rev = IMX_CHIP_REVISION_1_1 },
-	{ .srev = 0x12, .name = "i.MX31",    .rev = IMX_CHIP_REVISION_1_1 },
-	{ .srev = 0x13, .name = "i.MX31L",   .rev = IMX_CHIP_REVISION_1_1 },
-	{ .srev = 0x14, .name = "i.MX31",    .rev = IMX_CHIP_REVISION_1_2 },
-	{ .srev = 0x15, .name = "i.MX31L",   .rev = IMX_CHIP_REVISION_1_2 },
-	{ .srev = 0x28, .name = "i.MX31",    .rev = IMX_CHIP_REVISION_2_0 },
-	{ .srev = 0x29, .name = "i.MX31L",   .rev = IMX_CHIP_REVISION_2_0 },
-};
-
-static int mx31_read_cpu_rev(void)
-{
-	void __iomem *iim_base;
-	struct device_node *np;
-	u32 i, srev;
-	int rev = IMX_CHIP_REVISION_UNKNOWN;
-
-	np = of_find_compatible_node(NULL, NULL, "fsl,imx31-iim");
-	iim_base = of_iomap(np, 0);
-	of_node_put(np);
-	BUG_ON(!iim_base);
-
-	/* read SREV register from IIM module */
-	srev = imx_readl(iim_base + MXC_IIMSREV);
-	srev &= 0xff;
-
-	for (i = 0; i < ARRAY_SIZE(mx31_cpu_type); i++)
-		if (srev == mx31_cpu_type[i].srev) {
-			rev = mx31_cpu_type[i].rev;
-			imx_print_silicon_rev(mx31_cpu_type[i].name,
-						mx31_cpu_type[i].rev);
-			goto out;
-		}
-
-	imx_print_silicon_rev("i.MX31", IMX_CHIP_REVISION_UNKNOWN);
-
-out:
-	iounmap(iim_base);
-	return rev;
-}
-
-int mx31_revision(void)
-{
-	if (mx31_cpu_rev == -1)
-		mx31_cpu_rev = mx31_read_cpu_rev();
-
-	return mx31_cpu_rev;
-}
-EXPORT_SYMBOL(mx31_revision);
arch/arm/mach-imx/mach-imx31.c deleted +0 -18
deleted file mode 100644
index e9a1092b6093..000000000000
@@ -1,18 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-or-later
-/*
- * Copyright 2012 Sascha Hauer, Pengutronix
- */
-
-#include <asm/mach/arch.h>
-#include "common.h"
-
-static const char * const imx31_dt_board_compat[] __initconst = {
-	"fsl,imx31",
-	NULL
-};
-
-DT_MACHINE_START(IMX31_DT, "Freescale i.MX31 (Device Tree Support)")
-	.map_io		= mx31_map_io,
-	.init_early	= imx31_init_early,
-	.dt_compat	= imx31_dt_board_compat,
-MACHINE_END
arch/arm/mach-imx/mm-imx3.c +0 -45
index 9b0b014d7fe2..42e73518004a 100644
@@ -69,49 +69,6 @@ static void __iomem *imx3_ioremap_caller(phys_addr_t phys_addr, size_t size,
 	return __arm_ioremap_caller(phys_addr, size, mtype, caller);
 }
 
-#ifdef CONFIG_SOC_IMX31
-static struct map_desc mx31_io_desc[] __initdata = {
-	imx_map_entry(MX31, X_MEMC, MT_DEVICE),
-	imx_map_entry(MX31, AVIC, MT_DEVICE_NONSHARED),
-	imx_map_entry(MX31, AIPS1, MT_DEVICE_NONSHARED),
-	imx_map_entry(MX31, AIPS2, MT_DEVICE_NONSHARED),
-	imx_map_entry(MX31, SPBA0, MT_DEVICE_NONSHARED),
-};
-
-/*
- * This function initializes the memory map. It is called during the
- * system startup to create static physical to virtual memory mappings
- * for the IO modules.
- */
-void __init mx31_map_io(void)
-{
-	iotable_init(mx31_io_desc, ARRAY_SIZE(mx31_io_desc));
-}
-
-static void imx31_idle(void)
-{
-	int reg = imx_readl(mx3_ccm_base + MXC_CCM_CCMR);
-	reg &= ~MXC_CCM_CCMR_LPM_MASK;
-	imx_writel(reg, mx3_ccm_base + MXC_CCM_CCMR);
-
-	imx3_idle();
-}
-
-void __init imx31_init_early(void)
-{
-	struct device_node *np;
-
-	mxc_set_cpu_type(MXC_CPU_MX31);
-	arch_ioremap_caller = imx3_ioremap_caller;
-	arm_pm_idle = imx31_idle;
-	np = of_find_compatible_node(NULL, NULL, "fsl,imx31-ccm");
-	mx3_ccm_base = of_iomap(np, 0);
-	of_node_put(np);
-	BUG_ON(!mx3_ccm_base);
-}
-#endif /* ifdef CONFIG_SOC_IMX31 */
-
-#ifdef CONFIG_SOC_IMX35
 static struct map_desc mx35_io_desc[] __initdata = {
 	imx_map_entry(MX35, X_MEMC, MT_DEVICE),
 	imx_map_entry(MX35, AVIC, MT_DEVICE_NONSHARED),
@@ -147,4 +104,3 @@ void __init imx35_init_early(void)
 	of_node_put(np);
 	BUG_ON(!mx3_ccm_base);
 }
-#endif /* ifdef CONFIG_SOC_IMX35 */
--

2.53.0

#62 lore raw

PATCH 8/13 ARM: imx: remove nommu support

In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The i.MX platform has grown support for three separate product lines using Cortex-M based microcontrollers over the years:

- i.MX RT1050, a high-end microcontroller
- Vybrid vf610 suppors running Linux on either the Cortex-A5 CPU or the Cortex-M4 MCU
- i.MX7D similarly can run Linux on the Cortex-A7 or the Cortex-M4

There are no known upstream users of any of those three, so drop support and simplify the platform to assume that an MMU is present.

Cc Frank Li <[email protected]>
Cc Sascha Hauer <[email protected]>
Cc Pengutronix Kernel Team <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Stefan Agner <[email protected]>
Cc Rob Herring <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Conor Dooley <[email protected]>
Cc Vladimir Zapolskiy <[email protected]>
Cc Giulio Benetti <[email protected]>
---
 arch/arm/boot/dts/nxp/imx/Makefile            |    2 -
 arch/arm/boot/dts/nxp/imx/imxrt1050-evk.dts   |   72 -
 arch/arm/boot/dts/nxp/imx/imxrt1050-pinfunc.h |  993 -----------
 arch/arm/boot/dts/nxp/imx/imxrt1050.dtsi      |  160 --
 arch/arm/boot/dts/nxp/imx/imxrt1170-pinfunc.h | 1561 -----------------
 arch/arm/boot/dts/nxp/vf/Makefile             |    2 -
 arch/arm/boot/dts/nxp/vf/vf610m4-colibri.dts  |   61 -
 arch/arm/boot/dts/nxp/vf/vf610m4-cosmic.dts   |   88 -
 arch/arm/boot/dts/nxp/vf/vf610m4.dtsi         |   61 -
 arch/arm/configs/imxrt_defconfig              |   35 -
 arch/arm/configs/vf610m4_defconfig            |   39 -
 arch/arm/mach-imx/Kconfig                     |   27 +-
 arch/arm/mach-imx/Makefile                    |    3 -
 arch/arm/mach-imx/mach-imx7d-cm4.c            |   18 -
 arch/arm/mach-imx/mach-imxrt.c                |   19 -
 arch/arm/mach-imx/mach-vf610.c                |    1 -
 16 files changed, 6 insertions(+), 3136 deletions(-)
 delete mode 100644 arch/arm/boot/dts/nxp/imx/imxrt1050-evk.dts
 delete mode 100644 arch/arm/boot/dts/nxp/imx/imxrt1050-pinfunc.h
 delete mode 100644 arch/arm/boot/dts/nxp/imx/imxrt1050.dtsi
 delete mode 100644 arch/arm/boot/dts/nxp/imx/imxrt1170-pinfunc.h
 delete mode 100644 arch/arm/boot/dts/nxp/vf/vf610m4-colibri.dts
 delete mode 100644 arch/arm/boot/dts/nxp/vf/vf610m4-cosmic.dts
 delete mode 100644 arch/arm/boot/dts/nxp/vf/vf610m4.dtsi
 delete mode 100644 arch/arm/configs/imxrt_defconfig
 delete mode 100644 arch/arm/configs/vf610m4_defconfig
 delete mode 100644 arch/arm/mach-imx/mach-imx7d-cm4.c
 delete mode 100644 arch/arm/mach-imx/mach-imxrt.c
arch/arm/boot/dts/nxp/imx/Makefile +0 -2
index e0747cb6e772..288d16d9315d 100644
@@ -452,5 +452,3 @@ dtb-$(CONFIG_SOC_IMX7D) += \
 dtb-$(CONFIG_SOC_IMX7ULP) += \
 	imx7ulp-com.dtb \
 	imx7ulp-evk.dtb
-dtb-$(CONFIG_SOC_IMXRT) += \
-	imxrt1050-evk.dtb
arch/arm/boot/dts/nxp/imx/imxrt1050-evk.dts deleted +0 -72

72 lines not on this page · raw message

arch/arm/boot/dts/nxp/imx/imxrt1050-pinfunc.h deleted +0 -993

993 lines not on this page · raw message

arch/arm/boot/dts/nxp/imx/imxrt1050.dtsi deleted +0 -160

160 lines not on this page · raw message

arch/arm/boot/dts/nxp/imx/imxrt1170-pinfunc.h deleted +0 -1561

1,561 lines not on this page · raw message

arch/arm/boot/dts/nxp/vf/Makefile +0 -2
index 0a4a7f9dd43e..1733506c0c72 100644
@@ -3,9 +3,7 @@ dtb-$(CONFIG_SOC_VF610) += \
 	vf500-colibri-eval-v3.dtb \
 	vf610-bk4.dtb \
 	vf610-colibri-eval-v3.dtb \
-	vf610m4-colibri.dtb \
 	vf610-cosmic.dtb \
-	vf610m4-cosmic.dtb \
 	vf610-twr.dtb \
 	vf610-zii-cfu1.dtb \
 	vf610-zii-dev-rev-b.dtb \
arch/arm/boot/dts/nxp/vf/vf610m4-colibri.dts deleted +0 -61

61 lines not on this page · raw message

arch/arm/boot/dts/nxp/vf/vf610m4-cosmic.dts deleted +0 -88

88 lines not on this page · raw message

arch/arm/boot/dts/nxp/vf/vf610m4.dtsi deleted +0 -61

51 lines not on this page · raw message

arch/arm/configs/imxrt_defconfig deleted +0 -35
deleted file mode 100644
index 52dba3762996..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/configs/vf610m4_defconfig deleted +0 -39
deleted file mode 100644
index a5609cbfdfb3..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-imx/Kconfig +6 -21
index 77704c6a70ba..cdc1b31fe573 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-imx/Makefile +0 -3
index fa0144f0882d..135079340428 100644

Lines of this file are not shown. View the raw message.

arch/arm/mach-imx/mach-imx7d-cm4.c deleted +0 -18
deleted file mode 100644
index 0800b5891d2a..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-imx/mach-imxrt.c deleted +0 -19
deleted file mode 100644
index 2063a3059c84..000000000000

Lines of this file are not shown. View the raw message.

arch/arm/mach-imx/mach-vf610.c +0 -1
index 208ff640698d..f77565381097 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.53.0

Part of the diff is not shown here. View the raw message.

#63 lore raw

Re: [PATCH 08/13] ARM: imx: remove nommu support

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [High] Orphaned Kconfig dependencies on the removed `SOC_IMXRT` symbol leave drivers silently disabled. --

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] Orphaned Kconfig dependencies on the removed SOC_IMXRT symbol leave drivers silently disabled. --

commit ecf588322c385f47ce74ce1a3a67ac11cf5204d7
Author: Arnd Bergmann <[email protected]>

ARM: imx: remove nommu support

This commit drops support for three Cortex-M based microcontrollers on the i.MX platform (i.MX RT1050, Vybrid vf610 M4, and i.MX7D M4). It removes the relevant device trees, configs, and Kconfig entries to simplify the platform by assuming an MMU is present.

[ ... ]

Quoted 4 lines
arch/arm/mach-imx/Kconfig +0 -0
index 77704c6a70bad..cdc1b31fe5730 100644

[ ... ]

arch/arm/mach-imx/Kconfig config SOC_IMX7D_CA7 · line 218

Quoted 9 lines
arch/arm/mach-imx/Kconfig +0 -9
-config SOC_IMXRT
-	bool "i.MXRT support (DEPRECATED)"
-	depends on ARM_SINGLE_ARMV7M
-	select ARMV7M_SYSTICK if ARM_SINGLE_ARMV7M
-	help
-	  This enables support for Freescale i.MXRT Crossover processor.
-
-	  This platform is scheduled for removal in early 2027
-

[Severity: High]
Does removing SOC_IMXRT leave Kconfig dependencies orphaned in other subsystems?

There appear to be a few config symbols that still depend on SOC_IMXRT:

drivers/clk/imx/Kconfig:
config CLK_IMXRT1050

        depends on SOC_IMXRT || COMPILE_TEST

drivers/pinctrl/freescale/Kconfig:
config PINCTRL_IMXRT1050

        depends on SOC_IMXRT || COMPILE_TEST
        default SOC_IMXRT

drivers/pinctrl/freescale/Kconfig:
config PINCTRL_IMXRT1170

        depends on SOC_IMXRT || COMPILE_TEST

Since SOC_IMXRT is removed here, these drivers might be left silently disabled on normal builds. Should these drivers and their Kconfig entries also be removed?

[ ... ]

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=8
reviewer
#64 lore raw

Re: [PATCH 08/13] ARM: imx: remove nommu support

In reply to Arnd Bergmann
Quoted 35 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The i.MX platform has grown support for three separate product lines using Cortex-M based microcontrollers over the years:

- i.MX RT1050, a high-end microcontroller
- Vybrid vf610 suppors running Linux on either the Cortex-A5 CPU or the Cortex-M4 MCU
- i.MX7D similarly can run Linux on the Cortex-A7 or the Cortex-M4

There are no known upstream users of any of those three, so drop support and simplify the platform to assume that an MMU is present.

Cc Frank Li <[email protected]>
Cc Sascha Hauer <[email protected]>
Cc Pengutronix Kernel Team <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Stefan Agner <[email protected]>
Cc Rob Herring <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Conor Dooley <[email protected]>
Cc Vladimir Zapolskiy <[email protected]>
Cc Giulio Benetti <[email protected]>
---
 arch/arm/boot/dts/nxp/imx/Makefile            |    2 -
 arch/arm/boot/dts/nxp/imx/imxrt1050-evk.dts   |   72 -
 arch/arm/boot/dts/nxp/imx/imxrt1050-pinfunc.h |  993 -----------
 arch/arm/boot/dts/nxp/imx/imxrt1050.dtsi      |  160 --
 arch/arm/boot/dts/nxp/imx/imxrt1170-pinfunc.h | 1561 -----------------
reviewer
#65 lore raw

Re: [PATCH 08/13] ARM: imx: remove nommu support

In reply to Arnd Bergmann
Quoted 29 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The i.MX platform has grown support for three separate product lines using Cortex-M based microcontrollers over the years:

- i.MX RT1050, a high-end microcontroller
- Vybrid vf610 suppors running Linux on either the Cortex-A5 CPU or the Cortex-M4 MCU
- i.MX7D similarly can run Linux on the Cortex-A7 or the Cortex-M4

There are no known upstream users of any of those three, so drop support and simplify the platform to assume that an MMU is present.

Cc Frank Li <[email protected]>
Cc Sascha Hauer <[email protected]>
Cc Pengutronix Kernel Team <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Stefan Agner <[email protected]>
Cc Rob Herring <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Conor Dooley <[email protected]>
Cc Vladimir Zapolskiy <[email protected]>
Cc Giulio Benetti <[email protected]>
Quoted 16 lines
---
 arch/arm/boot/dts/nxp/imx/Makefile            |    2 -
 arch/arm/boot/dts/nxp/imx/imxrt1050-evk.dts   |   72 -
 arch/arm/boot/dts/nxp/imx/imxrt1050-pinfunc.h |  993 -----------
 arch/arm/boot/dts/nxp/imx/imxrt1050.dtsi      |  160 --
 arch/arm/boot/dts/nxp/imx/imxrt1170-pinfunc.h | 1561 -----------------
 arch/arm/boot/dts/nxp/vf/Makefile             |    2 -
 arch/arm/boot/dts/nxp/vf/vf610m4-colibri.dts  |   61 -
 arch/arm/boot/dts/nxp/vf/vf610m4-cosmic.dts   |   88 -
 arch/arm/boot/dts/nxp/vf/vf610m4.dtsi         |   61 -
 arch/arm/configs/imxrt_defconfig              |   35 -
 arch/arm/configs/vf610m4_defconfig            |   39 -
 arch/arm/mach-imx/Kconfig                     |   27 +-
 arch/arm/mach-imx/Makefile                    |    3 -
 arch/arm/mach-imx/mach-imx7d-cm4.c            |   18 -
 arch/arm/mach-imx/mach-imxrt.c                |   19 -

The imxrt1050-evk dts is used in U-Boot.

Adding Jesse and Giulio, who use this platform in U-Boot.

#66 lore raw

Re: [PATCH 08/13] ARM: imx: remove nommu support

Quoted 8 lines · Fabio Estevam
Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The i.MX platform has grown support for three separate product lines using Cortex-M based microcontrollers over the years:

Quoted 7 lines
Quoted 7 lines

- i.MX RT1050, a high-end microcontroller
- Vybrid vf610 suppors running Linux on either the Cortex-A5 CPU or the Cortex-M4 MCU
- i.MX7D similarly can run Linux on the Cortex-A7 or the Cortex-M4

There are no known upstream users of any of those three,

There is both a u-boot and buildroot config for i.MX RT1050, I also do basic regression testing on this platform. I understand the need to depreciate no-MMU, but it's sad to see them go.

If it helps at all to remove i.MX RT1050 there are only 11 commits adding it that are from Giulio Benetti and I.
For i.MX RT1170 only 3 commits by me which only got partially added. See
Commit: fff65226b229 ("pinctrl: freescale: Add i.MXRT1170 pinctrl driver support")

I also occasionally test the stm32f429-disco as I have one.

Quoted 34 lines
Quoted 17 lines

so
drop support and simplify the platform to assume that an MMU is present.

Cc Frank Li <[email protected]>
Cc Sascha Hauer <[email protected]>
Cc Pengutronix Kernel Team <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Stefan Agner <[email protected]>
Cc Rob Herring <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Conor Dooley <[email protected]>
Cc Vladimir Zapolskiy <[email protected]>
Cc Giulio Benetti <[email protected]>
Quoted 16 lines
---
 arch/arm/boot/dts/nxp/imx/Makefile            |    2 -
 arch/arm/boot/dts/nxp/imx/imxrt1050-evk.dts   |   72 -
 arch/arm/boot/dts/nxp/imx/imxrt1050-pinfunc.h |  993 -----------
 arch/arm/boot/dts/nxp/imx/imxrt1050.dtsi      |  160 --
 arch/arm/boot/dts/nxp/imx/imxrt1170-pinfunc.h | 1561 -----------------
 arch/arm/boot/dts/nxp/vf/Makefile             |    2 -
 arch/arm/boot/dts/nxp/vf/vf610m4-colibri.dts  |   61 -
 arch/arm/boot/dts/nxp/vf/vf610m4-cosmic.dts   |   88 -
 arch/arm/boot/dts/nxp/vf/vf610m4.dtsi         |   61 -
 arch/arm/configs/imxrt_defconfig              |   35 -
 arch/arm/configs/vf610m4_defconfig            |   39 -
 arch/arm/mach-imx/Kconfig                     |   27 +-
 arch/arm/mach-imx/Makefile                    |    3 -
 arch/arm/mach-imx/mach-imx7d-cm4.c            |   18 -
 arch/arm/mach-imx/mach-imxrt.c                |   19 -
Quoted 3 lines

The imxrt1050-evk dts is used in U-Boot.

Adding Jesse and Giulio, who use this platform in U-Boot.

Thanks for the CC,
Jesse Taube

#67 lore raw

Re: [PATCH 08/13] ARM: imx: remove nommu support

In reply to Fabio Estevam

Hi Fabio, Arnd and Jesse,

Quoted 47 lines · Fabio Estevam
Quoted 29 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The i.MX platform has grown support for three separate product lines using Cortex-M based microcontrollers over the years:

- i.MX RT1050, a high-end microcontroller
- Vybrid vf610 suppors running Linux on either the Cortex-A5 CPU or the Cortex-M4 MCU
- i.MX7D similarly can run Linux on the Cortex-A7 or the Cortex-M4

There are no known upstream users of any of those three, so drop support and simplify the platform to assume that an MMU is present.

Cc Frank Li <[email protected]>
Cc Sascha Hauer <[email protected]>
Cc Pengutronix Kernel Team <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc Stefan Agner <[email protected]>
Cc Rob Herring <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Conor Dooley <[email protected]>
Cc Vladimir Zapolskiy <[email protected]>
Cc Giulio Benetti <[email protected]>
Quoted 16 lines
---
  arch/arm/boot/dts/nxp/imx/Makefile            |    2 -
  arch/arm/boot/dts/nxp/imx/imxrt1050-evk.dts   |   72 -
  arch/arm/boot/dts/nxp/imx/imxrt1050-pinfunc.h |  993 -----------
  arch/arm/boot/dts/nxp/imx/imxrt1050.dtsi      |  160 --
  arch/arm/boot/dts/nxp/imx/imxrt1170-pinfunc.h | 1561 -----------------
  arch/arm/boot/dts/nxp/vf/Makefile             |    2 -
  arch/arm/boot/dts/nxp/vf/vf610m4-colibri.dts  |   61 -
  arch/arm/boot/dts/nxp/vf/vf610m4-cosmic.dts   |   88 -
  arch/arm/boot/dts/nxp/vf/vf610m4.dtsi         |   61 -
  arch/arm/configs/imxrt_defconfig              |   35 -
  arch/arm/configs/vf610m4_defconfig            |   39 -
  arch/arm/mach-imx/Kconfig                     |   27 +-
  arch/arm/mach-imx/Makefile                    |    3 -
  arch/arm/mach-imx/mach-imx7d-cm4.c            |   18 -
  arch/arm/mach-imx/mach-imxrt.c                |   19 -
Quoted 3 lines

The imxrt1050-evk dts is used in U-Boot.

Adding Jesse and Giulio, who use this platform in U-Boot.

MMU-less architecture never had a complete support, I agree that it's time to drop it so:

Best regards
Giulio Benetti