1/*
2 * Device Tree Source for the Genmai board
3 *
4 * Copyright (C) 2013-14 Renesas Solutions Corp.
5 * Copyright (C) 2014 Wolfram Sang, Sang Engineering <wsa@sang-engineering.com>
6 *
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.
10 */
11
12/dts-v1/;
13#include "r7s72100.dtsi"
14
15/ {
16	model = "Genmai";
17	compatible = "renesas,genmai", "renesas,r7s72100";
18
19	aliases {
20		serial2 = &scif2;
21	};
22
23	chosen {
24		bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
25		stdout-path = &scif2;
26	};
27
28	memory {
29		device_type = "memory";
30		reg = <0x08000000 0x08000000>;
31	};
32
33	lbsc {
34		#address-cells = <1>;
35		#size-cells = <1>;
36	};
37};
38
39&extal_clk {
40	clock-frequency = <13330000>;
41};
42
43&usb_x1_clk {
44	clock-frequency = <48000000>;
45};
46
47&mtu2 {
48	status = "okay";
49};
50
51&i2c2 {
52	status = "okay";
53	clock-frequency = <400000>;
54
55	eeprom@50 {
56		compatible = "renesas,24c128";
57		reg = <0x50>;
58		pagesize = <64>;
59	};
60};
61
62&scif2 {
63	status = "okay";
64};
65
66&spi4 {
67	status = "okay";
68
69	codec: codec@0 {
70		compatible = "wlf,wm8978";
71		reg = <0>;
72		spi-max-frequency = <5000000>;
73	};
74};
75