2 * Device Tree Source for the Koelsch board
4 * Copyright (C) 2013 Renesas Electronics Corporation
5 * Copyright (C) 2013-2014 Renesas Solutions Corp.
6 * Copyright (C) 2014 Cogent Embedded, Inc.
8 * This file is licensed under the terms of the GNU General Public License
9 * version 2. This program is licensed "as is" without any warranty of any
10 * kind, whether express or implied.
14 #include "r8a7791.dtsi"
15 #include <dt-bindings/gpio/gpio.h>
19 compatible = "renesas,koelsch", "renesas,r8a7791";
22 bootargs = "console=ttySC6,115200 ignore_loglevel rw root=/dev/nfs ip=dhcp";
26 device_type = "memory";
27 reg = <0 0x40000000 0 0x40000000>;
31 device_type = "memory";
32 reg = <2 0x00000000 0 0x40000000>;
41 compatible = "gpio-keys";
44 gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
48 debounce-interval = <20>;
51 gpios = <&gpio7 1 GPIO_ACTIVE_LOW>;
55 debounce-interval = <20>;
58 gpios = <&gpio7 2 GPIO_ACTIVE_LOW>;
62 debounce-interval = <20>;
65 gpios = <&gpio7 3 GPIO_ACTIVE_LOW>;
69 debounce-interval = <20>;
72 gpios = <&gpio7 4 GPIO_ACTIVE_LOW>;
76 debounce-interval = <20>;
79 gpios = <&gpio7 5 GPIO_ACTIVE_LOW>;
83 debounce-interval = <20>;
86 gpios = <&gpio7 6 GPIO_ACTIVE_LOW>;
90 debounce-interval = <20>;
95 compatible = "gpio-leds";
97 gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
100 gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
103 gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
109 clock-frequency = <20000000>;
113 pinctrl-0 = <&i2c2_pins>;
114 pinctrl-names = "default";
117 clock-frequency = <400000>;
120 compatible = "renesas,24c02";
127 pinctrl-0 = <&du_pins &scif0_pins &scif1_pins>;
128 pinctrl-names = "default";
131 renesas,groups = "i2c2";
132 renesas,function = "i2c2";
136 renesas,groups = "du_rgb666", "du_sync", "du_clk_out_0";
137 renesas,function = "du";
140 scif0_pins: serial0 {
141 renesas,groups = "scif0_data_d";
142 renesas,function = "scif0";
145 scif1_pins: serial1 {
146 renesas,groups = "scif1_data_d";
147 renesas,function = "scif1";
151 renesas,groups = "eth_link", "eth_mdio", "eth_rmii";
152 renesas,function = "eth";
156 renesas,groups = "intc_irq0";
157 renesas,function = "intc";
161 renesas,groups = "qspi_ctrl", "qspi_data4";
162 renesas,function = "qspi";
167 pinctrl-0 = <ðer_pins &phy1_pins>;
168 pinctrl-names = "default";
170 phy-handle = <&phy1>;
171 renesas,ether-link-active-low;
174 phy1: ethernet-phy@1 {
176 interrupt-parent = <&irqc0>;
177 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
186 pinctrl-0 = <&qspi_pins>;
187 pinctrl-names = "default";
192 #address-cells = <1>;
194 compatible = "spansion,s25fl512s";
196 spi-max-frequency = <30000000>;
201 reg = <0x00000000 0x00080000>;
206 reg = <0x00080000 0x00080000>;
211 reg = <0x00100000 0x03f00000>;