ath79: qca: remove mac-address-increment
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9531_qxwlan_e600g.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca953x.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9 aliases {
10 label-mac-device = &eth0;
11 led-boot = &led_system;
12 led-failsafe = &led_system;
13 led-running = &led_system;
14 led-upgrade = &led_system;
15 };
16
17 keys: keys {
18 compatible = "gpio-keys";
19
20 reset {
21 label = "reset";
22 linux,code = <KEY_RESTART>;
23 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
24 debounce-interval = <60>;
25 };
26 };
27
28 leds: leds {
29 compatible = "gpio-leds";
30
31 led_system: system {
32 label = "blue:system";
33 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
34 default-state = "on";
35 };
36
37 wan {
38 label = "green:wan";
39 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
40 };
41
42 lan {
43 label = "green:lan";
44 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
45 };
46 };
47 };
48
49 &pcie0 {
50 status = "okay";
51 };
52
53 &spi {
54 status = "okay";
55
56 flash@0 {
57 compatible = "jedec,spi-nor";
58 reg = <0>;
59 spi-max-frequency = <25000000>;
60
61 partitions: partitions {
62 compatible = "fixed-partitions";
63 #address-cells = <1>;
64 #size-cells = <1>;
65
66 partition@0 {
67 label = "u-boot";
68 reg = <0x000000 0x040000>;
69 read-only;
70 };
71
72 partition@40000 {
73 label = "u-boot-env";
74 reg = <0x040000 0x010000>;
75 read-only;
76 };
77
78 pridata: partition@50000 {
79 label = "pri-data";
80 reg = <0x050000 0x010000>;
81 read-only;
82
83 nvmem-layout {
84 compatible = "fixed-layout";
85 #address-cells = <1>;
86 #size-cells = <1>;
87
88 macaddr_pridata_400: macaddr@400 {
89 compatible = "mac-base";
90 reg = <0x400 0x6>;
91 #nvmem-cell-cells = <1>;
92 };
93 };
94 };
95
96 art: partition@60000 {
97 label = "art";
98 reg = <0x060000 0x010000>;
99 read-only;
100 };
101 };
102 };
103 };
104
105 &eth0 {
106 status = "okay";
107
108 phy-handle = <&swphy4>;
109
110 nvmem-cells = <&macaddr_pridata_400 1>;
111 nvmem-cell-names = "mac-address";
112 };
113
114 &eth1 {
115 nvmem-cells = <&macaddr_pridata_400 0>;
116 nvmem-cell-names = "mac-address";
117 };
118
119 &wmac {
120 status = "okay";
121
122 mtd-cal-data = <&art 0x1000>;
123 };