ramips: set usb led trigger via devicetree
[oweals/openwrt.git] / target / linux / ramips / dts / WIDORA-NEO-16M.dts
1 /dts-v1/;
2
3 #include "WIDORA-NEO.dtsi"
4
5 / {
6         compatible = "widora,neo-16m", "widora,neo", "mediatek,mt7628an-soc";
7         model = "Widora-NEO (16M)";
8 };
9
10 &spi0 {
11         status = "okay";
12
13         pinctrl-names = "default";
14         pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
15
16         m25p80@0 {
17                 compatible = "jedec,spi-nor";
18                 reg = <0>;
19                 spi-max-frequency = <40000000>;
20                 m25p,chunked-io = <31>;
21
22                 partitions {
23                         compatible = "fixed-partitions";
24                         #address-cells = <1>;
25                         #size-cells = <1>;
26
27                         partition@0 {
28                                 label = "u-boot";
29                                 reg = <0x0 0x30000>;
30                                 read-only;
31                         };
32
33                         partition@30000 {
34                                 label = "u-boot-env";
35                                 reg = <0x30000 0x10000>;
36                         };
37
38                         factory: partition@40000 {
39                                 label = "factory";
40                                 reg = <0x40000 0x10000>;
41                                 read-only;
42                         };
43
44                         partition@50000 {
45                                 label = "firmware";
46                                 reg = <0x50000 0x0fb0000>;
47                         };
48                 };
49         };
50
51         spidev@1 {
52                 #address-cells = <1>;
53                 #size-cells = <1>;
54                 compatible = "linux,spidev";
55                 reg = <1>;
56                 spi-max-frequency = <40000000>;
57         };
58 };