ramips: disable NAND device in mt7621.dtsi to fix boot errors on many devices
[oweals/openwrt.git] / target / linux / ramips / dts / HC5861.dts
1 /dts-v1/;
2
3 /include/ "HC5XXX.dtsi"
4
5 / {
6         compatible = "HC5861", "ralink,mt7620a-soc";
7         model = "HiWiFi HC5861";
8
9         ethernet@10100000 {
10                 status = "okay";
11                 mtd-mac-address = <&factory 0x4>;
12                 pinctrl-names = "default";
13                 pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
14                 mediatek,portmap = "wllll";
15
16                 port@4 {
17                         status = "okay";
18                         phy-handle = <&phy4>;
19                         phy-mode = "rgmii";
20                 };
21
22                 port@5 {
23                         status = "okay";
24                         phy-handle = <&phy5>;
25                         phy-mode = "rgmii";
26                 };
27
28                 mdio-bus {
29                         status = "okay";
30
31                         phy4: ethernet-phy@4 {
32                                 reg = <4>;
33                                 phy-mode = "rgmii";
34                         };
35
36                         phy5: ethernet-phy@5 {
37                                 reg = <5>;
38                                 phy-mode = "rgmii";
39                         };
40                 };
41         };
42
43         gsw@10110000 {
44                 mediatek,port4 = "gmac";
45         };
46
47         gpio-leds {
48                 compatible = "gpio-leds";
49
50                 system {
51                         label = "hc5861:blue:system";
52                         gpios = <&gpio0 9 1>;
53                 };
54
55                 wlan2g {
56                         label = "hc5861:blue:wlan2g";
57                         gpios = <&gpio0 11 1>;
58                 };
59
60                 internet {
61                         label = "hc5861:blue:internet";
62                         gpios = <&gpio3 0 1>;
63                 };
64
65                 wlan5g {
66                         label = "hc5861:blue:wlan5g";
67                         gpios = <&gpio0 7 1>;
68                 };
69
70                 turbo {
71                         label = "hc5861:blue:turbo";
72                         gpios = <&gpio0 10 1>;
73                 };
74         };
75
76         gpio_export {
77                 compatible = "gpio-export";
78                 #size-cells = <0>;
79
80                 usbpower {
81                         gpio-export,name = "usbpower";
82                         gpio-export,output = <0>;
83                         gpios = <&gpio0 13 0>;
84                 };
85
86                 sdpower {
87                         gpio-export,name = "sdpower";
88                         gpio-export,output = <0>;
89                         gpios = <&gpio0 8 0>;
90                 };
91         };
92 };