From f645bacd06643ba6141f9be34c22681449a42392 Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Tue, 22 Feb 2022 15:50:22 +0100 Subject: ath79: reduce 'nvmem-cells' definitions on ALFA Network QCA9531 boards All the QCA9531 based boards from ALFA Network are based on the same design and share a common DTSI: 'qca9531_alfa-network_r36a.dtsi'. Instead of defining 'nvmem-cells' for the MAC address in every device's DTS, move definition to the common DTSI file. Signed-off-by: Piotr Dymacz --- target/linux/ath79/dts/qca9531_alfa-network_r36a.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'target/linux/ath79/dts/qca9531_alfa-network_r36a.dtsi') diff --git a/target/linux/ath79/dts/qca9531_alfa-network_r36a.dtsi b/target/linux/ath79/dts/qca9531_alfa-network_r36a.dtsi index 4c9346db1e..7e89605480 100644 --- a/target/linux/ath79/dts/qca9531_alfa-network_r36a.dtsi +++ b/target/linux/ath79/dts/qca9531_alfa-network_r36a.dtsi @@ -86,6 +86,14 @@ label = "art"; reg = <0x070000 0x010000>; read-only; + + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_art_1002: macaddr@1002 { + reg = <0x1002 0x6>; + }; }; partition@80000 { -- cgit v1.2.3