ramips: dts: drop memory nodes
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / mt7628an_tplink_8m-split-uboot.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 #include "mt7628an.dtsi"
3
4 / {
5 chosen {
6 bootargs = "console=ttyS0,115200";
7 };
8 };
9
10 &spi0 {
11 status = "okay";
12
13 flash@0 {
14 compatible = "jedec,spi-nor";
15 reg = <0>;
16 spi-max-frequency = <10000000>;
17
18 partitions {
19 compatible = "fixed-partitions";
20 #address-cells = <1>;
21 #size-cells = <1>;
22
23 partition@0 {
24 label = "factory-uboot";
25 reg = <0x0 0x30000>;
26 read-only;
27 };
28
29 partition@30000 {
30 label = "boot";
31 reg = <0x30000 0x20000>;
32 read-only;
33 };
34
35 partition@50000 {
36 compatible = "tplink,firmware";
37 label = "firmware";
38 reg = <0x50000 0x770000>;
39 };
40
41 partition@7c0000 {
42 label = "config";
43 reg = <0x7c0000 0x10000>;
44 read-only;
45 };
46
47 rom: partition@7d0000 {
48 label = "rom";
49 reg = <0x7d0000 0x10000>;
50 read-only;
51 };
52
53 partition@7e0000 {
54 label = "romfile";
55 reg = <0x7e0000 0x10000>;
56 };
57
58 radio: partition@7f0000 {
59 label = "radio";
60 reg = <0x7f0000 0x10000>;
61 read-only;
62 };
63 };
64 };
65 };
66
67 &ehci {
68 status = "disabled";
69 };
70
71 &ohci {
72 status = "disabled";
73 };
74
75 &wmac {
76 status = "okay";
77 mtd-mac-address = <&rom 0xf100>;
78 mediatek,mtd-eeprom = <&radio 0x0>;
79 };
80
81 &ethernet {
82 mtd-mac-address = <&rom 0xf100>;
83 mediatek,portmap = "llllw";
84 };