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>;
92 clock-frequency = <20000000>;
97 groups = "scif0_data";
101 lan89218_pins: lan89218 {
103 groups = "intc_irq0";
107 groups = "lbsc_ex_cs0";
113 groups = "can0_data";
118 groups = "can1_data";
123 groups = "sdhi0_data4", "sdhi0_ctrl";
128 groups = "qspi_ctrl", "qspi_data4";
134 pinctrl-0 = <&scif0_pins>;
135 pinctrl-names = "default";
141 pinctrl-0 = <&can0_pins>;
142 pinctrl-names = "default";
148 pinctrl-0 = <&can1_pins>;
149 pinctrl-names = "default";
155 pinctrl-0 = <&sdhi0_pins>;
156 pinctrl-names = "default";
158 vmmc-supply = <&vcc_sdhi0>;
159 cd-gpios = <&gpio11 11 GPIO_ACTIVE_LOW>;
164 pinctrl-0 = <&qspi_pins>;
165 pinctrl-names = "default";
169 compatible = "spansion,s25fl512s", "jedec,spi-nor";
171 spi-max-frequency = <30000000>;
172 spi-tx-bus-width = <4>;
173 spi-rx-bus-width = <4>;
179 compatible = "fixed-partitions";
180 #address-cells = <1>;
185 reg = <0x00000000 0x00040000>;
190 reg = <0x00040000 0x00400000>;
195 reg = <0x00440000 0x03bc0000>;