Some of the features of the media_ctrl will be used by some
different drivers in a way those drivers will know best, so adding the
syscon compatible we allow those to do just that. Only the resets
and the clocks are registered bit the clk-blk-ctrl driver.

Signed-off-by: Abel Vesa <abel.v...@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8mp.dtsi | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi 
b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
index b985875..172c548 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
@@ -736,6 +736,23 @@
                        };
                };
 
+               aips4: bus@32c00000 {
+                       compatible = "simple-bus";
+                       reg = <0x32c00000 0x400000>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       ranges;
+
+                       media_blk_ctrl: media-blk-ctrl@32ec0000 {
+                               compatible = "fsl,imx8mp-media-blk-ctrl", 
"syscon";
+                               reg = <0x32ec0000 0x10000>;
+                               power-domains = <&mediamix_pd>;
+
+                               #clock-cells = <1>;
+                               #reset-cells = <1>;
+                       };
+               };
+
                aips5: bus@30c00000 {
                        compatible = "fsl,aips-bus", "simple-bus";
                        reg = <0x30c00000 0x400000>;
-- 
2.7.4

Reply via email to