0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003 * Copyright 2020, Compass Electronics Group, LLC
0004 */
0005
0006 /dts-v1/;
0007
0008 #include "r8a774a1.dtsi"
0009 #include "beacon-renesom-som.dtsi"
0010 #include "beacon-renesom-baseboard.dtsi"
0011
0012 / {
0013 model = "Beacon EmbeddedWorks RZ/G2M Development Kit";
0014 compatible = "beacon,beacon-rzg2m", "renesas,r8a774a1";
0015
0016 aliases {
0017 serial0 = &scif2;
0018 serial1 = &hscif0;
0019 serial2 = &hscif1;
0020 serial3 = &scif0;
0021 serial4 = &hscif2;
0022 serial5 = &scif5;
0023 ethernet0 = &avb;
0024 mmc0 = &sdhi3;
0025 mmc1 = &sdhi0;
0026 mmc2 = &sdhi2;
0027 };
0028
0029 chosen {
0030 stdout-path = "serial0:115200n8";
0031 };
0032
0033 memory@600000000 {
0034 device_type = "memory";
0035 reg = <0x6 0x00000000 0x0 0x80000000>;
0036 };
0037 };
0038
0039 &du {
0040 pinctrl-0 = <&du_pins>;
0041 pinctrl-names = "default";
0042 status = "okay";
0043
0044 clocks = <&cpg CPG_MOD 724>,
0045 <&cpg CPG_MOD 723>,
0046 <&cpg CPG_MOD 722>,
0047 <&versaclock5 1>,
0048 <&x302_clk>,
0049 <&versaclock5 2>;
0050 clock-names = "du.0", "du.1", "du.2",
0051 "dclkin.0", "dclkin.1", "dclkin.2";
0052 };
0053
0054 /* Reference versaclock instead of audio_clk_a */
0055 &rcar_sound {
0056 clocks = <&cpg CPG_MOD 1005>,
0057 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
0058 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
0059 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
0060 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
0061 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
0062 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
0063 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
0064 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
0065 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
0066 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
0067 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
0068 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
0069 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
0070 <&versaclock6_bb 4>, <&audio_clk_b>,
0071 <&audio_clk_c>,
0072 <&cpg CPG_CORE R8A774A1_CLK_S0D4>;
0073 };