2 * Device Tree Source for the Gose board
4 * Copyright (C) 2014-2015 Renesas Electronics Corporation
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
12 #include "r8a7793.dtsi"
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
18 compatible = "renesas,gose", "renesas,r8a7793";
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>;
36 compatible = "gpio-keys";
39 gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
43 debounce-interval = <20>;
46 gpios = <&gpio5 1 GPIO_ACTIVE_LOW>;
50 debounce-interval = <20>;
53 gpios = <&gpio5 2 GPIO_ACTIVE_LOW>;
57 debounce-interval = <20>;
60 gpios = <&gpio5 3 GPIO_ACTIVE_LOW>;
64 debounce-interval = <20>;
67 gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
71 debounce-interval = <20>;
74 gpios = <&gpio7 1 GPIO_ACTIVE_LOW>;
78 debounce-interval = <20>;
81 gpios = <&gpio7 2 GPIO_ACTIVE_LOW>;
85 debounce-interval = <20>;
88 gpios = <&gpio7 3 GPIO_ACTIVE_LOW>;
92 debounce-interval = <20>;
95 gpios = <&gpio7 4 GPIO_ACTIVE_LOW>;
99 debounce-interval = <20>;
102 gpios = <&gpio7 5 GPIO_ACTIVE_LOW>;
103 linux,code = <KEY_F>;
106 debounce-interval = <20>;
109 gpios = <&gpio7 6 GPIO_ACTIVE_LOW>;
110 linux,code = <KEY_G>;
113 debounce-interval = <20>;
118 compatible = "gpio-leds";
120 gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
124 gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
128 gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
135 clock-frequency = <20000000>;
140 renesas,groups = "i2c2";
141 renesas,function = "i2c2";
144 scif0_pins: serial0 {
145 renesas,groups = "scif0_data_d";
146 renesas,function = "scif0";
149 scif1_pins: serial1 {
150 renesas,groups = "scif1_data_d";
151 renesas,function = "scif1";
155 renesas,groups = "eth_link", "eth_mdio", "eth_rmii";
156 renesas,function = "eth";
160 renesas,groups = "intc_irq0";
161 renesas,function = "intc";
165 renesas,groups = "qspi_ctrl", "qspi_data4";
166 renesas,function = "qspi";
171 pinctrl-0 = <ðer_pins &phy1_pins>;
172 pinctrl-names = "default";
174 phy-handle = <&phy1>;
175 renesas,ether-link-active-low;
178 phy1: ethernet-phy@1 {
180 interrupt-parent = <&irqc0>;
181 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
182 micrel,led-mode = <1>;
191 pinctrl-0 = <&scif0_pins>;
192 pinctrl-names = "default";
198 pinctrl-0 = <&scif1_pins>;
199 pinctrl-names = "default";
205 pinctrl-0 = <&qspi_pins>;
206 pinctrl-names = "default";
211 compatible = "spansion,s25fl512s", "jedec,spi-nor";
213 spi-max-frequency = <30000000>;
214 spi-tx-bus-width = <4>;
215 spi-rx-bus-width = <4>;
221 compatible = "fixed-partitions";
222 #address-cells = <1>;
227 reg = <0x00000000 0x00040000>;
232 reg = <0x00040000 0x00400000>;
237 reg = <0x00440000 0x03bc0000>;
244 pinctrl-0 = <&i2c2_pins>;
245 pinctrl-names = "default";
248 clock-frequency = <100000>;
251 compatible = "renesas,r1ex24002", "atmel,24c02";