You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Merge tag 'cleanup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC cleanups from Olof Johansson: "This is a good healthy set of various code removals. Total net delta is 8100 lines removed. Among the larger cleanups are: - Removal of old Samsung S3C DMA infrastructure by Arnd - Removal of the non-DT version of the 'lager' board by Magnus Damm - General stale code removal on OMAP and Davinci by Rickard Strandqvist - Removal of non-DT support on am3517 platforms by Tony Lindgren ... plus several other cleanups of various platforms across the board" * tag 'cleanup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (47 commits) ARM: sirf: drop redundant function and marco declaration arm: omap: specify PMUs are for ARMv7 CPUs arm: shmobile: specify PMUs are for ARMv7 CPUs arm: iop: specify PMUs are for XScale CPUs arm: pxa: specify PMUs are for XScale CPUs arm: realview: specify PMU types ARM: SAMSUNG: remove unused DMA infrastructure ARM: OMAP3: Add back Kconfig option MACH_OMAP3517EVM for ASoC ARM: davinci: Remove CDCE949 driver ARM: at91: remove useless at91rm9200_set_type() ARM: at91: remove useless at91rm9200_dt_initialize() ARM: at91: move debug-macro.S into the common space ARM: at91: remove useless at91_sysirq_mask_rtx ARM: at91: remove useless config MACH_AT91SAM9_DT ARM: at91: remove useless config MACH_AT91RM9200_DT ARM: at91: remove unused mach/memory.h ARM: at91: remove useless header file includes ARM: at91: remove unneeded header file rtc: at91/Kconfig: remove useless options ARM: at91/Documentation: add a README for Atmel SoCs ...
This commit is contained in:
@@ -0,0 +1,124 @@
|
|||||||
|
ARM Atmel SoCs (aka AT91)
|
||||||
|
=========================
|
||||||
|
|
||||||
|
|
||||||
|
Introduction
|
||||||
|
------------
|
||||||
|
This document gives useful information about the ARM Atmel SoCs that are
|
||||||
|
currently supported in Linux Mainline (you know, the one on kernel.org).
|
||||||
|
|
||||||
|
It is important to note that the Atmel | SMART ARM-based MPU product line is
|
||||||
|
historically named "AT91" or "at91" throughout the Linux kernel development
|
||||||
|
process even if this product prefix has completely disappeared from the
|
||||||
|
official Atmel product name. Anyway, files, directories, git trees,
|
||||||
|
git branches/tags and email subject always contain this "at91" sub-string.
|
||||||
|
|
||||||
|
|
||||||
|
AT91 SoCs
|
||||||
|
---------
|
||||||
|
Documentation and detailled datasheet for each product are available on
|
||||||
|
the Atmel website: http://www.atmel.com.
|
||||||
|
|
||||||
|
Flavors:
|
||||||
|
* ARM 920 based SoC
|
||||||
|
- at91rm9200
|
||||||
|
+ Datasheet
|
||||||
|
http://www.atmel.com/Images/doc1768.pdf
|
||||||
|
|
||||||
|
* ARM 926 based SoCs
|
||||||
|
- at91sam9260
|
||||||
|
+ Datasheet
|
||||||
|
http://www.atmel.com/Images/doc6221.pdf
|
||||||
|
|
||||||
|
- at91sam9xe
|
||||||
|
+ Datasheet
|
||||||
|
http://www.atmel.com/Images/Atmel-6254-32-bit-ARM926EJ-S-Embedded-Microprocessor-SAM9XE_Datasheet.pdf
|
||||||
|
|
||||||
|
- at91sam9261
|
||||||
|
+ Datasheet
|
||||||
|
http://www.atmel.com/Images/doc6062.pdf
|
||||||
|
|
||||||
|
- at91sam9263
|
||||||
|
+ Datasheet
|
||||||
|
http://www.atmel.com/Images/Atmel_6249_32-bit-ARM926EJ-S-Microcontroller_SAM9263_Datasheet.pdf
|
||||||
|
|
||||||
|
- at91sam9rl
|
||||||
|
+ Datasheet
|
||||||
|
http://www.atmel.com/Images/doc6289.pdf
|
||||||
|
|
||||||
|
- at91sam9g20
|
||||||
|
+ Datasheet
|
||||||
|
http://www.atmel.com/Images/doc6384.pdf
|
||||||
|
|
||||||
|
- at91sam9g45 family
|
||||||
|
- at91sam9g45
|
||||||
|
- at91sam9g46
|
||||||
|
- at91sam9m10
|
||||||
|
- at91sam9m11 (device superset)
|
||||||
|
+ Datasheet
|
||||||
|
http://www.atmel.com/Images/Atmel-6437-32-bit-ARM926-Embedded-Microprocessor-SAM9M11_Datasheet.pdf
|
||||||
|
|
||||||
|
- at91sam9x5 family (aka "The 5 series")
|
||||||
|
- at91sam9g15
|
||||||
|
- at91sam9g25
|
||||||
|
- at91sam9g35
|
||||||
|
- at91sam9x25
|
||||||
|
- at91sam9x35
|
||||||
|
+ Datasheet (can be considered as covering the whole family)
|
||||||
|
http://www.atmel.com/Images/Atmel_11055_32-bit-ARM926EJ-S-Microcontroller_SAM9X35_Datasheet.pdf
|
||||||
|
|
||||||
|
- at91sam9n12
|
||||||
|
+ Datasheet
|
||||||
|
http://www.atmel.com/Images/Atmel_11063_32-bit-ARM926EJ-S-Microcontroller_SAM9N12CN11CN12_Datasheet.pdf
|
||||||
|
|
||||||
|
* ARM Cortex-A5 based SoCs
|
||||||
|
- sama5d3 family
|
||||||
|
- sama5d31
|
||||||
|
- sama5d33
|
||||||
|
- sama5d34
|
||||||
|
- sama5d35
|
||||||
|
- sama5d36 (device superset)
|
||||||
|
+ Datasheet
|
||||||
|
http://www.atmel.com/Images/Atmel-11121-32-bit-Cortex-A5-Microcontroller-SAMA5D3_Datasheet.pdf
|
||||||
|
|
||||||
|
* ARM Cortex-A5 + NEON based SoCs
|
||||||
|
- sama5d4 family
|
||||||
|
- sama5d41
|
||||||
|
- sama5d42
|
||||||
|
- sama5d43
|
||||||
|
- sama5d44 (device superset)
|
||||||
|
+ Datasheet
|
||||||
|
http://www.atmel.com/Images/Atmel-11238-32-bit-Cortex-A5-Microcontroller-SAMA5D4_Datasheet.pdf
|
||||||
|
|
||||||
|
|
||||||
|
Linux kernel information
|
||||||
|
------------------------
|
||||||
|
Linux kernel mach directory: arch/arm/mach-at91
|
||||||
|
MAINTAINERS entry is: "ARM/ATMEL AT91RM9200 AND AT91SAM ARM ARCHITECTURES"
|
||||||
|
|
||||||
|
|
||||||
|
Device Tree for AT91 SoCs and boards
|
||||||
|
------------------------------------
|
||||||
|
All AT91 SoCs are converted to Device Tree. Since Linux 3.19, these products
|
||||||
|
must use this method to boot the Linux kernel.
|
||||||
|
|
||||||
|
Work In Progress statement:
|
||||||
|
Device Tree files and Device Tree bindings that apply to AT91 SoCs and boards are
|
||||||
|
considered as "Unstable". To be completely clear, any at91 binding can change at
|
||||||
|
any time. So, be sure to use a Device Tree Binary and a Kernel Image generated from
|
||||||
|
the same source tree.
|
||||||
|
Please refer to the Documentation/devicetree/bindings/ABI.txt file for a
|
||||||
|
definition of a "Stable" binding/ABI.
|
||||||
|
This statement will be removed by AT91 MAINTAINERS when appropriate.
|
||||||
|
|
||||||
|
Naming conventions and best practice:
|
||||||
|
- SoCs Device Tree Source Include files are named after the official name of
|
||||||
|
the product (at91sam9g20.dtsi or sama5d33.dtsi for instance).
|
||||||
|
- Device Tree Source Include files (.dtsi) are used to collect common nodes that can be
|
||||||
|
shared across SoCs or boards (sama5d3.dtsi or at91sam9x5cm.dtsi for instance).
|
||||||
|
When collecting nodes for a particular peripheral or topic, the identifier have to
|
||||||
|
be placed at the end of the file name, separated with a "_" (at91sam9x5_can.dtsi
|
||||||
|
or sama5d3_gmac.dtsi for example).
|
||||||
|
- board Device Tree Source files (.dts) are prefixed by the string "at91-" so
|
||||||
|
that they can be identified easily. Note that some files are historical exceptions
|
||||||
|
to this rule (sama5d3[13456]ek.dts, usb_a9g20.dts or animeo_ip.dts for example).
|
||||||
@@ -1,46 +0,0 @@
|
|||||||
S3C2410 DMA
|
|
||||||
===========
|
|
||||||
|
|
||||||
Introduction
|
|
||||||
------------
|
|
||||||
|
|
||||||
The kernel provides an interface to manage DMA transfers
|
|
||||||
using the DMA channels in the CPU, so that the central
|
|
||||||
duty of managing channel mappings, and programming the
|
|
||||||
channel generators is in one place.
|
|
||||||
|
|
||||||
|
|
||||||
DMA Channel Ordering
|
|
||||||
--------------------
|
|
||||||
|
|
||||||
Many of the range do not have connections for the DMA
|
|
||||||
channels to all sources, which means that some devices
|
|
||||||
have a restricted number of channels that can be used.
|
|
||||||
|
|
||||||
To allow flexibility for each CPU type and board, the
|
|
||||||
DMA code can be given a DMA ordering structure which
|
|
||||||
allows the order of channel search to be specified, as
|
|
||||||
well as allowing the prohibition of certain claims.
|
|
||||||
|
|
||||||
struct s3c24xx_dma_order has a list of channels, and
|
|
||||||
each channel within has a slot for a list of DMA
|
|
||||||
channel numbers. The slots are searched in order for
|
|
||||||
the presence of a DMA channel number with DMA_CH_VALID
|
|
||||||
or-ed in.
|
|
||||||
|
|
||||||
If the order has the flag DMA_CH_NEVER set, then after
|
|
||||||
checking the channel list, the system will return no
|
|
||||||
found channel, thus denying the request.
|
|
||||||
|
|
||||||
A board support file can call s3c24xx_dma_order_set()
|
|
||||||
to register a complete ordering set. The routine will
|
|
||||||
copy the data, so the original can be discarded with
|
|
||||||
__initdata.
|
|
||||||
|
|
||||||
|
|
||||||
Authour
|
|
||||||
-------
|
|
||||||
|
|
||||||
Ben Dooks,
|
|
||||||
Copyright (c) 2007 Ben Dooks, Simtec Electronics
|
|
||||||
Licensed under the GPL v2
|
|
||||||
+1
-1
@@ -895,6 +895,7 @@ F: arch/arm/boot/dts/at91*.dts
|
|||||||
F: arch/arm/boot/dts/at91*.dtsi
|
F: arch/arm/boot/dts/at91*.dtsi
|
||||||
F: arch/arm/boot/dts/sama*.dts
|
F: arch/arm/boot/dts/sama*.dts
|
||||||
F: arch/arm/boot/dts/sama*.dtsi
|
F: arch/arm/boot/dts/sama*.dtsi
|
||||||
|
F: arch/arm/include/debug/at91.S
|
||||||
|
|
||||||
ARM/ATMEL AT91 Clock Support
|
ARM/ATMEL AT91 Clock Support
|
||||||
M: Boris Brezillon <boris.brezillon@free-electrons.com>
|
M: Boris Brezillon <boris.brezillon@free-electrons.com>
|
||||||
@@ -1414,7 +1415,6 @@ F: arch/arm/configs/ape6evm_defconfig
|
|||||||
F: arch/arm/configs/armadillo800eva_defconfig
|
F: arch/arm/configs/armadillo800eva_defconfig
|
||||||
F: arch/arm/configs/bockw_defconfig
|
F: arch/arm/configs/bockw_defconfig
|
||||||
F: arch/arm/configs/kzm9g_defconfig
|
F: arch/arm/configs/kzm9g_defconfig
|
||||||
F: arch/arm/configs/lager_defconfig
|
|
||||||
F: arch/arm/configs/mackerel_defconfig
|
F: arch/arm/configs/mackerel_defconfig
|
||||||
F: arch/arm/configs/marzen_defconfig
|
F: arch/arm/configs/marzen_defconfig
|
||||||
F: arch/arm/configs/shmobile_defconfig
|
F: arch/arm/configs/shmobile_defconfig
|
||||||
|
|||||||
@@ -115,15 +115,18 @@ choice
|
|||||||
0x80024000 | 0xf0024000 | UART9
|
0x80024000 | 0xf0024000 | UART9
|
||||||
|
|
||||||
config AT91_DEBUG_LL_DBGU0
|
config AT91_DEBUG_LL_DBGU0
|
||||||
bool "Kernel low-level debugging on rm9200, 9260/9g20, 9261/9g10 and 9rl"
|
bool "Kernel low-level debugging on rm9200, 9260/9g20, 9261/9g10, 9rl, 9x5, 9n12"
|
||||||
|
select DEBUG_AT91_UART
|
||||||
depends on HAVE_AT91_DBGU0
|
depends on HAVE_AT91_DBGU0
|
||||||
|
|
||||||
config AT91_DEBUG_LL_DBGU1
|
config AT91_DEBUG_LL_DBGU1
|
||||||
bool "Kernel low-level debugging on 9263 and 9g45"
|
bool "Kernel low-level debugging on 9263, 9g45 and sama5d3"
|
||||||
|
select DEBUG_AT91_UART
|
||||||
depends on HAVE_AT91_DBGU1
|
depends on HAVE_AT91_DBGU1
|
||||||
|
|
||||||
config AT91_DEBUG_LL_DBGU2
|
config AT91_DEBUG_LL_DBGU2
|
||||||
bool "Kernel low-level debugging on sama5d4"
|
bool "Kernel low-level debugging on sama5d4"
|
||||||
|
select DEBUG_AT91_UART
|
||||||
depends on HAVE_AT91_DBGU2
|
depends on HAVE_AT91_DBGU2
|
||||||
|
|
||||||
config DEBUG_BCM2835
|
config DEBUG_BCM2835
|
||||||
@@ -1218,6 +1221,8 @@ config DEBUG_LL_INCLUDE
|
|||||||
string
|
string
|
||||||
default "debug/sa1100.S" if DEBUG_SA1100
|
default "debug/sa1100.S" if DEBUG_SA1100
|
||||||
default "debug/8250.S" if DEBUG_LL_UART_8250 || DEBUG_UART_8250
|
default "debug/8250.S" if DEBUG_LL_UART_8250 || DEBUG_UART_8250
|
||||||
|
default "debug/at91.S" if AT91_DEBUG_LL_DBGU0 || AT91_DEBUG_LL_DBGU1 || \
|
||||||
|
AT91_DEBUG_LL_DBGU2
|
||||||
default "debug/asm9260.S" if DEBUG_ASM9260_UART
|
default "debug/asm9260.S" if DEBUG_ASM9260_UART
|
||||||
default "debug/clps711x.S" if DEBUG_CLPS711X_UART1 || DEBUG_CLPS711X_UART2
|
default "debug/clps711x.S" if DEBUG_CLPS711X_UART1 || DEBUG_CLPS711X_UART2
|
||||||
default "debug/meson.S" if DEBUG_MESON_UARTAO
|
default "debug/meson.S" if DEBUG_MESON_UARTAO
|
||||||
|
|||||||
@@ -410,7 +410,6 @@ dtb-$(CONFIG_ARCH_SHMOBILE_LEGACY) += \
|
|||||||
r8a7778-bockw.dtb \
|
r8a7778-bockw.dtb \
|
||||||
r8a7778-bockw-reference.dtb \
|
r8a7778-bockw-reference.dtb \
|
||||||
r8a7779-marzen.dtb \
|
r8a7779-marzen.dtb \
|
||||||
r8a7790-lager.dtb \
|
|
||||||
sh7372-mackerel.dtb \
|
sh7372-mackerel.dtb \
|
||||||
sh73a0-kzm9g.dtb \
|
sh73a0-kzm9g.dtb \
|
||||||
sh73a0-kzm9g-reference.dtb
|
sh73a0-kzm9g-reference.dtb
|
||||||
|
|||||||
@@ -47,12 +47,12 @@
|
|||||||
compatible = "renesas,lager", "renesas,r8a7790";
|
compatible = "renesas,lager", "renesas,r8a7790";
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
serial6 = &scifa0;
|
serial0 = &scifa0;
|
||||||
serial7 = &scifa1;
|
serial1 = &scifa1;
|
||||||
};
|
};
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
bootargs = "console=ttySC6,115200 ignore_loglevel rw root=/dev/nfs ip=dhcp";
|
bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
|
||||||
stdout-path = &scifa0;
|
stdout-path = &scifa0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -48,8 +48,8 @@
|
|||||||
compatible = "renesas,koelsch", "renesas,r8a7791";
|
compatible = "renesas,koelsch", "renesas,r8a7791";
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
serial6 = &scif0;
|
serial0 = &scif0;
|
||||||
serial7 = &scif1;
|
serial1 = &scif1;
|
||||||
};
|
};
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
|
|||||||
@@ -1,150 +0,0 @@
|
|||||||
CONFIG_SYSVIPC=y
|
|
||||||
CONFIG_NO_HZ=y
|
|
||||||
CONFIG_IKCONFIG=y
|
|
||||||
CONFIG_IKCONFIG_PROC=y
|
|
||||||
CONFIG_LOG_BUF_SHIFT=16
|
|
||||||
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
|
|
||||||
CONFIG_SYSCTL_SYSCALL=y
|
|
||||||
CONFIG_EMBEDDED=y
|
|
||||||
CONFIG_PERF_EVENTS=y
|
|
||||||
CONFIG_SLAB=y
|
|
||||||
# CONFIG_LBDAF is not set
|
|
||||||
# CONFIG_BLK_DEV_BSG is not set
|
|
||||||
# CONFIG_IOSCHED_DEADLINE is not set
|
|
||||||
# CONFIG_IOSCHED_CFQ is not set
|
|
||||||
CONFIG_ARCH_SHMOBILE_LEGACY=y
|
|
||||||
CONFIG_ARCH_R8A7790=y
|
|
||||||
CONFIG_MACH_LAGER=y
|
|
||||||
# CONFIG_SH_TIMER_TMU is not set
|
|
||||||
# CONFIG_EM_TIMER_STI is not set
|
|
||||||
CONFIG_ARM_ERRATA_430973=y
|
|
||||||
CONFIG_ARM_ERRATA_458693=y
|
|
||||||
CONFIG_ARM_ERRATA_460075=y
|
|
||||||
CONFIG_ARM_ERRATA_743622=y
|
|
||||||
CONFIG_ARM_ERRATA_754322=y
|
|
||||||
CONFIG_PCI=y
|
|
||||||
CONFIG_PCI_RCAR_GEN2=y
|
|
||||||
CONFIG_PCI_RCAR_GEN2_PCIE=y
|
|
||||||
CONFIG_HAVE_ARM_ARCH_TIMER=y
|
|
||||||
CONFIG_AEABI=y
|
|
||||||
# CONFIG_OABI_COMPAT is not set
|
|
||||||
CONFIG_FORCE_MAX_ZONEORDER=13
|
|
||||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
|
||||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
|
||||||
CONFIG_ARM_APPENDED_DTB=y
|
|
||||||
CONFIG_KEXEC=y
|
|
||||||
CONFIG_AUTO_ZRELADDR=y
|
|
||||||
CONFIG_VFP=y
|
|
||||||
CONFIG_NEON=y
|
|
||||||
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
|
|
||||||
CONFIG_PM=y
|
|
||||||
CONFIG_NET=y
|
|
||||||
CONFIG_PACKET=y
|
|
||||||
CONFIG_UNIX=y
|
|
||||||
CONFIG_INET=y
|
|
||||||
CONFIG_IP_PNP=y
|
|
||||||
CONFIG_IP_PNP_DHCP=y
|
|
||||||
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
|
||||||
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
|
||||||
# CONFIG_INET_XFRM_MODE_BEET is not set
|
|
||||||
# CONFIG_INET_LRO is not set
|
|
||||||
# CONFIG_INET_DIAG is not set
|
|
||||||
# CONFIG_IPV6 is not set
|
|
||||||
# CONFIG_WIRELESS is not set
|
|
||||||
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
|
||||||
CONFIG_DEVTMPFS=y
|
|
||||||
CONFIG_DEVTMPFS_MOUNT=y
|
|
||||||
CONFIG_MTD=y
|
|
||||||
CONFIG_MTD_M25P80=y
|
|
||||||
CONFIG_MTD_SPI_NOR=y
|
|
||||||
CONFIG_BLK_DEV_SD=y
|
|
||||||
CONFIG_ATA=y
|
|
||||||
CONFIG_SATA_RCAR=y
|
|
||||||
CONFIG_NETDEVICES=y
|
|
||||||
# CONFIG_NET_CORE is not set
|
|
||||||
# CONFIG_NET_VENDOR_ARC is not set
|
|
||||||
# CONFIG_NET_CADENCE is not set
|
|
||||||
# CONFIG_NET_VENDOR_BROADCOM is not set
|
|
||||||
# CONFIG_NET_VENDOR_CIRRUS is not set
|
|
||||||
# CONFIG_NET_VENDOR_FARADAY is not set
|
|
||||||
# CONFIG_NET_VENDOR_INTEL is not set
|
|
||||||
# CONFIG_NET_VENDOR_MARVELL is not set
|
|
||||||
# CONFIG_NET_VENDOR_MICREL is not set
|
|
||||||
# CONFIG_NET_VENDOR_NATSEMI is not set
|
|
||||||
CONFIG_SH_ETH=y
|
|
||||||
# CONFIG_NET_VENDOR_SEEQ is not set
|
|
||||||
# CONFIG_NET_VENDOR_SMSC is not set
|
|
||||||
# CONFIG_NET_VENDOR_STMICRO is not set
|
|
||||||
# CONFIG_NET_VENDOR_VIA is not set
|
|
||||||
# CONFIG_NET_VENDOR_WIZNET is not set
|
|
||||||
# CONFIG_WLAN is not set
|
|
||||||
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
|
|
||||||
CONFIG_INPUT_EVDEV=y
|
|
||||||
# CONFIG_KEYBOARD_ATKBD is not set
|
|
||||||
CONFIG_KEYBOARD_GPIO=y
|
|
||||||
# CONFIG_INPUT_MOUSE is not set
|
|
||||||
# CONFIG_SERIO is not set
|
|
||||||
# CONFIG_LEGACY_PTYS is not set
|
|
||||||
CONFIG_SERIAL_SH_SCI=y
|
|
||||||
CONFIG_SERIAL_SH_SCI_NR_UARTS=10
|
|
||||||
CONFIG_SERIAL_SH_SCI_CONSOLE=y
|
|
||||||
# CONFIG_HW_RANDOM is not set
|
|
||||||
CONFIG_I2C_GPIO=y
|
|
||||||
CONFIG_I2C_SH_MOBILE=y
|
|
||||||
CONFIG_I2C_RCAR=y
|
|
||||||
CONFIG_SPI=y
|
|
||||||
CONFIG_SPI_RSPI=y
|
|
||||||
CONFIG_SPI_SH_MSIOF=y
|
|
||||||
CONFIG_GPIO_SH_PFC=y
|
|
||||||
CONFIG_GPIOLIB=y
|
|
||||||
CONFIG_GPIO_RCAR=y
|
|
||||||
# CONFIG_HWMON is not set
|
|
||||||
CONFIG_THERMAL=y
|
|
||||||
CONFIG_RCAR_THERMAL=y
|
|
||||||
CONFIG_REGULATOR=y
|
|
||||||
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
|
||||||
CONFIG_REGULATOR_DA9210=y
|
|
||||||
CONFIG_REGULATOR_GPIO=y
|
|
||||||
CONFIG_MEDIA_SUPPORT=y
|
|
||||||
CONFIG_MEDIA_CAMERA_SUPPORT=y
|
|
||||||
CONFIG_V4L_PLATFORM_DRIVERS=y
|
|
||||||
CONFIG_SOC_CAMERA=y
|
|
||||||
CONFIG_SOC_CAMERA_PLATFORM=y
|
|
||||||
CONFIG_VIDEO_RCAR_VIN=y
|
|
||||||
# CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set
|
|
||||||
CONFIG_VIDEO_ADV7180=y
|
|
||||||
CONFIG_DRM=y
|
|
||||||
CONFIG_DRM_RCAR_DU=y
|
|
||||||
CONFIG_SOUND=y
|
|
||||||
CONFIG_SND=y
|
|
||||||
CONFIG_SND_SOC=y
|
|
||||||
CONFIG_SND_SOC_RCAR=y
|
|
||||||
# CONFIG_USB_SUPPORT is not set
|
|
||||||
CONFIG_MMC=y
|
|
||||||
CONFIG_MMC_SDHI=y
|
|
||||||
CONFIG_MMC_SH_MMCIF=y
|
|
||||||
CONFIG_NEW_LEDS=y
|
|
||||||
CONFIG_LEDS_CLASS=y
|
|
||||||
CONFIG_LEDS_GPIO=y
|
|
||||||
CONFIG_RTC_CLASS=y
|
|
||||||
CONFIG_DMADEVICES=y
|
|
||||||
CONFIG_SH_DMAE=y
|
|
||||||
# CONFIG_IOMMU_SUPPORT is not set
|
|
||||||
# CONFIG_DNOTIFY is not set
|
|
||||||
CONFIG_MSDOS_FS=y
|
|
||||||
CONFIG_VFAT_FS=y
|
|
||||||
CONFIG_TMPFS=y
|
|
||||||
CONFIG_CONFIGFS_FS=y
|
|
||||||
# CONFIG_MISC_FILESYSTEMS is not set
|
|
||||||
CONFIG_NFS_FS=y
|
|
||||||
CONFIG_NFS_V3_ACL=y
|
|
||||||
CONFIG_NFS_V4=y
|
|
||||||
CONFIG_NFS_V4_1=y
|
|
||||||
CONFIG_ROOT_NFS=y
|
|
||||||
CONFIG_NLS_CODEPAGE_437=y
|
|
||||||
CONFIG_NLS_ISO8859_1=y
|
|
||||||
# CONFIG_ENABLE_WARN_DEPRECATED is not set
|
|
||||||
# CONFIG_ENABLE_MUST_CHECK is not set
|
|
||||||
# CONFIG_ARM_UNWIND is not set
|
|
||||||
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
|
||||||
# CONFIG_CRYPTO_HW is not set
|
|
||||||
@@ -17,7 +17,6 @@ CONFIG_ARCH_R8A7779=y
|
|||||||
CONFIG_ARCH_R8A7790=y
|
CONFIG_ARCH_R8A7790=y
|
||||||
CONFIG_ARCH_R8A7791=y
|
CONFIG_ARCH_R8A7791=y
|
||||||
CONFIG_ARCH_R8A7794=y
|
CONFIG_ARCH_R8A7794=y
|
||||||
CONFIG_MACH_LAGER=y
|
|
||||||
CONFIG_MACH_MARZEN=y
|
CONFIG_MACH_MARZEN=y
|
||||||
# CONFIG_SWP_EMULATE is not set
|
# CONFIG_SWP_EMULATE is not set
|
||||||
CONFIG_CPU_BPREDICT_DISABLE=y
|
CONFIG_CPU_BPREDICT_DISABLE=y
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
* arch/arm/mach-at91/include/mach/debug-macro.S
|
|
||||||
*
|
|
||||||
* Copyright (C) 2003-2005 SAN People
|
* Copyright (C) 2003-2005 SAN People
|
||||||
*
|
*
|
||||||
* Debugging macro include header
|
* Debugging macro include header
|
||||||
@@ -11,18 +9,23 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <mach/hardware.h>
|
|
||||||
#include <mach/at91_dbgu.h>
|
|
||||||
|
|
||||||
#if defined(CONFIG_AT91_DEBUG_LL_DBGU0)
|
#if defined(CONFIG_AT91_DEBUG_LL_DBGU0)
|
||||||
#define AT91_DBGU AT91_BASE_DBGU0
|
#define AT91_DBGU 0xfffff200 /* AT91_BASE_DBGU0 */
|
||||||
#elif defined(CONFIG_AT91_DEBUG_LL_DBGU1)
|
#elif defined(CONFIG_AT91_DEBUG_LL_DBGU1)
|
||||||
#define AT91_DBGU AT91_BASE_DBGU1
|
#define AT91_DBGU 0xffffee00 /* AT91_BASE_DBGU1 */
|
||||||
#else
|
#else
|
||||||
/* On sama5d4, use USART3 as low level serial console */
|
/* On sama5d4, use USART3 as low level serial console */
|
||||||
#define AT91_DBGU SAMA5D4_BASE_USART3
|
#define AT91_DBGU 0xfc00c000 /* SAMA5D4_BASE_USART3 */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Keep in sync with mach-at91/include/mach/hardware.h */
|
||||||
|
#define AT91_IO_P2V(x) ((x) - 0x01000000)
|
||||||
|
|
||||||
|
#define AT91_DBGU_SR (0x14) /* Status Register */
|
||||||
|
#define AT91_DBGU_THR (0x1c) /* Transmitter Holding Register */
|
||||||
|
#define AT91_DBGU_TXRDY (1 << 1) /* Transmitter Ready */
|
||||||
|
#define AT91_DBGU_TXEMPTY (1 << 9) /* Transmitter Empty */
|
||||||
|
|
||||||
.macro addruart, rp, rv, tmp
|
.macro addruart, rp, rv, tmp
|
||||||
ldr \rp, =AT91_DBGU @ System peripherals (phys address)
|
ldr \rp, =AT91_DBGU @ System peripherals (phys address)
|
||||||
ldr \rv, =AT91_IO_P2V(AT91_DBGU) @ System peripherals (virt address)
|
ldr \rv, =AT91_IO_P2V(AT91_DBGU) @ System peripherals (virt address)
|
||||||
@@ -174,14 +174,6 @@ config SOC_AT91SAM9N12
|
|||||||
# ----------------------------------------------------------
|
# ----------------------------------------------------------
|
||||||
endif # SOC_SAM_V4_V5
|
endif # SOC_SAM_V4_V5
|
||||||
|
|
||||||
config MACH_AT91RM9200_DT
|
|
||||||
def_bool SOC_AT91RM9200
|
|
||||||
|
|
||||||
config MACH_AT91SAM9_DT
|
|
||||||
def_bool SOC_AT91SAM9
|
|
||||||
|
|
||||||
# ----------------------------------------------------------
|
|
||||||
|
|
||||||
comment "AT91 Feature Selections"
|
comment "AT91 Feature Selections"
|
||||||
|
|
||||||
config AT91_SLOW_CLOCK
|
config AT91_SLOW_CLOCK
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# Makefile for the linux kernel.
|
# Makefile for the linux kernel.
|
||||||
#
|
#
|
||||||
|
|
||||||
obj-y := setup.o sysirq_mask.o
|
obj-y := setup.o
|
||||||
|
|
||||||
obj-$(CONFIG_SOC_AT91SAM9) += sam9_smc.o
|
obj-$(CONFIG_SOC_AT91SAM9) += sam9_smc.o
|
||||||
|
|
||||||
@@ -19,8 +19,8 @@ obj-$(CONFIG_SOC_SAMA5D3) += sama5d3.o
|
|||||||
obj-$(CONFIG_SOC_SAMA5D4) += sama5d4.o
|
obj-$(CONFIG_SOC_SAMA5D4) += sama5d4.o
|
||||||
|
|
||||||
# AT91SAM board with device-tree
|
# AT91SAM board with device-tree
|
||||||
obj-$(CONFIG_MACH_AT91RM9200_DT) += board-dt-rm9200.o
|
obj-$(CONFIG_SOC_AT91RM9200) += board-dt-rm9200.o
|
||||||
obj-$(CONFIG_MACH_AT91SAM9_DT) += board-dt-sam9.o
|
obj-$(CONFIG_SOC_AT91SAM9) += board-dt-sam9.o
|
||||||
|
|
||||||
# SAMA5 board with device-tree
|
# SAMA5 board with device-tree
|
||||||
obj-$(CONFIG_SOC_SAMA5) += board-dt-sama5.o
|
obj-$(CONFIG_SOC_SAMA5) += board-dt-sama5.o
|
||||||
|
|||||||
@@ -51,8 +51,6 @@ static void __init at91sam9260_map_io(void)
|
|||||||
static void __init at91sam9260_initialize(void)
|
static void __init at91sam9260_initialize(void)
|
||||||
{
|
{
|
||||||
arm_pm_idle = at91sam9_idle;
|
arm_pm_idle = at91sam9_idle;
|
||||||
|
|
||||||
at91_sysirq_mask_rtt(AT91SAM9260_BASE_RTT);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
AT91_SOC_START(at91sam9260)
|
AT91_SOC_START(at91sam9260)
|
||||||
|
|||||||
@@ -32,8 +32,6 @@ static void __init at91sam9261_map_io(void)
|
|||||||
static void __init at91sam9261_initialize(void)
|
static void __init at91sam9261_initialize(void)
|
||||||
{
|
{
|
||||||
arm_pm_idle = at91sam9_idle;
|
arm_pm_idle = at91sam9_idle;
|
||||||
|
|
||||||
at91_sysirq_mask_rtt(AT91SAM9261_BASE_RTT);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
AT91_SOC_START(at91sam9261)
|
AT91_SOC_START(at91sam9261)
|
||||||
|
|||||||
@@ -29,9 +29,6 @@ static void __init at91sam9263_map_io(void)
|
|||||||
static void __init at91sam9263_initialize(void)
|
static void __init at91sam9263_initialize(void)
|
||||||
{
|
{
|
||||||
arm_pm_idle = at91sam9_idle;
|
arm_pm_idle = at91sam9_idle;
|
||||||
|
|
||||||
at91_sysirq_mask_rtt(AT91SAM9263_BASE_RTT0);
|
|
||||||
at91_sysirq_mask_rtt(AT91SAM9263_BASE_RTT1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
AT91_SOC_START(at91sam9263)
|
AT91_SOC_START(at91sam9263)
|
||||||
|
|||||||
@@ -11,7 +11,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <asm/system_misc.h>
|
#include <asm/system_misc.h>
|
||||||
#include <asm/irq.h>
|
|
||||||
#include <mach/hardware.h>
|
#include <mach/hardware.h>
|
||||||
|
|
||||||
#include "soc.h"
|
#include "soc.h"
|
||||||
@@ -29,9 +28,6 @@ static void __init at91sam9g45_map_io(void)
|
|||||||
static void __init at91sam9g45_initialize(void)
|
static void __init at91sam9g45_initialize(void)
|
||||||
{
|
{
|
||||||
arm_pm_idle = at91sam9_idle;
|
arm_pm_idle = at91sam9_idle;
|
||||||
|
|
||||||
at91_sysirq_mask_rtc(AT91SAM9G45_BASE_RTC);
|
|
||||||
at91_sysirq_mask_rtt(AT91SAM9G45_BASE_RTT);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
AT91_SOC_START(at91sam9g45)
|
AT91_SOC_START(at91sam9g45)
|
||||||
|
|||||||
@@ -21,12 +21,6 @@ static void __init at91sam9n12_map_io(void)
|
|||||||
at91_init_sram(0, AT91SAM9N12_SRAM_BASE, AT91SAM9N12_SRAM_SIZE);
|
at91_init_sram(0, AT91SAM9N12_SRAM_BASE, AT91SAM9N12_SRAM_SIZE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __init at91sam9n12_initialize(void)
|
|
||||||
{
|
|
||||||
at91_sysirq_mask_rtc(AT91SAM9N12_BASE_RTC);
|
|
||||||
}
|
|
||||||
|
|
||||||
AT91_SOC_START(at91sam9n12)
|
AT91_SOC_START(at91sam9n12)
|
||||||
.map_io = at91sam9n12_map_io,
|
.map_io = at91sam9n12_map_io,
|
||||||
.init = at91sam9n12_initialize,
|
|
||||||
AT91_SOC_END
|
AT91_SOC_END
|
||||||
|
|||||||
@@ -10,7 +10,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <asm/system_misc.h>
|
#include <asm/system_misc.h>
|
||||||
#include <asm/irq.h>
|
|
||||||
#include <mach/cpu.h>
|
#include <mach/cpu.h>
|
||||||
#include <mach/at91_dbgu.h>
|
#include <mach/at91_dbgu.h>
|
||||||
#include <mach/hardware.h>
|
#include <mach/hardware.h>
|
||||||
@@ -42,9 +41,6 @@ static void __init at91sam9rl_map_io(void)
|
|||||||
static void __init at91sam9rl_initialize(void)
|
static void __init at91sam9rl_initialize(void)
|
||||||
{
|
{
|
||||||
arm_pm_idle = at91sam9_idle;
|
arm_pm_idle = at91sam9_idle;
|
||||||
|
|
||||||
at91_sysirq_mask_rtc(AT91SAM9RL_BASE_RTC);
|
|
||||||
at91_sysirq_mask_rtt(AT91SAM9RL_BASE_RTT);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
AT91_SOC_START(at91sam9rl)
|
AT91_SOC_START(at91sam9rl)
|
||||||
|
|||||||
@@ -21,16 +21,6 @@ static void __init at91sam9x5_map_io(void)
|
|||||||
at91_init_sram(0, AT91SAM9X5_SRAM_BASE, AT91SAM9X5_SRAM_SIZE);
|
at91_init_sram(0, AT91SAM9X5_SRAM_BASE, AT91SAM9X5_SRAM_SIZE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __init at91sam9x5_initialize(void)
|
|
||||||
{
|
|
||||||
at91_sysirq_mask_rtc(AT91SAM9X5_BASE_RTC);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* --------------------------------------------------------------------
|
|
||||||
* Interrupt initialization
|
|
||||||
* -------------------------------------------------------------------- */
|
|
||||||
|
|
||||||
AT91_SOC_START(at91sam9x5)
|
AT91_SOC_START(at91sam9x5)
|
||||||
.map_io = at91sam9x5_map_io,
|
.map_io = at91sam9x5_map_io,
|
||||||
.init = at91sam9x5_initialize,
|
|
||||||
AT91_SOC_END
|
AT91_SOC_END
|
||||||
|
|||||||
@@ -38,6 +38,6 @@ static const char *at91rm9200_dt_board_compat[] __initdata = {
|
|||||||
DT_MACHINE_START(at91rm9200_dt, "Atmel AT91RM9200 (Device Tree)")
|
DT_MACHINE_START(at91rm9200_dt, "Atmel AT91RM9200 (Device Tree)")
|
||||||
.init_time = at91rm9200_dt_timer_init,
|
.init_time = at91rm9200_dt_timer_init,
|
||||||
.map_io = at91_map_io,
|
.map_io = at91_map_io,
|
||||||
.init_early = at91rm9200_dt_initialize,
|
.init_early = at91_dt_initialize,
|
||||||
.dt_compat = at91rm9200_dt_board_compat,
|
.dt_compat = at91rm9200_dt_board_compat,
|
||||||
MACHINE_END
|
MACHINE_END
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user