ramips: mt7621: use symbolic names of gic interrupt settings
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / ZBT-WG2626.dts
1 /dts-v1/;
2
3 #include "mt7621.dtsi"
4
5 / {
6 compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc";
7 model = "ZBT-WG2626";
8
9 memory@0 {
10 device_type = "memory";
11 reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
12 };
13
14 chosen {
15 bootargs = "console=ttyS0,57600";
16 };
17
18 sdhci@10130000 {
19 status = "okay";
20 };
21
22 palmbus@1E000000 {
23 spi@b00 {
24 status = "okay";
25
26 m25p80@0 {
27 #address-cells = <1>;
28 #size-cells = <1>;
29 compatible = "w25q128";
30 reg = <0 0>;
31 linux,modalias = "m25p80";
32 spi-max-frequency = <10000000>;
33
34 partition@0 {
35 label = "u-boot";
36 reg = <0x0 0x30000>;
37 read-only;
38 };
39
40 partition@30000 {
41 label = "u-boot-env";
42 reg = <0x30000 0x10000>;
43 read-only;
44 };
45
46 factory: partition@40000 {
47 label = "factory";
48 reg = <0x40000 0x10000>;
49 read-only;
50 };
51
52 partition@50000 {
53 label = "firmware";
54 reg = <0x50000 0xfb0000>;
55 };
56
57 };
58 };
59
60 i2c@900 {
61 compatible = "ralink,i2c-mt7621";
62 reg = <0x900 0x100>;
63 #address-cells = <1>;
64 #size-cells = <0>;
65 pinctrl-names = "default";
66 pinctrl-0 = <&i2c_pins>;
67 status = "okay";
68 };
69 };
70
71 pcie@1e140000 {
72 status = "okay";
73
74 pcie0 {
75 mt76@0,0 {
76 reg = <0x0000 0 0 0 0>;
77 device_type = "pci";
78 mediatek,mtd-eeprom = <&factory 0x8000>;
79 mediatek,2ghz = <0>;
80 };
81 };
82
83 pcie1 {
84 mt76@1,0 {
85 reg = <0x0000 0 0 0 0>;
86 device_type = "pci";
87 mediatek,mtd-eeprom = <&factory 0x0000>;
88 mediatek,5ghz = <0>;
89 };
90 };
91 };
92
93 ethernet@1e100000 {
94 mtd-mac-address = <&factory 0xe000>;
95 };
96
97 gpio-keys-polled {
98 compatible = "gpio-keys-polled";
99 #address-cells = <1>;
100 #size-cells = <0>;
101 poll-interval = <20>;
102
103 reset {
104 label = "reset";
105 gpios = <&gpio0 18 1>;
106 linux,code = <0x198>;
107 };
108 };
109
110 gpio-leds {
111 compatible = "gpio-leds";
112
113 status {
114 label = "zbt-wg2626:green:status";
115 gpios = <&gpio0 24 1>;
116 };
117 };
118
119 pinctrl {
120 state_default: pinctrl0 {
121 gpio {
122 ralink,group = "wdt", "rgmii2", "wdt rst", "jtag", "mdio";
123 ralink,function = "gpio";
124 };
125 };
126 };
127 };