summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/airoha/en7581-evb.dts
blob: d53b72d18242e3cee8b37c7b1b719d662fd6db8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
/dts-v1/;

/* Bootloader installs ATF here */
/memreserve/ 0x80000000 0x200000;

#include "en7581.dtsi"

/ {
	model = "Airoha EN7581 Evaluation Board";
	compatible = "airoha,en7581-evb", "airoha,en7581";

	aliases {
		serial0 = &uart1;
	};

	chosen {
		stdout-path = "serial0:115200n8";
		linux,usable-memory-range = <0x0 0x80200000 0x0 0x1fe00000>;
	};

	memory@80000000 {
		device_type = "memory";
		reg = <0x0 0x80000000 0x2 0x00000000>;
	};
};

&spi_nand {
	partitions {
		compatible = "fixed-partitions";
		#address-cells = <1>;
		#size-cells = <1>;

		bootloader@0 {
			label = "bootloader";
			reg = <0x00000000 0x00080000>;
			read-only;
		};

		art@200000 {
			label = "art";
			reg = <0x00200000 0x00400000>;
		};

		tclinux@600000 {
			label = "tclinux";
			reg = <0x00600000 0x03200000>;
		};

		tclinux_slave@3800000 {
			label = "tclinux_alt";
			reg = <0x03800000 0x03200000>;
		};

		rootfs_data@6a00000 {
			label = "rootfs_data";
			reg = <0x06a00000 0x01400000>;
		};

		reserved_bmt@7e00000 {
			label = "reserved_bmt";
			reg = <0x07e00000 0x00200000>;
			read-only;
		};
	};
};

&i2c0 {
	status = "okay";
};