[PATCH v1 2/3] MIPS: dts: tl_wdr4300: add Atheros ART partition

Sascha Hauer s.hauer at pengutronix.de
Tue Sep 26 00:09:21 PDT 2017


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 <linux at rempel-privat.de>
> ---
>  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 at 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 at 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.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list