1 // SPDX-License-Identifier: GPL-2.0-only and M 1 // SPDX-License-Identifier: GPL-2.0-only and MIT 2 2 3 /* 3 /* 4 * Copyright 2024 NXP 4 * Copyright 2024 NXP 5 */ 5 */ 6 6 7 mipi0_subsys: bus@56220000 { 7 mipi0_subsys: bus@56220000 { 8 compatible = "simple-bus"; 8 compatible = "simple-bus"; 9 interrupt-parent = <&irqsteer_mipi0>; 9 interrupt-parent = <&irqsteer_mipi0>; 10 #address-cells = <1>; 10 #address-cells = <1>; 11 #size-cells = <1>; 11 #size-cells = <1>; 12 ranges = <0x56220000 0x0 0x56220000 0x 12 ranges = <0x56220000 0x0 0x56220000 0x10000>; 13 13 14 irqsteer_mipi0: interrupt-controller@5 14 irqsteer_mipi0: interrupt-controller@56220000 { 15 compatible = "fsl,imx8qxp-irqs 15 compatible = "fsl,imx8qxp-irqsteer", "fsl,imx-irqsteer"; 16 reg = <0x56220000 0x1000>; 16 reg = <0x56220000 0x1000>; 17 interrupts = <GIC_SPI 59 IRQ_T 17 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>; 18 interrupt-controller; 18 interrupt-controller; 19 interrupt-parent = <&gic>; 19 interrupt-parent = <&gic>; 20 #interrupt-cells = <1>; 20 #interrupt-cells = <1>; 21 clocks = <&mipi0_lis_lpcg IMX_ 21 clocks = <&mipi0_lis_lpcg IMX_LPCG_CLK_0>; 22 clock-names = "ipg"; 22 clock-names = "ipg"; 23 power-domains = <&pd IMX_SC_R_ 23 power-domains = <&pd IMX_SC_R_MIPI_0>; 24 fsl,channel = <0>; 24 fsl,channel = <0>; 25 fsl,num-irqs = <32>; 25 fsl,num-irqs = <32>; 26 }; 26 }; 27 27 28 mipi0_lis_lpcg: clock-controller@56223 28 mipi0_lis_lpcg: clock-controller@56223000 { 29 compatible = "fsl,imx8qxp-lpcg 29 compatible = "fsl,imx8qxp-lpcg"; 30 reg = <0x56223000 0x4>; 30 reg = <0x56223000 0x4>; 31 #clock-cells = <1>; 31 #clock-cells = <1>; 32 power-domains = <&pd IMX_SC_R_ 32 power-domains = <&pd IMX_SC_R_MIPI_0>; 33 }; 33 }; 34 34 35 mipi0_pwm_lpcg: clock-controller@56223 35 mipi0_pwm_lpcg: clock-controller@5622300c { 36 compatible = "fsl,imx8qxp-lpcg 36 compatible = "fsl,imx8qxp-lpcg"; 37 reg = <0x5622300c 0x4>; 37 reg = <0x5622300c 0x4>; 38 #clock-cells = <1>; 38 #clock-cells = <1>; 39 power-domains = <&pd IMX_SC_R_ 39 power-domains = <&pd IMX_SC_R_MIPI_0_PWM_0>; 40 }; 40 }; 41 41 42 mipi0_i2c0_lpcg_ipg_clk: clock-control 42 mipi0_i2c0_lpcg_ipg_clk: clock-controller@56223014 { 43 compatible = "fsl,imx8qxp-lpcg 43 compatible = "fsl,imx8qxp-lpcg"; 44 reg = <0x56223014 0x4>; 44 reg = <0x56223014 0x4>; 45 #clock-cells = <1>; 45 #clock-cells = <1>; 46 clocks = <&mipi0_i2c0_lpcg_ipg 46 clocks = <&mipi0_i2c0_lpcg_ipg_s_clk IMX_LPCG_CLK_0>; 47 clock-indices = <IMX_LPCG_CLK_ 47 clock-indices = <IMX_LPCG_CLK_0>; 48 clock-output-names = "mipi0_i2 48 clock-output-names = "mipi0_i2c0_lpcg_ipg_clk"; 49 power-domains = <&pd IMX_SC_R_ 49 power-domains = <&pd IMX_SC_R_MIPI_0_I2C_0>; 50 }; 50 }; 51 51 52 mipi0_i2c0_lpcg_ipg_s_clk: clock-contr 52 mipi0_i2c0_lpcg_ipg_s_clk: clock-controller@56223018 { 53 compatible = "fsl,imx8qxp-lpcg 53 compatible = "fsl,imx8qxp-lpcg"; 54 reg = <0x56223018 0x4>; 54 reg = <0x56223018 0x4>; 55 #clock-cells = <1>; 55 #clock-cells = <1>; 56 clocks = <&dsi_ipg_clk>; 56 clocks = <&dsi_ipg_clk>; 57 clock-indices = <IMX_LPCG_CLK_ 57 clock-indices = <IMX_LPCG_CLK_0>; 58 clock-output-names = "mipi0_i2 58 clock-output-names = "mipi0_i2c0_lpcg_ipg_s_clk"; 59 power-domains = <&pd IMX_SC_R_ 59 power-domains = <&pd IMX_SC_R_MIPI_0_I2C_0>; 60 }; 60 }; 61 61 62 mipi0_i2c0_lpcg_clk: clock-controller@ 62 mipi0_i2c0_lpcg_clk: clock-controller@5622301c { 63 compatible = "fsl,imx8qxp-lpcg 63 compatible = "fsl,imx8qxp-lpcg"; 64 reg = <0x5622301c 0x4>; 64 reg = <0x5622301c 0x4>; 65 #clock-cells = <1>; 65 #clock-cells = <1>; 66 clocks = <&clk IMX_SC_R_MIPI_0 66 clocks = <&clk IMX_SC_R_MIPI_0_I2C_0 IMX_SC_PM_CLK_MISC2>; 67 clock-indices = <IMX_LPCG_CLK_ 67 clock-indices = <IMX_LPCG_CLK_0>; 68 clock-output-names = "mipi0_i2 68 clock-output-names = "mipi0_i2c0_lpcg_clk"; 69 power-domains = <&pd IMX_SC_R_ 69 power-domains = <&pd IMX_SC_R_MIPI_0_I2C_0>; 70 }; 70 }; 71 71 72 mipi0_i2c1_lpcg_ipg_clk: clock-control 72 mipi0_i2c1_lpcg_ipg_clk: clock-controller@56223024 { 73 compatible = "fsl,imx8qxp-lpcg 73 compatible = "fsl,imx8qxp-lpcg"; 74 reg = <0x56223024 0x4>; 74 reg = <0x56223024 0x4>; 75 #clock-cells = <1>; 75 #clock-cells = <1>; 76 clocks = <&mipi0_i2c1_lpcg_ipg 76 clocks = <&mipi0_i2c1_lpcg_ipg_s_clk IMX_LPCG_CLK_0>; 77 clock-indices = <IMX_LPCG_CLK_ 77 clock-indices = <IMX_LPCG_CLK_0>; 78 clock-output-names = "mipi0_i2 78 clock-output-names = "mipi0_i2c1_lpcg_ipg_clk"; 79 power-domains = <&pd IMX_SC_R_ 79 power-domains = <&pd IMX_SC_R_MIPI_0_I2C_1>; 80 }; 80 }; 81 81 82 mipi0_i2c1_lpcg_ipg_s_clk: clock-contr 82 mipi0_i2c1_lpcg_ipg_s_clk: clock-controller@56223028 { 83 compatible = "fsl,imx8qxp-lpcg 83 compatible = "fsl,imx8qxp-lpcg"; 84 reg = <0x56223028 0x4>; 84 reg = <0x56223028 0x4>; 85 #clock-cells = <1>; 85 #clock-cells = <1>; 86 clocks = <&dsi_ipg_clk>; 86 clocks = <&dsi_ipg_clk>; 87 clock-indices = <IMX_LPCG_CLK_ 87 clock-indices = <IMX_LPCG_CLK_0>; 88 clock-output-names = "mipi0_i2 88 clock-output-names = "mipi0_i2c1_lpcg_ipg_s_clk"; 89 power-domains = <&pd IMX_SC_R_ 89 power-domains = <&pd IMX_SC_R_MIPI_0_I2C_1>; 90 }; 90 }; 91 91 92 mipi0_i2c1_lpcg_clk: clock-controller@ 92 mipi0_i2c1_lpcg_clk: clock-controller@5622302c { 93 compatible = "fsl,imx8qxp-lpcg 93 compatible = "fsl,imx8qxp-lpcg"; 94 reg = <0x5622302c 0x4>; 94 reg = <0x5622302c 0x4>; 95 #clock-cells = <1>; 95 #clock-cells = <1>; 96 clocks = <&clk IMX_SC_R_MIPI_0 96 clocks = <&clk IMX_SC_R_MIPI_0_I2C_1 IMX_SC_PM_CLK_MISC2>; 97 clock-indices = <IMX_LPCG_CLK_ 97 clock-indices = <IMX_LPCG_CLK_0>; 98 clock-output-names = "mipi0_i2 98 clock-output-names = "mipi0_i2c1_lpcg_clk"; 99 power-domains = <&pd IMX_SC_R_ 99 power-domains = <&pd IMX_SC_R_MIPI_0_I2C_1>; 100 }; 100 }; 101 101 102 pwm_mipi0: pwm@56224000 { 102 pwm_mipi0: pwm@56224000 { 103 compatible = "fsl,imx8qxp-pwm" 103 compatible = "fsl,imx8qxp-pwm", "fsl,imx27-pwm"; 104 reg = <0x56224000 0x1000>; 104 reg = <0x56224000 0x1000>; 105 clocks = <&mipi0_pwm_lpcg IMX_ 105 clocks = <&mipi0_pwm_lpcg IMX_LPCG_CLK_4>, 106 <&mipi0_pwm_lpcg IMX_ 106 <&mipi0_pwm_lpcg IMX_LPCG_CLK_0>; 107 clock-names = "ipg", "per"; 107 clock-names = "ipg", "per"; 108 assigned-clocks = <&clk IMX_SC 108 assigned-clocks = <&clk IMX_SC_R_MIPI_0_PWM_0 IMX_SC_PM_CLK_PER>; 109 assigned-clock-rates = <240000 109 assigned-clock-rates = <24000000>; 110 #pwm-cells = <3>; 110 #pwm-cells = <3>; 111 power-domains = <&pd IMX_SC_R_ 111 power-domains = <&pd IMX_SC_R_MIPI_0_PWM_0>; 112 status = "disabled"; 112 status = "disabled"; 113 }; 113 }; 114 114 115 i2c0_mipi0: i2c@56226000 { 115 i2c0_mipi0: i2c@56226000 { 116 compatible = "fsl,imx8qm-lpi2c 116 compatible = "fsl,imx8qm-lpi2c", "fsl,imx7ulp-lpi2c"; 117 reg = <0x56226000 0x1000>; 117 reg = <0x56226000 0x1000>; 118 #address-cells = <1>; 118 #address-cells = <1>; 119 #size-cells = <0>; 119 #size-cells = <0>; 120 interrupts = <8>; 120 interrupts = <8>; 121 clocks = <&mipi0_i2c0_lpcg_clk 121 clocks = <&mipi0_i2c0_lpcg_clk IMX_LPCG_CLK_0>, 122 <&mipi0_i2c0_lpcg_ipg 122 <&mipi0_i2c0_lpcg_ipg_clk IMX_LPCG_CLK_0>; 123 clock-names = "per", "ipg"; 123 clock-names = "per", "ipg"; 124 assigned-clocks = <&mipi0_i2c0 124 assigned-clocks = <&mipi0_i2c0_lpcg_clk IMX_LPCG_CLK_0>; 125 assigned-clock-rates = <240000 125 assigned-clock-rates = <24000000>; 126 power-domains = <&pd IMX_SC_R_ 126 power-domains = <&pd IMX_SC_R_MIPI_0_I2C_0>; 127 status = "disabled"; 127 status = "disabled"; 128 }; 128 }; 129 }; 129 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.