summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/imx8mp.dtsi
blob: 4d1f1bf58827235b8cc72d18ab0c106a1275e013 (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
// SPDX-License-Identifier: (GPL-2.0 OR MIT)

#include <dt-bindings/features/imx8m.h>

/ {
	remoteproc_cm7: remoteproc-cm7 {
		compatible = "fsl,imx8mp-cm7";
		clocks = <&clk IMX8MP_CLK_M7_CORE>;
		syscon = <&src>;
	};

	aliases {
		pwm0 = &pwm1;
		pwm1 = &pwm2;
		pwm2 = &pwm3;
		pwm3 = &pwm4;
	};

	chosen {
		barebox,bootsource-mmc0 = &usdhc1;
		barebox,bootsource-mmc1 = &usdhc2;
		barebox,bootsource-mmc2 = &usdhc3;
	};
};

/*
 * The DSP reserved memory will collide with the Barebox malloc area for some
 * DRAM sizes, even though the DSP itself is disabled in most configurations.
 */
/delete-node/ &dsp_reserved;
&dsp {
	barebox,feature-gates = <&feat IMX8M_FEAT_DSP>;
	/delete-property/ memory-region;
	status = "disabled";
};

&edacmc {
	compatible = "fsl,imx8mp-ddrc", "fsl,imx8m-ddrc", "snps,ddrc-3.80a";
};

feat: &ocotp {
	#feature-cells = <1>;
	barebox,feature-controller;
};

&pgc_gpu2d {
	barebox,feature-gates = <&feat IMX8M_FEAT_GPU>;
};

&pgc_gpu3d {
	barebox,feature-gates = <&feat IMX8M_FEAT_GPU>;
};

&pgc_gpumix {
	barebox,feature-gates = <&feat IMX8M_FEAT_GPU>;
};

&mipi_dsi {
	barebox,feature-gates = <&feat IMX8M_FEAT_MIPI_DSI>;
};

&lcdif1 {
	barebox,feature-gates = <&feat IMX8M_FEAT_MIPI_DSI>;
};

&gpu3d {
	barebox,feature-gates = <&feat IMX8M_FEAT_GPU>;
};

&gpu2d {
	barebox,feature-gates = <&feat IMX8M_FEAT_GPU>;
};

&pgc_vpumix {
	barebox,feature-gates = <&feat IMX8M_FEAT_VPU>;
};

&pgc_vpu_g1 {
	barebox,feature-gates = <&feat IMX8M_FEAT_VPU>;
};

&pgc_vpu_g2 {
	barebox,feature-gates = <&feat IMX8M_FEAT_VPU>;
};

&pgc_vpu_vc8000e {
	barebox,feature-gates = <&feat IMX8M_FEAT_VPU>;
};

&vpu_g1 {
	barebox,feature-gates = <&feat IMX8M_FEAT_VPU>;
};

&vpu_g2 {
	barebox,feature-gates = <&feat IMX8M_FEAT_VPU>;
};

&vpumix_blk_ctrl {
	barebox,feature-gates = <&feat IMX8M_FEAT_VPU>;
};

&pgc_mlmix {
	barebox,feature-gates = <&feat IMX8M_FEAT_NPU>;
};

&lcdif2 {
	barebox,feature-gates = <&feat IMX8M_FEAT_LVDS>;
};

&lvds_bridge {
	barebox,feature-gates = <&feat IMX8M_FEAT_LVDS>;
};