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";
172 pinctrl-0 = <&scif0_pins>;
173 pinctrl-names = "default";
179 pinctrl-0 = <&can0_pins>;
180 pinctrl-names = "default";
186 pinctrl-0 = <&can1_pins>;
187 pinctrl-names = "default";
193 pinctrl-0 = <&sdhi0_pins>;
194 pinctrl-names = "default";
196 vmmc-supply = <&vcc_sdhi0>;
197 cd-gpios = <&gpio11 11 GPIO_ACTIVE_LOW>;
202 pinctrl-0 = <&qspi_pins>;
203 pinctrl-names = "default";
207 compatible = "spansion,s25fl512s", "jedec,spi-nor";
209 spi-max-frequency = <30000000>;
210 spi-tx-bus-width = <4>;
211 spi-rx-bus-width = <4>;
217 compatible = "fixed-partitions";
218 #address-cells = <1>;
223 reg = <0x00000000 0x00040000>;
228 reg = <0x00040000 0x00400000>;
233 reg = <0x00440000 0x03bc0000>;
241 clock-frequency = <400000>;
244 compatible = "adi,adv7513";
247 adi,input-depth = <8>;
248 adi,input-colorspace = "rgb";
249 adi,input-clock = "1x";
250 adi,input-style = <1>;
251 adi,input-justification = "evenly";
254 #address-cells = <1>;
259 adv7513_0_in: endpoint {
260 remote-endpoint = <&du_out_rgb0>;
266 adv7513_0_out: endpoint {
267 remote-endpoint = <&hdmi_con0>;
274 compatible = "adi,adv7513";
277 adi,input-depth = <8>;
278 adi,input-colorspace = "rgb";
279 adi,input-clock = "1x";
280 adi,input-style = <1>;
281 adi,input-justification = "evenly";
284 #address-cells = <1>;
289 adv7513_1_in: endpoint {
290 remote-endpoint = <&du_out_rgb1>;
296 adv7513_1_out: endpoint {
297 remote-endpoint = <&hdmi_con1>;
305 pinctrl-0 = <&du0_pins &du1_pins>;
306 pinctrl-names = "default";
308 clocks = <&mstp7_clks R8A7792_CLK_DU0>, <&mstp7_clks R8A7792_CLK_DU1>,
310 clock-names = "du.0", "du.1", "dclkin.0";
316 remote-endpoint = <&adv7513_0_in>;
321 remote-endpoint = <&adv7513_1_in>;