scripts/feeds: handle missing/broken feeds better
[openwrt/openwrt.git] / target / linux / ramips / dts / M3.dts
1 /dts-v1/;
2
3 /include/ "rt5350.dtsi"
4
5 / {
6 compatible = "M3", "ralink,rt5350-soc";
7 model = "Poray M3";
8
9 palmbus@10000000 {
10 spi@b00 {
11 status = "okay";
12 m25p80@0 {
13 #address-cells = <1>;
14 #size-cells = <1>;
15 compatible = "w25q32";
16 reg = <0 0>;
17 linux,modalias = "m25p80", "w25q32";
18 spi-max-frequency = <10000000>;
19
20 partition@0 {
21 label = "u-boot";
22 reg = <0x0 0x30000>;
23 read-only;
24 };
25
26 partition@30000 {
27 label = "u-boot-env";
28 reg = <0x30000 0x10000>;
29 read-only;
30 };
31
32 factory: partition@40000 {
33 label = "factory";
34 reg = <0x40000 0x10000>;
35 read-only;
36 };
37
38 partition@50000 {
39 label = "firmware";
40 reg = <0x50000 0x3b0000>;
41 };
42 };
43 };
44 };
45
46 pinctrl {
47 state_default: pinctrl0 {
48 gpio {
49 ralink,group = "i2c", "jtag", "uartf";
50 ralink,function = "gpio";
51 };
52 };
53 };
54
55 ethernet@10100000 {
56 mtd-mac-address = <&factory 0x4>;
57 };
58
59 esw@10110000 {
60 ralink,portmap = <0x2f>;
61 ralink,led_polarity = <1>;
62 };
63
64 gpio-leds {
65 compatible = "gpio-leds";
66 status {
67 label = "m3:blue:status";
68 gpios = <&gpio0 9 1>;
69 };
70 };
71
72 gpio-keys-polled {
73 compatible = "gpio-keys-polled";
74 #address-cells = <1>;
75 #size-cells = <0>;
76 poll-interval = <20>;
77 reset {
78 label = "reset";
79 gpios = <&gpio0 10 1>;
80 linux,code = <0x198>;
81 };
82 mode {
83 label = "mode";
84 gpios = <&gpio0 17 1>;
85 linux,code = <0x100>;
86 linux,input-type = <5>;
87 };
88 };
89
90 wmac@10180000 {
91 ralink,mtd-eeprom = <&factory 0>;
92 ralink,led-polarity = <1>;
93 };
94
95 ehci@101c0000 {
96 status = "okay";
97 };
98
99 ohci@101c1000 {
100 status = "okay";
101 };
102 };