ramips: clean up useless dts partition labels
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7628an_wrtnode_wrtnode2.dtsi
1 #include "mt7628an.dtsi"
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 / {
7 compatible = "wrtnode,wrtnode2", "mediatek,mt7628an-soc";
8
9 chosen {
10 bootargs = "console=ttyS0,115200";
11 };
12
13 keys {
14 compatible = "gpio-keys";
15
16 reset {
17 label = "reset";
18 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
19 linux,code = <KEY_RESTART>;
20 };
21 };
22 };
23
24 &spi0 {
25 status = "okay";
26
27 flash@0 {
28 compatible = "jedec,spi-nor";
29 reg = <0>;
30 spi-max-frequency = <10000000>;
31 broken-flash-reset;
32
33 partitions {
34 compatible = "fixed-partitions";
35 #address-cells = <1>;
36 #size-cells = <1>;
37
38 partition@0 {
39 label = "u-boot";
40 reg = <0x0 0x30000>;
41 read-only;
42 };
43
44 partition@30000 {
45 label = "u-boot-env";
46 reg = <0x30000 0x10000>;
47 read-only;
48 };
49
50 partition@40000 {
51 label = "factory";
52 reg = <0x40000 0x10000>;
53 read-only;
54
55 nvmem-layout {
56 compatible = "fixed-layout";
57 #address-cells = <1>;
58 #size-cells = <1>;
59
60 eeprom_factory_0: eeprom@0 {
61 reg = <0x0 0x400>;
62 };
63
64 macaddr_factory_4: macaddr@4 {
65 reg = <0x4 0x6>;
66 };
67 };
68 };
69
70 partition@50000 {
71 compatible = "denx,uimage";
72 label = "firmware";
73 reg = <0x50000 0x1fb0000>;
74 };
75 };
76 };
77 };
78
79 &uart1 {
80 status = "okay";
81 };
82
83 &i2c {
84 status = "okay";
85 };
86
87 &ethernet {
88 nvmem-cells = <&macaddr_factory_4>;
89 nvmem-cell-names = "mac-address";
90 };
91
92 &esw {
93 mediatek,portmap = <0x3e>;
94 };
95
96 &sdhci {
97 status = "okay";
98 };
99
100 &pcie {
101 status = "okay";
102 };
103
104 &wmac {
105 status = "okay";
106
107 nvmem-cells = <&eeprom_factory_0>;
108 nvmem-cell-names = "eeprom";
109 };