Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c53c9cf6 authored by Andrew Victor's avatar Andrew Victor Committed by Russell King
Browse files

[ARM] 4331/3: Support for Micrel/Kendin KS8695 processor

Add core support for the Kendin/Micrel KS8695 processor family.

It is an ARM922-T based SoC with integrated USART, 4-port Ethernet
Switch, WAN Ethernet port, and optional PCI Host bridge, etc.
 http://www.micrel.com/page.do?page=product-info/sys_on_chip.jsp



This patch is based on earlier patches from Lennert Buytenhek, Ben
Dooks and Greg Ungerer posted to the arm-linux-kernel mailing list in
March 2006;  and Micrel's 2.6.9 port.

Signed-off-by: default avatarAndrew Victor <andrew@sanpeople.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent c42dcb3d
Loading
Loading
Loading
Loading
+11 −2
Original line number Original line Diff line number Diff line
@@ -305,6 +305,12 @@ config ARCH_L7200
	  If you have any questions or comments about the Linux kernel port
	  If you have any questions or comments about the Linux kernel port
	  to this board, send e-mail to <sjhill@cotw.com>.
	  to this board, send e-mail to <sjhill@cotw.com>.


config ARCH_KS8695
	bool "Micrel/Kendin KS8695"
	help
	  Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based
	  System-on-Chip devices.

config ARCH_NS9XXX
config ARCH_NS9XXX
	bool "NetSilicon NS9xxx"
	bool "NetSilicon NS9xxx"
	help
	help
@@ -451,6 +457,8 @@ source "arch/arm/mach-ns9xxx/Kconfig"


source "arch/arm/mach-davinci/Kconfig"
source "arch/arm/mach-davinci/Kconfig"


source "arch/arm/mach-ks8695/Kconfig"

# Definitions to make life easier
# Definitions to make life easier
config ARCH_ACORN
config ARCH_ACORN
	bool
	bool
@@ -511,7 +519,7 @@ config ISA_DMA_API
	bool
	bool


config PCI
config PCI
	bool "PCI support" if ARCH_INTEGRATOR_AP || ARCH_VERSATILE_PB || ARCH_IXP4XX
	bool "PCI support" if ARCH_INTEGRATOR_AP || ARCH_VERSATILE_PB || ARCH_IXP4XX || ARCH_KS8695
	help
	help
	  Find out whether you have a PCI motherboard. PCI is the name of a
	  Find out whether you have a PCI motherboard. PCI is the name of a
	  bus system, i.e. the way the CPU talks to the other stuff inside
	  bus system, i.e. the way the CPU talks to the other stuff inside
@@ -680,7 +688,8 @@ config LEDS
		   ARCH_LUBBOCK || MACH_MAINSTONE || ARCH_NETWINDER || \
		   ARCH_LUBBOCK || MACH_MAINSTONE || ARCH_NETWINDER || \
		   ARCH_OMAP || ARCH_P720T || ARCH_PXA_IDP || \
		   ARCH_OMAP || ARCH_P720T || ARCH_PXA_IDP || \
		   ARCH_SA1100 || ARCH_SHARK || ARCH_VERSATILE || \
		   ARCH_SA1100 || ARCH_SHARK || ARCH_VERSATILE || \
		   ARCH_AT91 || MACH_TRIZEPS4 || ARCH_DAVINCI
		   ARCH_AT91 || MACH_TRIZEPS4 || ARCH_DAVINCI || \
		   ARCH_KS8695
	help
	help
	  If you say Y here, the LEDs on your machine will be used
	  If you say Y here, the LEDs on your machine will be used
	  to provide useful information about your current system status.
	  to provide useful information about your current system status.
+1 −0
Original line number Original line Diff line number Diff line
@@ -136,6 +136,7 @@ endif
 machine-$(CONFIG_ARCH_NS9XXX)	   := ns9xxx
 machine-$(CONFIG_ARCH_NS9XXX)	   := ns9xxx
 textofs-$(CONFIG_ARCH_NS9XXX)	   := 0x00108000
 textofs-$(CONFIG_ARCH_NS9XXX)	   := 0x00108000
 machine-$(CONFIG_ARCH_DAVINCI)	   := davinci
 machine-$(CONFIG_ARCH_DAVINCI)	   := davinci
 machine-$(CONFIG_ARCH_KS8695)     := ks8695


ifeq ($(CONFIG_ARCH_EBSA110),y)
ifeq ($(CONFIG_ARCH_EBSA110),y)
# This is what happens if you forget the IOCS16 line.
# This is what happens if you forget the IOCS16 line.
+8 −0
Original line number Original line Diff line number Diff line
if ARCH_KS8695

menu "Kendin/Micrel KS8695 Implementations"


endmenu

endif
+14 −0
Original line number Original line Diff line number Diff line
# arch/arm/mach-ks8695/Makefile
#
# Makefile for KS8695 architecture support
#

obj-y				:= cpu.o irq.o time.o devices.o
obj-m				:=
obj-n				:=
obj-				:=

# PCI support is optional
#obj-$(CONFIG_PCI)		+= pci.o

# Board-specific support
+8 −0
Original line number Original line Diff line number Diff line
# Note: the following conditions must always be true:
#   ZRELADDR == virt_to_phys(TEXTADDR)
#   PARAMS_PHYS must be within 4MB of ZRELADDR
#   INITRD_PHYS must be in RAM

   zreladdr-y	:= 0x00008000
params_phys-y	:= 0x00000100
initrd_phys-y	:= 0x00800000
Loading