diff options
author | Piotr Dymacz <pepe2k@gmail.com> | 2022-02-22 15:50:22 +0100 |
---|---|---|
committer | Piotr Dymacz <pepe2k@gmail.com> | 2022-02-27 15:09:36 +0100 |
commit | f645bacd06643ba6141f9be34c22681449a42392 (patch) | |
tree | b81c5e24f7eec5fe37e2af7be495d8e416f27219 /target/linux/ath79/dts/qca9531_alfa-network_r36a.dtsi | |
parent | 493b60d044c1d32ec7dbc4b02f7f5d6ada397a29 (diff) | |
download | upstream-f645bacd06643ba6141f9be34c22681449a42392.tar.gz upstream-f645bacd06643ba6141f9be34c22681449a42392.tar.bz2 upstream-f645bacd06643ba6141f9be34c22681449a42392.zip |
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 <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/ath79/dts/qca9531_alfa-network_r36a.dtsi')
-rw-r--r-- | target/linux/ath79/dts/qca9531_alfa-network_r36a.dtsi | 8 |
1 files changed, 8 insertions, 0 deletions
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 { |