xref: /freebsd/sys/contrib/device-tree/src/arm64/renesas/r8a774a1-hihope-rzg2m-rev2.dts (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*c66ec88fSEmmanuel Vadot/*
3*c66ec88fSEmmanuel Vadot * Device Tree Source for the HiHope RZ/G2M Rev.2.0 main board
4*c66ec88fSEmmanuel Vadot *
5*c66ec88fSEmmanuel Vadot * Copyright (C) 2019 Renesas Electronics Corp.
6*c66ec88fSEmmanuel Vadot */
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel Vadot/dts-v1/;
9*c66ec88fSEmmanuel Vadot#include "r8a774a1.dtsi"
10*c66ec88fSEmmanuel Vadot#include "hihope-rev2.dtsi"
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel Vadot/ {
13*c66ec88fSEmmanuel Vadot	model = "HopeRun HiHope RZ/G2M main board (Rev.2.0) based on r8a774a1";
14*c66ec88fSEmmanuel Vadot	compatible = "hoperun,hihope-rzg2m", "renesas,r8a774a1";
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadot	memory@48000000 {
17*c66ec88fSEmmanuel Vadot		device_type = "memory";
18*c66ec88fSEmmanuel Vadot		/* first 128MB is reserved for secure area. */
19*c66ec88fSEmmanuel Vadot		reg = <0x0 0x48000000 0x0 0x78000000>;
20*c66ec88fSEmmanuel Vadot	};
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel Vadot	memory@600000000 {
23*c66ec88fSEmmanuel Vadot		device_type = "memory";
24*c66ec88fSEmmanuel Vadot		reg = <0x6 0x00000000 0x0 0x80000000>;
25*c66ec88fSEmmanuel Vadot	};
26*c66ec88fSEmmanuel Vadot};
27*c66ec88fSEmmanuel Vadot
28*c66ec88fSEmmanuel Vadot&du {
29*c66ec88fSEmmanuel Vadot	clocks = <&cpg CPG_MOD 724>,
30*c66ec88fSEmmanuel Vadot		 <&cpg CPG_MOD 723>,
31*c66ec88fSEmmanuel Vadot		 <&cpg CPG_MOD 722>,
32*c66ec88fSEmmanuel Vadot		 <&versaclock5 1>,
33*c66ec88fSEmmanuel Vadot		 <&x302_clk>,
34*c66ec88fSEmmanuel Vadot		 <&versaclock5 2>;
35*c66ec88fSEmmanuel Vadot	clock-names = "du.0", "du.1", "du.2",
36*c66ec88fSEmmanuel Vadot		      "dclkin.0", "dclkin.1", "dclkin.2";
37*c66ec88fSEmmanuel Vadot};
38