1// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2/*
3 * Device Tree Source for the Salvator-X 2nd version board with R-Car H3e-2G
4 *
5 * Copyright (C) 2021 Glider bv
6 *
7 * Based on r8a77951-salvator-xs.dts
8 * Copyright (C) 2015-2017 Renesas Electronics Corp.
9 */
10
11/dts-v1/;
12#include "r8a779m1.dtsi"
13#include "salvator-xs.dtsi"
14
15/ {
16	model = "Renesas Salvator-X 2nd version board based on r8a779m1";
17	compatible = "renesas,salvator-xs", "renesas,r8a779m1",
18		     "renesas,r8a7795";
19
20	memory@48000000 {
21		device_type = "memory";
22		/* first 128MB is reserved for secure area. */
23		reg = <0x0 0x48000000 0x0 0x38000000>;
24	};
25
26	memory@500000000 {
27		device_type = "memory";
28		reg = <0x5 0x00000000 0x0 0x40000000>;
29	};
30
31	memory@600000000 {
32		device_type = "memory";
33		reg = <0x6 0x00000000 0x0 0x40000000>;
34	};
35
36	memory@700000000 {
37		device_type = "memory";
38		reg = <0x7 0x00000000 0x0 0x40000000>;
39	};
40};
41
42&du {
43	clocks = <&cpg CPG_MOD 724>,
44		 <&cpg CPG_MOD 723>,
45		 <&cpg CPG_MOD 722>,
46		 <&cpg CPG_MOD 721>,
47		 <&versaclock6 1>,
48		 <&x21_clk>,
49		 <&x22_clk>,
50		 <&versaclock6 2>;
51	clock-names = "du.0", "du.1", "du.2", "du.3",
52		      "dclkin.0", "dclkin.1", "dclkin.2", "dclkin.3";
53};
54