ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / ar9344_mikrotik_routerboard-951x-2hnd.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar9344_mikrotik_routerboard.dtsi"
4
5 &gpio {
6 nand_power {
7 gpio-hog;
8 gpios = <14 GPIO_ACTIVE_LOW>;
9 output-high;
10 };
11 };
12
13 &nand {
14 status = "okay";
15
16 nand-ecc-mode = "soft";
17 qca,nand-swap-dma;
18
19 partitions {
20 compatible = "fixed-partitions";
21 #address-cells = <1>;
22 #size-cells = <1>;
23
24 partition@0 {
25 label = "booter";
26 reg = <0x0000000 0x0040000>;
27 read-only;
28 };
29
30 partition@40000 {
31 label = "kernel";
32 reg = <0x0040000 0x03c0000>;
33 };
34
35 partition@400000 {
36 label = "ubi";
37 reg = <0x0400000 0x7c00000>;
38 };
39 };
40 };
41
42 &spi {
43 status = "okay";
44
45 flash@0 {
46 compatible = "jedec,spi-nor";
47 reg = <0>;
48 spi-max-frequency = <25000000>;
49
50 partitions {
51 compatible = "mikrotik,routerboot-partitions";
52 #address-cells = <1>;
53 #size-cells = <1>;
54
55 partition@0 {
56 label = "routerboot";
57 reg = <0x0 0x0>;
58 read-only;
59 };
60
61 hard_config: hard_config {
62 read-only;
63 };
64
65 bios {
66 size = <0x1000>;
67 read-only;
68 };
69
70 soft_config {
71 };
72 };
73 };
74 };
75
76 &usb {
77 status = "okay";
78 };
79
80 &usb_phy {
81 status = "okay";
82 };