ath79: fix MAC address assignment for TP-Link ar7241 devices
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9533_mikrotik_routerboard-16m.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 serial0 = &uart;
11 };
12
13 keys {
14 compatible = "gpio-keys";
15
16 reset {
17 label = "reset";
18 linux,code = <KEY_RESTART>;
19 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
20 debounce-interval = <60>;
21 };
22 };
23 };
24
25 &spi {
26 status = "okay";
27
28 flash@0 {
29 compatible = "jedec,spi-nor";
30 reg = <0>;
31 spi-max-frequency = <40000000>;
32
33 partitions {
34 compatible = "fixed-partitions";
35 #address-cells = <1>;
36 #size-cells = <1>;
37
38 partition@0 {
39 label = "RouterBoot";
40 reg = <0x0 0x20000>;
41 compatible = "mikrotik,routerboot-partitions";
42 #address-cells = <1>;
43 #size-cells = <1>;
44
45 partition@0 {
46 label = "bootloader1";
47 reg = <0x0 0x0>;
48 read-only;
49 };
50
51 hard_config {
52 read-only;
53 };
54
55 bios {
56 size = <0x1000>;
57 read-only;
58 };
59
60 partition@10000 {
61 label = "bootloader2";
62 reg = <0x10000 0x0>;
63 read-only;
64 };
65
66 soft_config {
67 };
68 };
69
70 partition@20000 {
71 compatible = "mikrotik,minor";
72 label = "firmware";
73 reg = <0x020000 0xfe0000>;
74 };
75 };
76 };
77 };
78
79 &wmac {
80 status = "okay";
81
82 qca,no-eeprom;
83 };