summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8mn-evk-lk.dts
blob: af6744a56fab4319dbedd53f3368b36e16189684 (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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright 2021 NXP
 */

#include "imx8mn-evk.dts"

&{/} {
	ivshm_rpmsg {
		compatible = "fsl,ivshm-rpmsg";

		rpmsg_console {
			compatible = "fsl,rpmsg-console";
			id = <2>;
			size = <16384>;
		};
	};

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

		linux,cma {
			compatible = "shared-dma-pool";
			reusable;
			size = <0 0x28000000>;
			alloc-ranges = <0 0x40000000 0 0x40000000>;
			linux,cma-default;
		};

		ivshmem_reserved: ivshmem@0xbba00000 {
			no-map;
			reg = <0 0xbba00000 0x0 0x00400000>;
		};

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

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

		jh_reserved: jh@0xb7c00000 {
			no-map;
			reg = <0 0xb7c00000 0x0 0x00400000>;
		};

		/* 512MB */
		inmate_reserved: inmate@0x93c00000 {
			no-map;
			reg = <0 0x93c00000 0x0 0x20000000>;
		};
	};
};

&clk {
	init-on-array = <IMX8MN_CLK_NAND_USDHC_BUS
			 IMX8MN_CLK_USDHC3_ROOT
			 IMX8MN_CLK_UART4_ROOT>;
};

&gpio5 {
	status = "disabled";
};

&i2c3 {
	status = "disabled";
};

&iomuxc {
	/*
	 * Used for the 2nd Linux.
	 * TODO: M4 may use these pins.
	 */
	pinctrl_uart4: uart4grp {
		fsl,pins = <
			MX8MN_IOMUXC_UART4_RXD_UART4_DCE_RX	0x140
			MX8MN_IOMUXC_UART4_TXD_UART4_DCE_TX	0x140
		>;
	};
};

&micfil {
	status = "disabled";
};

&sai3 {
	status = "disabled";
};

&sai5 {
	status = "disabled";
};

&sdma3 {
	status = "disabled";
};

&usdhc3 {
	status = "disabled";
};

&spdif1 {
	status = "disabled";
};

&uart2 {
	pinctrl-0 = <&pinctrl_uart2>, <&pinctrl_uart4>;
	assigned-clocks = <&clk IMX8MN_CLK_UART4>;
	assigned-clock-parents = <&clk IMX8MN_CLK_24M>;
};

&usdhc3 {
	status = "disabled";
};

&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>;
};