b97c425364fd4a75ff26374227e6d6c71ceea04d
[openwrt/openwrt.git] / target / linux / ramips / dts / NIXCORE-16M.dts
1 /dts-v1/;
2
3 #include "NIXCORE.dtsi"
4
5 / {
6 model = "NixcoreX1 (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 linux,modalias = "m25p80";
18 spi-max-frequency = <10000000>;
19
20 partition@0 {
21 label = "uboot";
22 reg = <0x0 0x30000>;
23 read-only;
24 };
25
26 partition@30000 {
27 label = "uboot-env";
28 reg = <0x30000 0x10000>;
29 read-only;
30 };
31
32 factory: partition@40000 {
33 label = "factory";
34 reg = <0x40000 0x10000>;
35 read-only;
36 };
37
38 partition@50000 {
39 label = "firmware";
40 reg = <0x50000 0xfb0000>;
41 };
42 };
43 };