mac80211: add new minstrel_ht patches to improve probing on mt76x2
[openwrt/staging/jow.git] / target / linux / ramips / dts / AP-MTKH7-0006.dts
1 /dts-v1/;
2
3 #include "mt7621.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9 compatible = "sge,ap-mtkh7-0006", "mediatek,mt7621-soc";
10 model = "SGE AP-MTKH7-0006";
11
12 chosen {
13 bootargs = "console=ttyS0,57600";
14 };
15
16 wdt@18 {
17 status = "okay";
18 compatible = "linux,wdt-gpio";
19
20 always-running;
21 hw_algo = "level";
22 hw_margin_ms = <60000>;
23 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
24 };
25 };
26
27 &wdt {
28 status = "disabled";
29 };
30
31 &spi0 {
32 status = "okay";
33
34 m25p80@0 {
35 compatible = "jedec,spi-nor";
36 reg = <0>;
37 spi-max-frequency = <10000000>;
38 m25p,chunked-io = <32>;
39
40 partitions {
41 compatible = "fixed-partitions";
42 #address-cells = <1>;
43 #size-cells = <1>;
44
45 partition@0 {
46 label = "u-boot";
47 reg = <0x0 0x30000>;
48 read-only;
49 };
50
51 partition@30000 {
52 label = "u-boot-env";
53 reg = <0x30000 0x10000>;
54 read-only;
55 };
56
57 factory: partition@40000 {
58 label = "factory";
59 reg = <0x40000 0x10000>;
60 read-only;
61 };
62
63 partition@50000 {
64 label = "firmware";
65 reg = <0x50000 0x7b0000>;
66 };
67
68 partition@850000 {
69 label = "firmware2";
70 reg = <0x850000 0x7b0000>;
71 };
72 };
73 };
74 };
75
76 &ethernet {
77 mtd-mac-address = <&factory 4>;
78 mtd-mac-address-increment = <(-2)>;
79 };
80
81 &pinctrl {
82 state_default: pinctrl0 {
83 gpio {
84 ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci", "wdt";
85 ralink,function = "gpio";
86 };
87 };
88 };
89
90 &pcie {
91 status = "okay";
92 };
93
94 &pcie0 {
95 mt76@0,0 {
96 reg = <0x0000 0 0 0 0>;
97 mediatek,mtd-eeprom = <&factory 0x8000>;
98 ieee80211-freq-limit = <5000000 6000000>;
99 };
100 };
101
102 &pcie1 {
103 mt76@0,0 {
104 reg = <0x0000 0 0 0 0>;
105 mediatek,mtd-eeprom = <&factory 0x0000>;
106 };
107 };
108
109 &xhci {
110 status = "disabled";
111 };