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=on";
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";
238 pmic_irq_pins: pmicirq {
239 groups = "intc_irq2";
250 pinctrl-0 = <&scif0_pins>;
251 pinctrl-names = "default";
257 pinctrl-0 = <&scif3_pins>;
258 pinctrl-names = "default";
264 pinctrl-0 = <&can0_pins>;
265 pinctrl-names = "default";
271 pinctrl-0 = <&sdhi0_pins>;
272 pinctrl-names = "default";
274 vmmc-supply = <&vcc_sdhi0>;
275 cd-gpios = <&gpio11 11 GPIO_ACTIVE_LOW>;
281 clock-frequency = <400000>;
284 compatible = "adi,adv7511w";
286 interrupt-parent = <&irqc>;
287 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
289 adi,input-depth = <8>;
290 adi,input-colorspace = "rgb";
291 adi,input-clock = "1x";
294 #address-cells = <1>;
299 adv7511_in: endpoint {
300 remote-endpoint = <&du_out_rgb0>;
306 adv7511_out: endpoint {
307 remote-endpoint = <&hdmi_con>;
318 compatible = "dlg,da9063";
320 pinctrl-names = "default";
321 pinctrl-0 = <&pmic_irq_pins>;
322 interrupt-parent = <&irqc>;
323 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
324 interrupt-controller;
327 compatible = "dlg,da9063-rtc";
331 compatible = "dlg,da9063-watchdog";
337 pinctrl-0 = <&du0_pins &du1_pins>;
338 pinctrl-names = "default";
340 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>, <&x1_clk>, <&x2_clk>;
341 clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
347 remote-endpoint = <&adv7511_in>;
352 remote-endpoint = <&adv7123_in>;