blob: 118a8e2b86bdd67293d7360d90f8468604bf381e [file] [log] [blame]
Magnus Damma4ed4122013-09-19 05:11:29 +09001/*
2 * Device Tree Source for the Genmai board
3 *
Wolfram Sang2606f472014-05-16 14:10:14 +02004 * Copyright (C) 2013-14 Renesas Solutions Corp.
5 * Copyright (C) 2014 Wolfram Sang, Sang Engineering <wsa@sang-engineering.com>
Magnus Damma4ed4122013-09-19 05:11:29 +09006 *
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/;
Laurent Pinchart31c46cb2013-11-09 13:23:53 +010013#include "r7s72100.dtsi"
Magnus Damma4ed4122013-09-19 05:11:29 +090014
15/ {
16 model = "Genmai";
17 compatible = "renesas,genmai", "renesas,r7s72100";
18
Wolfram Sang2606f472014-05-16 14:10:14 +020019 aliases {
Geert Uytterhoevenbe6beba2016-06-14 16:15:21 +020020 serial0 = &scif2;
Wolfram Sang2606f472014-05-16 14:10:14 +020021 };
22
Magnus Damma4ed4122013-09-19 05:11:29 +090023 chosen {
Geert Uytterhoevena6789862014-10-03 17:11:35 +020024 bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
Geert Uytterhoevenbe6beba2016-06-14 16:15:21 +020025 stdout-path = "serial0:115200n8";
Magnus Damma4ed4122013-09-19 05:11:29 +090026 };
27
Geert Uytterhoeven4f4942b2016-05-20 09:10:04 +020028 memory@8000000 {
Magnus Damma4ed4122013-09-19 05:11:29 +090029 device_type = "memory";
30 reg = <0x08000000 0x08000000>;
31 };
32
33 lbsc {
34 #address-cells = <1>;
35 #size-cells = <1>;
36 };
37};
Wolfram Sang2606f472014-05-16 14:10:14 +020038
39&extal_clk {
40 clock-frequency = <13330000>;
41};
42
43&usb_x1_clk {
44 clock-frequency = <48000000>;
45};
46
Laurent Pinchart9dddfcf2014-07-09 15:12:44 +020047&mtu2 {
Geert Uytterhoeven5f61ffb2014-12-09 12:24:59 +010048 status = "okay";
Laurent Pinchart9dddfcf2014-07-09 15:12:44 +020049};
50
Wolfram Sang2606f472014-05-16 14:10:14 +020051&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};
Geert Uytterhoevenae6b6182014-07-03 14:02:45 +020065
66&spi4 {
67 status = "okay";
68
69 codec: codec@0 {
70 compatible = "wlf,wm8978";
71 reg = <0>;
72 spi-max-frequency = <5000000>;
73 };
74};