xref: /openbmc/u-boot/arch/arm/dts/r8a7795-salvator-x.dts (revision 83d290c56fab2d38cd1ab4c4cc7099559c1d5046)
1*83d290c5STom Rini// SPDX-License-Identifier: GPL-2.0
24157c472SMarek Vasut/*
34157c472SMarek Vasut * Device Tree Source for the Salvator-X board
44157c472SMarek Vasut *
54157c472SMarek Vasut * Copyright (C) 2015 Renesas Electronics Corp.
64157c472SMarek Vasut */
74157c472SMarek Vasut
84157c472SMarek Vasut/dts-v1/;
94157c472SMarek Vasut#include "r8a7795.dtsi"
1037a79081SMarek Vasut#include "salvator-x.dtsi"
114157c472SMarek Vasut
124157c472SMarek Vasut/ {
1337a79081SMarek Vasut	model = "Renesas Salvator-X board based on r8a7795 ES2.0+";
144157c472SMarek Vasut	compatible = "renesas,salvator-x", "renesas,r8a7795";
154157c472SMarek Vasut
164157c472SMarek Vasut	memory@48000000 {
174157c472SMarek Vasut		device_type = "memory";
184157c472SMarek Vasut		/* first 128MB is reserved for secure area. */
194157c472SMarek Vasut		reg = <0x0 0x48000000 0x0 0x38000000>;
204157c472SMarek Vasut	};
214157c472SMarek Vasut
2237a79081SMarek Vasut	memory@500000000 {
2337a79081SMarek Vasut		device_type = "memory";
2437a79081SMarek Vasut		reg = <0x5 0x00000000 0x0 0x40000000>;
254157c472SMarek Vasut	};
264157c472SMarek Vasut
2737a79081SMarek Vasut	memory@600000000 {
2837a79081SMarek Vasut		device_type = "memory";
2937a79081SMarek Vasut		reg = <0x6 0x00000000 0x0 0x40000000>;
304157c472SMarek Vasut	};
314157c472SMarek Vasut
3237a79081SMarek Vasut	memory@700000000 {
3337a79081SMarek Vasut		device_type = "memory";
3437a79081SMarek Vasut		reg = <0x7 0x00000000 0x0 0x40000000>;
354157c472SMarek Vasut	};
364157c472SMarek Vasut};
374157c472SMarek Vasut
384157c472SMarek Vasut&du {
3937a79081SMarek Vasut	clocks = <&cpg CPG_MOD 724>,
4037a79081SMarek Vasut		 <&cpg CPG_MOD 723>,
4137a79081SMarek Vasut		 <&cpg CPG_MOD 722>,
4237a79081SMarek Vasut		 <&cpg CPG_MOD 721>,
4337a79081SMarek Vasut		 <&cpg CPG_MOD 727>,
4437a79081SMarek Vasut		 <&versaclock5 1>,
4537a79081SMarek Vasut		 <&x21_clk>,
4637a79081SMarek Vasut		 <&x22_clk>,
4737a79081SMarek Vasut		 <&versaclock5 2>;
4837a79081SMarek Vasut	clock-names = "du.0", "du.1", "du.2", "du.3", "lvds.0",
4937a79081SMarek Vasut		      "dclkin.0", "dclkin.1", "dclkin.2", "dclkin.3";
5037a79081SMarek Vasut};
5137a79081SMarek Vasut
5237a79081SMarek Vasut&ehci2 {
5337a79081SMarek Vasut	status = "okay";
5437a79081SMarek Vasut};
5537a79081SMarek Vasut
5637a79081SMarek Vasut&hdmi0 {
574157c472SMarek Vasut	status = "okay";
584157c472SMarek Vasut
594157c472SMarek Vasut	ports {
6037a79081SMarek Vasut		port@1 {
6137a79081SMarek Vasut			reg = <1>;
6237a79081SMarek Vasut			rcar_dw_hdmi0_out: endpoint {
6337a79081SMarek Vasut				remote-endpoint = <&hdmi0_con>;
644157c472SMarek Vasut			};
654157c472SMarek Vasut		};
664157c472SMarek Vasut	};
674157c472SMarek Vasut};
684157c472SMarek Vasut
6937a79081SMarek Vasut&hdmi0_con {
7037a79081SMarek Vasut	remote-endpoint = <&rcar_dw_hdmi0_out>;
714157c472SMarek Vasut};
724157c472SMarek Vasut
7337a79081SMarek Vasut&hdmi1 {
7437a79081SMarek Vasut	status = "okay";
7537a79081SMarek Vasut
7637a79081SMarek Vasut	ports {
7737a79081SMarek Vasut		port@1 {
7837a79081SMarek Vasut			reg = <1>;
7937a79081SMarek Vasut			rcar_dw_hdmi1_out: endpoint {
8037a79081SMarek Vasut				remote-endpoint = <&hdmi1_con>;
8137a79081SMarek Vasut			};
8237a79081SMarek Vasut		};
8337a79081SMarek Vasut	};
8437a79081SMarek Vasut};
8537a79081SMarek Vasut
8637a79081SMarek Vasut&hdmi1_con {
8737a79081SMarek Vasut	remote-endpoint = <&rcar_dw_hdmi1_out>;
8837a79081SMarek Vasut};
8937a79081SMarek Vasut
9037a79081SMarek Vasut&ohci2 {
9137a79081SMarek Vasut	status = "okay";
924157c472SMarek Vasut};
934157c472SMarek Vasut
944157c472SMarek Vasut&pfc {
954157c472SMarek Vasut	usb2_pins: usb2 {
964157c472SMarek Vasut		groups = "usb2";
974157c472SMarek Vasut		function = "usb2";
984157c472SMarek Vasut	};
994157c472SMarek Vasut};
1004157c472SMarek Vasut
1014157c472SMarek Vasut&sata {
1024157c472SMarek Vasut	status = "okay";
1034157c472SMarek Vasut};
1044157c472SMarek Vasut
1054157c472SMarek Vasut&usb2_phy2 {
1064157c472SMarek Vasut	pinctrl-0 = <&usb2_pins>;
1074157c472SMarek Vasut	pinctrl-names = "default";
1084157c472SMarek Vasut
1094157c472SMarek Vasut	status = "okay";
1104157c472SMarek Vasut};
111