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