ramips: disable NAND device in mt7621.dtsi to fix boot errors on many devices
[oweals/openwrt.git] / target / linux / ramips / dts / AR725W.dts
1 /dts-v1/;
2
3 /include/ "rt2880.dtsi"
4
5 / {
6         compatible = "AR725W", "ralink,rt2880-soc";
7         model = "Airlink101 AR725W";
8
9         palmbus@300000 {
10                 gpio0: gpio@600 {
11                         status = "okay";
12                 };
13         };
14
15         pinctrl {
16                 state_default: pinctrl0 {
17                         gpio {
18                                 ralink,group = "i2c", "spi", "uartlite";
19                                 ralink,function = "gpio";
20                         };
21                 };
22         };
23
24         ethernet@400000 {
25                 status = "okay";
26                 mtd-mac-address = <&factory 0x4>;
27
28                 port@0 {
29                         phy-handle = <&phy0>;
30                         phy-mode = "mii";
31                 };
32
33                 mdio-bus {
34                         status = "okay";
35
36                         phy0: ethernet-phy@0 {
37                                 phy-mode = "mii";
38                                 reg = <0>;
39                         };
40                 };
41         };
42
43         wmac@480000 {
44                 status = "okay";
45                 ralink,mtd-eeprom = <&factory 0>;
46         };
47
48         cfi@bdc00000 {
49                 compatible = "cfi-flash";
50                 reg = <0xbc400000 0x800000>;
51                 bank-width = <2>;
52                 #address-cells = <1>;
53                 #size-cells = <1>;
54
55                 u-boot@0 {
56                         reg = <0x0 0x30000>;
57                         label = "u-boot";
58                         read-only;
59                 };
60
61                 u-boot-env@30000 {
62                         reg = <0x30000 0x10000>;
63                         label = "u-boot-env";
64                 };
65
66                 factory: factory@40000 {
67                         reg = <0x40000 0x10000>;
68                         label = "factory";
69                         read-only;
70                 };
71
72                 firmware@50000 {
73                         reg = <0x50000 0x3B0000>;
74                         label = "firmware";
75                 };
76         };
77
78         gpio-leds {
79                 compatible = "gpio-leds";
80
81                 status {
82                         label = "ar725w:green:power";
83                         gpios = <&gpio0 7 0>;
84                 };
85
86                 wpsred {
87                         label = "ar725w:red:wps";
88                         gpios = <&gpio0 8 1>;
89                 };
90
91                 wpsblue {
92                         label = "ar725w:blue:wps";
93                         gpios = <&gpio0 13 1>;
94                 };
95         };
96
97         gpio-keys-polled {
98                 compatible = "gpio-keys-polled";
99                 #address-cells = <1>;
100                 #size-cells = <0>;
101                 poll-interval = <100>;
102
103                 wps {
104                         label = "wps";
105                         gpios = <&gpio0 0 1>;
106                         linux,code = <0x211>;
107                 };
108
109                 reset {
110                         label = "reset";
111                         gpios = <&gpio0 9 1>;
112                         linux,code = <0x198>;
113                 };
114         };
115 };