1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the Wheat board
5 * Copyright (C) 2016 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,wheat", "renesas,r8a7792";
23 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
24 stdout-path = "serial0:115200n8";
28 device_type = "memory";
29 reg = <0 0x40000000 0 0x40000000>;
32 d3_3v: regulator-3v3 {
33 compatible = "regulator-fixed";
34 regulator-name = "D3.3V";
35 regulator-min-microvolt = <3300000>;
36 regulator-max-microvolt = <3300000>;
42 compatible = "smsc,lan89218", "smsc,lan9115";
43 reg = <0 0x18000000 0 0x100>;
45 interrupt-parent = <&irqc>;
46 interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
48 smsc,save-mac-address;
50 vddvario-supply = <&d3_3v>;
51 vdd33a-supply = <&d3_3v>;
53 pinctrl-0 = <&lan89218_pins>;
54 pinctrl-names = "default";
58 compatible = "gpio-keys";
64 debounce-interval = <20>;
65 gpios = <&gpio3 20 GPIO_ACTIVE_LOW>;
71 debounce-interval = <20>;
72 gpios = <&gpio11 2 GPIO_ACTIVE_LOW>;
76 vcc_sdhi0: regulator-vcc-sdhi0 {
77 compatible = "regulator-fixed";
79 regulator-name = "SDHI0 Vcc";
80 regulator-min-microvolt = <3300000>;
81 regulator-max-microvolt = <3300000>;
83 gpio = <&gpio11 12 GPIO_ACTIVE_HIGH>;
88 compatible = "hdmi-connector";
93 remote-endpoint = <&adv7513_0_out>;
99 compatible = "hdmi-connector";
103 hdmi_con1: endpoint {
104 remote-endpoint = <&adv7513_1_out>;
110 compatible = "fixed-clock";
112 clock-frequency = <74250000>;
117 clock-frequency = <20000000>;
122 groups = "scif0_data";
126 lan89218_pins: lan89218 {
128 groups = "intc_irq0";
132 groups = "lbsc_ex_cs0";
138 groups = "can0_data";
143 groups = "can1_data";
148 groups = "sdhi0_data4", "sdhi0_ctrl";
153 groups = "qspi_ctrl", "qspi_data4";
158 groups = "du0_rgb888", "du0_sync", "du0_disp";
163 groups = "du1_rgb666", "du1_sync", "du1_disp";
174 pinctrl-0 = <&scif0_pins>;
175 pinctrl-names = "default";
181 pinctrl-0 = <&can0_pins>;
182 pinctrl-names = "default";
188 pinctrl-0 = <&can1_pins>;
189 pinctrl-names = "default";
195 pinctrl-0 = <&sdhi0_pins>;
196 pinctrl-names = "default";
198 vmmc-supply = <&vcc_sdhi0>;
199 cd-gpios = <&gpio11 11 GPIO_ACTIVE_LOW>;
204 pinctrl-0 = <&qspi_pins>;
205 pinctrl-names = "default";
209 compatible = "spansion,s25fl512s", "jedec,spi-nor";
211 spi-max-frequency = <30000000>;
212 spi-tx-bus-width = <4>;
213 spi-rx-bus-width = <4>;
219 compatible = "fixed-partitions";
220 #address-cells = <1>;
225 reg = <0x00000000 0x00040000>;
230 reg = <0x00040000 0x00400000>;
235 reg = <0x00440000 0x03bc0000>;
243 clock-frequency = <400000>;
246 * The adv75xx resets its addresses to defaults during low power mode.
247 * Because we have two ADV7513 devices on the same bus, we must change
248 * both of them away from the defaults so that they do not conflict.
251 compatible = "adi,adv7513";
252 reg = <0x3d>, <0x2d>, <0x4d>, <0x5d>;
253 reg-names = "main", "cec", "edid", "packet";
255 adi,input-depth = <8>;
256 adi,input-colorspace = "rgb";
257 adi,input-clock = "1x";
258 adi,input-style = <1>;
259 adi,input-justification = "evenly";
262 #address-cells = <1>;
267 adv7513_0_in: endpoint {
268 remote-endpoint = <&du_out_rgb0>;
274 adv7513_0_out: endpoint {
275 remote-endpoint = <&hdmi_con0>;
282 compatible = "adi,adv7513";
283 reg = <0x39>, <0x29>, <0x49>, <0x59>;
284 reg-names = "main", "cec", "edid", "packet";
286 adi,input-depth = <8>;
287 adi,input-colorspace = "rgb";
288 adi,input-clock = "1x";
289 adi,input-style = <1>;
290 adi,input-justification = "evenly";
293 #address-cells = <1>;
298 adv7513_1_in: endpoint {
299 remote-endpoint = <&du_out_rgb1>;
305 adv7513_1_out: endpoint {
306 remote-endpoint = <&hdmi_con1>;
314 pinctrl-0 = <&du0_pins &du1_pins>;
315 pinctrl-names = "default";
317 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>, <&osc2_clk>;
318 clock-names = "du.0", "du.1", "dclkin.0";
324 remote-endpoint = <&adv7513_0_in>;
329 remote-endpoint = <&adv7513_1_in>;