ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / ar9331_glinet_6416.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar9331_glinet_64xx.dtsi"
4
5 / {
6 model = "GL.iNet 6416";
7 compatible = "glinet,6416", "qca,ar9331";
8
9 aliases {
10 label-mac-device = &wmac;
11 };
12 };
13
14 &spi {
15 status = "okay";
16
17 flash@0 {
18 compatible = "jedec,spi-nor";
19 reg = <0>;
20 spi-max-frequency = <25000000>;
21
22 partitions {
23 compatible = "fixed-partitions";
24 #address-cells = <1>;
25 #size-cells = <1>;
26
27 uboot: partition@0 {
28 reg = <0x0 0x20000>;
29 label = "u-boot";
30 read-only;
31
32 nvmem-layout {
33 compatible = "fixed-layout";
34 #address-cells = <1>;
35 #size-cells = <1>;
36
37 macaddr_uboot_1fc00: macaddr@1fc00 {
38 reg = <0x1fc00 0x6>;
39 };
40 };
41 };
42
43 partition@20000 {
44 compatible = "tplink,firmware";
45 reg = <0x20000 0xfd0000>;
46 label = "firmware";
47 };
48
49 art: partition@ff0000 {
50 reg = <0xff0000 0x10000>;
51 label = "art";
52 read-only;
53 };
54 };
55 };
56 };
57
58 &eth0 {
59 nvmem-cells = <&macaddr_uboot_1fc00>;
60 nvmem-cell-names = "mac-address";
61 };
62
63 &eth1 {
64 nvmem-cells = <&macaddr_uboot_1fc00>;
65 nvmem-cell-names = "mac-address";
66 };
67
68 &wmac {
69 mtd-cal-data = <&art 0x1000>;
70
71 nvmem-cells = <&macaddr_uboot_1fc00>;
72 nvmem-cell-names = "mac-address";
73 };