diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2013-07-24 03:36:51 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-07-25 20:17:32 -0400 |
commit | cfa66a81621d0e85ac03c0de25adc7edd7f2649e (patch) | |
tree | bc992bbf405e4af3b8bed55843aa7ced8de0e6fd /arch/arm/boot | |
parent | 466f302e076236a4796079681ca2a2f34a5792a3 (diff) |
ARM: shmobile: bockw: add DT reference
This patch adds a sample DT-based Bock-W "reference" implementation.
The use of platform-specific C-code should be avoided
with this configuration as much as possible.
This patch adds new r8a7778_add_dt_devices() which was same stance
of r8a7790_add_dt_devices()
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/r8a7778-bockw-reference.dts | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 492a8077396a..e01d63f7bd95 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile | |||
@@ -186,6 +186,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE) += emev2-kzm9d.dtb \ | |||
186 | emev2-kzm9d-reference.dtb \ | 186 | emev2-kzm9d-reference.dtb \ |
187 | r8a7740-armadillo800eva.dtb \ | 187 | r8a7740-armadillo800eva.dtb \ |
188 | r8a7778-bockw.dtb \ | 188 | r8a7778-bockw.dtb \ |
189 | r8a7778-bockw-reference.dtb \ | ||
189 | r8a7740-armadillo800eva-reference.dtb \ | 190 | r8a7740-armadillo800eva-reference.dtb \ |
190 | r8a7779-marzen-reference.dtb \ | 191 | r8a7779-marzen-reference.dtb \ |
191 | r8a7790-lager.dtb \ | 192 | r8a7790-lager.dtb \ |
diff --git a/arch/arm/boot/dts/r8a7778-bockw-reference.dts b/arch/arm/boot/dts/r8a7778-bockw-reference.dts new file mode 100644 index 000000000000..f5b8d77414da --- /dev/null +++ b/arch/arm/boot/dts/r8a7778-bockw-reference.dts | |||
@@ -0,0 +1,32 @@ | |||
1 | /* | ||
2 | * Reference Device Tree Source for the Bock-W board | ||
3 | * | ||
4 | * Copyright (C) 2013 Renesas Solutions Corp. | ||
5 | * Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | ||
6 | * | ||
7 | * based on r8a7779 | ||
8 | * | ||
9 | * Copyright (C) 2013 Renesas Solutions Corp. | ||
10 | * Copyright (C) 2013 Simon Horman | ||
11 | * | ||
12 | * This file is licensed under the terms of the GNU General Public License | ||
13 | * version 2. This program is licensed "as is" without any warranty of any | ||
14 | * kind, whether express or implied. | ||
15 | */ | ||
16 | |||
17 | /dts-v1/; | ||
18 | /include/ "r8a7778.dtsi" | ||
19 | |||
20 | / { | ||
21 | model = "bockw"; | ||
22 | compatible = "renesas,bockw-reference", "renesas,r8a7778"; | ||
23 | |||
24 | chosen { | ||
25 | bootargs = "console=ttySC0,115200 ignore_loglevel"; | ||
26 | }; | ||
27 | |||
28 | memory { | ||
29 | device_type = "memory"; | ||
30 | reg = <0x60000000 0x10000000>; | ||
31 | }; | ||
32 | }; | ||