Fresh pull from upstream lede-17.01 branch to fix several outstanding
[librecmc/librecmc.git] / target / linux / ramips / dts / VOCORE-16M.dts
1 /dts-v1/;
2
3 #include "VOCORE.dtsi"
4
5 / {
6         model = "VoCore (16M)";
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 = "uboot";
21                         reg = <0x0 0x30000>;
22                         read-only;
23                 };
24
25                 partition@30000 {
26                         label = "uboot-env";
27                         reg = <0x30000 0x10000>;
28                         read-only;
29                 };
30
31                 factory: partition@40000 {
32                         label = "factory";
33                         reg = <0x40000 0x10000>;
34                         read-only;
35                 };
36
37                 partition@50000 {
38                         label = "firmware";
39                         reg = <0x50000 0xfb0000>;
40                 };
41         };
42 };