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

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

#include <arm/nxp/imx/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;
};

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

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

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

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

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