blob: 63a3a46e5a138e2b5a42d5e730ba2a77cb8634a4 [file] [log] [blame]
Marek Vasutb938f382017-07-21 23:16:59 +02001/*
2 * Device Tree Source for the Salvator-X board
3 *
4 * Copyright (C) 2015 Renesas Electronics Corp.
5 *
Marek Vasut07efb452017-11-29 04:27:36 +01006 * SPDX-License-Identifier: GPL-2.0
Marek Vasutb938f382017-07-21 23:16:59 +02007 */
8
Marek Vasutb938f382017-07-21 23:16:59 +02009/dts-v1/;
10#include "r8a7795.dtsi"
Marek Vasut36f83d92017-09-12 23:01:51 +020011#include "salvator-x.dtsi"
Marek Vasutb938f382017-07-21 23:16:59 +020012
13/ {
Marek Vasut36f83d92017-09-12 23:01:51 +020014 model = "Renesas Salvator-X board based on r8a7795 ES2.0+";
Marek Vasutb938f382017-07-21 23:16:59 +020015 compatible = "renesas,salvator-x", "renesas,r8a7795";
16
Marek Vasutb938f382017-07-21 23:16:59 +020017 memory@48000000 {
18 device_type = "memory";
19 /* first 128MB is reserved for secure area. */
20 reg = <0x0 0x48000000 0x0 0x38000000>;
21 };
22
Marek Vasut36f83d92017-09-12 23:01:51 +020023 memory@500000000 {
24 device_type = "memory";
25 reg = <0x5 0x00000000 0x0 0x40000000>;
Marek Vasutb938f382017-07-21 23:16:59 +020026 };
27
Marek Vasut36f83d92017-09-12 23:01:51 +020028 memory@600000000 {
29 device_type = "memory";
30 reg = <0x6 0x00000000 0x0 0x40000000>;
Marek Vasutb938f382017-07-21 23:16:59 +020031 };
32
Marek Vasut36f83d92017-09-12 23:01:51 +020033 memory@700000000 {
34 device_type = "memory";
35 reg = <0x7 0x00000000 0x0 0x40000000>;
Marek Vasutb938f382017-07-21 23:16:59 +020036 };
Marek Vasut36f83d92017-09-12 23:01:51 +020037};
Marek Vasutb938f382017-07-21 23:16:59 +020038
Marek Vasut36f83d92017-09-12 23:01:51 +020039&du {
40 clocks = <&cpg CPG_MOD 724>,
41 <&cpg CPG_MOD 723>,
42 <&cpg CPG_MOD 722>,
43 <&cpg CPG_MOD 721>,
44 <&cpg CPG_MOD 727>,
45 <&versaclock5 1>,
46 <&x21_clk>,
47 <&x22_clk>,
48 <&versaclock5 2>;
49 clock-names = "du.0", "du.1", "du.2", "du.3", "lvds.0",
50 "dclkin.0", "dclkin.1", "dclkin.2", "dclkin.3";
51};
Marek Vasutb938f382017-07-21 23:16:59 +020052
Marek Vasut36f83d92017-09-12 23:01:51 +020053&ehci2 {
54 status = "okay";
55};
Marek Vasutb938f382017-07-21 23:16:59 +020056
Marek Vasut36f83d92017-09-12 23:01:51 +020057&hdmi0 {
58 status = "okay";
Marek Vasutb938f382017-07-21 23:16:59 +020059
Marek Vasut36f83d92017-09-12 23:01:51 +020060 ports {
61 port@1 {
62 reg = <1>;
63 rcar_dw_hdmi0_out: endpoint {
64 remote-endpoint = <&hdmi0_con>;
Marek Vasutb938f382017-07-21 23:16:59 +020065 };
66 };
67 };
Marek Vasut36f83d92017-09-12 23:01:51 +020068};
Marek Vasutb938f382017-07-21 23:16:59 +020069
Marek Vasut36f83d92017-09-12 23:01:51 +020070&hdmi0_con {
71 remote-endpoint = <&rcar_dw_hdmi0_out>;
Marek Vasutb938f382017-07-21 23:16:59 +020072};
73
Marek Vasut36f83d92017-09-12 23:01:51 +020074&hdmi1 {
Marek Vasutb938f382017-07-21 23:16:59 +020075 status = "okay";
76
77 ports {
Marek Vasut36f83d92017-09-12 23:01:51 +020078 port@1 {
79 reg = <1>;
80 rcar_dw_hdmi1_out: endpoint {
81 remote-endpoint = <&hdmi1_con>;
Marek Vasutb938f382017-07-21 23:16:59 +020082 };
83 };
Marek Vasutb938f382017-07-21 23:16:59 +020084 };
85};
86
Marek Vasut36f83d92017-09-12 23:01:51 +020087&hdmi1_con {
88 remote-endpoint = <&rcar_dw_hdmi1_out>;
Marek Vasutb938f382017-07-21 23:16:59 +020089};
90
Marek Vasut36f83d92017-09-12 23:01:51 +020091&ohci2 {
92 status = "okay";
Marek Vasutb938f382017-07-21 23:16:59 +020093};
94
95&pfc {
Marek Vasutb938f382017-07-21 23:16:59 +020096 usb2_pins: usb2 {
97 groups = "usb2";
98 function = "usb2";
99 };
100};
101
Marek Vasutb938f382017-07-21 23:16:59 +0200102&sata {
103 status = "okay";
104};
105
Marek Vasutb938f382017-07-21 23:16:59 +0200106&usb2_phy2 {
107 pinctrl-0 = <&usb2_pins>;
108 pinctrl-names = "default";
109
Marek Vasutb938f382017-07-21 23:16:59 +0200110 status = "okay";
111};