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