ramips: disable NAND device in mt7621.dtsi to fix boot errors on many devices
[oweals/openwrt.git] / target / linux / ramips / dts / ASL26555-8M.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6         compatible = "ASL26555", "ralink,rt3050-soc";
7         model = "Alpha ASL26555";
8
9         palmbus@10000000 {
10                 gpio0: gpio@600 {
11                         status = "okay";
12                 };
13
14                 spi@b00 {
15                         status = "okay";
16
17                         m25p80@0 {
18                                 #address-cells = <1>;
19                                 #size-cells = <1>;
20                                 compatible = "jedec,spi-nor";
21                                 reg = <0 0>;
22                                 linux,modalias = "m25p80", "s25sl064p";
23                                 spi-max-frequency = <10000000>;
24
25                                 partition@0 {
26                                         label = "uboot";
27                                         reg = <0x0 0x30000>;
28                                         read-only;
29                                 };
30
31                                 ubootenv: partition@30000 {
32                                         label = "uboot-env";
33                                         reg = <0x30000 0x10000>;
34                                         read-only;
35                                 };
36
37                                 partition@40000 {
38                                         label = "rgdb";
39                                         reg = <0x40000 0x10000>;
40                                         read-only;
41                                 };
42
43                                 partition@50000 {
44                                         label = "firmware";
45                                         reg = <0x50000 0x790000>;
46                                 };
47
48                                 partition@7e0000 {
49                                         label = "cert";
50                                         reg = <0x7e0000 0x10000>;
51                                         read-only;
52                                 };
53
54                                 partition@7f0000 {
55                                         label = "langpack";
56                                         reg = <0x7f0000 0x10000>;
57                                         read-only;
58                                 };
59                         };
60                 };
61         };
62
63         pinctrl {
64                 state_default: pinctrl0 {
65                         gpio {
66                                 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
67                                 ralink,function = "gpio";
68                         };
69                 };
70         };
71
72         ethernet@10100000 {
73                 mtd-mac-address = <&ubootenv 0x4004>;
74         };
75
76         esw@10110000 {
77                 mediatek,portmap = <0x1e>;
78         };
79
80         wmac@10180000 {
81                 ralink,mtd-eeprom = <&ubootenv 0x4000>;
82         };
83
84         otg@101c0000 {
85                 status = "okay";
86         };
87
88         gpio-keys-polled {
89                 compatible = "gpio-keys-polled";
90                 #address-cells = <1>;
91                 #size-cells = <0>;
92                 poll-interval = <20>;
93
94                 reset {
95                         label = "reset";
96                         gpios = <&gpio0 10 0>;
97                         linux,code = <0x198>;
98                 };
99
100                 wps {
101                         label = "wps";
102                         gpios = <&gpio0 12 0>;
103                         linux,code = <0x211>;
104                 };
105         };
106
107         gpio-leds {
108                 compatible = "gpio-leds";
109
110                 eth {
111                         label = "asl26555:green:eth";
112                         gpios = <&gpio0 0 1>;
113                 };
114
115                 wan-red {
116                         label = "asl26555:red:wan";
117                         gpios = <&gpio0 1 0>;
118                 };
119
120                 wan-green {
121                         label = "asl26555:green:wan";
122                         gpios = <&gpio0 2 0>;
123                 };
124
125                 wlan {
126                         label = "asl26555:green:wlan";
127                         gpios = <&gpio0 7 0>;
128                 };
129
130                 power-green {
131                         label = "asl26555:green:power";
132                         gpios = <&gpio0 8 0>;
133                 };
134
135                 power-red {
136                         label = "asl26555:red:power";
137                         gpios = <&gpio0 9 0>;
138                 };
139
140                 3g-green {
141                         label = "asl26555:green:3g";
142                         gpios = <&gpio0 14 1>;
143                 };
144
145                 3g-red {
146                         label = "asl26555:red:3g";
147                         gpios = <&gpio0 17 1>;
148                 };
149         };
150 };