ath79: add support for Compex WPJ531 (16M)
[openwrt/staging/dedeckeh.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 "ar7242_buffalo_wzr-bhr.dtsi"
5
6 / {
7 compatible = "buffalo,wzr-hp-g450h", "qca,ar7242";
8 model = "Buffalo WZR-HP-G450H/WZR-450HP";
9
10 aliases {
11 label-mac-device = &eth0;
12 };
13
14 ath9k-leds {
15 compatible = "gpio-leds";
16
17 led_movie_engine {
18 label = "buffalo:blue:movie_engine";
19 gpios = <&ath9k 13 GPIO_ACTIVE_LOW>;
20 };
21
22 router {
23 label = "buffalo:green:router";
24 gpios = <&ath9k 14 GPIO_ACTIVE_LOW>;
25 };
26
27 wireless {
28 label = "buffalo:green:wireless";
29 gpios = <&ath9k 15 GPIO_ACTIVE_LOW>;
30 linux,default-trigger = "phy0tpt";
31 };
32 };
33 };
34
35 &keys {
36 movie_engine {
37 label = "movie_engine";
38 linux,code = <BTN_6>;
39 linux,input-type = <EV_SW>;
40 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
41 debounce-interval = <60>;
42 };
43
44 aoss {
45 label = "aoss";
46 linux,code = <KEY_WPS_BUTTON>;
47 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
48 debounce-interval = <60>;
49 };
50
51 router_off {
52 label = "router_off";
53 linux,code = <BTN_5>;
54 linux,input-type = <EV_SW>;
55 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
56 debounce-interval = <60>;
57 };
58 };
59
60 &leds {
61 sec_vpn {
62 label = "buffalo:orange:security";
63 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
64 };
65 };
66
67 &eth0 {
68 mtd-mac-address = <&art 0x1002>;
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 mtd-mac-address = <&art 0x1002>;
78 qca,no-eeprom;
79 #gpio-cells = <2>;
80 gpio-controller;
81 };
82 };