e8f9c2c2c151724fe3269f4430fd537fb594da42
[openwrt.git] / target / linux / ramips / dts / VOCORE-8M.dts
1 /dts-v1/;
2
3 /include/ "VOCORE.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>;
13                 linux,modalias = "m25p80", "s25fl064k";
14                 spi-max-frequency = <10000000>;
15
16                 partition@0 {
17                         label = "uboot";
18                         reg = <0x0 0x30000>;
19                         read-only;
20                 };
21
22                 partition@30000 {
23                         label = "uboot-env";
24                         reg = <0x30000 0x10000>;
25                         read-only;
26                 };
27
28                 factory: partition@40000 {
29                         label = "factory";
30                         reg = <0x40000 0x10000>;
31                         read-only;
32                 };
33
34                 partition@50000 {
35                         label = "firmware";
36                         reg = <0x50000 0x7b0000>;
37                 };
38         };
39 };