blob: 63a3a46e5a138e2b5a42d5e730ba2a77cb8634a4 [file] [log] [blame]
Marek Vasut4157c472017-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 Vasut62b2bb52017-11-29 04:27:36 +01006 * SPDX-License-Identifier: GPL-2.0
Marek Vasut4157c472017-07-21 23:16:59 +02007 */
8
Marek Vasut4157c472017-07-21 23:16:59 +02009/dts-v1/;
10#include "r8a7795.dtsi"
Marek Vasut37a79082017-09-12 23:01:51 +020011#include "salvator-x.dtsi"
Marek Vasut4157c472017-07-21 23:16:59 +020012
13/ {
Marek Vasut37a79082017-09-12 23:01:51 +020014 model = "Renesas Salvator-X board based on r8a7795 ES2.0+";
Marek Vasut4157c472017-07-21 23:16:59 +020015 compatible = "renesas,salvator-x", "renesas,r8a7795";
16
Marek Vasut4157c472017-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 Vasut37a79082017-09-12 23:01:51 +020023 memory@500000000 {
24 device_type = "memory";
25 reg = <0x5 0x00000000 0x0 0x40000000>;
Marek Vasut4157c472017-07-21 23:16:59 +020026 };
27
Marek Vasut37a79082017-09-12 23:01:51 +020028 memory@600000000 {
29 device_type = "memory";
30 reg = <0x6 0x00000000 0x0 0x40000000>;
Marek Vasut4157c472017-07-21 23:16:59 +020031 };
32
Marek Vasut37a79082017-09-12 23:01:51 +020033 memory@700000000 {
34 device_type = "memory";
35 reg = <0x7 0x00000000 0x0 0x40000000>;
Marek Vasut4157c472017-07-21 23:16:59 +020036 };
37};
38
39&du {
Marek Vasut37a79082017-09-12 23:01:51 +020040 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};
52
53&ehci2 {
54 status = "okay";
55};
56
57&hdmi0 {
Marek Vasut4157c472017-07-21 23:16:59 +020058 status = "okay";
59
60 ports {
Marek Vasut37a79082017-09-12 23:01:51 +020061 port@1 {
62 reg = <1>;
63 rcar_dw_hdmi0_out: endpoint {
64 remote-endpoint = <&hdmi0_con>;
Marek Vasut4157c472017-07-21 23:16:59 +020065 };
66 };
67 };
68};
69
Marek Vasut37a79082017-09-12 23:01:51 +020070&hdmi0_con {
71 remote-endpoint = <&rcar_dw_hdmi0_out>;
Marek Vasut4157c472017-07-21 23:16:59 +020072};
73
Marek Vasut37a79082017-09-12 23:01:51 +020074&hdmi1 {
75 status = "okay";
76
77 ports {
78 port@1 {
79 reg = <1>;
80 rcar_dw_hdmi1_out: endpoint {
81 remote-endpoint = <&hdmi1_con>;
82 };
83 };
84 };
85};
86
87&hdmi1_con {
88 remote-endpoint = <&rcar_dw_hdmi1_out>;
89};
90
91&ohci2 {
92 status = "okay";
Marek Vasut4157c472017-07-21 23:16:59 +020093};
94
95&pfc {
Marek Vasut4157c472017-07-21 23:16:59 +020096 usb2_pins: usb2 {
97 groups = "usb2";
98 function = "usb2";
99 };
100};
101
Marek Vasut4157c472017-07-21 23:16:59 +0200102&sata {
103 status = "okay";
104};
105
Marek Vasut4157c472017-07-21 23:16:59 +0200106&usb2_phy2 {
107 pinctrl-0 = <&usb2_pins>;
108 pinctrl-names = "default";
109
110 status = "okay";
111};