ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / ar7242_buffalo_wzr-hp-g450h.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,wzr-hp-g450h", "qca,ar7242";
7 model = "Buffalo WZR-HP-G450H/WZR-450HP";
8
9 aliases {
10 label-mac-device = &eth0;
11 };
12
13 ath9k-leds {
14 compatible = "gpio-leds";
15
16 led_movie_engine {
17 label = "blue:movie_engine";
18 gpios = <&ath9k 13 GPIO_ACTIVE_LOW>;
19 };
20
21 router {
22 label = "green:router";
23 gpios = <&ath9k 14 GPIO_ACTIVE_LOW>;
24 };
25
26 wireless {
27 label = "green:wireless";
28 gpios = <&ath9k 15 GPIO_ACTIVE_LOW>;
29 linux,default-trigger = "phy0tpt";
30 };
31 };
32 };
33
34 &keys {
35 movie_engine {
36 label = "movie_engine";
37 linux,code = <BTN_6>;
38 linux,input-type = <EV_SW>;
39 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
40 debounce-interval = <60>;
41 };
42
43 aoss {
44 label = "aoss";
45 linux,code = <KEY_WPS_BUTTON>;
46 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
47 debounce-interval = <60>;
48 };
49
50 router_off {
51 label = "router_off";
52 linux,code = <BTN_5>;
53 linux,input-type = <EV_SW>;
54 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
55 debounce-interval = <60>;
56 };
57 };
58
59 &leds {
60 sec_vpn {
61 label = "orange:security";
62 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
63 };
64 };
65
66 &eth0 {
67 nvmem-cells = <&macaddr_art_1002>;
68 nvmem-cell-names = "mac-address";
69 };
70
71 &pcie {
72 status = "okay";
73
74 ath9k: wifi@0,0 {
75 compatible = "pci168c,0030";
76 reg = <0x0000 0 0 0 0>;
77 nvmem-cells = <&macaddr_art_1002>;
78 nvmem-cell-names = "mac-address";
79 qca,no-eeprom;
80 #gpio-cells = <2>;
81 gpio-controller;
82 };
83 };
84
85 &art {
86 nvmem-layout {
87 compatible = "fixed-layout";
88 #address-cells = <1>;
89 #size-cells = <1>;
90
91 macaddr_art_1002: macaddr@1002 {
92 reg = <0x1002 0x6>;
93 };
94 };
95 };