]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: renesas: Add initial device tree for RZ/V2L SMARC EVK
authorBiju Das <biju.das.jz@bp.renesas.com>
Mon, 10 Jan 2022 13:46:58 +0000 (13:46 +0000)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 2 Feb 2022 08:23:23 +0000 (09:23 +0100)
Add basic support for the RZ/V2L SMARC EVK (based on R9A07G054L2):
- memory
- External input clock
- CPG
- Pin controller
- SCIF
- GbEthernet
- Audio Clock

It shares the same carrier board with RZ/G2L with the same pin mapping.
Delete the gpio-hog nodes from pinctrl as they will be added later when
the functionality has been tested.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20220110134659.30424-12-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/Makefile
arch/arm64/boot/dts/renesas/r9a07g054l2-smarc.dts [new file with mode: 0644]
arch/arm64/boot/dts/renesas/rzg2l-smarc-pinfunction.dtsi
arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi
arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi

index f1ab09486babba1a512655ab14bbe4bc12f5583e..d000f6b131dc5902d62157f409eedb988bd53da8 100644 (file)
@@ -77,3 +77,5 @@ dtb-$(CONFIG_ARCH_R8A77965) += r8a779m5-salvator-xs.dtb
 
 dtb-$(CONFIG_ARCH_R9A07G044) += r9a07g044c2-smarc.dtb
 dtb-$(CONFIG_ARCH_R9A07G044) += r9a07g044l2-smarc.dtb
+
+dtb-$(CONFIG_ARCH_R9A07G054) += r9a07g054l2-smarc.dtb
diff --git a/arch/arm64/boot/dts/renesas/r9a07g054l2-smarc.dts b/arch/arm64/boot/dts/renesas/r9a07g054l2-smarc.dts
new file mode 100644 (file)
index 0000000..39ef55b
--- /dev/null
@@ -0,0 +1,25 @@
+// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+/*
+ * Device Tree Source for the RZ/G2L SMARC EVK board
+ *
+ * Copyright (C) 2021 Renesas Electronics Corp.
+ */
+
+/dts-v1/;
+#include "r9a07g054l2.dtsi"
+#include "rzg2l-smarc-som.dtsi"
+#include "rzg2l-smarc-pinfunction.dtsi"
+#include "rzg2l-smarc.dtsi"
+
+/ {
+       model = "Renesas SMARC EVK based on r9a07g054l2";
+       compatible = "renesas,smarc-evk", "renesas,r9a07g054l2", "renesas,r9a07g054";
+};
+
+&pinctrl {
+       /delete-node/ can0-stb;
+       /delete-node/ can1-stb;
+       /delete-node/ gpio-sd0-pwr-en-hog;
+       /delete-node/ sd0-dev-sel-hog;
+       /delete-node/ sd1-pwr-en-hog;
+};
index 71d83e4476708acc29f201e2799c0424dccdee43..2ef217445f72dae03fe7b521aa1e1977ad9c0033 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 /*
- * Device Tree Source for the RZ/G2L SMARC pincontrol parts
+ * Device Tree Source for the RZ/{G2L,V2L} SMARC pincontrol parts
  *
  * Copyright (C) 2021 Renesas Electronics Corp.
  */
index 9112e79079a1308277b71135c74d8137689f162b..aeacd22e9eb019a360a6adefb9c0b3eda581d5e2 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 /*
- * Device Tree Source for the RZ/G2L SMARC SOM common parts
+ * Device Tree Source for the RZ/{G2L,V2L} SMARC SOM common parts
  *
  * Copyright (C) 2021 Renesas Electronics Corp.
  */
index 46abb29718cc7053b91f1dc19876e346babcbef1..78034f36156d4b60ae9023b8c4b1cf79d7fc9dff 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 /*
- * Device Tree Source for the RZ/G2L SMARC EVK common parts
+ * Device Tree Source for the RZ/{G2L,V2L} SMARC EVK common parts
  *
  * Copyright (C) 2021 Renesas Electronics Corp.
  */