ath79: convert mtd-mac-address to nvmem implementation
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar7242_buffalo_bhr-4grv.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar7242_buffalo_wzr-bhr.dtsi"
4
5 / {
6 compatible = "buffalo,bhr-4grv", "qca,ar7242";
7 model = "Buffalo BHR-4GRV";
8 };
9
10 &leds {
11 sec_vpn {
12 label = "orange:vpn";
13 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
14 };
15 };
16
17 &eth0 {
18 nvmem-cells = <&macaddr_art_0>;
19 nvmem-cell-names = "mac-address";
20 };
21
22 &art {
23 compatible = "nvmem-cells";
24 #address-cells = <1>;
25 #size-cells = <1>;
26
27 macaddr_art_0: macaddr@0 {
28 reg = <0x0 0x6>;
29 };
30 };