summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/imx7s-warp.dts
blob: a59823da02d40d43d3328076c79aa1cb25d520f6 (plain) (blame)
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
/*
 * The code contained herein is licensed under the GNU General Public
 * License. You may obtain a copy of the GNU General Public License
 * Version 2 or later at the following locations:
 *
 * http://www.opensource.org/licenses/gpl-license.html
 * http://www.gnu.org/copyleft/gpl.html
 */

#include <arm/imx7s-warp.dts>
#include "imx7s.dtsi"

/ {
	chosen {
		stdout-path = &uart1;

		environment@0 {
			compatible = "barebox,environment";
			device-path = &bareboxenv;
		};
	};

	memory {
		device_type = "memory";
		reg = <0x80000000 0x20000000>;
	};
};

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

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

		bareboxenv: bareboxenv@300000 {
			label = "bareboxenv";
			reg = <0x300000 0x0>;
		};
	};
};

/*
/* The watchdog pinctrl is attached to the wrong iomux controller in
 * the upstream dts file. This can be removed once we pull in the
 * corresponding fix from the upstream dts files.
 */
&wdog1 {
	pinctrl-0 = <&pinctrl_wdog_lpsr>;
};

&iomuxc_lpsr {
	pinctrl_wdog_lpsr: wdoggrp {
		fsl,pins = <
			MX7D_PAD_GPIO1_IO00__WDOD1_WDOG_B       0x74
		>;
	};
};