ramips: DTS rework
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / PX-4885-4M.dts
1 /dts-v1/;
2
3 #include "PX-4885.dtsi"
4
5 &spi0 {
6 status = "okay";
7
8 m25p80@0 {
9 #address-cells = <1>;
10 #size-cells = <1>;
11 compatible = "jedec,spi-nor";
12 reg = <0 0>;
13 linux,modalias = "m25p80", "mx25l3205d";
14 spi-max-frequency = <10000000>;
15
16 partition@0 {
17 label = "u-boot";
18 reg = <0x0 0x20000>;
19 read-only;
20 };
21
22 partition@20000 {
23 label = "devdata";
24 reg = <0x20000 0x20000>;
25 read-only;
26 };
27
28 factory: partition@40000 {
29 label = "devconf";
30 reg = <0x40000 0x10000>;
31 read-only;
32 };
33
34 partition@50000 {
35 label = "firmware";
36 reg = <0x50000 0x3b0000>;
37 };
38 };
39 };