ath79: add AVM EVA firmware partition compatible
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar7242_buffalo_wzr-hp-g450h.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6
7 #include "ar7242_buffalo_wzr-bhr.dtsi"
8
9 / {
10 compatible = "buffalo,wzr-hp-g450h", "qca,ar7242";
11 model = "Buffalo WZR-HP-G450H/WZR-450HP";
12
13 ath9k-leds {
14 compatible = "gpio-leds";
15
16 led_movie_engine {
17 label = "buffalo:blue:movie_engine";
18 gpios = <&ath9k 13 GPIO_ACTIVE_LOW>;
19 default-state = "off";
20 };
21
22 router {
23 label = "buffalo:green:router";
24 gpios = <&ath9k 14 GPIO_ACTIVE_LOW>;
25 default-state = "off";
26 };
27
28 wireless {
29 label = "buffalo:green:wireless";
30 gpios = <&ath9k 15 GPIO_ACTIVE_LOW>;
31 default-state = "off";
32 linux,default-trigger = "phy0tpt";
33 };
34 };
35 };
36
37 &keys {
38 movie_engine {
39 label = "movie_engine";
40 linux,code = <BTN_6>;
41 linux,input-type = <EV_SW>;
42 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
43 debounce-interval = <60>;
44 };
45
46 aoss {
47 label = "aoss";
48 linux,code = <KEY_WPS_BUTTON>;
49 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
50 debounce-interval = <60>;
51 };
52
53 router_off {
54 label = "router_off";
55 linux,code = <BTN_5>;
56 linux,input-type = <EV_SW>;
57 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
58 debounce-interval = <60>;
59 };
60 };
61
62 &eth0 {
63 mtd-mac-address = <&ART 0x1002>;
64 };
65
66 &sec_vpn {
67 label = "buffalo:orange:security";
68 };
69
70 &pcie {
71 status = "okay";
72
73 ath9k: wifi@0,0 {
74 compatible = "pci168c,0030";
75 reg = <0x0000 0 0 0 0>;
76 mtd-mac-address = <&ART 0x1002>;
77 qca,no-eeprom;
78 #gpio-cells = <2>;
79 gpio-controller;
80 };
81 };