diff mbox

[16/16,v5,RFC] Local: arm64: renesas: add SalvatorX board support on DTS

Message ID 87lhdndbz9.wl%kuninori.morimoto.gx@renesas.com (mailing list archive)
State RFC
Delegated to: Simon Horman
Headers show

Commit Message

Kuninori Morimoto Aug. 7, 2015, 3:20 a.m. UTC
From: Gaku Inami <gaku.inami.xw@bp.renesas.com>

Signed-off-by: Gaku Inami <gaku.inami.xw@bp.renesas.com>
Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
v4 -> v5

 - modify bootargs

 arch/arm64/boot/dts/renesas/Makefile              |  2 +-
 arch/arm64/boot/dts/renesas/r8a7795-salvatorx.dts | 36 +++++++++++++++++++++++
 2 files changed, 37 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a7795-salvatorx.dts

Comments

Geert Uytterhoeven Aug. 7, 2015, 7:19 a.m. UTC | #1
On Fri, Aug 7, 2015 at 5:20 AM, Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com> wrote:
> --- /dev/null
> +++ b/arch/arm64/boot/dts/renesas/r8a7795-salvatorx.dts
> @@ -0,0 +1,36 @@

> +/ {
> +       model = "Renesas SalvatorX board based on r8a7795";
> +       compatible = "renesas,salvatorx", "renesas,r8a7795";

Please document "renesas,salvatorx".

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile
index 6aeefd9..255c957 100644
--- a/arch/arm64/boot/dts/renesas/Makefile
+++ b/arch/arm64/boot/dts/renesas/Makefile
@@ -1,4 +1,4 @@ 
-dtb-$(CONFIG_ARCH_RCAR_GEN3) +=
+dtb-$(CONFIG_ARCH_RCAR_GEN3) += r8a7795-salvatorx.dtb
 
 always		:= $(dtb-y)
 subdir-y	:= $(dts-dirs)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvatorx.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvatorx.dts
new file mode 100644
index 0000000..1b00390
--- /dev/null
+++ b/arch/arm64/boot/dts/renesas/r8a7795-salvatorx.dts
@@ -0,0 +1,36 @@ 
+/*
+ * Device Tree Source for the SalvatorX board
+ *
+ * Copyright (C) 2015 Renesas Electronics 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 "r8a7795.dtsi"
+
+/ {
+	model = "Renesas SalvatorX board based on r8a7795";
+	compatible = "renesas,salvatorx", "renesas,r8a7795";
+
+	aliases {
+		serial0 = &scif2;
+	};
+
+	chosen {
+		bootargs = "ignore_loglevel";
+		stdout-path = &scif2;
+	};
+
+	memory@48000000 {
+		device_type = "memory";
+		/* first 128MB is reserved for secure area. */
+		reg = <0x0 0x48000000 0x0 0x38000000>;
+	};
+};
+
+&scif2 {
+	status = "okay";
+};