ARM: dts: r8a7742-iwg21d-q7: Add iWave G21D-Q7 board based on RZ/G1H
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Sun, 3 May 2020 21:46:54 +0000 (22:46 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 5 May 2020 07:44:49 +0000 (09:44 +0200)
Add support for iWave RainboW-G21D-Qseven board based on RZ/G1H.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
Link: https://lore.kernel.org/r/1588542414-14826-11-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/r8a7742-iwg21d-q7.dts [new file with mode: 0644]

index e8dd9920139733b7d7cc1e4d83ea63db1dfa9eab..ed3376cce6383dfd9325559894cb356cd7e4ffa7 100644 (file)
@@ -917,6 +917,7 @@ dtb-$(CONFIG_ARCH_RENESAS) += \
        r7s9210-rza2mevb.dtb \
        r8a73a4-ape6evm.dtb \
        r8a7740-armadillo800eva.dtb \
+       r8a7742-iwg21d-q7.dtb \
        r8a7743-iwg20d-q7.dtb \
        r8a7743-iwg20d-q7-dbcm-ca.dtb \
        r8a7743-sk-rzg1m.dtb \
diff --git a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts
new file mode 100644 (file)
index 0000000..1f5c35c
--- /dev/null
@@ -0,0 +1,37 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Device Tree Source for the iWave-RZ/G1H Qseven board
+ *
+ * Copyright (C) 2020 Renesas Electronics Corp.
+ */
+
+/dts-v1/;
+#include "r8a7742-iwg21m.dtsi"
+
+/ {
+       model = "iWave Systems RainboW-G21D-Qseven board based on RZ/G1H";
+       compatible = "iwave,g21d", "iwave,g21m", "renesas,r8a7742";
+
+       aliases {
+               serial2 = &scifa2;
+       };
+
+       chosen {
+               bootargs = "ignore_loglevel root=/dev/mmcblk0p1 rw rootwait";
+               stdout-path = "serial2:115200n8";
+       };
+};
+
+&pfc {
+       scifa2_pins: scifa2 {
+               groups = "scifa2_data_c";
+               function = "scifa2";
+       };
+};
+
+&scifa2 {
+       pinctrl-0 = <&scifa2_pins>;
+       pinctrl-names = "default";
+
+       status = "okay";
+};