1354d7675SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+ 2354d7675SEmmanuel Vadot/* 3354d7675SEmmanuel Vadot * Copyright 2019-2021 NXP 4354d7675SEmmanuel Vadot * Zhou Guoniu <guoniu.zhou@nxp.com> 5354d7675SEmmanuel Vadot */ 6354d7675SEmmanuel Vadotimg_ipg_clk: clock-img-ipg { 7354d7675SEmmanuel Vadot compatible = "fixed-clock"; 8354d7675SEmmanuel Vadot #clock-cells = <0>; 9354d7675SEmmanuel Vadot clock-frequency = <200000000>; 10354d7675SEmmanuel Vadot clock-output-names = "img_ipg_clk"; 11354d7675SEmmanuel Vadot}; 12354d7675SEmmanuel Vadot 13*84943d6fSEmmanuel Vadotimg_subsys: bus@58000000 { 14*84943d6fSEmmanuel Vadot compatible = "simple-bus"; 15*84943d6fSEmmanuel Vadot #address-cells = <1>; 16*84943d6fSEmmanuel Vadot #size-cells = <1>; 17*84943d6fSEmmanuel Vadot ranges = <0x58000000 0x0 0x58000000 0x1000000>; 18*84943d6fSEmmanuel Vadot 19354d7675SEmmanuel Vadot jpegdec: jpegdec@58400000 { 20354d7675SEmmanuel Vadot reg = <0x58400000 0x00050000>; 21*84943d6fSEmmanuel Vadot interrupts = <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>; 22354d7675SEmmanuel Vadot clocks = <&img_jpeg_dec_lpcg IMX_LPCG_CLK_0>, 23354d7675SEmmanuel Vadot <&img_jpeg_dec_lpcg IMX_LPCG_CLK_4>; 24354d7675SEmmanuel Vadot assigned-clocks = <&img_jpeg_dec_lpcg IMX_LPCG_CLK_0>, 25354d7675SEmmanuel Vadot <&img_jpeg_dec_lpcg IMX_LPCG_CLK_4>; 26354d7675SEmmanuel Vadot assigned-clock-rates = <200000000>, <200000000>; 27354d7675SEmmanuel Vadot power-domains = <&pd IMX_SC_R_MJPEG_DEC_MP>, 28*84943d6fSEmmanuel Vadot <&pd IMX_SC_R_MJPEG_DEC_S0>; 29354d7675SEmmanuel Vadot }; 30354d7675SEmmanuel Vadot 31354d7675SEmmanuel Vadot jpegenc: jpegenc@58450000 { 32354d7675SEmmanuel Vadot reg = <0x58450000 0x00050000>; 33*84943d6fSEmmanuel Vadot interrupts = <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>; 34354d7675SEmmanuel Vadot clocks = <&img_jpeg_enc_lpcg IMX_LPCG_CLK_0>, 35354d7675SEmmanuel Vadot <&img_jpeg_enc_lpcg IMX_LPCG_CLK_4>; 36354d7675SEmmanuel Vadot assigned-clocks = <&img_jpeg_enc_lpcg IMX_LPCG_CLK_0>, 37354d7675SEmmanuel Vadot <&img_jpeg_enc_lpcg IMX_LPCG_CLK_4>; 38354d7675SEmmanuel Vadot assigned-clock-rates = <200000000>, <200000000>; 39354d7675SEmmanuel Vadot power-domains = <&pd IMX_SC_R_MJPEG_ENC_MP>, 40*84943d6fSEmmanuel Vadot <&pd IMX_SC_R_MJPEG_ENC_S0>; 41354d7675SEmmanuel Vadot }; 42354d7675SEmmanuel Vadot 43354d7675SEmmanuel Vadot img_jpeg_dec_lpcg: clock-controller@585d0000 { 44354d7675SEmmanuel Vadot compatible = "fsl,imx8qxp-lpcg"; 45354d7675SEmmanuel Vadot reg = <0x585d0000 0x10000>; 46354d7675SEmmanuel Vadot #clock-cells = <1>; 47354d7675SEmmanuel Vadot clocks = <&img_ipg_clk>, <&img_ipg_clk>; 48354d7675SEmmanuel Vadot clock-indices = <IMX_LPCG_CLK_0>, 49354d7675SEmmanuel Vadot <IMX_LPCG_CLK_4>; 50354d7675SEmmanuel Vadot clock-output-names = "img_jpeg_dec_lpcg_clk", 51354d7675SEmmanuel Vadot "img_jpeg_dec_lpcg_ipg_clk"; 52354d7675SEmmanuel Vadot power-domains = <&pd IMX_SC_R_MJPEG_DEC_MP>; 53354d7675SEmmanuel Vadot }; 54354d7675SEmmanuel Vadot 55354d7675SEmmanuel Vadot img_jpeg_enc_lpcg: clock-controller@585f0000 { 56354d7675SEmmanuel Vadot compatible = "fsl,imx8qxp-lpcg"; 57354d7675SEmmanuel Vadot reg = <0x585f0000 0x10000>; 58354d7675SEmmanuel Vadot #clock-cells = <1>; 59354d7675SEmmanuel Vadot clocks = <&img_ipg_clk>, <&img_ipg_clk>; 60354d7675SEmmanuel Vadot clock-indices = <IMX_LPCG_CLK_0>, 61354d7675SEmmanuel Vadot <IMX_LPCG_CLK_4>; 62354d7675SEmmanuel Vadot clock-output-names = "img_jpeg_enc_lpcg_clk", 63354d7675SEmmanuel Vadot "img_jpeg_enc_lpcg_ipg_clk"; 64354d7675SEmmanuel Vadot power-domains = <&pd IMX_SC_R_MJPEG_ENC_MP>; 65354d7675SEmmanuel Vadot }; 66354d7675SEmmanuel Vadot}; 67