blob: 74e4d6625b54d1b9a6e45707fc9f21bfc0b45c6c [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright(c) 2017 Kristian Evensen <kristian.evensen@gmail.com>.
4 * Copyright(c) 2017 Piotr Dymacz <pepe2k@gmail.com>.
5 * Copyright(c) 2018 Nishant Sharma <codemarauder@gmail.com>.
6 * All rights reserved.
7 */
8
9#include "mt7621_unielec_u7621-06.dtsi"
10
11/ {
12 compatible = "unielec,u7621-06-64m", "unielec,u7621-06", "mediatek,mt7621-soc";
13 model = "UniElec U7621-06 (64M flash)";
14};
15
16&spi0 {
17 status = "okay";
18
19 flash@0 {
20 compatible = "jedec,spi-nor";
21 reg = <0>;
22 spi-max-frequency = <10000000>;
23
24 partitions {
25 compatible = "fixed-partitions";
26 #address-cells = <1>;
27 #size-cells = <1>;
28
29 partition@0 {
30 label = "bootloader";
31 reg = <0x0 0x30000>;
32 read-only;
33 };
34
35 partition@30000 {
36 label = "config";
37 reg = <0x30000 0x10000>;
38 read-only;
39 };
40
41 factory: partition@40000 {
42 label = "factory";
43 reg = <0x40000 0x10000>;
44 read-only;
45 };
46
47 firmware: partition@50000 {
48 compatible = "denx,uimage";
49 label = "firmware";
50 reg = <0x50000 0x3fb0000>;
51 };
52 };
53 };
54};