blob: 729756c24c7479a3474cfac18dccd86d70cf0635 [file] [log] [blame]
Takeshi Kihara19591a92018-02-19 19:20:55 +01001// SPDX-License-Identifier: GPL-2.0
2/*
Geert Uytterhoeven972952d2018-03-02 13:02:21 +01003 * Device Tree Source for the Salvator-X 2nd version board with R-Car M3-N
Takeshi Kihara19591a92018-02-19 19:20:55 +01004 *
5 * Copyright (C) 2017 Renesas Electronics Corp.
6 */
7
8/dts-v1/;
9#include "r8a77965.dtsi"
10#include "salvator-xs.dtsi"
11
12/ {
13 model = "Renesas Salvator-X 2nd version board based on r8a77965";
14 compatible = "renesas,salvator-xs", "renesas,r8a77965";
15
16 memory@48000000 {
17 device_type = "memory";
18 /* first 128MB is reserved for secure area. */
19 reg = <0x0 0x48000000 0x0 0x78000000>;
20 };
21};
Kieran Binghama1f23ed2018-04-27 23:02:20 +010022
23&du {
24 clocks = <&cpg CPG_MOD 724>,
25 <&cpg CPG_MOD 723>,
26 <&cpg CPG_MOD 721>,
27 <&versaclock6 1>,
28 <&x21_clk>,
29 <&versaclock6 2>;
30 clock-names = "du.0", "du.1", "du.3",
31 "dclkin.0", "dclkin.1", "dclkin.3";
32};
33
Wolfram Sang3a0832d2018-07-30 09:34:56 +020034&pca9654 {
Krzysztof Kozlowskie8c47152020-10-02 18:39:45 +020035 pcie-sata-switch-hog {
Wolfram Sang3a0832d2018-07-30 09:34:56 +020036 gpio-hog;
37 gpios = <7 GPIO_ACTIVE_HIGH>;
38 output-low; /* enable SATA by default */
39 line-name = "PCIE/SATA switch";
40 };
41};
42
Geert Uytterhoeven48e1f502018-08-30 14:39:19 +020043/* SW12-7 must be set 'Off' (MD12 set to 1) which is not the default! */
Wolfram Sang3a0832d2018-07-30 09:34:56 +020044&sata {
45 status = "okay";
46};