ramips: clean up useless dts partition labels
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7621_dlink_flash-16m-r1.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 &spi0 {
4 status = "okay";
5
6 flash@0 {
7 compatible = "jedec,spi-nor";
8 reg = <0>;
9 spi-max-frequency = <50000000>;
10
11 partitions {
12 compatible = "fixed-partitions";
13 #address-cells = <1>;
14 #size-cells = <1>;
15
16 partition@0 {
17 label = "u-boot";
18 reg = <0x0 0x30000>;
19 read-only;
20 };
21
22 partition@30000 {
23 label = "u-boot-env";
24 reg = <0x30000 0x10000>;
25 read-only;
26 };
27
28 partition@40000 {
29 label = "factory";
30 reg = <0x40000 0x10000>;
31 read-only;
32
33 nvmem-layout {
34 compatible = "fixed-layout";
35 #address-cells = <1>;
36 #size-cells = <1>;
37
38 eeprom_factory_0: eeprom@0 {
39 reg = <0x0 0x4da8>;
40 };
41
42 eeprom_factory_8000: eeprom@8000 {
43 reg = <0x8000 0x4da8>;
44 };
45
46 macaddr_factory_4: macaddr@4 {
47 compatible = "mac-base";
48 reg = <0x4 0x6>;
49 #nvmem-cell-cells = <1>;
50 };
51
52 macaddr_factory_e000: macaddr@e000 {
53 reg = <0xe000 0x6>;
54 };
55
56 macaddr_factory_e006: macaddr@e006 {
57 reg = <0xe006 0x6>;
58 };
59 };
60 };
61
62 partition@50000 {
63 compatible = "denx,uimage";
64 label = "firmware";
65 reg = <0x50000 0xfb0000>;
66 };
67 };
68 };
69 };