kernel: mtdsplit: Add support for D-link JBOOT
[openwrt/openwrt.git] / target / linux / ramips / dts / TL-WR84XN.dtsi
1 #include "mt7628an.dtsi"
2
3 / {
4 chosen {
5 bootargs = "console=ttyS0,115200";
6 };
7
8 memory@0 {
9 device_type = "memory";
10 reg = <0x0 0x4000000>;
11 };
12 };
13
14 &spi0 {
15 status = "okay";
16
17 m25p80@0 {
18 #address-cells = <1>;
19 #size-cells = <1>;
20 compatible = "jedec,spi-nor";
21 reg = <0>;
22 spi-max-frequency = <10000000>;
23 m25p,chunked-io = <32>;
24
25 partition@0 {
26 label = "boot";
27 reg = <0x0 0x20000>;
28 read-only;
29 };
30
31 partition@20000 {
32 label = "firmware";
33 reg = <0x20000 0x7a0000>;
34 };
35
36 partition@7c0000 {
37 label = "config";
38 reg = <0x7c0000 0x10000>;
39 read-only;
40 };
41
42 factory: partition@7d0000 {
43 label = "factory";
44 reg = <0x7d0000 0x30000>;
45 read-only;
46 };
47 };
48 };
49
50 &ehci {
51 status = "disabled";
52 };
53
54 &ohci {
55 status = "disabled";
56 };
57
58 &wmac {
59 status = "okay";
60 mtd-mac-address = <&factory 0xf100>;
61 mediatek,mtd-eeprom = <&factory 0x20000>;
62 };
63
64 &ethernet {
65 mtd-mac-address = <&factory 0xf100>;
66 mediatek,portmap = "llllw";
67 };