ath79: qca: remove mac-address-increment
[openwrt/staging/hauke.git] / target / linux / ath79 / dts / qca9557_araknis_an-500-ap-i-ac.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca955x_senao_loader.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9 compatible = "araknis,an-500-ap-i-ac", "qca,qca9557";
10 model = "Araknis AN-500-AP-I-AC";
11
12 aliases {
13 label-mac-device = &eth0;
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-upgrade = &led_power;
17 };
18
19 keys {
20 compatible = "gpio-keys";
21
22 reset {
23 linux,code = <KEY_RESTART>;
24 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
25 debounce-interval = <60>;
26 };
27 };
28
29 leds {
30 compatible = "gpio-leds";
31
32 led_power: power {
33 label = "amber:power";
34 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
35 default-state = "off";
36 };
37
38 wifi2g {
39 label = "blue:wifi2g";
40 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
41 linux,default-trigger = "phy1tpt";
42 };
43
44 wifi5g {
45 label = "blue:wifi5g";
46 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
47 linux,default-trigger = "phy0tpt";
48 };
49
50 wps {
51 label = "blue:wps";
52 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
53 };
54 };
55 };
56
57 &partitions {
58 art: partition@ff0000 {
59 label = "art";
60 reg = <0xff0000 0x010000>;
61 read-only;
62
63 nvmem-layout {
64 compatible = "fixed-layout";
65 #address-cells = <1>;
66 #size-cells = <1>;
67
68 macaddr_art_0: macaddr@0 {
69 compatible = "mac-base";
70 reg = <0x0 0x6>;
71 #nvmem-cell-cells = <1>;
72 };
73 };
74 };
75 };
76
77 &mdio0 {
78 status = "okay";
79
80 phy5: ethernet-phy@5 {
81 reg = <5>;
82 eee-broken-100tx;
83 eee-broken-1000t;
84 };
85 };
86
87 &eth0 {
88 status = "okay";
89
90 nvmem-cells = <&macaddr_art_0 0>;
91 nvmem-cell-names = "mac-address";
92
93 phy-handle = <&phy5>;
94 phy-mode = "rgmii-id";
95
96 pll-data = <0x82000000 0x80000101 0x80001313>;
97 };
98
99 &wmac {
100 status = "okay";
101
102 mtd-cal-data = <&art 0x1000>;
103
104 nvmem-cells = <&macaddr_art_0 1>;
105 nvmem-cell-names = "mac-address";
106 };
107
108 &pcie0 {
109 status = "okay";
110 };