1/*
2 * Copyright (c) 2017 BayLibre, SAS.
3 * Author: Neil Armstrong <narmstrong@baylibre.com>
4 * Copyright (c) 2017 Oleg <balbes-150@yandex.ru>
5 *
6 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 */
8
9/dts-v1/;
10
11#include "meson-gxm.dtsi"
12#include "meson-gx-p23x-q20x.dtsi"
13
14/ {
15	compatible = "tronsmart,vega-s96", "amlogic,s912", "amlogic,meson-gxm";
16	model = "Tronsmart Vega S96";
17
18};
19
20&ethmac {
21	pinctrl-0 = <&eth_pins>;
22	pinctrl-names = "default";
23
24	/* Select external PHY by default */
25	phy-handle = <&external_phy>;
26
27	amlogic,tx-delay-ns = <2>;
28
29	/* External PHY is in RGMII */
30	phy-mode = "rgmii";
31};
32
33&external_mdio {
34	external_phy: ethernet-phy@0 {
35		/* Realtek RTL8211F (0x001cc916) */
36		reg = <0>;
37	};
38};
39