projects
/
openwrt
/
staging
/
hauke.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ath79: qca: convert to nvmem-layout
[openwrt/staging/hauke.git]
/
target
/
linux
/
ath79
/
dts
/
qca9558_tplink_tl-wr941n-v7-cn.dts
diff --git
a/target/linux/ath79/dts/qca9558_tplink_tl-wr941n-v7-cn.dts
b/target/linux/ath79/dts/qca9558_tplink_tl-wr941n-v7-cn.dts
index 058acda7469b1ea4f93decdd908c9d75f62b3228..9d329000c9bd99fbbeed408e7ef7ba187fdde84d 100644
(file)
--- a/
target/linux/ath79/dts/qca9558_tplink_tl-wr941n-v7-cn.dts
+++ b/
target/linux/ath79/dts/qca9558_tplink_tl-wr941n-v7-cn.dts
@@
-74,6
+74,16
@@
label = "u-boot";
reg = <0x000000 0x020000>;
read-only;
label = "u-boot";
reg = <0x000000 0x020000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_uboot_1fc00: macaddr@1fc00 {
+ reg = <0x1fc00 0x6>;
+ };
+ };
};
partition@20000 {
};
partition@20000 {
@@
-103,7
+113,8
@@
ð0 {
status = "okay";
phy-mode = "mii";
ð0 {
status = "okay";
phy-mode = "mii";
- mtd-mac-address = <&uboot 0x1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
fixed-link {
speed = <100>;
full-duplex;
fixed-link {
speed = <100>;
full-duplex;
@@
-113,5
+124,6
@@
&wmac {
status = "okay";
mtd-cal-data = <&art 0x1000>;
&wmac {
status = "okay";
mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&uboot 0x1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
};
};