ramips: drop redundant status for gpio/gpio0
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7620a_ralink_mt7620a-mt7610e-evb.dts
1 #include "mt7620a.dtsi"
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 / {
7 compatible = "ralink,mt7620a-mt7610e-evb", "ralink,mt7620a-soc";
8 model = "Ralink MT7620A evaluation board";
9
10 keys {
11 compatible = "gpio-keys";
12
13 wps {
14 label = "wps";
15 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
16 linux,code = <BTN_0>;
17 };
18
19 reset {
20 label = "reset";
21 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
22 linux,code = <BTN_1>;
23 };
24 };
25 };
26
27 &spi0 {
28 status = "okay";
29
30 flash@0 {
31 compatible = "jedec,spi-nor";
32 reg = <0>;
33 spi-max-frequency = <1000000>;
34
35 partitions {
36 compatible = "fixed-partitions";
37 #address-cells = <1>;
38 #size-cells = <1>;
39
40 partition@0 {
41 label = "u-boot";
42 reg = <0x0 0x30000>;
43 read-only;
44 };
45
46 partition@30000 {
47 label = "u-boot-env";
48 reg = <0x30000 0x10000>;
49 read-only;
50 };
51
52 factory: partition@40000 {
53 label = "factory";
54 reg = <0x40000 0x10000>;
55 read-only;
56 };
57
58 partition@50000 {
59 compatible = "denx,uimage";
60 label = "firmware";
61 reg = <0x50000 0x7b0000>;
62 };
63 };
64 };
65 };
66
67 &ethernet {
68 pinctrl-names = "default";
69 pinctrl-0 = <&ephy_pins>;
70
71 mediatek,portmap = "llllw";
72 };
73
74 &gsw {
75 mediatek,port4 = "ephy";
76 };
77
78 &sdhci {
79 status = "okay";
80 };
81
82 &pcie {
83 status = "okay";
84 };
85
86 &pcie0 {
87 wifi@0,0 {
88 reg = <0x0000 0 0 0 0>;
89 mediatek,mtd-eeprom = <&factory 0x8000>;
90 ieee80211-freq-limit = <5000000 6000000>;
91 };
92 };