a1bb29b0f31875685f28d6af39d65cb4055f1115
[openwrt/staging/jow.git] / target / linux / ath79 / dts / ar9344_mikrotik_routerboard-16m-nor.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar9344.dtsi"
4
5 &spi {
6 status = "okay";
7
8 flash@0 {
9 compatible = "jedec,spi-nor";
10 reg = <0>;
11 spi-max-frequency = <40000000>;
12
13 partitions {
14 compatible = "fixed-partitions";
15 #address-cells = <1>;
16 #size-cells = <1>;
17
18 partition@0 {
19 label = "RouterBoot";
20 reg = <0x0 0x20000>;
21 read-only;
22 compatible = "mikrotik,routerboot-partitions";
23 #address-cells = <1>;
24 #size-cells = <1>;
25
26 partition@0 {
27 label = "bootloader1";
28 reg = <0x0 0x0>;
29 read-only;
30 };
31
32 hard_config {
33 read-only;
34 };
35
36 bios {
37 size = <0x1000>;
38 read-only;
39 };
40
41 partition@10000 {
42 label = "bootloader2";
43 reg = <0x10000 0x0>;
44 read-only;
45 };
46
47 soft_config {
48 };
49 };
50
51 partition@20000 {
52 compatible = "mikrotik,minor";
53 label = "firmware";
54 reg = <0x020000 0xfe0000>;
55 };
56 };
57 };
58 };
59
60 &wmac {
61 status = "okay";
62
63 qca,no-eeprom;
64 };