// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2024 NXP * Dong Aisheng */ #include #include cm41_ipg_clk: clock-cm41-ipg { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <132000000>; clock-output-names = "cm41_ipg_clk"; }; cm41_subsys: bus@38000000 { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>; ranges = <0x38000000 0x0 0x38000000 0x4000000>; interrupt-parent = <&cm41_intmux>; cm41_i2c: i2c@3b230000 { compatible = "fsl,imx8qxp-lpi2c", "fsl,imx7ulp-lpi2c"; reg = <0x3b230000 0x1000>; interrupts = <9 IRQ_TYPE_LEVEL_HIGH>; clocks = <&cm41_i2c_lpcg IMX_LPCG_CLK_0>, <&cm41_i2c_lpcg IMX_LPCG_CLK_4>; clock-names = "per", "ipg"; assigned-clocks = <&clk IMX_SC_R_M4_1_I2C IMX_SC_PM_CLK_PER>; assigned-clock-rates = <24000000>; power-domains = <&pd IMX_SC_R_M4_1_I2C>; status = "disabled"; }; cm41_intmux: intmux@3b400000 { compatible = "fsl,imx-intmux"; reg = <0x3b400000 0x1000>; interrupt-parent = <&gic>; interrupts = , , , , , , , ; interrupt-controller; #interrupt-cells = <2>; clocks = <&cm41_ipg_clk>; clock-names = "ipg"; power-domains = <&pd IMX_SC_R_M4_1_INTMUX>; status = "disabled"; }; cm41_i2c_lpcg: clock-controller@3b630000 { compatible = "fsl,imx8qxp-lpcg"; reg = <0x3b630000 0x1000>; #clock-cells = <1>; clocks = <&clk IMX_SC_R_M4_1_I2C IMX_SC_PM_CLK_PER>, <&cm41_ipg_clk>; clock-indices = , ; clock-output-names = "cm41_lpcg_i2c_clk", "cm41_lpcg_i2c_ipg_clk"; power-domains = <&pd IMX_SC_R_M4_1_I2C>; }; };