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