Merge tag 'backport/v3.14.24-ltsi-rc1/sh-sci-to-v3.18-rc1' into backport/v3.14.24...
[platform/adaptation/renesas_rcar/renesas_kernel.git] / arch / arm / boot / dts / r7s72100-genmai.dts
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 = "console=ttySC2,115200 ignore_loglevel rw root=/dev/nfs ip=dhcp";
25         };
26
27         memory {
28                 device_type = "memory";
29                 reg = <0x08000000 0x08000000>;
30         };
31
32         lbsc {
33                 #address-cells = <1>;
34                 #size-cells = <1>;
35         };
36 };
37
38 &extal_clk {
39         clock-frequency = <13330000>;
40 };
41
42 &usb_x1_clk {
43         clock-frequency = <48000000>;
44 };
45
46 &mtu2 {
47         status = "ok";
48 };
49
50 &i2c2 {
51         status = "okay";
52         clock-frequency = <400000>;
53
54         eeprom@50 {
55                 compatible = "renesas,24c128";
56                 reg = <0x50>;
57                 pagesize = <64>;
58         };
59 };
60
61 &scif2 {
62         status = "okay";
63 };
64
65 &spi4 {
66         status = "okay";
67
68         codec: codec@0 {
69                 compatible = "wlf,wm8978";
70                 reg = <0>;
71                 spi-max-frequency = <5000000>;
72         };
73 };