ramips: set usb led trigger via devicetree
[oweals/openwrt.git] / target / linux / ramips / dts / WT1520-4M.dts
1 /dts-v1/;
2
3 #include "WT1520.dtsi"
4
5 / {
6         compatible = "nexx,wt1520-4m", "nexx,wt1520", "ralink,rt5350-soc";
7         model = "Nexx WT1520 (4M)";
8 };
9
10 &spi0 {
11         status = "okay";
12
13         m25p80@0 {
14                 compatible = "jedec,spi-nor";
15                 reg = <0>;
16                 spi-max-frequency = <10000000>;
17
18                 partitions {
19                         compatible = "fixed-partitions";
20                         #address-cells = <1>;
21                         #size-cells = <1>;
22
23                         partition@0 {
24                                 label = "u-boot";
25                                 reg = <0x0 0x30000>;
26                                 read-only;
27                         };
28
29                         partition@30000 {
30                                 label = "u-boot-env";
31                                 reg = <0x30000 0x10000>;
32                                 read-only;
33                         };
34
35                         factory: partition@40000 {
36                                 label = "factory";
37                                 reg = <0x40000 0x10000>;
38                                 read-only;
39                         };
40
41                         partition@50000 {
42                                 label = "firmware";
43                                 reg = <0x50000 0x3b0000>;
44                         };
45                 };
46         };
47 };