diff options
author | Simon Horman <horms+renesas@verge.net.au> | 2013-06-28 00:42:16 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-07-17 01:30:03 -0400 |
commit | 6dace67f9bd43cdfc2de3ff1a573420ecfc33390 (patch) | |
tree | 220bce899bc7713561cdf94c3b3725cb9b82acee /arch/arm/boot | |
parent | b88cf6f732946874aaf3e0528459e0f0271dfcec (diff) |
ARM: shmobile: lager: Add DT reference
This is sufficient to allow boot of the Lager board with
a console without boards-lager.c compiled into the kernel.
This is an example of a minimal but still useful initialisation
of the board using DT as much as possible.
As such it is the same as the boot of Lager that can be achieved
without a board file. The intention of adding this file
is to facilitate further work to allow board specific devices to be
initialised via DT.
Acked-by: Magnus Damm <damm@opensource.se>
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/r8a7790-lager-reference.dts | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 6d79bde792b7..492a8077396a 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile | |||
@@ -189,6 +189,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE) += emev2-kzm9d.dtb \ | |||
189 | r8a7740-armadillo800eva-reference.dtb \ | 189 | r8a7740-armadillo800eva-reference.dtb \ |
190 | r8a7779-marzen-reference.dtb \ | 190 | r8a7779-marzen-reference.dtb \ |
191 | r8a7790-lager.dtb \ | 191 | r8a7790-lager.dtb \ |
192 | r8a7790-lager-reference.dtb \ | ||
192 | sh73a0-kzm9g.dtb \ | 193 | sh73a0-kzm9g.dtb \ |
193 | sh73a0-kzm9g-reference.dtb \ | 194 | sh73a0-kzm9g-reference.dtb \ |
194 | r8a73a4-ape6evm.dtb \ | 195 | r8a73a4-ape6evm.dtb \ |
diff --git a/arch/arm/boot/dts/r8a7790-lager-reference.dts b/arch/arm/boot/dts/r8a7790-lager-reference.dts new file mode 100644 index 000000000000..fa5b81bddd53 --- /dev/null +++ b/arch/arm/boot/dts/r8a7790-lager-reference.dts | |||
@@ -0,0 +1,31 @@ | |||
1 | /* | ||
2 | * Device Tree Source for the Lager board | ||
3 | * | ||
4 | * Copyright (C) 2013 Renesas Solutions Corp. | ||
5 | * | ||
6 | * This file is licensed under the terms of the GNU General Public License | ||
7 | * version 2. This program is licensed "as is" without any warranty of any | ||
8 | * kind, whether express or implied. | ||
9 | */ | ||
10 | |||
11 | /dts-v1/; | ||
12 | /include/ "r8a7790.dtsi" | ||
13 | |||
14 | / { | ||
15 | model = "Lager"; | ||
16 | compatible = "renesas,lager-reference", "renesas,r8a7790"; | ||
17 | |||
18 | chosen { | ||
19 | bootargs = "console=ttySC6,115200 ignore_loglevel"; | ||
20 | }; | ||
21 | |||
22 | memory@40000000 { | ||
23 | device_type = "memory"; | ||
24 | reg = <0 0x40000000 0 0x80000000>; | ||
25 | }; | ||
26 | |||
27 | lbsc { | ||
28 | #address-cells = <1>; | ||
29 | #size-cells = <1>; | ||
30 | }; | ||
31 | }; | ||