Am 26.09.2017 um 09:09 schrieb Sascha Hauer: > Hi Oleksij, > > On Wed, Sep 20, 2017 at 08:05:56PM +0200, Oleksij Rempel wrote: >> and define it as source of MAC address for ag71xx driver >> >> Signed-off-by: Oleksij Rempel >> --- >> arch/mips/dts/ar9344-tl-wdr4300-v1.7.dts | 11 +++++++++++ >> 1 file changed, 11 insertions(+) >> >> diff --git a/arch/mips/dts/ar9344-tl-wdr4300-v1.7.dts b/arch/mips/dts/ar9344-tl-wdr4300-v1.7.dts >> index d16cab005..3733ad5b7 100644 >> --- a/arch/mips/dts/ar9344-tl-wdr4300-v1.7.dts >> +++ b/arch/mips/dts/ar9344-tl-wdr4300-v1.7.dts >> @@ -26,6 +26,12 @@ >> compatible = "barebox,environment"; >> device-path = &spiflash, "partname:barebox-environment"; >> }; >> + >> + art@0 { >> + compatible = "qca,art", "qca,art-ar9344"; >> + device-path = &spiflash, "partname:art"; >> + barebox,provide-mac-address = <&mac0>; >> + }; >> }; >> }; >> >> @@ -59,6 +65,11 @@ >> label = "barebox-environment"; >> reg = <0x80000 0x10000>; >> }; >> + >> + partition@7f0000 { >> + label = "art"; >> + reg = <0x7f0000 0x10000>; >> + }; >> }; >> }; > > There once was a proposal to add nvmem support to mtd > (https://lkml.org/lkml/2017/3/7/131). Apparently this didn't make it > mainline, although the comments to this series haven't been very > negative. Could you have a look if it's worth to pick this work up > or at least adopt it for barebox? I have the feeling that nvmem support > for mtd is something that we haven't come across for the last time. Ok, i'll take a look on it. Since this will take some time, i'll resend some patches from this set, separately -- Regards, Oleksij