ramips: add support for SNR-CPE-ME2-SFP
[openwrt/openwrt.git] / target / linux / ramips / dts / rt3050_alphanetworks_asl26555-8m.dts
1 #include "rt3050_alphanetworks_asl26555.dtsi"
2
3 / {
4 compatible = "alphanetworks,asl26555-8m", "alphanetworks,asl26555", "ralink,rt3050-soc";
5 model = "Alpha ASL26555 (8M)";
6 };
7
8 &spi0 {
9 status = "okay";
10
11 flash@0 {
12 compatible = "jedec,spi-nor";
13 reg = <0>;
14 spi-max-frequency = <10000000>;
15
16 partitions {
17 compatible = "fixed-partitions";
18 #address-cells = <1>;
19 #size-cells = <1>;
20
21 partition@0 {
22 label = "uboot";
23 reg = <0x0 0x30000>;
24 read-only;
25 };
26
27 devdata: partition@30000 {
28 label = "uboot-env";
29 reg = <0x30000 0x10000>;
30 read-only;
31 };
32
33 partition@40000 {
34 label = "rgdb";
35 reg = <0x40000 0x10000>;
36 read-only;
37 };
38
39 partition@50000 {
40 compatible = "denx,uimage";
41 label = "firmware";
42 reg = <0x50000 0x790000>;
43 };
44
45 partition@7e0000 {
46 label = "cert";
47 reg = <0x7e0000 0x10000>;
48 read-only;
49 };
50
51 partition@7f0000 {
52 label = "langpack";
53 reg = <0x7f0000 0x10000>;
54 read-only;
55 };
56 };
57 };
58 };
59
60 &ethernet {
61 nvmem-cells = <&macaddr_devdata_4004>;
62 nvmem-cell-names = "mac-address";
63 };
64
65 &devdata {
66 compatible = "nvmem-cells";
67 #address-cells = <1>;
68 #size-cells = <1>;
69
70 macaddr_devdata_4004: macaddr@4004 {
71 reg = <0x4004 0x6>;
72 };
73 };