14d0e87ebSAdam Ford// SPDX-License-Identifier: GPL-2.0
24d0e87ebSAdam Ford/*
34d0e87ebSAdam Ford * Copyright 2020, Compass Electronics Group, LLC
44d0e87ebSAdam Ford */
54d0e87ebSAdam Ford
64d0e87ebSAdam Ford/dts-v1/;
74d0e87ebSAdam Ford
84d0e87ebSAdam Ford#include "r8a774e1.dtsi"
94d0e87ebSAdam Ford#include "beacon-renesom-som.dtsi"
104d0e87ebSAdam Ford#include "beacon-renesom-baseboard.dtsi"
114d0e87ebSAdam Ford
124d0e87ebSAdam Ford/ {
134d0e87ebSAdam Ford	model = "Beacon Embedded Works RZ/G2H Development Kit";
144d0e87ebSAdam Ford	compatible =	"beacon,beacon-rzg2h", "renesas,r8a774e1";
154d0e87ebSAdam Ford
164d0e87ebSAdam Ford	aliases {
174d0e87ebSAdam Ford		serial0 = &scif2;
184d0e87ebSAdam Ford		serial1 = &hscif0;
194d0e87ebSAdam Ford		serial2 = &hscif1;
204d0e87ebSAdam Ford		serial3 = &scif0;
214d0e87ebSAdam Ford		serial4 = &hscif2;
224d0e87ebSAdam Ford		serial5 = &scif5;
234d0e87ebSAdam Ford		serial6 = &scif4;
244d0e87ebSAdam Ford		ethernet0 = &avb;
25*d765a4f3SYoshihiro Shimoda		mmc0 = &sdhi3;
26*d765a4f3SYoshihiro Shimoda		mmc1 = &sdhi0;
27*d765a4f3SYoshihiro Shimoda		mmc2 = &sdhi2;
284d0e87ebSAdam Ford	};
294d0e87ebSAdam Ford
304d0e87ebSAdam Ford	chosen {
314d0e87ebSAdam Ford		stdout-path = "serial0:115200n8";
324d0e87ebSAdam Ford	};
334d0e87ebSAdam Ford
344d0e87ebSAdam Ford	memory@500000000 {
354d0e87ebSAdam Ford		device_type = "memory";
364d0e87ebSAdam Ford		reg = <0x5 0x00000000 0x0 0x80000000>;
374d0e87ebSAdam Ford	};
384d0e87ebSAdam Ford};
394d0e87ebSAdam Ford
404d0e87ebSAdam Ford&du {
414d0e87ebSAdam Ford	pinctrl-0 = <&du_pins>;
424d0e87ebSAdam Ford	pinctrl-names = "default";
434d0e87ebSAdam Ford	status = "okay";
444d0e87ebSAdam Ford
454d0e87ebSAdam Ford	clocks = <&cpg CPG_MOD 724>,
464d0e87ebSAdam Ford		<&cpg CPG_MOD 723>,
474d0e87ebSAdam Ford		<&cpg CPG_MOD 721>,
484d0e87ebSAdam Ford		<&versaclock5 1>,
494d0e87ebSAdam Ford		<&x302_clk>,
504d0e87ebSAdam Ford		<&versaclock5 2>;
514d0e87ebSAdam Ford	clock-names = "du.0", "du.1", "du.3",
524d0e87ebSAdam Ford		"dclkin.0", "dclkin.1", "dclkin.3";
534d0e87ebSAdam Ford};
544d0e87ebSAdam Ford
554d0e87ebSAdam Ford/* Reference versaclock instead of audio_clk_a */
564d0e87ebSAdam Ford&rcar_sound {
574d0e87ebSAdam Ford	clocks = <&cpg CPG_MOD 1005>,
584d0e87ebSAdam Ford		 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
594d0e87ebSAdam Ford		 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
604d0e87ebSAdam Ford		 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
614d0e87ebSAdam Ford		 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
624d0e87ebSAdam Ford		 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
634d0e87ebSAdam Ford		 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
644d0e87ebSAdam Ford		 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
654d0e87ebSAdam Ford		 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
664d0e87ebSAdam Ford		 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
674d0e87ebSAdam Ford		 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
684d0e87ebSAdam Ford		 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
694d0e87ebSAdam Ford		 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
704d0e87ebSAdam Ford		 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
714d0e87ebSAdam Ford		 <&versaclock6_bb 4>, <&audio_clk_b>,
724d0e87ebSAdam Ford		 <&audio_clk_c>,
734d0e87ebSAdam Ford		 <&cpg CPG_CORE R8A774E1_CLK_S0D4>;
744d0e87ebSAdam Ford};
75