summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/imx7d-zii-rmu2.dts
blob: 41566f54a112a080db148856d40db4673aba78c7 (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
// SPDX-License-Identifier: (GPL-2.0 OR MIT)

/*
 * Copyright (C) 2019 Zodiac Inflight Innovations
 */

#include <arm/imx7d-zii-rmu2.dts>
#include "imx7d-ddrc.dtsi"

/* FIXME: barebox serial is broken when barebox applies requested reparenting */
&uart2 {
	/delete-property/ assigned-clocks;
	/delete-property/ assigned-clock-parents;
};

&uart4 {
	/delete-property/ assigned-clocks;
	/delete-property/ assigned-clock-parents;
};

&ecspi1 {
	nor_flash: flash@0 {
		#address-cells = <1>;
		#size-cells = <1>;

		partition@0 {
			label = "barebox";
			reg = <0x0 0xc0000>;
		};

		partition@c0000 {
			label = "barebox-environment";
			reg = <0xc0000 0x40000>;
		};
	};
};

&uart4 {
	rave-sp {
		#address-cells = <1>;
		#size-cells = <1>;

		watchdog {
			nvmem-cells = <&boot_source>;
			nvmem-cell-names = "boot-source";
		};

		eeprom@a3 {
			boot_source: boot-source@83 {
				reg = <0x83 1>;
			};
		};
	};
};