ramips: add missing SPDX identifier for EX6150
[oweals/openwrt.git] / target / linux / ramips / dts / 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         memory@0 {
10                 device_type = "memory";
11                 reg = <0x0 0x4000000>;
12         };
13 };
14
15 &spi0 {
16         status = "okay";
17
18         flash@0 {
19                 compatible = "jedec,spi-nor";
20                 reg = <0>;
21                 spi-max-frequency = <10000000>;
22
23                 partitions {
24                         compatible = "fixed-partitions";
25                         #address-cells = <1>;
26                         #size-cells = <1>;
27
28                         partition@0 {
29                                 label = "factory-uboot";
30                                 reg = <0x0 0x30000>;
31                                 read-only;
32                         };
33
34                         partition@30000 {
35                                 label = "boot";
36                                 reg = <0x30000 0x20000>;
37                                 read-only;
38                         };
39
40                         partition@50000 {
41                                 compatible = "tplink,firmware";
42                                 label = "firmware";
43                                 reg = <0x50000 0x770000>;
44                         };
45
46                         partition@7c0000 {
47                                 label = "config";
48                                 reg = <0x7c0000 0x10000>;
49                                 read-only;
50                         };
51
52                         rom: partition@7d0000 {
53                                 label = "rom";
54                                 reg = <0x7d0000 0x10000>;
55                                 read-only;
56                         };
57
58                         partition@7e0000 {
59                                 label = "romfile";
60                                 reg = <0x7e0000 0x10000>;
61                         };
62
63                         radio: partition@7f0000 {
64                                 label = "radio";
65                                 reg = <0x7f0000 0x10000>;
66                                 read-only;
67                         };
68                 };
69         };
70 };
71
72 &ehci {
73         status = "disabled";
74 };
75
76 &ohci {
77         status = "disabled";
78 };
79
80 &wmac {
81         status = "okay";
82         mtd-mac-address = <&rom 0xf100>;
83         mediatek,mtd-eeprom = <&radio 0x0>;
84 };
85
86 &ethernet {
87         mtd-mac-address = <&rom 0xf100>;
88         mediatek,portmap = "llllw";
89 };