ARM: shmobile: r8a7791 Koelsch DT reference support V2
Subsystems (6)
Magnus Damm
maintainercover ARM: shmobile: r8a7791 Koelsch DT reference support V2
ARM: shmobile: r8a7791 Koelsch DT reference support V2
[PATCH 01/02] ARM: shmobile: r8a7791 Koelsch DT reference DTS bits [PATCH 02/02] ARM: shmobile: r8a7791 Koelsch DT reference C bits
This series is V2 of Koelsch DT reference support. At this point the board file is separated from the legacy Koelsch board support, and in the not so distant future this DT reference board file will be converted into MULTIPLATFORM only. This can only happen after r8a7791 CCF support has been added.
After CCF and MULTIPLATFORM are done for r8a7791 the board support code will be converted into same style as EMEV2, for more details please see the following series:
[PATCH 00/05] ARM: shmobile: KZM9D Multiplatform update
Changes since V1 are DT_MACHINE update to sync with legacy board code and patch splitting to simplify merge dependencies.
---
Written against renesas.git tag renesas-devel-20131008
arch/arm/boot/dts/Makefile | 1 arch/arm/boot/dts/r8a7791-koelsch-reference.dts | 32 +++++++++++++++ arch/arm/mach-shmobile/Kconfig | 11 +++++ arch/arm/mach-shmobile/Makefile | 1 arch/arm/mach-shmobile/Makefile.boot | 1 arch/arm/mach-shmobile/board-koelsch-reference.c | 46 ++++++++++++++++++++++ 6 files changed, 92 insertions(+)
Magnus Damm
maintainerPATCH 1/2 ARM: shmobile: r8a7791 Koelsch DT reference DTS bits
From: Magnus Damm <[email protected]>
Add DTS for the DT reference version of the Koelsch board support.
---
arch/arm/boot/dts/Makefile | 1 arch/arm/boot/dts/r8a7791-koelsch-reference.dts | 32 +++++++++++++++++++++++ 2 files changed, 33 insertions(+)
arch/arm/boot/dts/Makefile +1 -0
@@ -203,6 +203,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE) += emev2-kzm r8a7779-marzen.dtb \ r8a7779-marzen-reference.dtb \ r8a7791-koelsch.dtb \ + r8a7791-koelsch-reference.dtb \ r8a7790-lager.dtb \ r8a7790-lager-reference.dtb \ sh73a0-kzm9g.dtb \
arch/arm/boot/dts/r8a7791-koelsch-reference.dts new file +32 -0
@@ -0,0 +1,32 @@ +/* + * Device Tree Source for the Koelsch board + * + * Copyright (C) 2013 Renesas Electronics Corporation + * 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/ "r8a7791.dtsi" + +/ { + model = "Koelsch"; + compatible = "renesas,koelsch-reference", "renesas,r8a7791"; + + chosen { + bootargs = "console=ttySC6,115200 ignore_loglevel rw root=/dev/nfs ip=dhcp"; + }; + + memory at 40000000 { + device_type = "memory"; + reg = <0 0x40000000 0 0x80000000>; + }; + + lbsc { + #address-cells = <1>; + #size-cells = <1>; + }; +};
Magnus Damm
maintainerPATCH 2/2 ARM: shmobile: r8a7791 Koelsch DT reference C bits
In reply to Magnus DammFrom: Magnus Damm <[email protected]>
Add DT reference support for the r8a7791 Koelsch board.
This board support file will be used together with common clocks and multiplatform in the future.
---
arch/arm/mach-shmobile/Kconfig | 11 +++++ arch/arm/mach-shmobile/Makefile | 1 arch/arm/mach-shmobile/Makefile.boot | 1 arch/arm/mach-shmobile/board-koelsch-reference.c | 46 ++++++++++++++++++++++ 4 files changed, 59 insertions(+)
arch/arm/mach-shmobile/Kconfig +11 -0
@@ -232,6 +232,17 @@ config MACH_KOELSCH depends on ARCH_R8A7791 select USE_OF +config MACH_KOELSCH_REFERENCE + bool "Koelsch board - Reference Device Tree Implementation" + depends on ARCH_R8A7791 + select USE_OF + ---help--- + Use reference implementation of Koelsch board support + which makes use of device tree at the expense + of not supporting a number of devices. + + This is intended to aid developers + config MACH_KZM9D bool "KZM9D board" depends on ARCH_EMEV2
arch/arm/mach-shmobile/Makefile +1 -0
@@ -71,6 +71,7 @@ obj-$(CONFIG_MACH_LAGER_REFERENCE) += bo obj-$(CONFIG_MACH_ARMADILLO800EVA) += board-armadillo800eva.o obj-$(CONFIG_MACH_ARMADILLO800EVA_REFERENCE) += board-armadillo800eva-reference.o obj-$(CONFIG_MACH_KOELSCH) += board-koelsch.o +obj-$(CONFIG_MACH_KOELSCH_REFERENCE) += board-koelsch-reference.o obj-$(CONFIG_MACH_KZM9D) += board-kzm9d.o obj-$(CONFIG_MACH_KZM9G) += board-kzm9g.o obj-$(CONFIG_MACH_KZM9G_REFERENCE) += board-kzm9g-reference.o
arch/arm/mach-shmobile/Makefile.boot +1 -0
@@ -8,6 +8,7 @@ loadaddr-$(CONFIG_MACH_BOCKW) += 0x60008 loadaddr-$(CONFIG_MACH_BOCKW_REFERENCE) += 0x60008000 loadaddr-$(CONFIG_MACH_GENMAI) += 0x8008000 loadaddr-$(CONFIG_MACH_KOELSCH) += 0x40008000 +loadaddr-$(CONFIG_MACH_KOELSCH_REFERENCE) += 0x40008000 loadaddr-$(CONFIG_MACH_KZM9D) += 0x40008000 loadaddr-$(CONFIG_MACH_KZM9G) += 0x41008000 loadaddr-$(CONFIG_MACH_KZM9G_REFERENCE) += 0x41008000
arch/arm/mach-shmobile/board-koelsch-reference.c new file +46 -0
46 lines not on this page · raw message
cover ARM: shmobile: r8a7791 Koelsch DT reference support V2
In reply to Magnus DammQuoted 15 lines · Magnus Damm
ARM: shmobile: r8a7791 Koelsch DT reference support V2
[PATCH 01/02] ARM: shmobile: r8a7791 Koelsch DT reference DTS bits [PATCH 02/02] ARM: shmobile: r8a7791 Koelsch DT reference C bits
This series is V2 of Koelsch DT reference support. At this point the board file is separated from the legacy Koelsch board support, and in the not so distant future this DT reference board file will be converted into MULTIPLATFORM only. This can only happen after r8a7791 CCF support has been added.
After CCF and MULTIPLATFORM are done for r8a7791 the board support code will be converted into same style as EMEV2, for more details please see the following series:
Quoted 6 lines
[PATCH 00/05] ARM: shmobile: KZM9D Multiplatform update
Changes since V1 are
DT_MACHINEupdate to sync with legacy board code and patch splitting to simplify merge dependencies.Signed-off-by Magnus Damm <[email protected]>
Thanks, I have queued these up.