2 * Device Tree Source for the Wheat board
4 * Copyright (C) 2016 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,wheat", "renesas,r8a7792";
26 bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
27 stdout-path = "serial0:115200n8";
31 device_type = "memory";
32 reg = <0 0x40000000 0 0x40000000>;
35 d3_3v: regulator-3v3 {
36 compatible = "regulator-fixed";
37 regulator-name = "D3.3V";
38 regulator-min-microvolt = <3300000>;
39 regulator-max-microvolt = <3300000>;
45 compatible = "smsc,lan89218", "smsc,lan9115";
46 reg = <0 0x18000000 0 0x100>;
48 interrupt-parent = <&irqc>;
49 interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
51 smsc,save-mac-address;
53 vddvario-supply = <&d3_3v>;
54 vdd33a-supply = <&d3_3v>;
56 pinctrl-0 = <&lan89218_pins>;
57 pinctrl-names = "default";
61 compatible = "gpio-keys";
67 debounce-interval = <20>;
68 gpios = <&gpio3 20 GPIO_ACTIVE_LOW>;
74 debounce-interval = <20>;
75 gpios = <&gpio11 2 GPIO_ACTIVE_LOW>;
79 vcc_sdhi0: regulator-vcc-sdhi0 {
80 compatible = "regulator-fixed";
82 regulator-name = "SDHI0 Vcc";
83 regulator-min-microvolt = <3300000>;
84 regulator-max-microvolt = <3300000>;
86 gpio = <&gpio11 12 GPIO_ACTIVE_HIGH>;
91 compatible = "hdmi-connector";
96 remote-endpoint = <&adv7513_0_out>;
102 compatible = "hdmi-connector";
106 hdmi_con1: endpoint {
107 remote-endpoint = <&adv7513_1_out>;
113 compatible = "fixed-clock";
115 clock-frequency = <74250000>;
120 clock-frequency = <20000000>;
125 groups = "scif0_data";
129 lan89218_pins: lan89218 {
131 groups = "intc_irq0";
135 groups = "lbsc_ex_cs0";
141 groups = "can0_data";
146 groups = "can1_data";
151 groups = "sdhi0_data4", "sdhi0_ctrl";
156 groups = "qspi_ctrl", "qspi_data4";
161 groups = "du0_rgb888", "du0_sync", "du0_disp";
166 groups = "du1_rgb666", "du1_sync", "du1_disp";
177 pinctrl-0 = <&scif0_pins>;
178 pinctrl-names = "default";
184 pinctrl-0 = <&can0_pins>;
185 pinctrl-names = "default";
191 pinctrl-0 = <&can1_pins>;
192 pinctrl-names = "default";
198 pinctrl-0 = <&sdhi0_pins>;
199 pinctrl-names = "default";
201 vmmc-supply = <&vcc_sdhi0>;
202 cd-gpios = <&gpio11 11 GPIO_ACTIVE_LOW>;
207 pinctrl-0 = <&qspi_pins>;
208 pinctrl-names = "default";
212 compatible = "spansion,s25fl512s", "jedec,spi-nor";
214 spi-max-frequency = <30000000>;
215 spi-tx-bus-width = <4>;
216 spi-rx-bus-width = <4>;
222 compatible = "fixed-partitions";
223 #address-cells = <1>;
228 reg = <0x00000000 0x00040000>;
233 reg = <0x00040000 0x00400000>;
238 reg = <0x00440000 0x03bc0000>;
246 clock-frequency = <400000>;
249 * The adv75xx resets its addresses to defaults during low power mode.
250 * Because we have two ADV7513 devices on the same bus, we must change
251 * both of them away from the defaults so that they do not conflict.
254 compatible = "adi,adv7513";
255 reg = <0x3d>, <0x2d>, <0x4d>, <0x5d>;
256 reg-names = "main", "cec", "edid", "packet";
258 adi,input-depth = <8>;
259 adi,input-colorspace = "rgb";
260 adi,input-clock = "1x";
261 adi,input-style = <1>;
262 adi,input-justification = "evenly";
265 #address-cells = <1>;
270 adv7513_0_in: endpoint {
271 remote-endpoint = <&du_out_rgb0>;
277 adv7513_0_out: endpoint {
278 remote-endpoint = <&hdmi_con0>;
285 compatible = "adi,adv7513";
286 reg = <0x39>, <0x29>, <0x49>, <0x59>;
287 reg-names = "main", "cec", "edid", "packet";
289 adi,input-depth = <8>;
290 adi,input-colorspace = "rgb";
291 adi,input-clock = "1x";
292 adi,input-style = <1>;
293 adi,input-justification = "evenly";
296 #address-cells = <1>;
301 adv7513_1_in: endpoint {
302 remote-endpoint = <&du_out_rgb1>;
308 adv7513_1_out: endpoint {
309 remote-endpoint = <&hdmi_con1>;
317 pinctrl-0 = <&du0_pins &du1_pins>;
318 pinctrl-names = "default";
320 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>, <&osc2_clk>;
321 clock-names = "du.0", "du.1", "dclkin.0";
327 remote-endpoint = <&adv7513_0_in>;
332 remote-endpoint = <&adv7513_1_in>;