diff options
Diffstat (limited to 'target/linux/ramips/dts/rt3052_dlink_dap-1350.dts')
-rw-r--r-- | target/linux/ramips/dts/rt3052_dlink_dap-1350.dts | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/rt3052_dlink_dap-1350.dts b/target/linux/ramips/dts/rt3052_dlink_dap-1350.dts index a2584e005e..e33a7ef5b5 100644 --- a/target/linux/ramips/dts/rt3052_dlink_dap-1350.dts +++ b/target/linux/ramips/dts/rt3052_dlink_dap-1350.dts @@ -118,7 +118,8 @@ }; ðernet { - mtd-mac-address = <&devdata 0x2e>; + nvmem-cells = <&macaddr_devdata_2e>; + nvmem-cell-names = "mac-address"; }; &esw { @@ -132,3 +133,13 @@ &otg { status = "okay"; }; + +&devdata { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_devdata_2e: macaddr@2e { + reg = <0x2e 0x6>; + }; +}; |