ramips: add support for TP-Link RE205 v3
[openwrt/openwrt.git] / target / linux / ramips / dts / rt3662_loewe_wmdr-143n.dts
1 #include "rt3883.dtsi"
2
3 / {
4 compatible = "loewe,wmdr-143n", "ralink,rt3662-soc", "ralink,rt3883-soc";
5 model = "Loewe WMDR-143N";
6 };
7
8 &spi0 {
9 status = "okay";
10
11 flash@0 {
12 compatible = "jedec,spi-nor";
13 reg = <0>;
14 spi-max-frequency = <25000000>;
15
16 partitions {
17 compatible = "fixed-partitions";
18 #address-cells = <1>;
19 #size-cells = <1>;
20
21 partition@0 {
22 label = "u-boot";
23 reg = <0x0 0x30000>;
24 read-only;
25 };
26
27 partition@30000 {
28 label = "u-boot-env";
29 reg = <0x30000 0x00010000>;
30 read-only;
31 };
32
33 partition@40000 {
34 label = "factory";
35 reg = <0x40000 0x10000>;
36 read-only;
37
38 nvmem-layout {
39 compatible = "fixed-layout";
40 #address-cells = <1>;
41 #size-cells = <1>;
42
43 eeprom_factory_0: eeprom@0 {
44 reg = <0x0 0x200>;
45 };
46 };
47 };
48
49 partition@50000 {
50 compatible = "denx,uimage";
51 label = "firmware";
52 reg = <0x50000 0x7b0000>;
53 };
54 };
55 };
56 };
57
58 &ethernet {
59 port@0 {
60 phy-handle = <&phy0>;
61 phy-mode = "mii";
62 };
63 mdio-bus {
64 status = "okay";
65
66 phy0: ethernet-phy@0 {
67 reg = <0>;
68 phy-mode = "mii";
69 };
70 };
71 };
72
73 &wmac {
74 nvmem-cells = <&eeprom_factory_0>;
75 nvmem-cell-names = "eeprom";
76 };