1/*
2 * Device Tree Source for the V3M Starter Kit board
3 *
4 * Copyright (C) 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 V3M Starter Kit board";
17	compatible = "renesas,v3msk", "renesas,r8a77970";
18
19	aliases {
20		serial0 = &scif0;
21	};
22
23	chosen {
24		stdout-path = "serial0:115200n8";
25	};
26
27	memory@48000000 {
28		device_type = "memory";
29		/* first 128MB is reserved for secure area. */
30		reg = <0x0 0x48000000 0x0 0x38000000>;
31	};
32};
33
34&avb {
35	pinctrl-0 = <&avb_pins>;
36	pinctrl-names = "default";
37
38	renesas,no-ether-link;
39	phy-handle = <&phy0>;
40	phy-mode = "rgmii-id";
41	status = "okay";
42
43	phy0: ethernet-phy@0 {
44		rxc-skew-ps = <1500>;
45		reg = <0>;
46	};
47};
48
49&extal_clk {
50	clock-frequency = <16666666>;
51};
52
53&extalr_clk {
54	clock-frequency = <32768>;
55};
56
57&pfc {
58	avb_pins: avb0 {
59		groups = "avb0_mdio", "avb0_rgmii", "avb0_txcrefclk";
60		function = "avb0";
61	};
62
63	scif0_pins: scif0 {
64		groups = "scif0_data";
65		function = "scif0";
66	};
67};
68
69&scif0 {
70	pinctrl-0 = <&scif0_pins>;
71	pinctrl-names = "default";
72
73	status = "okay";
74};
75