xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/imx8-ss-vpu.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1d5b0e70fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+
2d5b0e70fSEmmanuel Vadot/*
3d5b0e70fSEmmanuel Vadot * Copyright 2021 NXP
4d5b0e70fSEmmanuel Vadot *	Dong Aisheng <aisheng.dong@nxp.com>
5d5b0e70fSEmmanuel Vadot */
6d5b0e70fSEmmanuel Vadot
7d5b0e70fSEmmanuel Vadotvpu: vpu@2c000000 {
8d5b0e70fSEmmanuel Vadot	#address-cells = <1>;
9d5b0e70fSEmmanuel Vadot	#size-cells = <1>;
10d5b0e70fSEmmanuel Vadot	ranges = <0x2c000000 0x0 0x2c000000 0x2000000>;
11d5b0e70fSEmmanuel Vadot	reg = <0 0x2c000000 0 0x1000000>;
12d5b0e70fSEmmanuel Vadot	power-domains = <&pd IMX_SC_R_VPU>;
13d5b0e70fSEmmanuel Vadot	status = "disabled";
14d5b0e70fSEmmanuel Vadot
15d5b0e70fSEmmanuel Vadot	mu_m0: mailbox@2d000000 {
16d5b0e70fSEmmanuel Vadot		compatible = "fsl,imx6sx-mu";
17d5b0e70fSEmmanuel Vadot		reg = <0x2d000000 0x20000>;
18*b2d2a78aSEmmanuel Vadot		interrupts = <GIC_SPI 472 IRQ_TYPE_LEVEL_HIGH>;
19d5b0e70fSEmmanuel Vadot		#mbox-cells = <2>;
20d5b0e70fSEmmanuel Vadot		power-domains = <&pd IMX_SC_R_VPU_MU_0>;
21d5b0e70fSEmmanuel Vadot		status = "disabled";
22d5b0e70fSEmmanuel Vadot	};
23d5b0e70fSEmmanuel Vadot
24d5b0e70fSEmmanuel Vadot	mu1_m0: mailbox@2d020000 {
25d5b0e70fSEmmanuel Vadot		compatible = "fsl,imx6sx-mu";
26d5b0e70fSEmmanuel Vadot		reg = <0x2d020000 0x20000>;
27*b2d2a78aSEmmanuel Vadot		interrupts = <GIC_SPI 473 IRQ_TYPE_LEVEL_HIGH>;
28d5b0e70fSEmmanuel Vadot		#mbox-cells = <2>;
29d5b0e70fSEmmanuel Vadot		power-domains = <&pd IMX_SC_R_VPU_MU_1>;
30d5b0e70fSEmmanuel Vadot		status = "disabled";
31d5b0e70fSEmmanuel Vadot	};
32d5b0e70fSEmmanuel Vadot
33d5b0e70fSEmmanuel Vadot	mu2_m0: mailbox@2d040000 {
34d5b0e70fSEmmanuel Vadot		compatible = "fsl,imx6sx-mu";
35d5b0e70fSEmmanuel Vadot		reg = <0x2d040000 0x20000>;
36d5b0e70fSEmmanuel Vadot		interrupts = <GIC_SPI 474 IRQ_TYPE_LEVEL_HIGH>;
37d5b0e70fSEmmanuel Vadot		#mbox-cells = <2>;
38d5b0e70fSEmmanuel Vadot		power-domains = <&pd IMX_SC_R_VPU_MU_2>;
39d5b0e70fSEmmanuel Vadot		status = "disabled";
40d5b0e70fSEmmanuel Vadot	};
41d5b0e70fSEmmanuel Vadot
42d5b0e70fSEmmanuel Vadot	vpu_core0: vpu-core@2d080000 {
43d5b0e70fSEmmanuel Vadot		reg = <0x2d080000 0x10000>;
44d5b0e70fSEmmanuel Vadot		compatible = "nxp,imx8q-vpu-decoder";
45d5b0e70fSEmmanuel Vadot		power-domains = <&pd IMX_SC_R_VPU_DEC_0>;
46d5b0e70fSEmmanuel Vadot		mbox-names = "tx0", "tx1", "rx";
47d5b0e70fSEmmanuel Vadot		mboxes = <&mu_m0 0 0>,
48d5b0e70fSEmmanuel Vadot			<&mu_m0 0 1>,
49d5b0e70fSEmmanuel Vadot			<&mu_m0 1 0>;
50d5b0e70fSEmmanuel Vadot		status = "disabled";
51d5b0e70fSEmmanuel Vadot	};
52d5b0e70fSEmmanuel Vadot
53d5b0e70fSEmmanuel Vadot	vpu_core1: vpu-core@2d090000 {
54d5b0e70fSEmmanuel Vadot		reg = <0x2d090000 0x10000>;
55d5b0e70fSEmmanuel Vadot		compatible = "nxp,imx8q-vpu-encoder";
56d5b0e70fSEmmanuel Vadot		power-domains = <&pd IMX_SC_R_VPU_ENC_0>;
57d5b0e70fSEmmanuel Vadot		mbox-names = "tx0", "tx1", "rx";
58d5b0e70fSEmmanuel Vadot		mboxes = <&mu1_m0 0 0>,
59d5b0e70fSEmmanuel Vadot			<&mu1_m0 0 1>,
60d5b0e70fSEmmanuel Vadot			<&mu1_m0 1 0>;
61d5b0e70fSEmmanuel Vadot		status = "disabled";
62d5b0e70fSEmmanuel Vadot	};
63d5b0e70fSEmmanuel Vadot
64d5b0e70fSEmmanuel Vadot	vpu_core2: vpu-core@2d0a0000 {
65d5b0e70fSEmmanuel Vadot		reg = <0x2d0a0000 0x10000>;
66d5b0e70fSEmmanuel Vadot		compatible = "nxp,imx8q-vpu-encoder";
67d5b0e70fSEmmanuel Vadot		power-domains = <&pd IMX_SC_R_VPU_ENC_1>;
68d5b0e70fSEmmanuel Vadot		mbox-names = "tx0", "tx1", "rx";
69d5b0e70fSEmmanuel Vadot		mboxes = <&mu2_m0 0 0>,
70d5b0e70fSEmmanuel Vadot			<&mu2_m0 0 1>,
71d5b0e70fSEmmanuel Vadot			<&mu2_m0 1 0>;
72d5b0e70fSEmmanuel Vadot		status = "disabled";
73d5b0e70fSEmmanuel Vadot	};
74d5b0e70fSEmmanuel Vadot};
75