2018-02-27 18:30:33 +07:00
|
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
2017-10-03 22:29:44 +07:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017 BayLibre, SAS.
|
|
|
|
* Author: Neil Armstrong <narmstrong@baylibre.com>
|
|
|
|
* Copyright (c) 2017 Oleg <balbes-150@yandex.ru>
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "meson-gxm.dtsi"
|
|
|
|
#include "meson-gx-p23x-q20x.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "tronsmart,vega-s96", "amlogic,s912", "amlogic,meson-gxm";
|
|
|
|
model = "Tronsmart Vega S96";
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
ðmac {
|
|
|
|
pinctrl-0 = <ð_pins>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
|
|
|
/* Select external PHY by default */
|
|
|
|
phy-handle = <&external_phy>;
|
|
|
|
|
|
|
|
amlogic,tx-delay-ns = <2>;
|
|
|
|
|
|
|
|
/* External PHY is in RGMII */
|
|
|
|
phy-mode = "rgmii";
|
|
|
|
};
|
|
|
|
|
|
|
|
&external_mdio {
|
|
|
|
external_phy: ethernet-phy@0 {
|
|
|
|
/* Realtek RTL8211F (0x001cc916) */
|
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
};
|