ramips: remove superfluous & confusing DT binding
[openwrt/staging/chunkeey.git] / target / linux / ramips / dts / MT7620a_MT7530.dts
1 /dts-v1/;
2
3 #include "mt7620a.dtsi"
4
5 / {
6 compatible = "ralink,mt7620a-eval-board", "ralink,mt7620a-soc";
7 model = "Ralink MT7620a + MT7530 evaluation board";
8 };
9
10 &spi0 {
11 status = "okay";
12
13 m25p80@0 {
14 compatible = "jedec,spi-nor";
15 reg = <0>;
16 spi-max-frequency = <10000000>;
17
18 partitions {
19 compatible = "fixed-partitions";
20 #address-cells = <1>;
21 #size-cells = <1>;
22
23 partition@0 {
24 label = "u-boot";
25 reg = <0x0 0x30000>;
26 read-only;
27 };
28
29 partition@30000 {
30 label = "u-boot-env";
31 reg = <0x30000 0x10000>;
32 read-only;
33 };
34
35 factory: partition@40000 {
36 label = "factory";
37 reg = <0x40000 0x10000>;
38 read-only;
39 };
40
41 partition@50000 {
42 label = "firmware";
43 reg = <0x50000 0x7b0000>;
44 };
45 };
46 };
47 };
48
49 &pinctrl {
50 state_default: pinctrl0 {
51 gpio {
52 ralink,group = "i2c", "uartf";
53 ralink,function = "gpio";
54 };
55 };
56 };
57
58 &ethernet {
59 status = "okay";
60 pinctrl-names = "default";
61 pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
62 mediatek,portmap = "llllw";
63
64 port@5 {
65 status = "okay";
66 mediatek,fixed-link = <1000 1 1 1>;
67 phy-mode = "rgmii";
68 };
69
70 mdio-bus {
71 status = "okay";
72
73 phy0: ethernet-phy@0 {
74 reg = <0>;
75 phy-mode = "rgmii";
76 };
77
78 phy1: ethernet-phy@1 {
79 reg = <1>;
80 phy-mode = "rgmii";
81 };
82
83 phy2: ethernet-phy@2 {
84 reg = <2>;
85 phy-mode = "rgmii";
86 };
87
88 phy3: ethernet-phy@3 {
89 reg = <3>;
90 phy-mode = "rgmii";
91 };
92
93 phy4: ethernet-phy@4 {
94 reg = <4>;
95 phy-mode = "rgmii";
96 };
97
98 phy1f: ethernet-phy@1f {
99 reg = <0x1f>;
100 phy-mode = "rgmii";
101 };
102 };
103 };
104
105 &gsw {
106 mediatek,port4 = "gmac";
107 };
108
109 &pcie {
110 status = "okay";
111 };
112
113 &ehci {
114 status = "okay";
115 };
116
117 &ohci {
118 status = "okay";
119 };