1/*
2 * Device Tree Source for the Eagle board
3 *
4 * Copyright (C) 2016-2017 Renesas Electronics Corp.
5 * Copyright (C) 2017 Cogent Embedded, Inc.
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 "r8a77970.dtsi"
14
15/ {
16	model = "Renesas Eagle board based on r8a77970";
17	compatible = "renesas,eagle", "renesas,r8a77970";
18
19	aliases {
20		serial0 = &scif0;
21		ethernet0 = &avb;
22	};
23
24	chosen {
25		bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
26		stdout-path = "serial0:115200n8";
27	};
28
29	memory@48000000 {
30		device_type = "memory";
31		/* first 128MB is reserved for secure area. */
32		reg = <0x0 0x48000000 0x0 0x38000000>;
33	};
34};
35
36&avb {
37	renesas,no-ether-link;
38	phy-handle = <&phy0>;
39	status = "okay";
40
41	phy0: ethernet-phy@0 {
42		rxc-skew-ps = <1500>;
43		reg = <0>;
44	};
45};
46
47&extal_clk {
48	clock-frequency = <16666666>;
49};
50
51&extalr_clk {
52	clock-frequency = <32768>;
53};
54
55&pfc {
56	scif0_pins: scif0 {
57		groups = "scif0_data";
58		function = "scif0";
59	};
60};
61
62&rwdt {
63	timeout-sec = <60>;
64	status = "okay";
65};
66
67&scif0 {
68	pinctrl-0 = <&scif0_pins>;
69	pinctrl-names = "default";
70
71	status = "okay";
72};
73