2 * Device Tree Source for the Blanche board
4 * Copyright (C) 2014 Renesas Electronics Corporation
5 * Copyright (C) 2016 Cogent Embedded, Inc.
7 * This file is licensed under the terms of the GNU General Public License
8 * version 2. This program is licensed "as is" without any warranty of any
9 * kind, whether express or implied.
13 #include "r8a7792.dtsi"
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/input/input.h>
19 compatible = "renesas,blanche", "renesas,r8a7792";
27 bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
28 stdout-path = "serial0:115200n8";
32 device_type = "memory";
33 reg = <0 0x40000000 0 0x40000000>;
36 d3_3v: regulator-3v3 {
37 compatible = "regulator-fixed";
38 regulator-name = "D3.3V";
39 regulator-min-microvolt = <3300000>;
40 regulator-max-microvolt = <3300000>;
46 compatible = "smsc,lan89218", "smsc,lan9115";
47 reg = <0 0x18000000 0 0x100>;
49 interrupt-parent = <&irqc>;
50 interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
53 vddvario-supply = <&d3_3v>;
54 vdd33a-supply = <&d3_3v>;
56 pinctrl-0 = <&lan89218_pins>;
57 pinctrl-names = "default";
61 compatible = "adi,adv7123";
69 adv7123_in: endpoint {
70 remote-endpoint = <&du_out_rgb1>;
75 adv7123_out: endpoint {
76 remote-endpoint = <&vga_in>;
83 compatible = "hdmi-connector";
88 remote-endpoint = <&adv7511_out>;
94 compatible = "vga-connector";
98 remote-endpoint = <&adv7123_out>;
104 compatible = "fixed-clock";
106 clock-frequency = <74250000>;
110 compatible = "fixed-clock";
112 clock-frequency = <65000000>;
116 compatible = "gpio-keys";
119 linux,code = <KEY_1>;
122 debounce-interval = <20>;
123 gpios = <&gpio3 10 GPIO_ACTIVE_LOW>;
126 linux,code = <KEY_2>;
129 debounce-interval = <20>;
130 gpios = <&gpio3 11 GPIO_ACTIVE_LOW>;
133 linux,code = <KEY_3>;
136 debounce-interval = <20>;
137 gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
140 linux,code = <KEY_4>;
143 debounce-interval = <20>;
144 gpios = <&gpio3 15 GPIO_ACTIVE_LOW>;
147 linux,code = <KEY_A>;
150 debounce-interval = <20>;
151 gpios = <&gpio3 20 GPIO_ACTIVE_LOW>;
154 linux,code = <KEY_B>;
157 debounce-interval = <20>;
158 gpios = <&gpio11 2 GPIO_ACTIVE_LOW>;
162 vcc_sdhi0: regulator-vcc-sdhi0 {
163 compatible = "regulator-fixed";
165 regulator-name = "SDHI0 Vcc";
166 regulator-min-microvolt = <3300000>;
167 regulator-max-microvolt = <3300000>;
169 gpio = <&gpio11 12 GPIO_ACTIVE_HIGH>;
175 clock-frequency = <20000000>;
179 clock-frequency = <48000000>;
184 groups = "scif0_data";
189 groups = "scif3_data";
193 lan89218_pins: lan89218 {
195 groups = "intc_irq0";
199 groups = "lbsc_ex_cs0";
205 groups = "can0_data", "can_clk";
210 groups = "sdhi0_data4", "sdhi0_ctrl";
215 groups = "du0_rgb888", "du0_sync", "du0_disp";
220 groups = "du1_rgb666", "du1_sync", "du1_disp";
226 pinctrl-0 = <&scif0_pins>;
227 pinctrl-names = "default";
233 pinctrl-0 = <&scif3_pins>;
234 pinctrl-names = "default";
240 pinctrl-0 = <&can0_pins>;
241 pinctrl-names = "default";
247 pinctrl-0 = <&sdhi0_pins>;
248 pinctrl-names = "default";
250 vmmc-supply = <&vcc_sdhi0>;
251 cd-gpios = <&gpio11 11 GPIO_ACTIVE_LOW>;
257 clock-frequency = <400000>;
260 compatible = "adi,adv7511w";
262 interrupt-parent = <&irqc>;
263 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
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 = <&du_out_rgb0>;
284 adv7511_out: endpoint {
285 remote-endpoint = <&hdmi_con>;
293 pinctrl-0 = <&du0_pins &du1_pins>;
294 pinctrl-names = "default";
296 clocks = <&mstp7_clks R8A7792_CLK_DU0>, <&mstp7_clks R8A7792_CLK_DU1>,
297 <&x1_clk>, <&x2_clk>;
298 clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
304 remote-endpoint = <&adv7511_in>;
309 remote-endpoint = <&adv7123_in>;