xref: /freebsd/sys/contrib/device-tree/src/arm64/renesas/r8a774b1-hihope-rzg2n.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/G2N main board Rev.3.0/4.0
4*c66ec88fSEmmanuel Vadot *
5*c66ec88fSEmmanuel Vadot * Copyright (C) 2020 Renesas Electronics Corp.
6*c66ec88fSEmmanuel Vadot */
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel Vadot/dts-v1/;
9*c66ec88fSEmmanuel Vadot#include "r8a774b1.dtsi"
10*c66ec88fSEmmanuel Vadot#include "hihope-rev4.dtsi"
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel Vadot/ {
13*c66ec88fSEmmanuel Vadot	model = "HopeRun HiHope RZ/G2N main board based on r8a774b1";
14*c66ec88fSEmmanuel Vadot	compatible = "hoperun,hihope-rzg2n", "renesas,r8a774b1";
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@480000000 {
23*c66ec88fSEmmanuel Vadot		device_type = "memory";
24*c66ec88fSEmmanuel Vadot		reg = <0x4 0x80000000 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 721>,
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.3",
36*c66ec88fSEmmanuel Vadot		      "dclkin.0", "dclkin.1", "dclkin.3";
37*c66ec88fSEmmanuel Vadot};
38*c66ec88fSEmmanuel Vadot
39*c66ec88fSEmmanuel Vadot&sdhi3 {
40*c66ec88fSEmmanuel Vadot	mmc-hs400-1_8v;
41*c66ec88fSEmmanuel Vadot};
42