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