ARM64: dts: amlogic: Convert to new-style SPDX license identifiers
[linux-2.6-microblaze.git] / arch / arm64 / boot / dts / amlogic / meson-gxbb-wetek-hub.dts
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /*
3  * Copyright (c) 2016 BayLibre, Inc.
4  * Author: Neil Armstrong <narmstrong@baylibre.com>
5  */
6
7 /dts-v1/;
8
9 #include "meson-gxbb-p20x.dtsi"
10
11 / {
12         compatible = "wetek,hub", "amlogic,meson-gxbb";
13         model = "WeTek Hub";
14
15         leds {
16                 compatible = "gpio-leds";
17
18                 system {
19                         label = "wetek-play:system-status";
20                         gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>;
21                         default-state = "on";
22                         panic-indicator;
23                 };
24         };
25 };
26
27 &cvbs_connector {
28         status = "disabled";
29 };
30
31 &ethmac {
32         status = "okay";
33         pinctrl-0 = <&eth_rgmii_pins>;
34         pinctrl-names = "default";
35
36         phy-handle = <&eth_phy0>;
37         phy-mode = "rgmii";
38
39         amlogic,tx-delay-ns = <2>;
40
41         snps,reset-gpio = <&gpio GPIOZ_14 0>;
42         snps,reset-delays-us = <0 10000 1000000>;
43         snps,reset-active-low;
44
45         mdio {
46                 compatible = "snps,dwmac-mdio";
47                 #address-cells = <1>;
48                 #size-cells = <0>;
49
50                 eth_phy0: ethernet-phy@0 {
51                         /* Realtek RTL8211F (0x001cc916) */
52                         reg = <0>;
53                 };
54         };
55 };