ARM: shmobile: Initial r8a7790 Lager board support
Subsystems (6)
Magnus Damm
maintainerPATCH v2 1/1 ARM: shmobile: Initial r8a7790 Lager board support
From: Magnus Damm <[email protected]>
Lager base board support making use of 2 GiB of memory, the r8a7790 SoC with the SCIF0 serial port and CA15 with ARM architected timer.
---
Changes since V1:
- Use 64-bit addresses for DT
Written on top of renesas-next-20130329 together with
[PATCH 00/04 v2] ARM: shmobile: r8a7790 SoC [PATCH] ARM: shmobile: r8a7790 SoC 64-bit DT support
arch/arm/boot/dts/Makefile | 1 arch/arm/boot/dts/r8a7790-lager.dts | 31 ++++++++++++++++++++++ arch/arm/mach-shmobile/Kconfig | 9 +++++- arch/arm/mach-shmobile/Makefile | 1 arch/arm/mach-shmobile/board-lager.c | 46 ++++++++++++++++++++++++++++++++++ 5 files changed, 87 insertions(+), 1 deletion(-)
arch/arm/boot/dts/Makefile +1 -0
@@ -138,6 +138,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE) += emev2-kzm r8a7740-armadillo800eva.dtb \ r8a7778-bockw.dtb \ r8a7779-marzen-reference.dtb \ + r8a7790-lager.dtb \ sh73a0-kzm9g.dtb \ sh73a0-kzm9g-reference.dtb \ r8a73a4-ape6evm.dtb \
arch/arm/boot/dts/r8a7790-lager.dts new file +31 -0
@@ -0,0 +1,31 @@ +/* + * Device Tree Source for the Lager board + * + * Copyright (C) 2013 Renesas Solutions Corp. + * + * This file is licensed under the terms of the GNU General Public License + * version 2. This program is licensed "as is" without any warranty of any + * kind, whether express or implied. + */ + +/dts-v1/; +/include/ "r8a7790.dtsi" + +/ { + model = "Lager"; + compatible = "renesas,lager", "renesas,r8a7790"; + + chosen { + bootargs = "console=ttySC6,115200 ignore_loglevel"; + }; + + memory at 40000000 { + device_type = "memory"; + reg = <0 0x40000000 0 0x80000000>; + }; + + lbsc { + #address-cells = <1>; + #size-cells = <1>; + }; +};
arch/arm/mach-shmobile/Kconfig +8 -1
@@ -154,6 +154,11 @@ config MACH_MARZEN_REFERENCE This is intended to aid developers +config MACH_LAGER + bool "Lager board" + depends on ARCH_R8A7790 + select USE_OF + config MACH_KZM9D bool "KZM9D board" depends on ARCH_EMEV2
@@ -194,7 +199,8 @@ config MEMORY_START hex "Physical memory start address" default "0x40000000" if MACH_AP4EVB || MACH_AG5EVM || \ MACH_MACKEREL || MACH_BONITO || \ - MACH_ARMADILLO800EVA || MACH_APE6EVM + MACH_ARMADILLO800EVA || MACH_APE6EVM || \ + MACH_LAGER default "0x41000000" if MACH_KOTA2 default "0x00000000" ---help---
@@ -204,6 +210,7 @@ config MEMORY_START config MEMORY_SIZE hex "Physical memory size" + default "0x80000000" if MACH_LAGER default "0x40000000" if MACH_APE6EVM default "0x20000000" if MACH_AG5EVM || MACH_BONITO || \ MACH_ARMADILLO800EVA
arch/arm/mach-shmobile/Makefile +1 -0
@@ -44,6 +44,7 @@ obj-$(CONFIG_MACH_BONITO) += board-bonit obj-$(CONFIG_MACH_BOCKW) += board-bockw.o obj-$(CONFIG_MACH_MARZEN) += board-marzen.o obj-$(CONFIG_MACH_MARZEN_REFERENCE) += board-marzen-reference.o +obj-$(CONFIG_MACH_LAGER) += board-lager.o obj-$(CONFIG_MACH_ARMADILLO800EVA) += board-armadillo800eva.o obj-$(CONFIG_MACH_KZM9D) += board-kzm9d.o obj-$(CONFIG_MACH_KZM9G) += board-kzm9g.o
arch/arm/mach-shmobile/board-lager.c new file +46 -0
46 lines not on this page · raw message
PATCH v2 1/1 ARM: shmobile: Initial r8a7790 Lager board support
Quoted 5 lines · Magnus Damm
From: Magnus Damm <[email protected]>
Lager base board support making use of 2 GiB of memory, the r8a7790 SoC with the SCIF0 serial port and CA15 with ARM architected timer.
Thanks, queued up for v3.10 in the boards branch.