diff options
Diffstat (limited to 'target/linux/ramips/dts/rt3052_jcg_jhr-n926r.dts')
-rw-r--r-- | target/linux/ramips/dts/rt3052_jcg_jhr-n926r.dts | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/rt3052_jcg_jhr-n926r.dts b/target/linux/ramips/dts/rt3052_jcg_jhr-n926r.dts index 543144394f..6573159985 100644 --- a/target/linux/ramips/dts/rt3052_jcg_jhr-n926r.dts +++ b/target/linux/ramips/dts/rt3052_jcg_jhr-n926r.dts @@ -124,7 +124,8 @@ }; ðernet { - mtd-mac-address = <&factory 0x2e>; + nvmem-cells = <&macaddr_factory_2e>; + nvmem-cell-names = "mac-address"; }; &esw { @@ -134,3 +135,13 @@ &wmac { ralink,mtd-eeprom = <&factory 0x0>; }; + +&factory { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_factory_2e: macaddr@2e { + reg = <0x2e 0x6>; + }; +}; |