ramips: clean up useless dts partition labels
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7628an_rakwireless_rak633.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "mt7628an.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9 compatible = "rakwireless,rak633", "mediatek,mt7628an-soc";
10 model = "Rakwireless RAK633";
11
12 leds {
13 compatible = "gpio-leds";
14
15 wifi {
16 label = "blue:wifi";
17 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
18 };
19 };
20 };
21
22 &state_default {
23 wled_an {
24 groups = "wled_an";
25 function = "gpio";
26 };
27 };
28
29 &spi0 {
30 status = "okay";
31
32 flash@0 {
33 compatible = "jedec,spi-nor";
34 reg = <0>;
35 spi-max-frequency = <10000000>;
36
37 partitions {
38 compatible = "fixed-partitions";
39 #address-cells = <1>;
40 #size-cells = <1>;
41
42 partition@0 {
43 label = "u-boot";
44 reg = <0x0 0x30000>;
45 read-only;
46 };
47
48 partition@30000 {
49 label = "u-boot-env";
50 reg = <0x30000 0x10000>;
51 read-only;
52 };
53
54 partition@40000 {
55 label = "factory";
56 reg = <0x40000 0x10000>;
57 read-only;
58
59 nvmem-layout {
60 compatible = "fixed-layout";
61 #address-cells = <1>;
62 #size-cells = <1>;
63
64 eeprom_factory_0: eeprom@0 {
65 reg = <0x0 0x400>;
66 };
67
68 macaddr_factory_28: macaddr@28 {
69 reg = <0x28 0x6>;
70 };
71 };
72 };
73
74 partition@50000 {
75 compatible = "denx,uimage";
76 label = "firmware";
77 reg = <0x50000 0x7b0000>;
78 };
79 };
80 };
81 };
82
83 &i2c {
84 status = "okay";
85 };
86
87 &i2s {
88 status = "okay";
89 };
90
91 &uart1 {
92 status = "okay";
93 };
94
95 &uart2 {
96 status = "okay";
97 };
98
99 &gdma {
100 status = "okay";
101 };
102
103 &ethernet {
104 nvmem-cells = <&macaddr_factory_28>;
105 nvmem-cell-names = "mac-address";
106 };
107
108 &wmac {
109 status = "okay";
110
111 nvmem-cells = <&eeprom_factory_0>;
112 nvmem-cell-names = "eeprom";
113 };