led-failsafe = &led_power_orange;
led-running = &led_power_green;
led-upgrade = &led_power_orange;
- label-mac-device = ð0;
};
extosc: ref {
ath9k0: wifi@0,11 {
compatible = "pci168c,0029";
reg = <0x8800 0 0 0 0>;
- mtd-mac-address = <&art 0xc>;
+
qca,no-eeprom;
#gpio-cells = <2>;
gpio-controller;
ath9k1: wifi@0,12 {
compatible = "pci168c,0029";
reg = <0x9000 0 0 0 0>;
- mtd-mac-address = <&art 0x0>;
+
qca,no-eeprom;
#gpio-cells = <2>;
gpio-controller;
pll-data = <0x11110000 0x00001099 0x00991099>;
- mtd-mac-address = <&art 0x00>;
-
fixed-link {
speed = <1000>;
full-duplex;
pll-data = <0x11110000 0x00001099 0x00991099>;
- mtd-mac-address = <&art 0x06>;
-
phy-handle = <&phy4>;
};
/ {
compatible = "netgear,wndr3700-v2", "qca,ar7161";
model = "Netgear WNDR3700 v2";
+
+ aliases {
+ label-mac-device = ð0;
+ };
};
&partitions {
read-only;
};
};
+
+&ath9k0 {
+ nvmem-cells = <&macaddr_art_c>;
+ nvmem-cell-names = "mac-address";
+};
+
+&ath9k1 {
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+};
+
+ð0 {
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_art_6>;
+ nvmem-cell-names = "mac-address";
+};
+
+&art {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+
+ macaddr_art_6: macaddr@6 {
+ reg = <0x6 0x6>;
+ };
+
+ macaddr_art_c: macaddr@c {
+ reg = <0xc 0x6>;
+ };
+};
/ {
compatible = "netgear,wndr3700", "qca,ar7161";
model = "Netgear WNDR3700";
+
+ aliases {
+ label-mac-device = ð0;
+ };
};
&partitions {
};
};
+&ath9k0 {
+ nvmem-cells = <&macaddr_art_c>;
+ nvmem-cell-names = "mac-address";
+};
+
&ath9k1 {
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+
/* The original WNDR3700(v1) variant have four antennae dedicated
* to the 5GHz radio as well. Again, two antennae are available for
* each chain to switch between. The following configuration is the
output-high;
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_art_6>;
+ nvmem-cell-names = "mac-address";
+};
+
+&art {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+
+ macaddr_art_6: macaddr@6 {
+ reg = <0x6 0x6>;
+ };
+
+ macaddr_art_c: macaddr@c {
+ reg = <0xc 0x6>;
+ };
+};
/ {
compatible = "netgear,wndr3800", "qca,ar7161";
model = "Netgear WNDR3800";
+
+ aliases {
+ label-mac-device = ð0;
+ };
};
&partitions {
read-only;
};
};
+
+&ath9k0 {
+ nvmem-cells = <&macaddr_art_c>;
+ nvmem-cell-names = "mac-address";
+};
+
+&ath9k1 {
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+};
+
+ð0 {
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_art_6>;
+ nvmem-cell-names = "mac-address";
+};
+
+&art {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+
+ macaddr_art_6: macaddr@6 {
+ reg = <0x6 0x6>;
+ };
+
+ macaddr_art_c: macaddr@c {
+ reg = <0xc 0x6>;
+ };
+};
/ {
compatible = "netgear,wndr3800ch", "qca,ar7161";
model = "Netgear WNDR3800CH";
+
+ aliases {
+ label-mac-device = ð0;
+ };
};
&partitions {
};
};
+&ath9k0 {
+ nvmem-cells = <&macaddr_art_c>;
+ nvmem-cell-names = "mac-address";
+};
+
+&ath9k1 {
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+};
+
+ð0 {
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_art_6>;
+ nvmem-cell-names = "mac-address";
+};
+
+&art {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+
+ macaddr_art_6: macaddr@6 {
+ reg = <0x6 0x6>;
+ };
+
+ macaddr_art_c: macaddr@c {
+ reg = <0xc 0x6>;
+ };
+};
/ {
compatible = "netgear,wndrmac-v1", "qca,ar7161";
model = "Netgear WNDRMAC v1";
+
+ aliases {
+ label-mac-device = ð0;
+ };
};
&partitions {
read-only;
};
};
+
+&ath9k0 {
+ nvmem-cells = <&macaddr_art_c>;
+ nvmem-cell-names = "mac-address";
+};
+
+&ath9k1 {
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+};
+
+ð0 {
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_art_6>;
+ nvmem-cell-names = "mac-address";
+};
+
+&art {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+
+ macaddr_art_6: macaddr@6 {
+ reg = <0x6 0x6>;
+ };
+
+ macaddr_art_c: macaddr@c {
+ reg = <0xc 0x6>;
+ };
+};
/ {
compatible = "netgear,wndrmac-v2", "qca,ar7161";
model = "Netgear WNDRMAC v2";
+
+ aliases {
+ label-mac-device = ð0;
+ };
};
&partitions {
read-only;
};
};
+
+&ath9k0 {
+ nvmem-cells = <&macaddr_art_c>;
+ nvmem-cell-names = "mac-address";
+};
+
+&ath9k1 {
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+};
+
+ð0 {
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_art_6>;
+ nvmem-cell-names = "mac-address";
+};
+
+&art {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+
+ macaddr_art_6: macaddr@6 {
+ reg = <0x6 0x6>;
+ };
+
+ macaddr_art_c: macaddr@c {
+ reg = <0xc 0x6>;
+ };
+};
/ {
compatible = "netgear,wnr2200-16m", "qca,ar7241";
model = "Netgear WNR2200 (16M)";
+
+ aliases {
+ label-mac-device = ð1;
+ };
};
&partitions {
read-only;
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_art_6>;
+ nvmem-cell-names = "mac-address";
+};
+
+&ath9k {
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <1>;
+};
+
+&art {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+
+ macaddr_art_6: macaddr@6 {
+ reg = <0x6 0x6>;
+ };
+};
/ {
compatible = "netgear,wnr2200-8m", "qca,ar7241";
model = "Netgear WNR2200 (8M)";
+
+ aliases {
+ label-mac-device = ð1;
+ };
};
&partitions {
read-only;
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_art_6>;
+ nvmem-cell-names = "mac-address";
+};
+
+&ath9k {
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <1>;
+};
+
+&art {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+
+ macaddr_art_6: macaddr@6 {
+ reg = <0x6 0x6>;
+ };
+};
led-failsafe = &led_power_amber;
led-running = &led_power_green;
led-upgrade = &led_power_amber;
- label-mac-device = ð1;
};
ath9k-keys {
ð0 {
status = "okay";
-
- mtd-mac-address = <&art 0x0>;
};
ð1 {
compatible = "qca,ar7241-eth", "syscon", "simple-mfd";
-
- mtd-mac-address = <&art 0x6>;
};
&pcie {
ath9k: wifi@0,0 {
compatible = "pci168c,002e";
reg = <0x0000 0 0 0 0>;
- mtd-mac-address = <&art 0x0>;
- mac-address-increment = <1>;
qca,no-eeprom;
#gpio-cells = <2>;
gpio-controller;
};
};
+ð0 {
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+};
+
ð1 {
status = "okay";
#address-cells = <1>;
#size-cells = <1>;
+ macaddr_art_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+
macaddr_art_6: macaddr@6 {
reg = <0x6 0x6>;
};
};
};
+ð0 {
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+};
+
ð1 {
compatible = "syscon", "simple-mfd";
};
+
+&art {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+};
ð0 {
status = "okay";
-
- mtd-mac-address = <&art 0x0>;
};
/ {
model = "GL.iNet 6408";
compatible = "glinet,6408", "qca,ar9331";
+
+ aliases {
+ label-mac-device = &wmac;
+ };
};
&spi {
};
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+};
+
+&uboot {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_uboot_1fc00: macaddr@1fc00 {
+ reg = <0x1fc00 0x6>;
+ };
+};
/ {
model = "GL.iNet 6416";
compatible = "glinet,6416", "qca,ar9331";
+
+ aliases {
+ label-mac-device = &wmac;
+ };
};
&spi {
};
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+};
+
+&uboot {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_uboot_1fc00: macaddr@1fc00 {
+ reg = <0x1fc00 0x6>;
+ };
+};
#include <dt-bindings/input/input.h>
/ {
- aliases {
- label-mac-device = &wmac;
- };
-
keys {
compatible = "gpio-keys";
ð0 {
status = "okay";
- mtd-mac-address = <&uboot 0x1fc00>;
-
gmac-config {
device = <&gmac>;
ð1 {
status = "okay";
-
- mtd-mac-address = <&uboot 0x1fc00>;
};
&usb {
&wmac {
status = "okay";
-
- mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&uboot 0x1fc00>;
};
#include "ar9331_tplink_tl-wr710n.dtsi"
+/ {
+ aliases {
+ label-mac-device = ð0;
+ };
+};
+
&spi {
status = "okay";
};
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <(-1)>;
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+};
+
+&uboot {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_uboot_1fc00: macaddr@1fc00 {
+ reg = <0x1fc00 0x6>;
+ };
+};
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
- label-mac-device = ð0;
};
keys {
ð0 {
status = "okay";
- mtd-mac-address = <&uboot 0x1fc00>;
-
gmac-config {
device = <&gmac>;
ð1 {
status = "okay";
-
- mtd-mac-address = <&uboot 0x1fc00>;
- mac-address-increment = <(-1)>;
};
&usb {
&wmac {
status = "okay";
-
- mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&uboot 0x1fc00>;
};
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
- label-mac-device = &wmac;
};
leds: leds {
status = "okay";
phy-handle = <&swphy0>;
-
- mtd-mac-address = <&uboot 0x1fc00>;
- mac-address-increment = <(-1)>;
};
ð1 {
- mtd-mac-address = <&uboot 0x1fc00>;
-
gmac-config {
device = <&gmac>;
switch-phy-swap = <1>;
&wmac {
status = "okay";
-
- mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&uboot 0x1fc00>;
};
model = "TP-Link TL-MR3420 v2";
compatible = "tplink,tl-mr3420-v2", "qca,ar9341";
+ aliases {
+ label-mac-device = &wmac;
+ };
+
keys {
compatible = "gpio-keys";
&usb_phy {
status = "okay";
};
+
+ð0 {
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <(-1)>;
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+};
+
+&uboot {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_uboot_1fc00: macaddr@1fc00 {
+ reg = <0x1fc00 0x6>;
+ };
+};
model = "TP-Link TL-WR841N/ND v8";
compatible = "tplink,tl-wr841-v8", "qca,ar9341";
+ aliases {
+ label-mac-device = &wmac;
+ };
+
keys {
compatible = "gpio-keys";
};
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <(-1)>;
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+};
+
+&uboot {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_uboot_1fc00: macaddr@1fc00 {
+ reg = <0x1fc00 0x6>;
+ };
+};
model = "TP-Link TL-WR842N/ND v2";
compatible = "tplink,tl-wr842n-v2", "qca,ar9341";
+ aliases {
+ label-mac-device = &wmac;
+ };
+
keys {
compatible = "gpio-keys";
status = "okay";
};
+ð0 {
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <(-1)>;
+};
+
ð1 {
phy-handle = <&swphy4>;
+
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+};
+
+&uboot {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_uboot_1fc00: macaddr@1fc00 {
+ reg = <0x1fc00 0x6>;
+ };
};
reg = <0>;
spi-max-frequency = <25000000>;
- nor_partitions: partitions {
+ partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
ð0 {
status = "okay";
- mtd-mac-address = <&art 0x0>;
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+
phy-handle = <&swphy4>;
};
ð1 {
- mtd-mac-address = <&art 0x0>;
- mtd-mac-address-increment = <1>;
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <1>;
};
&wmac {
mtd-cal-data = <&art 0x1000>;
};
+
+&art {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+};
read-only;
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_art_6>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+};
+
+&art {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+
+ macaddr_art_6: macaddr@6 {
+ reg = <0x6 0x6>;
+ };
+};
read-only;
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_art_6>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+};
+
+&art {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+
+ macaddr_art_6: macaddr@6 {
+ reg = <0x6 0x6>;
+ };
+};
ð0 {
status = "okay";
- mtd-mac-address = <&art 0x0>;
-
phy-handle = <&swphy4>;
};
ð1 {
- mtd-mac-address = <&art 0x6>;
-
gmac-config {
device = <&gmac>;
};
&wmac {
status = "okay";
-
- mtd-cal-data = <&art 0x1000>;
};
&usb0 {
};
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_art_6>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_art_18>;
+ nvmem-cell-names = "mac-address";
+};
+
+&art {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+
+ macaddr_art_6: macaddr@6 {
+ reg = <0x6 0x6>;
+ };
+
+ macaddr_art_18: macaddr@18 {
+ reg = <0x18 0x6>;
+ };
+};
};
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_art_6>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_art_18>;
+ nvmem-cell-names = "mac-address";
+};
+
+&art {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+
+ macaddr_art_6: macaddr@6 {
+ reg = <0x6 0x6>;
+ };
+
+ macaddr_art_18: macaddr@18 {
+ reg = <0x18 0x6>;
+ };
+};
status = "okay";
pll-data = <0xa6000000 0x00000101 0x00001616>;
- mtd-mac-address = <&art 0x0>;
+
fixed-link {
speed = <1000>;
full-duplex;
status = "okay";
pll-data = <0x03000101 0x00000101 0x00001616>;
- mtd-mac-address = <&art 0x6>;
+
fixed-link {
speed = <1000>;
full-duplex;
&wmac {
status = "okay";
-
- mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&art 0x18>;
};
// This node is required for the Ethernet ports to work correctly.
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
- label-mac-device = ð1;
};
leds: leds {
ð0 {
status = "okay";
- mtd-mac-address = <&uboot 0x1fc00>;
- mac-address-increment = <1>;
phy-handle = <&phy0>;
pll-data = <0x56000000 0x00000101 0x00001616>;
ð1 {
status = "okay";
- mtd-mac-address = <&uboot 0x1fc00>;
pll-data = <0x03000101 0x00000101 0x00001616>;
fixed-link {
&wmac {
status = "okay";
-
- mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&uboot 0x1fc00>;
};
/ {
compatible = "tplink,archer-c5-v1", "qca,qca9558";
model = "TP-Link Archer C5 v1";
+
+ aliases {
+ label-mac-device = ð1;
+ };
};
&keys {
read-only;
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <1>;
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+};
+
+&uboot {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_uboot_1fc00: macaddr@1fc00 {
+ reg = <0x1fc00 0x6>;
+ };
+};
/ {
compatible = "tplink,archer-c7-v1", "qca,qca9558";
model = "TP-Link Archer C7 v1";
+
+ aliases {
+ label-mac-device = ð1;
+ };
};
&keys {
read-only;
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <1>;
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+};
+
+&uboot {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_uboot_1fc00: macaddr@1fc00 {
+ reg = <0x1fc00 0x6>;
+ };
+};
/ {
compatible = "tplink,archer-c7-v2", "qca,qca9558";
model = "TP-Link Archer C7 v2";
+
+ aliases {
+ label-mac-device = ð1;
+ };
};
&keys {
read-only;
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <1>;
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+};
+
+&uboot {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_uboot_1fc00: macaddr@1fc00 {
+ reg = <0x1fc00 0x6>;
+ };
+};
/ {
compatible = "tplink,tl-wdr7500-v3", "qca,qca9558";
model = "TP-Link TL-WDR7500 v3";
+
+ aliases {
+ label-mac-device = ð1;
+ };
};
&keys {
read-only;
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <1>;
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
+};
+
+&uboot {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_uboot_1fc00: macaddr@1fc00 {
+ reg = <0x1fc00 0x6>;
+ };
+};
/ {
compatible = "tplink,archer-c58-v1", "qca,qca9560";
model = "TP-Link Archer C58 v1";
+
+ aliases {
+ label-mac-device = ð1;
+ };
};
&spi {
};
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <1>;
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&info {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_info_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
+};
/ {
compatible = "tplink,archer-c59-v1", "qca,qca9560";
model = "TP-Link Archer C59 v1";
+
+ aliases {
+ label-mac-device = ð1;
+ };
};
&leds {
};
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <1>;
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&info {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_info_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
+};
/ {
compatible = "tplink,archer-c59-v2", "qca,qca9560";
model = "TP-Link Archer C59 v2";
+
+ aliases {
+ label-mac-device = ð1;
+ };
};
&leds {
};
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <1>;
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&info {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_info_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
+};
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
- label-mac-device = ð1;
};
led_spi {
phy-handle = <&swphy0>;
- mtd-mac-address = <&info 0x8>;
- mac-address-increment = <1>;
-
gmac-config {
device = <&gmac>;
ð1 {
status = "okay";
-
- mtd-mac-address = <&info 0x8>;
};
&wmac {
status = "okay";
-
- mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&info 0x8>;
};
/ {
compatible = "tplink,archer-c60-v1", "qca,qca9561";
model = "TP-Link Archer C60 v1";
+
+ aliases {
+ label-mac-device = ð1;
+ };
};
&leds {
};
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <1>;
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&info {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_info_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
+};
/ {
compatible = "tplink,archer-c60-v2", "qca,qca9561";
model = "TP-Link Archer C60 v2";
+
+ aliases {
+ label-mac-device = ð1;
+ };
};
&leds {
};
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <1>;
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&info {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_info_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
+};
/ {
compatible = "tplink,archer-c60-v3", "qca,qca9561";
model = "TP-Link Archer C60 v3";
+
+ aliases {
+ label-mac-device = ð1;
+ };
};
&leds {
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
};
};
+
&spi {
status = "okay";
};
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <1>;
+};
+
+ð1 {
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&info {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_info_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
+};
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
- label-mac-device = ð1;
};
keys {
status = "okay";
phy-handle = <&swphy4>;
-
- mtd-mac-address = <&info 0x8>;
- mac-address-increment = <1>;
};
ð1 {
status = "okay";
-
- mtd-mac-address = <&info 0x8>;
};
&wmac {
status = "okay";
-
- mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&info 0x8>;
};
&pcie {
status = "okay";
};
+
+ð0 {
+ nvmem-cells = <&macaddr_art_1002>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <(-1)>;
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+};
+
+&art {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_1002: macaddr@1002 {
+ reg = <0x1002 0x6>;
+ };
+};
read-only;
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_art_1002>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <(-1)>;
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+};
+
+&art {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_1002: macaddr@1002 {
+ reg = <0x1002 0x6>;
+ };
+};
pll-data = <0x03000101 0x00000101 0x00001919>;
- mtd-mac-address = <&art 0x1002>;
- mac-address-increment = <(-1)>;
phy-mode = "sgmii";
phy-handle = <&phy0>;
};
&wmac {
status = "okay";
- mtd-cal-data = <&art 0x1000>;
};
/ {
compatible = "tplink,archer-a7-v5", "qca,qca9563";
model = "TP-Link Archer A7 v5";
+
+ aliases {
+ label-mac-device = ð0;
+ };
};
&keys {
read-only;
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&info {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_info_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
+};
model = "TP-Link Archer C6 v2 (US) / A6 v2 (US/TW)";
aliases {
+ label-mac-device = ð0;
+
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
};
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&info {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_info_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
+};
model = "TP-Link Archer C6 v2 (EU/RU/JP)";
aliases {
+ label-mac-device = ð0;
+
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
};
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&info {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_info_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
+};
/ {
compatible = "tplink,archer-c7-v5", "qca,qca9563";
model = "TP-Link Archer C7 v5";
+
+ aliases {
+ label-mac-device = ð0;
+ };
};
&keys {
read-only;
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&info {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_info_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
+};
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
-/ {
- aliases {
- label-mac-device = ð0;
- };
-};
-
&pcie {
status = "okay";
};
phy-mode = "sgmii";
phy-handle = <&phy0>;
-
- mtd-mac-address = <&info 0x8>;
};
&wmac {
status = "okay";
-
- mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&info 0x8>;
};
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
- label-mac-device = ð0;
};
leds {
pll-data = <0x03000101 0x00000101 0x00001919>;
phy-mode = "sgmii";
- mtd-mac-address = <&info 0x8>;
phy-handle = <&phy0>;
};
&wmac {
status = "okay";
-
- mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&info 0x8>;
};
/ {
compatible = "tplink,re450-v2", "qca,qca9563";
model = "TP-Link RE450 v2";
+
+ aliases {
+ label-mac-device = ð0;
+ };
};
&partitions {
read-only;
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&info {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_info_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
+};
/ {
compatible = "tplink,re450-v3", "qca,qca9563";
model = "TP-Link RE450 v3";
+
+ aliases {
+ label-mac-device = ð0;
+ };
};
&partitions {
read-only;
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&info {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_info_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
+};
/ {
aliases {
- label-mac-device = ð0;
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
phy-mode = "sgmii";
phy-handle = <&phy4>;
-
- mtd-mac-address = <&info 0x8>;
};
&wmac {
status = "okay";
-
- mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&info 0x8>;
};
/ {
compatible = "tplink,re455-v1", "qca,qca9563";
model = "TP-Link RE455 v1";
+
+ aliases {
+ label-mac-device = ð0;
+ };
};
&partitions {
read-only;
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&info {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_info_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
+};
};
&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
nvmem-cells = <&macaddr_uboot_fc00>;
nvmem-cell-names = "mac-address";
};
&wmac {
status = "okay";
-
- mtd-cal-data = <&art 0x1000>;
};
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-#include "qca9563_tplink_tl-wpa8630p-v2.dtsi"
+#include "qca9563_tplink_tl-wpa8630.dtsi"
/ {
compatible = "tplink,tl-wpa8630p-v2-int", "qca,qca9563";
model = "TP-Link WPA8630P v2 (Int.)";
+
+ aliases {
+ label-mac-device = ð0;
+ };
};
&partitions {
+ partition@0 {
+ label = "factory-uboot";
+ reg = <0x000000 0x020000>;
+ read-only;
+ };
+
+ partition@20000 {
+ label = "u-boot";
+ reg = <0x020000 0x020000>;
+ read-only;
+ };
+
+ partition@40000 {
+ compatible = "tplink,firmware";
+ label = "firmware";
+ reg = <0x040000 0x5e0000>;
+ };
+
partition@620000 {
label = "partition-table";
reg = <0x620000 0x010000>;
read-only;
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&info {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_info_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
+};
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-#include "qca9563_tplink_tl-wpa8630p-v2.dtsi"
+#include "qca9563_tplink_tl-wpa8630.dtsi"
/ {
compatible = "tplink,tl-wpa8630p-v2.0-eu", "qca,qca9563";
model = "TP-Link WPA8630P v2.0 (EU)";
+
+ aliases {
+ label-mac-device = ð0;
+ };
};
&partitions {
+ partition@0 {
+ label = "factory-uboot";
+ reg = <0x000000 0x020000>;
+ read-only;
+ };
+
+ partition@20000 {
+ label = "u-boot";
+ reg = <0x020000 0x020000>;
+ read-only;
+ };
+
+ partition@40000 {
+ compatible = "tplink,firmware";
+ label = "firmware";
+ reg = <0x040000 0x5e0000>;
+ };
+
partition@620000 {
label = "partition-table";
reg = <0x620000 0x010000>;
read-only;
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&info {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_info_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
+};
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-#include "qca9563_tplink_tl-wpa8630p-v2.dtsi"
+#include "qca9563_tplink_tl-wpa8630.dtsi"
/ {
compatible = "tplink,tl-wpa8630p-v2.1-eu", "qca,qca9563";
model = "TP-Link WPA8630P v2.1 (EU)";
+
+ aliases {
+ label-mac-device = ð0;
+ };
};
&partitions {
+ partition@0 {
+ label = "factory-uboot";
+ reg = <0x000000 0x020000>;
+ read-only;
+ };
+
+ partition@20000 {
+ label = "u-boot";
+ reg = <0x020000 0x020000>;
+ read-only;
+ };
+
+ partition@40000 {
+ compatible = "tplink,firmware";
+ label = "firmware";
+ reg = <0x040000 0x5e0000>;
+ };
+
/* 0x620000 to 0x680000 is empty in OEM partitioning */
partition@680000 {
read-only;
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&info {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_info_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
+};
+++ /dev/null
-// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-
-#include "qca9563_tplink_tl-wpa8630.dtsi"
-
-/ {
- aliases {
- label-mac-device = ð0;
- };
-};
-
-&partitions {
- partition@0 {
- label = "factory-uboot";
- reg = <0x000000 0x020000>;
- read-only;
- };
-
- partition@20000 {
- label = "u-boot";
- reg = <0x020000 0x020000>;
- read-only;
- };
-
- partition@40000 {
- compatible = "tplink,firmware";
- label = "firmware";
- reg = <0x040000 0x5e0000>;
- };
-};
-
-ð0 {
- mtd-mac-address = <&info 0x8>;
-};
-
-&wmac {
- mtd-mac-address = <&info 0x8>;
-};
/ {
compatible = "tplink,tl-wr1043n-v5", "qca,qca9563";
model = "TP-Link TL-WR1043N v5";
+
+ aliases {
+ label-mac-device = &wmac;
+ };
};
&spi {
};
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&info {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_info_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
+};
led-failsafe = &led_system;
led-running = &led_system;
led-upgrade = &led_system;
- label-mac-device = &wmac;
};
leds: leds {
ð0 {
status = "okay";
- mtd-mac-address = <&info 0x8>;
phy-mode = "sgmii";
phy-handle = <&phy0>;
};
&wmac {
status = "okay";
-
- mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&info 0x8>;
};
compatible = "tplink,tl-wr1043nd-v4", "qca,qca9563";
model = "TP-Link TL-WR1043ND v4";
+ aliases {
+ label-mac-device = &wmac;
+ };
+
gpio-export {
compatible = "gpio-export";
#size-cells = <0>;
#trigger-source-cells = <0>;
};
};
+
+ð0 {
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&info {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_info_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
+};