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