1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the Blanche board
5 * Copyright (C) 2014 Renesas Electronics Corporation
6 * Copyright (C) 2016 Cogent Embedded, Inc.
10 #include "r8a7792.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
16 compatible = "renesas,blanche", "renesas,r8a7792";
24 bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
25 stdout-path = "serial0:115200n8";
29 device_type = "memory";
30 reg = <0 0x40000000 0 0x40000000>;
33 d3_3v: regulator-3v3 {
34 compatible = "regulator-fixed";
35 regulator-name = "D3.3V";
36 regulator-min-microvolt = <3300000>;
37 regulator-max-microvolt = <3300000>;
43 compatible = "smsc,lan89218", "smsc,lan9115";
44 reg = <0 0x18000000 0 0x100>;
46 interrupt-parent = <&irqc>;
47 interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
50 vddvario-supply = <&d3_3v>;
51 vdd33a-supply = <&d3_3v>;
53 pinctrl-0 = <&lan89218_pins>;
54 pinctrl-names = "default";
58 compatible = "adi,adv7123";
66 adv7123_in: endpoint {
67 remote-endpoint = <&du_out_rgb1>;
72 adv7123_out: endpoint {
73 remote-endpoint = <&vga_in>;
80 compatible = "hdmi-connector";
85 remote-endpoint = <&adv7511_out>;
91 compatible = "vga-connector";
95 remote-endpoint = <&adv7123_out>;
101 compatible = "fixed-clock";
103 clock-frequency = <74250000>;
107 compatible = "fixed-clock";
109 clock-frequency = <65000000>;
113 compatible = "gpio-keys";
116 linux,code = <KEY_1>;
119 debounce-interval = <20>;
120 gpios = <&gpio3 10 GPIO_ACTIVE_LOW>;
123 linux,code = <KEY_2>;
126 debounce-interval = <20>;
127 gpios = <&gpio3 11 GPIO_ACTIVE_LOW>;
130 linux,code = <KEY_3>;
133 debounce-interval = <20>;
134 gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
137 linux,code = <KEY_4>;
140 debounce-interval = <20>;
141 gpios = <&gpio3 15 GPIO_ACTIVE_LOW>;
144 linux,code = <KEY_A>;
147 debounce-interval = <20>;
148 gpios = <&gpio3 20 GPIO_ACTIVE_LOW>;
151 linux,code = <KEY_B>;
154 debounce-interval = <20>;
155 gpios = <&gpio11 2 GPIO_ACTIVE_LOW>;
160 compatible = "gpio-leds";
163 gpios = <&gpio10 10 GPIO_ACTIVE_HIGH>;
166 gpios = <&gpio10 11 GPIO_ACTIVE_HIGH>;
169 gpios = <&gpio10 12 GPIO_ACTIVE_HIGH>;
172 gpios = <&gpio10 23 GPIO_ACTIVE_HIGH>;
176 vcc_sdhi0: regulator-vcc-sdhi0 {
177 compatible = "regulator-fixed";
179 regulator-name = "SDHI0 Vcc";
180 regulator-min-microvolt = <3300000>;
181 regulator-max-microvolt = <3300000>;
183 gpio = <&gpio11 12 GPIO_ACTIVE_HIGH>;
189 clock-frequency = <20000000>;
193 clock-frequency = <48000000>;
198 groups = "scif0_data";
203 groups = "scif3_data";
207 lan89218_pins: lan89218 {
209 groups = "intc_irq0";
213 groups = "lbsc_ex_cs0";
219 groups = "can0_data", "can_clk";
224 groups = "sdhi0_data4", "sdhi0_ctrl";
229 groups = "du0_rgb888", "du0_sync", "du0_disp";
234 groups = "du1_rgb666", "du1_sync", "du1_disp";
245 pinctrl-0 = <&scif0_pins>;
246 pinctrl-names = "default";
252 pinctrl-0 = <&scif3_pins>;
253 pinctrl-names = "default";
259 pinctrl-0 = <&can0_pins>;
260 pinctrl-names = "default";
266 pinctrl-0 = <&sdhi0_pins>;
267 pinctrl-names = "default";
269 vmmc-supply = <&vcc_sdhi0>;
270 cd-gpios = <&gpio11 11 GPIO_ACTIVE_LOW>;
276 clock-frequency = <400000>;
279 compatible = "adi,adv7511w";
281 interrupt-parent = <&irqc>;
282 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
284 adi,input-depth = <8>;
285 adi,input-colorspace = "rgb";
286 adi,input-clock = "1x";
287 adi,input-style = <1>;
288 adi,input-justification = "evenly";
291 #address-cells = <1>;
296 adv7511_in: endpoint {
297 remote-endpoint = <&du_out_rgb0>;
303 adv7511_out: endpoint {
304 remote-endpoint = <&hdmi_con>;
312 pinctrl-0 = <&du0_pins &du1_pins>;
313 pinctrl-names = "default";
315 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>, <&x1_clk>, <&x2_clk>;
316 clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
322 remote-endpoint = <&adv7511_in>;
327 remote-endpoint = <&adv7123_in>;