summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8mp-evk-root.dts
blob: 747805e4c6ae69e6182afe02d58178c5d0600c38 (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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright 2019 NXP
 */

#include "imx8mp-evk.dts"

/ {
	interrupt-parent = <&gic>;

	resmem: reserved-memory {
		#address-cells = <2>;
		#size-cells = <2>;
		ranges;
	};
};

&cpu_pd_wait {
	/delete-property/ compatible;
};

&clk {
	init-on-array = <IMX8MP_CLK_USDHC3_ROOT
			 IMX8MP_CLK_NAND_USDHC_BUS
			 IMX8MP_CLK_HSIO_ROOT
			 IMX8MP_CLK_UART4_ROOT>;
};

&{/busfreq} {
	status = "disabled";
};

&{/reserved-memory} {
	jh_reserved: jh@fdc00000 {
		no-map;
		reg = <0 0xfdc00000 0x0 0x400000>;
	};

	loader_reserved: loader@fdb00000 {
		no-map;
		reg = <0 0xfdb00000 0x0 0x00100000>;
	};

	ivshmem_reserved: ivshmem@fda00000 {
		no-map;
		reg = <0 0xfda00000 0x0 0x00100000>;
	};

	ivshmem2_reserved: ivshmem2@fd900000 {
		no-map;
		reg = <0 0xfd900000 0x0 0x00100000>;
	};

	pci_reserved: pci@fd700000 {
		no-map;
		reg = <0 0xfd700000 0x0 0x00200000>;
	};

	inmate_reserved: inmate@c0000000 {
		no-map;
		reg = <0 0xc0000000 0x0 0x3d700000>;
	};
};

&{/reserved-memory/linux,cma} {
	size = <0 0x28000000>;
	alloc-ranges = <0 0x40000000 0 0x60000000>;
};

&iomuxc {
	pinctrl_uart4: uart4grp {
		fsl,pins = <
			MX8MP_IOMUXC_UART4_RXD__UART4_DCE_RX	0x49
			MX8MP_IOMUXC_UART4_TXD__UART4_DCE_TX	0x49
		>;
	};
};

&usdhc3 {
	status = "disabled";
};

&uart4 {
	/delete-property/ dmas;	
	/delete-property/ dma-names;
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_uart4>;
	status = "disabled";
};

&uart2 {
	/* uart4 is used by the 2nd OS, so configure pin and clk */
	pinctrl-0 = <&pinctrl_uart2>, <&pinctrl_uart4>;
	assigned-clocks = <&clk IMX8MP_CLK_UART4>;
	assigned-clock-parents = <&clk IMX8MP_CLK_24M>;
};

&usdhc2 {
	pinctrl-0 = <&pinctrl_usdhc3>, <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
	pinctrl-1 = <&pinctrl_usdhc3>, <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
	pinctrl-2 = <&pinctrl_usdhc3>, <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
};