ramips: add missing SPDX identifier for EX6150
[oweals/openwrt.git] / target / linux / ramips / dts / HC5861.dts
1 /dts-v1/;
2
3 #include "HC5X61.dtsi"
4
5 / {
6         compatible = "hiwifi,hc5861", "hiwifi,hc5x61", "ralink,mt7620a-soc";
7         model = "HiWiFi HC5861";
8
9         aliases {
10                 led-boot = &led_system;
11                 led-failsafe = &led_system;
12                 led-running = &led_system;
13                 led-upgrade = &led_system;
14         };
15
16         leds {
17                 compatible = "gpio-leds";
18
19                 led_system: system {
20                         label = "hc5861:blue:system";
21                         gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
22                 };
23
24                 wlan2g {
25                         label = "hc5861:blue:wlan2g";
26                         gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
27                 };
28
29                 internet {
30                         label = "hc5861:blue:internet";
31                         gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
32                 };
33
34                 wlan5g {
35                         label = "hc5861:blue:wlan5g";
36                         gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
37                 };
38
39                 turbo {
40                         label = "hc5861:blue:turbo";
41                         gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
42                 };
43         };
44
45         gpio_export {
46                 compatible = "gpio-export";
47                 #size-cells = <0>;
48
49                 usbpower {
50                         gpio-export,name = "usbpower";
51                         gpio-export,output = <0>;
52                         gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
53                 };
54
55                 sdpower {
56                         gpio-export,name = "sdpower";
57                         gpio-export,output = <0>;
58                         gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
59                 };
60         };
61 };
62
63 &ehci {
64         status = "okay";
65 };
66
67 &ohci {
68         status = "okay";
69 };
70
71 &ethernet {
72         status = "okay";
73         mtd-mac-address = <&factory 0x4>;
74         pinctrl-names = "default";
75         pinctrl-0 = <&rgmii1_pins &mdio_pins>;
76         mediatek,portmap = "wllll";
77
78         port@5 {
79                 status = "okay";
80                 phy-handle = <&phy5>;
81                 phy-mode = "rgmii";
82         };
83
84         mdio-bus {
85                 status = "okay";
86
87                 phy5: ethernet-phy@5 {
88                         reg = <5>;
89                         phy-mode = "rgmii";
90                 };
91         };
92 };
93
94 &pcie {
95         status = "okay";
96 };
97
98 &pcie0 {
99         wifi@0,0 {
100                 compatible = "pci14c3,7662";
101                 reg = <0x0000 0 0 0 0>;
102                 mediatek,mtd-eeprom = <&factory 0x8000>;
103                 ieee80211-freq-limit = <5000000 6000000>;
104         };
105 };