ath79: add Embedded Wireless Balin Platform
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9344_engenius_eap600.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar9344_engenius_exx600.dtsi"
4
5 / {
6 model = "EnGenius EAP600";
7 compatible = "engenius,eap600", "qca,ar9344";
8
9 leds {
10 compatible = "gpio-leds";
11
12 led_power: power {
13 label = "amber:power";
14 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
15 default-state = "on";
16 };
17
18 wps {
19 label = "blue:wps";
20 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
21 };
22
23 wifi5g {
24 label = "green:wifi5g";
25 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
26 linux,default-trigger = "phy0tpt";
27 };
28 };
29 };
30
31 &eth0 {
32 nvmem-cells = <&macaddr_art_0>;
33 nvmem-cell-names = "mac-address";
34 mac-address-increment = <(-2)>;
35 };
36
37 &pcie {
38 wifi@0,0,0 {
39 nvmem-cells = <&macaddr_art_0>;
40 nvmem-cell-names = "mac-address";
41 };
42 };
43
44 &wmac {
45 nvmem-cells = <&macaddr_art_0>;
46 nvmem-cell-names = "mac-address";
47 mac-address-increment = <(-1)>;
48 };
49
50 &art {
51 compatible = "nvmem-cells";
52 #address-cells = <1>;
53 #size-cells = <1>;
54
55 macaddr_art_0: macaddr@0 {
56 reg = <0x0 0x6>;
57 };
58 };