diff options
Diffstat (limited to 'target/linux/ath79/dts/ar9341_tplink_tl-mr3420-v2.dts')
-rw-r--r-- | target/linux/ath79/dts/ar9341_tplink_tl-mr3420-v2.dts | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/ar9341_tplink_tl-mr3420-v2.dts b/target/linux/ath79/dts/ar9341_tplink_tl-mr3420-v2.dts index 9adc9a1faf..f86c4423bf 100644 --- a/target/linux/ath79/dts/ar9341_tplink_tl-mr3420-v2.dts +++ b/target/linux/ath79/dts/ar9341_tplink_tl-mr3420-v2.dts @@ -6,6 +6,10 @@ model = "TP-Link TL-MR3420 v2"; compatible = "tplink,tl-mr3420-v2", "qca,ar9341"; + aliases { + label-mac-device = &wmac; + }; + keys { compatible = "gpio-keys"; @@ -91,3 +95,31 @@ &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>; + }; +}; |