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";
27 backlight: backlight {
28 compatible = "pwm-backlight";
29 pwms = <&pwm1 0 50000>;
31 brightness-levels = <512 511 505 494 473 440 392 327 241 133 0>;
32 default-brightness-level = <10>;
34 power-supply = <®_12p0v>;
35 enable-gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>;
39 compatible = "composite-video-connector";
42 composite_con_in: endpoint {
43 remote-endpoint = <&adv7180_in>;
49 compatible = "hdmi-connector";
53 hdmi_con_in: endpoint {
54 remote-endpoint = <&adv7612_in>;
60 compatible = "hdmi-connector";
64 hdmi_con_out: endpoint {
65 remote-endpoint = <&adv7511_out>;
71 compatible = "thine,thc63lvd1024";
72 vcc-supply = <®_3p3v>;
80 thc63lvd1024_in: endpoint {
81 remote-endpoint = <&lvds0_out>;
87 thc63lvd1024_out: endpoint {
88 remote-endpoint = <&adv7511_in>;
95 device_type = "memory";
96 /* first 128MB is reserved for secure area. */
97 reg = <0x0 0x48000000 0x0 0x18000000>;
100 reg_1p8v: regulator0 {
101 compatible = "regulator-fixed";
102 regulator-name = "fixed-1.8V";
103 regulator-min-microvolt = <1800000>;
104 regulator-max-microvolt = <1800000>;
109 reg_3p3v: regulator1 {
110 compatible = "regulator-fixed";
111 regulator-name = "fixed-3.3V";
112 regulator-min-microvolt = <3300000>;
113 regulator-max-microvolt = <3300000>;
118 reg_12p0v: regulator1 {
119 compatible = "regulator-fixed";
120 regulator-name = "D12.0V";
121 regulator-min-microvolt = <12000000>;
122 regulator-max-microvolt = <12000000>;
128 compatible = "vga-connector";
132 remote-endpoint = <&adv7123_out>;
138 compatible = "adi,adv7123";
141 #address-cells = <1>;
146 adv7123_in: endpoint {
147 remote-endpoint = <&du_out_rgb>;
152 adv7123_out: endpoint {
153 remote-endpoint = <&vga_in>;
160 compatible = "fixed-clock";
162 clock-frequency = <74250000>;
167 pinctrl-0 = <&avb0_pins>;
168 pinctrl-names = "default";
169 renesas,no-ether-link;
170 phy-handle = <&phy0>;
171 phy-mode = "rgmii-txid";
174 phy0: ethernet-phy@0 {
175 rxc-skew-ps = <1500>;
177 interrupt-parent = <&gpio5>;
178 interrupts = <19 IRQ_TYPE_LEVEL_LOW>;
183 pinctrl-0 = <&du_pins>;
184 pinctrl-names = "default";
187 clocks = <&cpg CPG_MOD 724>,
190 clock-names = "du.0", "du.1", "dclkin.0";
195 remote-endpoint = <&adv7123_in>;
207 clock-frequency = <48000000>;
216 pinctrl-0 = <&i2c0_pins>;
217 pinctrl-names = "default";
221 compatible = "adi,adv7180cp";
225 #address-cells = <1>;
230 adv7180_in: endpoint {
231 remote-endpoint = <&composite_con_in>;
239 * The VIN4 video input path is shared between
240 * CVBS and HDMI inputs through SW[49-53]
243 * CVBS is the default selection, link it to
246 adv7180_out: endpoint {
247 remote-endpoint = <&vin4_in>;
255 compatible = "adi,adv7511w";
256 reg = <0x39>, <0x3f>, <0x38>, <0x3c>;
257 reg-names = "main", "edid", "packet", "cec";
258 interrupt-parent = <&gpio1>;
259 interrupts = <28 IRQ_TYPE_LEVEL_LOW>;
261 /* Depends on LVDS */
262 max-clock = <135000000>;
265 adi,input-depth = <8>;
266 adi,input-colorspace = "rgb";
267 adi,input-clock = "1x";
268 adi,input-style = <1>;
269 adi,input-justification = "evenly";
272 #address-cells = <1>;
277 adv7511_in: endpoint {
278 remote-endpoint = <&thc63lvd1024_out>;
284 adv7511_out: endpoint {
285 remote-endpoint = <&hdmi_con_out>;
292 compatible = "adi,adv7612";
297 #address-cells = <1>;
303 adv7612_in: endpoint {
304 remote-endpoint = <&hdmi_con_in>;
312 * The VIN4 video input path is shared between
313 * CVBS and HDMI inputs through SW[49-53]
316 * CVBS is the default selection, leave HDMI
317 * not connected here.
319 adv7612_out: endpoint {
329 compatible = "rohm,br24t01", "atmel,24c01";
336 pinctrl-0 = <&i2c1_pins>;
337 pinctrl-names = "default";
344 clocks = <&cpg CPG_MOD 727>,
347 clock-names = "fck", "dclkin.0", "extal";
351 lvds0_out: endpoint {
352 remote-endpoint = <&thc63lvd1024_in>;
359 clocks = <&cpg CPG_MOD 727>,
362 clock-names = "fck", "dclkin.0", "extal";
373 groups = "avb0_link", "avb0_mdio", "avb0_mii";
379 groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0";
404 groups = "scif2_data";
409 groups = "mmc_data8", "mmc_ctrl";
411 power-source = <1800>;
414 sdhi2_pins_uhs: sd2_uhs {
415 groups = "mmc_data8", "mmc_ctrl";
417 power-source = <1800>;
425 vin4_pins_cvbs: vin4 {
426 groups = "vin4_data8", "vin4_sync", "vin4_clk";
432 pinctrl-0 = <&pwm0_pins>;
433 pinctrl-names = "default";
439 pinctrl-0 = <&pwm1_pins>;
440 pinctrl-names = "default";
451 pinctrl-0 = <&scif2_pins>;
452 pinctrl-names = "default";
458 /* used for on-board eMMC */
459 pinctrl-0 = <&sdhi2_pins>;
460 pinctrl-1 = <&sdhi2_pins_uhs>;
461 pinctrl-names = "default", "state_uhs";
463 vmmc-supply = <®_3p3v>;
464 vqmmc-supply = <®_1p8v>;
472 pinctrl-0 = <&usb0_pins>;
473 pinctrl-names = "default";
480 pinctrl-0 = <&vin4_pins_cvbs>;
481 pinctrl-names = "default";
486 #address-cells = <1>;
493 remote-endpoint = <&adv7180_out>;