aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca9531_glinet_gl-x300b.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts/qca9531_glinet_gl-x300b.dts')
-rw-r--r--target/linux/ath79/dts/qca9531_glinet_gl-x300b.dts21
1 files changed, 17 insertions, 4 deletions
diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-x300b.dts b/target/linux/ath79/dts/qca9531_glinet_gl-x300b.dts
index 5e722bbc26..5f5646b3e0 100644
--- a/target/linux/ath79/dts/qca9531_glinet_gl-x300b.dts
+++ b/target/linux/ath79/dts/qca9531_glinet_gl-x300b.dts
@@ -88,7 +88,7 @@
reg = <0>;
spi-max-frequency = <25000000>;
- nor_partitions: partitions {
+ partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
@@ -123,13 +123,16 @@
&eth0 {
status = "okay";
- mtd-mac-address = <&art 0x0>;
+ nvmem-cells = <&macaddr_art_0>;
+ nvmem-cell-names = "mac-address";
+
phy-handle = <&swphy4>;
};
&eth1 {
- 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 {
@@ -137,3 +140,13 @@
mtd-cal-data = <&art 0x1000>;
};
+
+&art {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+};