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	phy-mode = "rgmii-id";
40	status = "okay";
41
42	phy0: ethernet-phy@0 {
43		rxc-skew-ps = <1500>;
44		reg = <0>;
45		interrupt-parent = <&gpio1>;
46		interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
47	};
48};
49
50&extal_clk {
51	clock-frequency = <16666666>;
52};
53
54&extalr_clk {
55	clock-frequency = <32768>;
56};
57
58&pfc {
59	scif0_pins: scif0 {
60		groups = "scif0_data";
61		function = "scif0";
62	};
63};
64
65&rwdt {
66	timeout-sec = <60>;
67	status = "okay";
68};
69
70&scif0 {
71	pinctrl-0 = <&scif0_pins>;
72	pinctrl-names = "default";
73
74	status = "okay";
75};
76