1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for the Falcon CPU and BreakOut boards with R-Car V3U
4 *
5 * Copyright (C) 2020 Renesas Electronics Corp.
6 */
7
8/dts-v1/;
9#include "r8a779a0-falcon-cpu.dtsi"
10#include "r8a779a0-falcon-csi-dsi.dtsi"
11#include "r8a779a0-falcon-ethernet.dtsi"
12
13/ {
14	model = "Renesas Falcon CPU and Breakout boards based on r8a779a0";
15	compatible = "renesas,falcon-breakout", "renesas,falcon-cpu", "renesas,r8a779a0";
16
17	aliases {
18		ethernet0 = &avb0;
19	};
20};
21
22&avb0 {
23	pinctrl-0 = <&avb0_pins>;
24	pinctrl-names = "default";
25	phy-handle = <&phy0>;
26	tx-internal-delay-ps = <2000>;
27	status = "okay";
28
29	phy0: ethernet-phy@0 {
30		rxc-skew-ps = <1500>;
31		reg = <0>;
32		interrupt-parent = <&gpio4>;
33		interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
34		reset-gpios = <&gpio4 15 GPIO_ACTIVE_LOW>;
35	};
36};
37
38&i2c0 {
39	eeprom@51 {
40		compatible = "rohm,br24g01", "atmel,24c01";
41		label = "breakout-board";
42		reg = <0x51>;
43		pagesize = <8>;
44	};
45};
46
47&pfc {
48	avb0_pins: avb0 {
49		mux {
50			groups = "avb0_link", "avb0_mdio", "avb0_rgmii",
51				 "avb0_txcrefclk";
52			function = "avb0";
53		};
54
55		pins_mdio {
56			groups = "avb0_mdio";
57			drive-strength = <21>;
58		};
59
60		pins_mii {
61			groups = "avb0_rgmii";
62			drive-strength = <21>;
63		};
64
65	};
66};
67