1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the Draak board
5 * Copyright (C) 2016-2018 Renesas Electronics Corp.
6 * Copyright (C) 2017 Glider bvba
10 #include "r8a77995.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
14 model = "Renesas Draak board based on r8a77995";
15 compatible = "renesas,draak", "renesas,r8a77995";
23 bootargs = "ignore_loglevel";
24 stdout-path = "serial0:115200n8";
28 compatible = "composite-video-connector";
31 composite_con_in: endpoint {
32 remote-endpoint = <&adv7180_in>;
38 compatible = "hdmi-connector";
42 hdmi_con_in: endpoint {
43 remote-endpoint = <&adv7612_in>;
49 compatible = "hdmi-connector";
53 hdmi_con_out: endpoint {
54 remote-endpoint = <&adv7511_out>;
60 compatible = "thine,thc63lvd1024";
61 vcc-supply = <®_3p3v>;
69 thc63lvd1024_in: endpoint {
70 remote-endpoint = <&lvds0_out>;
76 thc63lvd1024_out: endpoint {
77 remote-endpoint = <&adv7511_in>;
84 device_type = "memory";
85 /* first 128MB is reserved for secure area. */
86 reg = <0x0 0x48000000 0x0 0x18000000>;
89 reg_1p8v: regulator0 {
90 compatible = "regulator-fixed";
91 regulator-name = "fixed-1.8V";
92 regulator-min-microvolt = <1800000>;
93 regulator-max-microvolt = <1800000>;
98 reg_3p3v: regulator1 {
99 compatible = "regulator-fixed";
100 regulator-name = "fixed-3.3V";
101 regulator-min-microvolt = <3300000>;
102 regulator-max-microvolt = <3300000>;
108 compatible = "vga-connector";
112 remote-endpoint = <&adv7123_out>;
118 compatible = "adi,adv7123";
121 #address-cells = <1>;
126 adv7123_in: endpoint {
127 remote-endpoint = <&du_out_rgb>;
132 adv7123_out: endpoint {
133 remote-endpoint = <&vga_in>;
140 compatible = "fixed-clock";
142 clock-frequency = <74250000>;
147 pinctrl-0 = <&avb0_pins>;
148 pinctrl-names = "default";
149 renesas,no-ether-link;
150 phy-handle = <&phy0>;
151 phy-mode = "rgmii-txid";
154 phy0: ethernet-phy@0 {
155 rxc-skew-ps = <1500>;
157 interrupt-parent = <&gpio5>;
158 interrupts = <19 IRQ_TYPE_LEVEL_LOW>;
163 pinctrl-0 = <&du_pins>;
164 pinctrl-names = "default";
167 clocks = <&cpg CPG_MOD 724>,
170 clock-names = "du.0", "du.1", "dclkin.0";
175 remote-endpoint = <&adv7123_in>;
186 clock-frequency = <48000000>;
190 pinctrl-0 = <&i2c0_pins>;
191 pinctrl-names = "default";
195 compatible = "adi,adv7180cp";
199 #address-cells = <1>;
204 adv7180_in: endpoint {
205 remote-endpoint = <&composite_con_in>;
213 * The VIN4 video input path is shared between
214 * CVBS and HDMI inputs through SW[49-53]
217 * CVBS is the default selection, link it to
220 adv7180_out: endpoint {
221 remote-endpoint = <&vin4_in>;
229 compatible = "adi,adv7511w";
230 reg = <0x39>, <0x3f>, <0x38>, <0x3c>;
231 reg-names = "main", "edid", "packet", "cec";
232 interrupt-parent = <&gpio1>;
233 interrupts = <28 IRQ_TYPE_LEVEL_LOW>;
235 /* Depends on LVDS */
236 max-clock = <135000000>;
239 adi,input-depth = <8>;
240 adi,input-colorspace = "rgb";
241 adi,input-clock = "1x";
242 adi,input-style = <1>;
243 adi,input-justification = "evenly";
246 #address-cells = <1>;
251 adv7511_in: endpoint {
252 remote-endpoint = <&thc63lvd1024_out>;
258 adv7511_out: endpoint {
259 remote-endpoint = <&hdmi_con_out>;
266 compatible = "adi,adv7612";
271 #address-cells = <1>;
277 adv7612_in: endpoint {
278 remote-endpoint = <&hdmi_con_in>;
286 * The VIN4 video input path is shared between
287 * CVBS and HDMI inputs through SW[49-53]
290 * CVBS is the default selection, leave HDMI
291 * not connected here.
293 adv7612_out: endpoint {
303 compatible = "rohm,br24t01", "atmel,24c01";
310 pinctrl-0 = <&i2c1_pins>;
311 pinctrl-names = "default";
318 clocks = <&cpg CPG_MOD 727>,
321 clock-names = "fck", "dclkin.0", "extal";
325 lvds0_out: endpoint {
326 remote-endpoint = <&thc63lvd1024_in>;
333 clocks = <&cpg CPG_MOD 727>,
336 clock-names = "fck", "dclkin.0", "extal";
346 groups = "avb0_link", "avb0_mdio", "avb0_mii";
352 groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0";
377 groups = "scif2_data";
382 groups = "mmc_data8", "mmc_ctrl";
384 power-source = <1800>;
387 sdhi2_pins_uhs: sd2_uhs {
388 groups = "mmc_data8", "mmc_ctrl";
390 power-source = <1800>;
398 vin4_pins_cvbs: vin4 {
399 groups = "vin4_data8", "vin4_sync", "vin4_clk";
405 pinctrl-0 = <&pwm0_pins>;
406 pinctrl-names = "default";
412 pinctrl-0 = <&pwm1_pins>;
413 pinctrl-names = "default";
424 pinctrl-0 = <&scif2_pins>;
425 pinctrl-names = "default";
431 /* used for on-board eMMC */
432 pinctrl-0 = <&sdhi2_pins>;
433 pinctrl-1 = <&sdhi2_pins_uhs>;
434 pinctrl-names = "default", "state_uhs";
436 vmmc-supply = <®_3p3v>;
437 vqmmc-supply = <®_1p8v>;
445 pinctrl-0 = <&usb0_pins>;
446 pinctrl-names = "default";
452 pinctrl-0 = <&vin4_pins_cvbs>;
453 pinctrl-names = "default";
458 #address-cells = <1>;
465 remote-endpoint = <&adv7180_out>;