diff options
Diffstat (limited to 'target/linux/ramips/dts/mt7620a_phicomm_k2g.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7620a_phicomm_k2g.dts | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7620a_phicomm_k2g.dts b/target/linux/ramips/dts/mt7620a_phicomm_k2g.dts index a153520e2f..fd6cc7f82b 100644 --- a/target/linux/ramips/dts/mt7620a_phicomm_k2g.dts +++ b/target/linux/ramips/dts/mt7620a_phicomm_k2g.dts @@ -23,7 +23,8 @@ pinctrl-names = "default"; pinctrl-0 = <&rgmii2_pins &mdio_pins>; - mtd-mac-address = <&factory 0x28>; + nvmem-cells = <&macaddr_factory_28>; + nvmem-cell-names = "mac-address"; mediatek,portmap = "llllw"; @@ -47,3 +48,13 @@ pinctrl-names = "default"; pinctrl-0 = <&pa_pins>; }; + +&factory { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_factory_28: macaddr@28 { + reg = <0x28 0x6>; + }; +}; |