ath79: fix label MAC address for Ubiquiti UniFi
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar7241_ubnt_unifi.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar7241.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9 extosc: ref {
10 compatible = "fixed-clock";
11 #clock-cells = <0>;
12 clock-frequency = <40000000>;
13 };
14
15 keys {
16 compatible = "gpio-keys";
17
18 reset {
19 linux,code = <KEY_RESTART>;
20 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
21 debounce-interval = <60>;
22 };
23 };
24 };
25
26 &pll {
27 clocks = <&extosc>;
28 };
29
30 &pcie {
31 status = "okay";
32
33 wifi: wifi@0,0 {
34 reg = <0x0000 0 0 0 0>;
35 qca,no-eeprom;
36 };
37 };
38
39 &eth0 {
40 status = "okay";
41
42 mtd-mac-address = <&art 0x0>;
43 };
44