ath79: fix label MAC address for Ubiquiti UniFi
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar7241_ubnt_unifi.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar7241_ubnt_unifi.dtsi"
4
5 / {
6 compatible = "ubnt,unifi", "qca,ar7241";
7 model = "Ubiquiti UniFi";
8
9 aliases {
10 label-mac-device = &eth0;
11 led-boot = &led_dome_green;
12 led-failsafe = &led_dome_green;
13 led-running = &led_dome_green;
14 led-upgrade = &led_dome_green;
15 };
16
17 leds {
18 compatible = "gpio-leds";
19
20 led_dome_green: dome_green {
21 label = "green:dome";
22 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
23 };
24
25 dome_orange {
26 label = "orange:dome";
27 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
28 };
29 };
30 };
31
32 &spi {
33 status = "okay";
34
35 flash@0 {
36 compatible = "jedec,spi-nor";
37 reg = <0>;
38 spi-max-frequency = <25000000>;
39
40 partitions {
41 compatible = "fixed-partitions";
42 #address-cells = <1>;
43 #size-cells = <1>;
44
45 partition@0 {
46 label = "u-boot";
47 reg = <0x000000 0x040000>;
48 read-only;
49 };
50
51 partition@40000 {
52 label = "u-boot-env";
53 reg = <0x040000 0x010000>;
54 read-only;
55 };
56
57 partition@50000 {
58 compatible = "denx,uimage";
59 label = "firmware";
60 reg = <0x050000 0x750000>;
61 };
62
63 partition@7a0000 {
64 label = "board_config";
65 reg = <0x7a0000 0x010000>;
66 read-only;
67 };
68
69 partition@7b0000 {
70 label = "cfg";
71 reg = <0x7b0000 0x040000>;
72 read-only;
73 };
74
75 art: partition@7f0000 {
76 label = "art";
77 reg = <0x7f0000 0x010000>;
78 read-only;
79 };
80 };
81 };
82 };
83
84 &eth1 {
85 compatible = "syscon", "simple-mfd";
86 };