1*4d0e87ebSAdam Ford// SPDX-License-Identifier: GPL-2.0
2*4d0e87ebSAdam Ford/*
3*4d0e87ebSAdam Ford * Copyright 2020, Compass Electronics Group, LLC
4*4d0e87ebSAdam Ford */
5*4d0e87ebSAdam Ford
6*4d0e87ebSAdam Ford/dts-v1/;
7*4d0e87ebSAdam Ford
8*4d0e87ebSAdam Ford#include "r8a774e1.dtsi"
9*4d0e87ebSAdam Ford#include "beacon-renesom-som.dtsi"
10*4d0e87ebSAdam Ford#include "beacon-renesom-baseboard.dtsi"
11*4d0e87ebSAdam Ford
12*4d0e87ebSAdam Ford/ {
13*4d0e87ebSAdam Ford	model = "Beacon Embedded Works RZ/G2H Development Kit";
14*4d0e87ebSAdam Ford	compatible =	"beacon,beacon-rzg2h", "renesas,r8a774e1";
15*4d0e87ebSAdam Ford
16*4d0e87ebSAdam Ford	aliases {
17*4d0e87ebSAdam Ford		serial0 = &scif2;
18*4d0e87ebSAdam Ford		serial1 = &hscif0;
19*4d0e87ebSAdam Ford		serial2 = &hscif1;
20*4d0e87ebSAdam Ford		serial3 = &scif0;
21*4d0e87ebSAdam Ford		serial4 = &hscif2;
22*4d0e87ebSAdam Ford		serial5 = &scif5;
23*4d0e87ebSAdam Ford		serial6 = &scif4;
24*4d0e87ebSAdam Ford		ethernet0 = &avb;
25*4d0e87ebSAdam Ford	};
26*4d0e87ebSAdam Ford
27*4d0e87ebSAdam Ford	chosen {
28*4d0e87ebSAdam Ford		stdout-path = "serial0:115200n8";
29*4d0e87ebSAdam Ford	};
30*4d0e87ebSAdam Ford
31*4d0e87ebSAdam Ford	memory@500000000 {
32*4d0e87ebSAdam Ford		device_type = "memory";
33*4d0e87ebSAdam Ford		reg = <0x5 0x00000000 0x0 0x80000000>;
34*4d0e87ebSAdam Ford	};
35*4d0e87ebSAdam Ford};
36*4d0e87ebSAdam Ford
37*4d0e87ebSAdam Ford&du {
38*4d0e87ebSAdam Ford	pinctrl-0 = <&du_pins>;
39*4d0e87ebSAdam Ford	pinctrl-names = "default";
40*4d0e87ebSAdam Ford	status = "okay";
41*4d0e87ebSAdam Ford
42*4d0e87ebSAdam Ford	clocks = <&cpg CPG_MOD 724>,
43*4d0e87ebSAdam Ford		<&cpg CPG_MOD 723>,
44*4d0e87ebSAdam Ford		<&cpg CPG_MOD 721>,
45*4d0e87ebSAdam Ford		<&versaclock5 1>,
46*4d0e87ebSAdam Ford		<&x302_clk>,
47*4d0e87ebSAdam Ford		<&versaclock5 2>;
48*4d0e87ebSAdam Ford	clock-names = "du.0", "du.1", "du.3",
49*4d0e87ebSAdam Ford		"dclkin.0", "dclkin.1", "dclkin.3";
50*4d0e87ebSAdam Ford};
51*4d0e87ebSAdam Ford
52*4d0e87ebSAdam Ford/* Reference versaclock instead of audio_clk_a */
53*4d0e87ebSAdam Ford&rcar_sound {
54*4d0e87ebSAdam Ford	clocks = <&cpg CPG_MOD 1005>,
55*4d0e87ebSAdam Ford		 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
56*4d0e87ebSAdam Ford		 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
57*4d0e87ebSAdam Ford		 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
58*4d0e87ebSAdam Ford		 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
59*4d0e87ebSAdam Ford		 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
60*4d0e87ebSAdam Ford		 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
61*4d0e87ebSAdam Ford		 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
62*4d0e87ebSAdam Ford		 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
63*4d0e87ebSAdam Ford		 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
64*4d0e87ebSAdam Ford		 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
65*4d0e87ebSAdam Ford		 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
66*4d0e87ebSAdam Ford		 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
67*4d0e87ebSAdam Ford		 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
68*4d0e87ebSAdam Ford		 <&versaclock6_bb 4>, <&audio_clk_b>,
69*4d0e87ebSAdam Ford		 <&audio_clk_c>,
70*4d0e87ebSAdam Ford		 <&cpg CPG_CORE R8A774E1_CLK_S0D4>;
71*4d0e87ebSAdam Ford};
72