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 d1_8v: regulator-1v8 {
34 compatible = "regulator-fixed";
35 regulator-name = "D1.8V";
36 regulator-min-microvolt = <1800000>;
37 regulator-max-microvolt = <1800000>;
42 d3_3v: regulator-3v3 {
43 compatible = "regulator-fixed";
44 regulator-name = "D3.3V";
45 regulator-min-microvolt = <3300000>;
46 regulator-max-microvolt = <3300000>;
52 compatible = "adi,adv7123";
60 adv7123_in: endpoint {
61 remote-endpoint = <&du_out_rgb1>;
66 adv7123_out: endpoint {
67 remote-endpoint = <&vga_in>;
74 compatible = "hdmi-connector";
79 remote-endpoint = <&adv7511_out>;
85 compatible = "vga-connector";
89 remote-endpoint = <&adv7123_out>;
95 compatible = "fixed-clock";
97 clock-frequency = <74250000>;
101 compatible = "fixed-clock";
103 clock-frequency = <65000000>;
107 compatible = "gpio-keys";
109 pinctrl-0 = <&keyboard_pins>;
110 pinctrl-names = "default";
113 linux,code = <KEY_1>;
116 debounce-interval = <20>;
117 gpios = <&gpio3 10 GPIO_ACTIVE_LOW>;
120 linux,code = <KEY_2>;
123 debounce-interval = <20>;
124 gpios = <&gpio3 11 GPIO_ACTIVE_LOW>;
127 linux,code = <KEY_3>;
130 debounce-interval = <20>;
131 gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
134 linux,code = <KEY_4>;
137 debounce-interval = <20>;
138 gpios = <&gpio3 15 GPIO_ACTIVE_LOW>;
141 linux,code = <KEY_A>;
144 debounce-interval = <20>;
145 gpios = <&gpio3 20 GPIO_ACTIVE_LOW>;
148 linux,code = <KEY_B>;
151 debounce-interval = <20>;
152 gpios = <&gpio11 2 GPIO_ACTIVE_LOW>;
157 compatible = "gpio-leds";
160 gpios = <&gpio10 10 GPIO_ACTIVE_HIGH>;
163 gpios = <&gpio10 11 GPIO_ACTIVE_HIGH>;
166 gpios = <&gpio10 12 GPIO_ACTIVE_HIGH>;
169 gpios = <&gpio10 23 GPIO_ACTIVE_HIGH>;
173 vcc_sdhi0: regulator-vcc-sdhi0 {
174 compatible = "regulator-fixed";
176 regulator-name = "SDHI0 Vcc";
177 regulator-min-microvolt = <3300000>;
178 regulator-max-microvolt = <3300000>;
180 gpio = <&gpio11 12 GPIO_ACTIVE_HIGH>;
186 clock-frequency = <20000000>;
190 clock-frequency = <48000000>;
195 compatible = "cfi-flash";
196 reg = <0x00000000 0x04000000>;
197 pinctrl-0 = <&flash_pins>;
198 pinctrl-names = "default";
202 compatible = "fixed-partitions";
203 #address-cells = <1>;
208 reg = <0x00000000 0x00040000>;
213 reg = <0x00040000 0x00040000>;
218 reg = <0x00080000 0x03f80000>;
224 compatible = "smsc,lan89218", "smsc,lan9115";
225 reg = <0x18000000 0x100>;
227 interrupt-parent = <&irqc>;
228 interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
231 vddvario-supply = <&d3_3v>;
232 vdd33a-supply = <&d3_3v>;
234 pinctrl-0 = <&lan89218_pins>;
235 pinctrl-names = "default";
241 groups = "scif0_data";
246 groups = "scif3_data";
250 lan89218_pins: lan89218 {
252 groups = "intc_irq0";
256 groups = "lbsc_ex_cs0";
262 groups = "can0_data", "can_clk";
267 groups = "sdhi0_data4", "sdhi0_ctrl";
272 groups = "du0_rgb888", "du0_sync", "du0_disp";
277 groups = "du1_rgb666", "du1_sync", "du1_disp";
286 keyboard_pins: keyboard {
287 pins = "GP_3_10", "GP_3_11", "GP_3_12", "GP_3_15", "GP_11_2";
291 pmic_irq_pins: pmicirq {
292 groups = "intc_irq2";
303 pinctrl-0 = <&scif0_pins>;
304 pinctrl-names = "default";
310 pinctrl-0 = <&scif3_pins>;
311 pinctrl-names = "default";
317 pinctrl-0 = <&can0_pins>;
318 pinctrl-names = "default";
324 pinctrl-0 = <&sdhi0_pins>;
325 pinctrl-names = "default";
327 vmmc-supply = <&vcc_sdhi0>;
328 cd-gpios = <&gpio11 11 GPIO_ACTIVE_LOW>;
334 clock-frequency = <400000>;
337 compatible = "adi,adv7511w";
339 interrupt-parent = <&irqc>;
340 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
342 avdd-supply = <&d1_8v>;
343 dvdd-supply = <&d1_8v>;
344 pvdd-supply = <&d1_8v>;
345 dvdd-3v-supply = <&d3_3v>;
346 bgvdd-supply = <&d1_8v>;
348 adi,input-depth = <8>;
349 adi,input-colorspace = "rgb";
350 adi,input-clock = "1x";
353 #address-cells = <1>;
358 adv7511_in: endpoint {
359 remote-endpoint = <&du_out_rgb0>;
365 adv7511_out: endpoint {
366 remote-endpoint = <&hdmi_con>;
377 compatible = "dlg,da9063";
379 pinctrl-names = "default";
380 pinctrl-0 = <&pmic_irq_pins>;
381 interrupt-parent = <&irqc>;
382 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
383 interrupt-controller;
384 #interrupt-cells = <2>;
387 compatible = "dlg,da9063-rtc";
391 compatible = "dlg,da9063-watchdog";
397 pinctrl-0 = <&du0_pins>, <&du1_pins>;
398 pinctrl-names = "default";
400 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>, <&x1_clk>, <&x2_clk>;
401 clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
407 remote-endpoint = <&adv7511_in>;
412 remote-endpoint = <&adv7123_in>;