diff options
Diffstat (limited to 'target/linux/ath79/dts/ar7242_meraki_mr12.dts')
-rw-r--r-- | target/linux/ath79/dts/ar7242_meraki_mr12.dts | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/target/linux/ath79/dts/ar7242_meraki_mr12.dts b/target/linux/ath79/dts/ar7242_meraki_mr12.dts index 8a19bffe6e..5e82b5bb6b 100644 --- a/target/linux/ath79/dts/ar7242_meraki_mr12.dts +++ b/target/linux/ath79/dts/ar7242_meraki_mr12.dts @@ -81,7 +81,8 @@ compatible = "pci168c,002a"; reg = <0x0000 0 0 0 0>; qca,no-eeprom; - mtd-mac-address = <&config 0x66>; + nvmem-cells = <&macaddr_config_66>; + nvmem-cell-names = "mac-address"; mac-address-increment = <1>; }; }; @@ -101,7 +102,8 @@ ð0 { status = "okay"; - mtd-mac-address = <&config 0x66>; + nvmem-cells = <&macaddr_config_66>; + nvmem-cell-names = "mac-address"; pll-data = <0x02000000 0x00000101 0x00001313>; @@ -116,7 +118,8 @@ ð1 { status = "okay"; - mtd-mac-address = <&config 0x66>; + nvmem-cells = <&macaddr_config_66>; + nvmem-cell-names = "mac-address"; }; &spi { @@ -164,3 +167,13 @@ }; }; }; + +&config { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_config_66: macaddr@66 { + reg = <0x66 0x6>; + }; +}; |