aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar7241_ubnt_unifi.dtsi
blob: 614ac1454f34aec584c61a7f16249c71b8a9ee87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

#include "ar7241.dtsi"

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>

/ {
	aliases {
		label-mac-device = &wifi;
	};

	extosc: ref {
		compatible = "fixed-clock";
		#clock-cells = <0>;
		clock-frequency = <40000000>;
	};

	keys {
		compatible = "gpio-keys";

		reset {
			linux,code = <KEY_RESTART>;
			gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
			debounce-interval = <60>;
		};
	};
};

&pll {
	clocks = <&extosc>;
};

&pcie {
	status = "okay";

	wifi: wifi@0,0 {
		reg = <0x0000 0 0 0 0>;
		qca,no-eeprom;
	};
};

&eth0 {
	status = "okay";

	mtd-mac-address = <&art 0x0>;
};