ramips: clean up useless dts partition labels
[openwrt/openwrt.git] / target / linux / ramips / dts / rt5350_easyacc_wizard-8800.dts
1 #include "rt5350.dtsi"
2
3 / {
4 compatible = "easyacc,wizard-8800", "ralink,rt5350-soc";
5 model = "EASYACC WI-STOR WIZARD 8800";
6 };
7
8 &spi0 {
9 status = "okay";
10
11 flash@0 {
12 compatible = "jedec,spi-nor";
13 reg = <0>;
14 spi-max-frequency = <10000000>;
15
16 partitions {
17 compatible = "fixed-partitions";
18 #address-cells = <1>;
19 #size-cells = <1>;
20
21 partition@0 {
22 label = "u-boot";
23 reg = <0x0 0x30000>;
24 read-only;
25 };
26
27 partition@30000 {
28 label = "u-boot-env";
29 reg = <0x30000 0x10000>;
30 read-only;
31 };
32
33 partition@40000 {
34 label = "factory";
35 reg = <0x40000 0x10000>;
36 read-only;
37
38 nvmem-layout {
39 compatible = "fixed-layout";
40 #address-cells = <1>;
41 #size-cells = <1>;
42
43 eeprom_factory_0: eeprom@0 {
44 reg = <0x0 0x200>;
45 };
46
47 macaddr_factory_4: macaddr@4 {
48 reg = <0x4 0x6>;
49 };
50 };
51 };
52
53 partition@50000 {
54 compatible = "denx,uimage";
55 label = "firmware";
56 reg = <0x50000 0x7b0000>;
57 };
58 };
59 };
60 };
61
62 &state_default {
63 gpio {
64 groups = "i2c", "jtag", "uartf";
65 function = "gpio";
66 };
67 };
68
69 &ethernet {
70 nvmem-cells = <&macaddr_factory_4>;
71 nvmem-cell-names = "mac-address";
72 };
73
74 &esw {
75 mediatek,portmap = <0x2f>;
76 };
77
78 &wmac {
79 nvmem-cells = <&eeprom_factory_0>;
80 nvmem-cell-names = "eeprom";
81 };