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 mipi1_subsys: bus@57220000 { 7 mipi1_subsys: bus@57220000 { 8 compatible = "simple-bus"; 8 compatible = "simple-bus"; 9 interrupt-parent = <&irqsteer_mipi1>; 9 interrupt-parent = <&irqsteer_mipi1>; 10 #address-cells = <1>; 10 #address-cells = <1>; 11 #size-cells = <1>; 11 #size-cells = <1>; 12 ranges = <0x57220000 0x0 0x57220000 0x 12 ranges = <0x57220000 0x0 0x57220000 0x10000>; 13 13 14 irqsteer_mipi1: interrupt-controller@5 14 irqsteer_mipi1: interrupt-controller@57220000 { 15 compatible = "fsl,imx8qm-irqst 15 compatible = "fsl,imx8qm-irqsteer", "fsl,imx-irqsteer"; 16 reg = <0x57220000 0x1000>; 16 reg = <0x57220000 0x1000>; 17 interrupts = <GIC_SPI 60 IRQ_T 17 interrupts = <GIC_SPI 60 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 = <&mipi1_lis_lpcg IMX_ 21 clocks = <&mipi1_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_1>; 24 fsl,channel = <0>; 24 fsl,channel = <0>; 25 fsl,num-irqs = <32>; 25 fsl,num-irqs = <32>; 26 }; 26 }; 27 27 28 mipi1_lis_lpcg: clock-controller@57223 28 mipi1_lis_lpcg: clock-controller@57223000 { 29 compatible = "fsl,imx8qxp-lpcg 29 compatible = "fsl,imx8qxp-lpcg"; 30 reg = <0x57223000 0x4>; 30 reg = <0x57223000 0x4>; 31 #clock-cells = <1>; 31 #clock-cells = <1>; 32 clocks = <&dsi_ipg_clk>; 32 clocks = <&dsi_ipg_clk>; 33 clock-indices = <IMX_LPCG_CLK_ 33 clock-indices = <IMX_LPCG_CLK_0>; 34 clock-output-names = "mipi1_li 34 clock-output-names = "mipi1_lis_lpcg_ipg_clk"; 35 power-domains = <&pd IMX_SC_R_ 35 power-domains = <&pd IMX_SC_R_MIPI_1>; 36 }; 36 }; 37 37 38 mipi1_pwm_lpcg: clock-controller@57223 38 mipi1_pwm_lpcg: clock-controller@5722300c { 39 compatible = "fsl,imx8qxp-lpcg 39 compatible = "fsl,imx8qxp-lpcg"; 40 reg = <0x5722300c 0x4>; 40 reg = <0x5722300c 0x4>; 41 #clock-cells = <1>; 41 #clock-cells = <1>; 42 clocks = <&clk IMX_SC_R_MIPI_1 42 clocks = <&clk IMX_SC_R_MIPI_1_PWM_0 IMX_SC_PM_CLK_PER>, 43 <&dsi_ipg_clk>; 43 <&dsi_ipg_clk>; 44 clock-indices = <IMX_LPCG_CLK_ 44 clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>; 45 clock-output-names = "mipi1_pw 45 clock-output-names = "mipi1_pwm_lpcg_clk", 46 "mipi1_pw 46 "mipi1_pwm_lpcg_ipg_clk"; 47 power-domains = <&pd IMX_SC_R_ 47 power-domains = <&pd IMX_SC_R_MIPI_1_PWM_0>; 48 }; 48 }; 49 49 50 mipi1_i2c0_lpcg_clk: clock-controller@ 50 mipi1_i2c0_lpcg_clk: clock-controller@5722301c { 51 compatible = "fsl,imx8qxp-lpcg 51 compatible = "fsl,imx8qxp-lpcg"; 52 reg = <0x5722301c 0x4>; 52 reg = <0x5722301c 0x4>; 53 #clock-cells = <1>; 53 #clock-cells = <1>; 54 clocks = <&clk IMX_SC_R_MIPI_1 54 clocks = <&clk IMX_SC_R_MIPI_1_I2C_0 IMX_SC_PM_CLK_MISC2>; 55 clock-indices = <IMX_LPCG_CLK_ 55 clock-indices = <IMX_LPCG_CLK_0>; 56 clock-output-names = "mipi1_i2 56 clock-output-names = "mipi1_i2c0_lpcg_clk"; 57 power-domains = <&pd IMX_SC_R_ 57 power-domains = <&pd IMX_SC_R_MIPI_1_I2C_0>; 58 }; 58 }; 59 59 60 mipi1_i2c0_lpcg_ipg_clk: clock-control 60 mipi1_i2c0_lpcg_ipg_clk: clock-controller@57223014 { 61 compatible = "fsl,imx8qxp-lpcg 61 compatible = "fsl,imx8qxp-lpcg"; 62 reg = <0x57223014 0x4>; 62 reg = <0x57223014 0x4>; 63 #clock-cells = <1>; 63 #clock-cells = <1>; 64 clocks = <&mipi1_i2c0_lpcg_ipg 64 clocks = <&mipi1_i2c0_lpcg_ipg_s_clk IMX_LPCG_CLK_0>; 65 clock-indices = <IMX_LPCG_CLK_ 65 clock-indices = <IMX_LPCG_CLK_0>; 66 clock-output-names = "mipi1_i2 66 clock-output-names = "mipi1_i2c0_lpcg_ipg_clk"; 67 power-domains = <&pd IMX_SC_R_ 67 power-domains = <&pd IMX_SC_R_MIPI_1_I2C_0>; 68 }; 68 }; 69 69 70 mipi1_i2c0_lpcg_ipg_s_clk: clock-contr 70 mipi1_i2c0_lpcg_ipg_s_clk: clock-controller@57223018 { 71 compatible = "fsl,imx8qxp-lpcg 71 compatible = "fsl,imx8qxp-lpcg"; 72 reg = <0x57223018 0x4>; 72 reg = <0x57223018 0x4>; 73 #clock-cells = <1>; 73 #clock-cells = <1>; 74 clocks = <&dsi_ipg_clk>; 74 clocks = <&dsi_ipg_clk>; 75 clock-indices = <IMX_LPCG_CLK_ 75 clock-indices = <IMX_LPCG_CLK_0>; 76 clock-output-names = "mipi1_i2 76 clock-output-names = "mipi1_i2c0_lpcg_ipg_s_clk"; 77 power-domains = <&pd IMX_SC_R_ 77 power-domains = <&pd IMX_SC_R_MIPI_1_I2C_0>; 78 }; 78 }; 79 79 80 mipi1_i2c1_lpcg_ipg_clk: clock-control 80 mipi1_i2c1_lpcg_ipg_clk: clock-controller@57223024 { 81 compatible = "fsl,imx8qxp-lpcg 81 compatible = "fsl,imx8qxp-lpcg"; 82 reg = <0x57223024 0x4>; 82 reg = <0x57223024 0x4>; 83 #clock-cells = <1>; 83 #clock-cells = <1>; 84 clocks = <&mipi1_i2c1_lpcg_ipg 84 clocks = <&mipi1_i2c1_lpcg_ipg_s_clk IMX_LPCG_CLK_0>; 85 clock-indices = <IMX_LPCG_CLK_ 85 clock-indices = <IMX_LPCG_CLK_0>; 86 clock-output-names = "mipi1_i2 86 clock-output-names = "mipi1_i2c1_lpcg_ipg_clk"; 87 power-domains = <&pd IMX_SC_R_ 87 power-domains = <&pd IMX_SC_R_MIPI_1_I2C_1>; 88 }; 88 }; 89 89 90 mipi1_i2c1_lpcg_ipg_s_clk: clock-contr 90 mipi1_i2c1_lpcg_ipg_s_clk: clock-controller@57223028 { 91 compatible = "fsl,imx8qxp-lpcg 91 compatible = "fsl,imx8qxp-lpcg"; 92 reg = <0x57223028 0x4>; 92 reg = <0x57223028 0x4>; 93 #clock-cells = <1>; 93 #clock-cells = <1>; 94 clocks = <&dsi_ipg_clk>; 94 clocks = <&dsi_ipg_clk>; 95 clock-indices = <IMX_LPCG_CLK_ 95 clock-indices = <IMX_LPCG_CLK_0>; 96 clock-output-names = "mipi1_i2 96 clock-output-names = "mipi1_i2c1_lpcg_ipg_s_clk"; 97 power-domains = <&pd IMX_SC_R_ 97 power-domains = <&pd IMX_SC_R_MIPI_1_I2C_1>; 98 }; 98 }; 99 99 100 mipi1_i2c1_lpcg_clk: clock-controller@ 100 mipi1_i2c1_lpcg_clk: clock-controller@5722302c { 101 compatible = "fsl,imx8qxp-lpcg 101 compatible = "fsl,imx8qxp-lpcg"; 102 reg = <0x5722302c 0x4>; 102 reg = <0x5722302c 0x4>; 103 #clock-cells = <1>; 103 #clock-cells = <1>; 104 clocks = <&clk IMX_SC_R_MIPI_1 104 clocks = <&clk IMX_SC_R_MIPI_1_I2C_1 IMX_SC_PM_CLK_MISC2>; 105 clock-indices = <IMX_LPCG_CLK_ 105 clock-indices = <IMX_LPCG_CLK_0>; 106 clock-output-names = "mipi1_i2 106 clock-output-names = "mipi1_i2c1_lpcg_clk"; 107 power-domains = <&pd IMX_SC_R_ 107 power-domains = <&pd IMX_SC_R_MIPI_1_I2C_1>; 108 }; 108 }; 109 109 110 pwm_mipi1: pwm@57224000 { 110 pwm_mipi1: pwm@57224000 { 111 compatible = "fsl,imx8qxp-pwm" 111 compatible = "fsl,imx8qxp-pwm", "fsl,imx27-pwm"; 112 reg = <0x57224000 0x1000>; 112 reg = <0x57224000 0x1000>; 113 clocks = <&mipi1_pwm_lpcg IMX_ 113 clocks = <&mipi1_pwm_lpcg IMX_LPCG_CLK_4>, 114 <&mipi1_pwm_lpcg IMX_ 114 <&mipi1_pwm_lpcg IMX_LPCG_CLK_0>; 115 clock-names = "ipg", "per"; 115 clock-names = "ipg", "per"; 116 assigned-clocks = <&clk IMX_SC 116 assigned-clocks = <&clk IMX_SC_R_MIPI_1_PWM_0 IMX_SC_PM_CLK_PER>; 117 assigned-clock-rates = <240000 117 assigned-clock-rates = <24000000>; 118 #pwm-cells = <3>; 118 #pwm-cells = <3>; 119 power-domains = <&pd IMX_SC_R_ 119 power-domains = <&pd IMX_SC_R_MIPI_1_PWM_0>; 120 status = "disabled"; 120 status = "disabled"; 121 }; 121 }; 122 122 123 i2c0_mipi1: i2c@57226000 { 123 i2c0_mipi1: i2c@57226000 { 124 compatible = "fsl,imx8qm-lpi2c 124 compatible = "fsl,imx8qm-lpi2c", "fsl,imx7ulp-lpi2c"; 125 reg = <0x57226000 0x1000>; 125 reg = <0x57226000 0x1000>; 126 #address-cells = <1>; 126 #address-cells = <1>; 127 #size-cells = <0>; 127 #size-cells = <0>; 128 interrupts = <8>; 128 interrupts = <8>; 129 interrupt-parent = <&irqsteer_ 129 interrupt-parent = <&irqsteer_mipi1>; 130 clocks = <&mipi1_i2c0_lpcg_clk 130 clocks = <&mipi1_i2c0_lpcg_clk IMX_LPCG_CLK_0>, 131 <&mipi1_i2c0_lpcg_ipg 131 <&mipi1_i2c0_lpcg_ipg_clk IMX_LPCG_CLK_0>; 132 clock-names = "per", "ipg"; 132 clock-names = "per", "ipg"; 133 assigned-clocks = <&mipi1_i2c0 133 assigned-clocks = <&mipi1_i2c0_lpcg_clk IMX_LPCG_CLK_0>; 134 assigned-clock-rates = <240000 134 assigned-clock-rates = <24000000>; 135 power-domains = <&pd IMX_SC_R_ 135 power-domains = <&pd IMX_SC_R_MIPI_1_I2C_0>; 136 status = "disabled"; 136 status = "disabled"; 137 }; 137 }; 138 }; 138 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.