1*05c618f3SKrzysztof Kozlowski// SPDX-License-Identifier: (GPL-2.0 OR MIT)
249596032SGeert Uytterhoeven/*
349596032SGeert Uytterhoeven * Device Tree Source for the Salvator-X 2nd version board with R-Car H3e-2G
449596032SGeert Uytterhoeven *
549596032SGeert Uytterhoeven * Copyright (C) 2021 Glider bv
649596032SGeert Uytterhoeven *
749596032SGeert Uytterhoeven * Based on r8a77951-salvator-xs.dts
849596032SGeert Uytterhoeven * Copyright (C) 2015-2017 Renesas Electronics Corp.
949596032SGeert Uytterhoeven */
1049596032SGeert Uytterhoeven
1149596032SGeert Uytterhoeven/dts-v1/;
1249596032SGeert Uytterhoeven#include "r8a779m1.dtsi"
1349596032SGeert Uytterhoeven#include "salvator-xs.dtsi"
1449596032SGeert Uytterhoeven
1549596032SGeert Uytterhoeven/ {
1649596032SGeert Uytterhoeven	model = "Renesas Salvator-X 2nd version board based on r8a779m1";
1749596032SGeert Uytterhoeven	compatible = "renesas,salvator-xs", "renesas,r8a779m1",
1849596032SGeert Uytterhoeven		     "renesas,r8a7795";
1949596032SGeert Uytterhoeven
2049596032SGeert Uytterhoeven	memory@48000000 {
2149596032SGeert Uytterhoeven		device_type = "memory";
2249596032SGeert Uytterhoeven		/* first 128MB is reserved for secure area. */
2349596032SGeert Uytterhoeven		reg = <0x0 0x48000000 0x0 0x38000000>;
2449596032SGeert Uytterhoeven	};
2549596032SGeert Uytterhoeven
2649596032SGeert Uytterhoeven	memory@500000000 {
2749596032SGeert Uytterhoeven		device_type = "memory";
2849596032SGeert Uytterhoeven		reg = <0x5 0x00000000 0x0 0x40000000>;
2949596032SGeert Uytterhoeven	};
3049596032SGeert Uytterhoeven
3149596032SGeert Uytterhoeven	memory@600000000 {
3249596032SGeert Uytterhoeven		device_type = "memory";
3349596032SGeert Uytterhoeven		reg = <0x6 0x00000000 0x0 0x40000000>;
3449596032SGeert Uytterhoeven	};
3549596032SGeert Uytterhoeven
3649596032SGeert Uytterhoeven	memory@700000000 {
3749596032SGeert Uytterhoeven		device_type = "memory";
3849596032SGeert Uytterhoeven		reg = <0x7 0x00000000 0x0 0x40000000>;
3949596032SGeert Uytterhoeven	};
4049596032SGeert Uytterhoeven};
4149596032SGeert Uytterhoeven
4249596032SGeert Uytterhoeven&du {
4349596032SGeert Uytterhoeven	clocks = <&cpg CPG_MOD 724>,
4449596032SGeert Uytterhoeven		 <&cpg CPG_MOD 723>,
4549596032SGeert Uytterhoeven		 <&cpg CPG_MOD 722>,
4649596032SGeert Uytterhoeven		 <&cpg CPG_MOD 721>,
4749596032SGeert Uytterhoeven		 <&versaclock6 1>,
4849596032SGeert Uytterhoeven		 <&x21_clk>,
4949596032SGeert Uytterhoeven		 <&x22_clk>,
5049596032SGeert Uytterhoeven		 <&versaclock6 2>;
5149596032SGeert Uytterhoeven	clock-names = "du.0", "du.1", "du.2", "du.3",
5249596032SGeert Uytterhoeven		      "dclkin.0", "dclkin.1", "dclkin.2", "dclkin.3";
5349596032SGeert Uytterhoeven};
54