ath79: fix MAC address assignment for TP-Link ar7241 devices
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9331_hak5_packet-squirrel.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar9331_hak5_lan-turtle.dtsi"
4
5 / {
6 model = "Hak5 Packet Squirrel";
7 compatible = "hak5,packet-squirrel", "qca,ar9331";
8
9 aliases {
10 led-boot = &led_system_green;
11 led-failsafe = &led_system_green;
12 led-running = &led_system_green;
13 led-upgrade = &led_system_green;
14 };
15
16 leds {
17 compatible = "gpio-leds";
18
19 led_system_green: system-green {
20 label = "green:system";
21 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
22 };
23
24 system-blue {
25 label = "blue:system";
26 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
27 };
28
29 system-red {
30 label = "red:system";
31 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
32 };
33 };
34 };
35
36 &keys {
37 sw1 {
38 label = "sw1";
39 linux,code = <BTN_0>;
40 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
41 debounce-interval = <60>;
42 };
43
44 sw2 {
45 label = "sw2";
46 linux,code = <BTN_1>;
47 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
48 debounce-interval = <60>;
49 };
50
51 sw3 {
52 label = "sw3";
53 linux,code = <BTN_2>;
54 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
55 debounce-interval = <60>;
56 };
57
58 sw4 {
59 label = "sw4";
60 linux,code = <BTN_3>;
61 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
62 debounce-interval = <60>;
63 };
64 };