ramips: rename Digineo AC1200 Pro to ZBT-WG3526 32MB
[openwrt/staging/florian.git] / target / linux / ramips / dts / ZBT-WG3526.dtsi
1 #include "mt7621.dtsi"
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 / {
7 memory@0 {
8 device_type = "memory";
9 reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
10 };
11
12 chosen {
13 bootargs = "console=ttyS0,115200";
14 };
15
16 palmbus: palmbus@1E000000 {
17 i2c@900 {
18 status = "okay";
19 };
20 };
21
22 gpio-keys-polled {
23 compatible = "gpio-keys-polled";
24 #address-cells = <1>;
25 #size-cells = <0>;
26 poll-interval = <20>;
27
28 reset {
29 label = "reset";
30 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_RESTART>;
32 };
33 };
34
35 gpio-leds {
36 compatible = "gpio-leds";
37
38 status {
39 label = "zbt-wg3526:green:status";
40 gpios = <&gpio0 24 1>;
41 };
42 };
43 };
44
45 &sdhci {
46 status = "okay";
47 };
48
49 &spi0 {
50 status = "okay";
51
52 m25p80@0 {
53 #address-cells = <1>;
54 #size-cells = <1>;
55 compatible = "jedec,spi-nor";
56 reg = <0>;
57 spi-max-frequency = <10000000>;
58 m25p,chunked-io = <32>;
59
60 partition@0 {
61 label = "u-boot";
62 reg = <0x0 0x30000>;
63 read-only;
64 };
65
66 partition@30000 {
67 label = "u-boot-env";
68 reg = <0x30000 0x10000>;
69 read-only;
70 };
71
72 factory: partition@40000 {
73 label = "factory";
74 reg = <0x40000 0x10000>;
75 read-only;
76 };
77
78 firmware: partition@50000 {
79 label = "firmware";
80 };
81 };
82 };
83
84 &pcie {
85 status = "okay";
86
87 pcie0 {
88 wifi@14c3,7603 {
89 compatible = "pci14c3,7603";
90 reg = <0x0000 0 0 0 0>;
91 mediatek,mtd-eeprom = <&factory 0x0000>;
92 };
93 };
94
95 pcie1 {
96 wifi@14c3,7662 {
97 compatible = "pci14c3,7662";
98 reg = <0x0000 0 0 0 0>;
99 mediatek,mtd-eeprom = <&factory 0x8000>;
100 ieee80211-freq-limit = <5000000 6000000>;
101 };
102 };
103 };
104
105 &ethernet {
106 mtd-mac-address = <&factory 0xe000>;
107 };
108
109 &pinctrl {
110 state_default: pinctrl0 {
111 gpio {
112 ralink,group = "wdt", "rgmii2", "wdt rst", "jtag", "mdio";
113 ralink,function = "gpio";
114 };
115 };
116 };