Linux Audio

Check our new training course

Yocto distribution development and maintenance

Need a Yocto distribution for your embedded project?
Loading...
  1/*
  2 * Device Tree Source for the Salvator-X board with R-Car H3 ES1.x
  3 *
  4 * Copyright (C) 2015 Renesas Electronics Corp.
  5 *
  6 * This file is licensed under the terms of the GNU General Public License
  7 * version 2.  This program is licensed "as is" without any warranty of any
  8 * kind, whether express or implied.
  9 */
 10
 11/dts-v1/;
 12#include "r8a7795-es1.dtsi"
 13#include "salvator-x.dtsi"
 14
 15/ {
 16	model = "Renesas Salvator-X board based on r8a7795 ES1.x";
 17	compatible = "renesas,salvator-x", "renesas,r8a7795";
 18
 19	memory@48000000 {
 20		device_type = "memory";
 21		/* first 128MB is reserved for secure area. */
 22		reg = <0x0 0x48000000 0x0 0x38000000>;
 23	};
 24
 25	memory@500000000 {
 26		device_type = "memory";
 27		reg = <0x5 0x00000000 0x0 0x40000000>;
 28	};
 29
 30	memory@600000000 {
 31		device_type = "memory";
 32		reg = <0x6 0x00000000 0x0 0x40000000>;
 33	};
 34
 35	memory@700000000 {
 36		device_type = "memory";
 37		reg = <0x7 0x00000000 0x0 0x40000000>;
 38	};
 39};
 40
 41&du {
 42	clocks = <&cpg CPG_MOD 724>,
 43		 <&cpg CPG_MOD 723>,
 44		 <&cpg CPG_MOD 722>,
 45		 <&cpg CPG_MOD 721>,
 46		 <&cpg CPG_MOD 727>,
 47		 <&versaclock5 1>,
 48		 <&x21_clk>,
 49		 <&x22_clk>,
 50		 <&versaclock5 2>;
 51	clock-names = "du.0", "du.1", "du.2", "du.3", "lvds.0",
 52		      "dclkin.0", "dclkin.1", "dclkin.2", "dclkin.3";
 53};
 54
 55&ehci2 {
 56	status = "okay";
 57};
 58
 59&hdmi0 {
 60	status = "okay";
 61
 62	ports {
 63		port@1 {
 64			reg = <1>;
 65			rcar_dw_hdmi0_out: endpoint {
 66				remote-endpoint = <&hdmi0_con>;
 67			};
 68		};
 69	};
 70};
 71
 72&hdmi0_con {
 73	remote-endpoint = <&rcar_dw_hdmi0_out>;
 74};
 75
 76&hdmi1 {
 77	status = "okay";
 78
 79	ports {
 80		port@1 {
 81			reg = <1>;
 82			rcar_dw_hdmi1_out: endpoint {
 83				remote-endpoint = <&hdmi1_con>;
 84			};
 85		};
 86	};
 87};
 88
 89&hdmi1_con {
 90	remote-endpoint = <&rcar_dw_hdmi1_out>;
 91};
 92
 93&ohci2 {
 94	status = "okay";
 95};
 96
 97&pfc {
 98	usb2_pins: usb2 {
 99		groups = "usb2";
100		function = "usb2";
101	};
102};
103
104&sata {
105	status = "okay";
106};
107
108&usb2_phy2 {
109	pinctrl-0 = <&usb2_pins>;
110	pinctrl-names = "default";
111
112	status = "okay";
113};