blob: 71a379f9e276abad1a445203b721c45fcdfbd376 [file] [log] [blame]
Marek Vasutd21f08b2017-10-09 21:08:10 +02001/*
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&extal_clk {
37 clock-frequency = <16666666>;
38};
39
40&extalr_clk {
41 clock-frequency = <32768>;
42};
43
44&pfc {
45 pinctrl-0 = <&scif_clk_pins>;
46 pinctrl-names = "default";
47
48 scif0_pins: scif0 {
49 groups = "scif0_data";
50 function = "scif0";
51 };
52
53 scif_clk_pins: scif_clk {
54 groups = "scif_clk_b";
55 function = "scif_clk";
56 };
57
58 avb_pins: avb {
59 groups = "avb0_mdc";
60 function = "avb0";
61 };
62};
63
64&scif0 {
65 pinctrl-0 = <&scif0_pins>;
66 pinctrl-names = "default";
67
68 status = "okay";
69};
70
71&scif_clk {
72 clock-frequency = <14745600>;
73 status = "okay";
74};
75
76&avb {
77 pinctrl-0 = <&avb_pins>;
78 pinctrl-names = "default";
79 renesas,no-ether-link;
80 phy-handle = <&phy0>;
81 status = "okay";
82
83 phy0: ethernet-phy@0 {
84 rxc-skew-ps = <1500>;
85 reg = <0>;
86 };
87};