scripts/feeds: handle missing/broken feeds better
[openwrt/openwrt.git] / target / linux / ramips / dts / WMR300.dts
1 /dts-v1/;
2
3 /include/ "mt7620n.dtsi"
4
5 / {
6 compatible = "buffalo,wmr-300", "ralink,mt7620n-soc";
7 model = "Buffalo WMR-300";
8
9 palmbus@10000000 {
10 gpio2: gpio@660 {
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 = "mx25l6405d";
21 reg = <0 0>;
22 linux,modalias = "m25p80", "en25q64";
23 spi-max-frequency = <10000000>;
24
25 partition@0 {
26 label = "u-boot";
27 reg = <0x0 0x30000>;
28 read-only;
29 };
30
31 partition@30000 {
32 label = "u-boot-env";
33 reg = <0x30000 0x10000>;
34 read-only;
35 };
36
37 factory: partition@40000 {
38 label = "factory";
39 reg = <0x40000 0x10000>;
40 read-only;
41 };
42
43 partition@50000 {
44 label = "firmware";
45 reg = <0x50000 0x7b0000>;
46 };
47 };
48 };
49 };
50
51 ethernet@10100000 {
52 mtd-mac-address = <&factory 0x4>;
53 ralink,port-map = "wllll";
54 };
55
56 wmac@10180000 {
57 ralink,mtd-eeprom = <&factory 0>;
58 };
59
60 pinctrl {
61 state_default: pinctrl0 {
62 default {
63 ralink,group = "i2c", "ephy";
64 ralink,function = "gpio";
65 };
66 };
67 };
68
69 gpio-leds {
70 compatible = "gpio-leds";
71 aoss1 {
72 label = "buffalo:red:aoss";
73 gpios = <&gpio2 1 1>;
74 };
75 aoss2 {
76 label = "buffalo:green:aoss";
77 gpios = <&gpio2 2 1>;
78 };
79 power {
80 label = "buffalo:green:status";
81 gpios = <&gpio2 4 1>;
82 };
83 };
84
85 gpio-keys-polled {
86 compatible = "gpio-keys-polled";
87 #address-cells = <1>;
88 #size-cells = <0>;
89 poll-interval = <20>;
90 reset {
91 label = "reset";
92 gpios = <&gpio0 1 1>;
93 linux,code = <0x198>;
94 };
95 aoss {
96 label = "aoss";
97 gpios = <&gpio0 2 1>;
98 linux,code = <0x211>;
99 };
100 };
101 };