ath79: convert remaining mtd-mac-address cases to nvmem
[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 aliases {
10 label-mac-device = &wifi;
11 };
12
13 extosc: ref {
14 compatible = "fixed-clock";
15 #clock-cells = <0>;
16 clock-frequency = <40000000>;
17 };
18
19 keys {
20 compatible = "gpio-keys";
21
22 reset {
23 linux,code = <KEY_RESTART>;
24 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
25 debounce-interval = <60>;
26 };
27 };
28 };
29
30 &pll {
31 clocks = <&extosc>;
32 };
33
34 &pcie {
35 status = "okay";
36
37 wifi: wifi@0,0 {
38 reg = <0x0000 0 0 0 0>;
39 qca,no-eeprom;
40 };
41 };
42
43 &eth0 {
44 status = "okay";
45 };