xref: /openbmc/linux/arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi (revision aeddf9a2731de8235b2b433533d06ee7dc73d233)
10dcd27bdSDong Aisheng// SPDX-License-Identifier: GPL-2.0+
20dcd27bdSDong Aisheng/*
30dcd27bdSDong Aisheng * Copyright 2018-2020 NXP
40dcd27bdSDong Aisheng *	Dong Aisheng <aisheng.dong@nxp.com>
50dcd27bdSDong Aisheng */
60dcd27bdSDong Aisheng
7438ae46bSDong Aisheng#include <dt-bindings/clock/imx8-lpcg.h>
8438ae46bSDong Aisheng#include <dt-bindings/firmware/imx/rsrc.h>
9438ae46bSDong Aisheng
100dcd27bdSDong Aishenglsio_subsys: bus@5d000000 {
110dcd27bdSDong Aisheng	compatible = "simple-bus";
120dcd27bdSDong Aisheng	#address-cells = <1>;
130dcd27bdSDong Aisheng	#size-cells = <1>;
146276d669SFrank Li	ranges = <0x5d000000 0x0 0x5d000000 0x1000000>,
156276d669SFrank Li		 <0x08000000 0x0 0x08000000 0x10000000>;
160dcd27bdSDong Aisheng
17438ae46bSDong Aisheng	lsio_mem_clk: clock-lsio-mem {
18438ae46bSDong Aisheng		compatible = "fixed-clock";
19438ae46bSDong Aisheng		#clock-cells = <0>;
20438ae46bSDong Aisheng		clock-frequency = <200000000>;
21438ae46bSDong Aisheng		clock-output-names = "lsio_mem_clk";
22438ae46bSDong Aisheng	};
23438ae46bSDong Aisheng
24438ae46bSDong Aisheng	lsio_bus_clk: clock-lsio-bus {
25438ae46bSDong Aisheng		compatible = "fixed-clock";
26438ae46bSDong Aisheng		#clock-cells = <0>;
27438ae46bSDong Aisheng		clock-frequency = <100000000>;
28438ae46bSDong Aisheng		clock-output-names = "lsio_bus_clk";
29438ae46bSDong Aisheng	};
30438ae46bSDong Aisheng
3123fa99b2SPhilippe Schenker	lsio_pwm0: pwm@5d000000 {
3223fa99b2SPhilippe Schenker		compatible = "fsl,imx27-pwm";
3323fa99b2SPhilippe Schenker		reg = <0x5d000000 0x10000>;
3423fa99b2SPhilippe Schenker		clock-names = "ipg", "per";
35*e9e44fc8SFrank Li		clocks = <&pwm0_lpcg IMX_LPCG_CLK_6>,
36*e9e44fc8SFrank Li			 <&pwm0_lpcg IMX_LPCG_CLK_1>;
3723fa99b2SPhilippe Schenker		assigned-clocks = <&clk IMX_SC_R_PWM_0 IMX_SC_PM_CLK_PER>;
3823fa99b2SPhilippe Schenker		assigned-clock-rates = <24000000>;
398b2c35e5SAlexander Stein		#pwm-cells = <3>;
40d338395bSFabio Estevam		interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
4123fa99b2SPhilippe Schenker		status = "disabled";
4223fa99b2SPhilippe Schenker	};
4323fa99b2SPhilippe Schenker
4423fa99b2SPhilippe Schenker	lsio_pwm1: pwm@5d010000 {
4523fa99b2SPhilippe Schenker		compatible = "fsl,imx27-pwm";
4623fa99b2SPhilippe Schenker		reg = <0x5d010000 0x10000>;
4723fa99b2SPhilippe Schenker		clock-names = "ipg", "per";
48*e9e44fc8SFrank Li		clocks = <&pwm1_lpcg IMX_LPCG_CLK_6>,
49*e9e44fc8SFrank Li			 <&pwm1_lpcg IMX_LPCG_CLK_1>;
5023fa99b2SPhilippe Schenker		assigned-clocks = <&clk IMX_SC_R_PWM_1 IMX_SC_PM_CLK_PER>;
5123fa99b2SPhilippe Schenker		assigned-clock-rates = <24000000>;
528b2c35e5SAlexander Stein		#pwm-cells = <3>;
53d338395bSFabio Estevam		interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
5423fa99b2SPhilippe Schenker		status = "disabled";
5523fa99b2SPhilippe Schenker	};
5623fa99b2SPhilippe Schenker
5723fa99b2SPhilippe Schenker	lsio_pwm2: pwm@5d020000 {
5823fa99b2SPhilippe Schenker		compatible = "fsl,imx27-pwm";
5923fa99b2SPhilippe Schenker		reg = <0x5d020000 0x10000>;
6023fa99b2SPhilippe Schenker		clock-names = "ipg", "per";
61*e9e44fc8SFrank Li		clocks = <&pwm2_lpcg IMX_LPCG_CLK_6>,
62*e9e44fc8SFrank Li			 <&pwm2_lpcg IMX_LPCG_CLK_1>;
6323fa99b2SPhilippe Schenker		assigned-clocks = <&clk IMX_SC_R_PWM_2 IMX_SC_PM_CLK_PER>;
6423fa99b2SPhilippe Schenker		assigned-clock-rates = <24000000>;
658b2c35e5SAlexander Stein		#pwm-cells = <3>;
66d338395bSFabio Estevam		interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
6723fa99b2SPhilippe Schenker		status = "disabled";
6823fa99b2SPhilippe Schenker	};
6923fa99b2SPhilippe Schenker
7023fa99b2SPhilippe Schenker	lsio_pwm3: pwm@5d030000 {
7123fa99b2SPhilippe Schenker		compatible = "fsl,imx27-pwm";
7223fa99b2SPhilippe Schenker		reg = <0x5d030000 0x10000>;
7323fa99b2SPhilippe Schenker		clock-names = "ipg", "per";
74*e9e44fc8SFrank Li		clocks = <&pwm3_lpcg IMX_LPCG_CLK_6>,
75*e9e44fc8SFrank Li			 <&pwm3_lpcg IMX_LPCG_CLK_1>;
7623fa99b2SPhilippe Schenker		assigned-clocks = <&clk IMX_SC_R_PWM_3 IMX_SC_PM_CLK_PER>;
7723fa99b2SPhilippe Schenker		assigned-clock-rates = <24000000>;
788b2c35e5SAlexander Stein		#pwm-cells = <3>;
79d338395bSFabio Estevam		interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
8023fa99b2SPhilippe Schenker		status = "disabled";
8123fa99b2SPhilippe Schenker	};
8223fa99b2SPhilippe Schenker
830dcd27bdSDong Aisheng	lsio_gpio0: gpio@5d080000 {
840dcd27bdSDong Aisheng		reg = <0x5d080000 0x10000>;
850dcd27bdSDong Aisheng		interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
860dcd27bdSDong Aisheng		gpio-controller;
870dcd27bdSDong Aisheng		#gpio-cells = <2>;
880dcd27bdSDong Aisheng		interrupt-controller;
890dcd27bdSDong Aisheng		#interrupt-cells = <2>;
900dcd27bdSDong Aisheng		power-domains = <&pd IMX_SC_R_GPIO_0>;
910dcd27bdSDong Aisheng	};
920dcd27bdSDong Aisheng
930dcd27bdSDong Aisheng	lsio_gpio1: gpio@5d090000 {
940dcd27bdSDong Aisheng		reg = <0x5d090000 0x10000>;
950dcd27bdSDong Aisheng		interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
960dcd27bdSDong Aisheng		gpio-controller;
970dcd27bdSDong Aisheng		#gpio-cells = <2>;
980dcd27bdSDong Aisheng		interrupt-controller;
990dcd27bdSDong Aisheng		#interrupt-cells = <2>;
1000dcd27bdSDong Aisheng		power-domains = <&pd IMX_SC_R_GPIO_1>;
1010dcd27bdSDong Aisheng	};
1020dcd27bdSDong Aisheng
1030dcd27bdSDong Aisheng	lsio_gpio2: gpio@5d0a0000 {
1040dcd27bdSDong Aisheng		reg = <0x5d0a0000 0x10000>;
1050dcd27bdSDong Aisheng		interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
1060dcd27bdSDong Aisheng		gpio-controller;
1070dcd27bdSDong Aisheng		#gpio-cells = <2>;
1080dcd27bdSDong Aisheng		interrupt-controller;
1090dcd27bdSDong Aisheng		#interrupt-cells = <2>;
1100dcd27bdSDong Aisheng		power-domains = <&pd IMX_SC_R_GPIO_2>;
1110dcd27bdSDong Aisheng	};
1120dcd27bdSDong Aisheng
1130dcd27bdSDong Aisheng	lsio_gpio3: gpio@5d0b0000 {
1140dcd27bdSDong Aisheng		reg = <0x5d0b0000 0x10000>;
1150dcd27bdSDong Aisheng		interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
1160dcd27bdSDong Aisheng		gpio-controller;
1170dcd27bdSDong Aisheng		#gpio-cells = <2>;
1180dcd27bdSDong Aisheng		interrupt-controller;
1190dcd27bdSDong Aisheng		#interrupt-cells = <2>;
1200dcd27bdSDong Aisheng		power-domains = <&pd IMX_SC_R_GPIO_3>;
1210dcd27bdSDong Aisheng	};
1220dcd27bdSDong Aisheng
1230dcd27bdSDong Aisheng	lsio_gpio4: gpio@5d0c0000 {
1240dcd27bdSDong Aisheng		reg = <0x5d0c0000 0x10000>;
1250dcd27bdSDong Aisheng		interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
1260dcd27bdSDong Aisheng		gpio-controller;
1270dcd27bdSDong Aisheng		#gpio-cells = <2>;
1280dcd27bdSDong Aisheng		interrupt-controller;
1290dcd27bdSDong Aisheng		#interrupt-cells = <2>;
1300dcd27bdSDong Aisheng		power-domains = <&pd IMX_SC_R_GPIO_4>;
1310dcd27bdSDong Aisheng	};
1320dcd27bdSDong Aisheng
1330dcd27bdSDong Aisheng	lsio_gpio5: gpio@5d0d0000 {
1340dcd27bdSDong Aisheng		reg = <0x5d0d0000 0x10000>;
1350dcd27bdSDong Aisheng		interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
1360dcd27bdSDong Aisheng		gpio-controller;
1370dcd27bdSDong Aisheng		#gpio-cells = <2>;
1380dcd27bdSDong Aisheng		interrupt-controller;
1390dcd27bdSDong Aisheng		#interrupt-cells = <2>;
1400dcd27bdSDong Aisheng		power-domains = <&pd IMX_SC_R_GPIO_5>;
1410dcd27bdSDong Aisheng	};
1420dcd27bdSDong Aisheng
1430dcd27bdSDong Aisheng	lsio_gpio6: gpio@5d0e0000 {
1440dcd27bdSDong Aisheng		reg = <0x5d0e0000 0x10000>;
1450dcd27bdSDong Aisheng		interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
1460dcd27bdSDong Aisheng		gpio-controller;
1470dcd27bdSDong Aisheng		#gpio-cells = <2>;
1480dcd27bdSDong Aisheng		interrupt-controller;
1490dcd27bdSDong Aisheng		#interrupt-cells = <2>;
1500dcd27bdSDong Aisheng		power-domains = <&pd IMX_SC_R_GPIO_6>;
1510dcd27bdSDong Aisheng	};
1520dcd27bdSDong Aisheng
1530dcd27bdSDong Aisheng	lsio_gpio7: gpio@5d0f0000 {
1540dcd27bdSDong Aisheng		reg = <0x5d0f0000 0x10000>;
1550dcd27bdSDong Aisheng		interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
1560dcd27bdSDong Aisheng		gpio-controller;
1570dcd27bdSDong Aisheng		#gpio-cells = <2>;
1580dcd27bdSDong Aisheng		interrupt-controller;
1590dcd27bdSDong Aisheng		#interrupt-cells = <2>;
1600dcd27bdSDong Aisheng		power-domains = <&pd IMX_SC_R_GPIO_7>;
1610dcd27bdSDong Aisheng	};
1620dcd27bdSDong Aisheng
1636276d669SFrank Li	flexspi0: spi@5d120000 {
1646276d669SFrank Li		#address-cells = <1>;
1656276d669SFrank Li		#size-cells = <0>;
1666276d669SFrank Li		compatible = "nxp,imx8qxp-fspi";
1676276d669SFrank Li		reg = <0x5d120000 0x10000>, <0x08000000 0x10000000>;
1686276d669SFrank Li		reg-names = "fspi_base", "fspi_mmap";
1696276d669SFrank Li		interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
1706276d669SFrank Li		clocks = <&clk IMX_SC_R_FSPI_0 IMX_SC_PM_CLK_PER>,
1716276d669SFrank Li			 <&clk IMX_SC_R_FSPI_0 IMX_SC_PM_CLK_PER>;
172fd4334a0SAlexander Stein		clock-names = "fspi_en", "fspi";
1736276d669SFrank Li		power-domains = <&pd IMX_SC_R_FSPI_0>;
1746276d669SFrank Li		status = "disabled";
1756276d669SFrank Li	};
1766276d669SFrank Li
1770dcd27bdSDong Aisheng	lsio_mu0: mailbox@5d1b0000 {
1780dcd27bdSDong Aisheng		reg = <0x5d1b0000 0x10000>;
1790dcd27bdSDong Aisheng		interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
1800dcd27bdSDong Aisheng		#mbox-cells = <2>;
1810dcd27bdSDong Aisheng		status = "disabled";
1820dcd27bdSDong Aisheng	};
1830dcd27bdSDong Aisheng
1840dcd27bdSDong Aisheng	lsio_mu1: mailbox@5d1c0000 {
1850dcd27bdSDong Aisheng		reg = <0x5d1c0000 0x10000>;
1860dcd27bdSDong Aisheng		interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>;
1870dcd27bdSDong Aisheng		#mbox-cells = <2>;
1880dcd27bdSDong Aisheng	};
1890dcd27bdSDong Aisheng
1900dcd27bdSDong Aisheng	lsio_mu2: mailbox@5d1d0000 {
1910dcd27bdSDong Aisheng		reg = <0x5d1d0000 0x10000>;
1920dcd27bdSDong Aisheng		interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
1930dcd27bdSDong Aisheng		#mbox-cells = <2>;
1940dcd27bdSDong Aisheng		status = "disabled";
1950dcd27bdSDong Aisheng	};
1960dcd27bdSDong Aisheng
1970dcd27bdSDong Aisheng	lsio_mu3: mailbox@5d1e0000 {
1980dcd27bdSDong Aisheng		reg = <0x5d1e0000 0x10000>;
1990dcd27bdSDong Aisheng		interrupts = <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>;
2000dcd27bdSDong Aisheng		#mbox-cells = <2>;
2010dcd27bdSDong Aisheng		status = "disabled";
2020dcd27bdSDong Aisheng	};
2030dcd27bdSDong Aisheng
2040dcd27bdSDong Aisheng	lsio_mu4: mailbox@5d1f0000 {
2050dcd27bdSDong Aisheng		reg = <0x5d1f0000 0x10000>;
2060dcd27bdSDong Aisheng		interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>;
2070dcd27bdSDong Aisheng		#mbox-cells = <2>;
2080dcd27bdSDong Aisheng		status = "disabled";
2090dcd27bdSDong Aisheng	};
2100dcd27bdSDong Aisheng
211591de9fbSPeng Fan	lsio_mu5: mailbox@5d200000 {
212591de9fbSPeng Fan		reg = <0x5d200000 0x10000>;
213591de9fbSPeng Fan		interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
214591de9fbSPeng Fan		#mbox-cells = <2>;
215591de9fbSPeng Fan		power-domains = <&pd IMX_SC_R_MU_5A>;
216591de9fbSPeng Fan		status = "disabled";
217591de9fbSPeng Fan	};
218591de9fbSPeng Fan
219591de9fbSPeng Fan	lsio_mu6: mailbox@5d210000 {
220591de9fbSPeng Fan		reg = <0x5d210000 0x10000>;
221591de9fbSPeng Fan		interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>;
222591de9fbSPeng Fan		#mbox-cells = <2>;
223591de9fbSPeng Fan		power-domains = <&pd IMX_SC_R_MU_6A>;
224591de9fbSPeng Fan		status = "disabled";
225591de9fbSPeng Fan	};
226591de9fbSPeng Fan
2270dcd27bdSDong Aisheng	lsio_mu13: mailbox@5d280000 {
2280dcd27bdSDong Aisheng		reg = <0x5d280000 0x10000>;
2290dcd27bdSDong Aisheng		interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
2300dcd27bdSDong Aisheng		#mbox-cells = <2>;
2310dcd27bdSDong Aisheng		power-domains = <&pd IMX_SC_R_MU_13A>;
2320dcd27bdSDong Aisheng	};
2330dcd27bdSDong Aisheng
234438ae46bSDong Aisheng	/* LPCG clocks */
235438ae46bSDong Aisheng	pwm0_lpcg: clock-controller@5d400000 {
23616c4ea75SDong Aisheng		compatible = "fsl,imx8qxp-lpcg";
237438ae46bSDong Aisheng		reg = <0x5d400000 0x10000>;
238438ae46bSDong Aisheng		#clock-cells = <1>;
23926de33a1SDong Aisheng		clocks = <&clk IMX_SC_R_PWM_0 IMX_SC_PM_CLK_PER>,
24026de33a1SDong Aisheng			 <&clk IMX_SC_R_PWM_0 IMX_SC_PM_CLK_PER>,
24126de33a1SDong Aisheng			 <&clk IMX_SC_R_PWM_0 IMX_SC_PM_CLK_PER>,
24226de33a1SDong Aisheng			 <&lsio_bus_clk>,
24326de33a1SDong Aisheng			 <&clk IMX_SC_R_PWM_0 IMX_SC_PM_CLK_PER>;
244438ae46bSDong Aisheng		clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
245438ae46bSDong Aisheng				<IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_5>,
246438ae46bSDong Aisheng				<IMX_LPCG_CLK_6>;
247438ae46bSDong Aisheng		clock-output-names = "pwm0_lpcg_ipg_clk",
248438ae46bSDong Aisheng				     "pwm0_lpcg_ipg_hf_clk",
249438ae46bSDong Aisheng				     "pwm0_lpcg_ipg_s_clk",
250438ae46bSDong Aisheng				     "pwm0_lpcg_ipg_slv_clk",
251438ae46bSDong Aisheng				     "pwm0_lpcg_ipg_mstr_clk";
252438ae46bSDong Aisheng		power-domains = <&pd IMX_SC_R_PWM_0>;
253438ae46bSDong Aisheng	};
254438ae46bSDong Aisheng
255438ae46bSDong Aisheng	pwm1_lpcg: clock-controller@5d410000 {
25616c4ea75SDong Aisheng		compatible = "fsl,imx8qxp-lpcg";
257438ae46bSDong Aisheng		reg = <0x5d410000 0x10000>;
258438ae46bSDong Aisheng		#clock-cells = <1>;
25926de33a1SDong Aisheng		clocks = <&clk IMX_SC_R_PWM_1 IMX_SC_PM_CLK_PER>,
26026de33a1SDong Aisheng			 <&clk IMX_SC_R_PWM_1 IMX_SC_PM_CLK_PER>,
26126de33a1SDong Aisheng			 <&clk IMX_SC_R_PWM_1 IMX_SC_PM_CLK_PER>,
26226de33a1SDong Aisheng			 <&lsio_bus_clk>,
26326de33a1SDong Aisheng			 <&clk IMX_SC_R_PWM_1 IMX_SC_PM_CLK_PER>;
264438ae46bSDong Aisheng		clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
265438ae46bSDong Aisheng				<IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_5>,
266438ae46bSDong Aisheng				<IMX_LPCG_CLK_6>;
267438ae46bSDong Aisheng		clock-output-names = "pwm1_lpcg_ipg_clk",
268438ae46bSDong Aisheng				     "pwm1_lpcg_ipg_hf_clk",
269438ae46bSDong Aisheng				     "pwm1_lpcg_ipg_s_clk",
270438ae46bSDong Aisheng				     "pwm1_lpcg_ipg_slv_clk",
271438ae46bSDong Aisheng				     "pwm1_lpcg_ipg_mstr_clk";
272438ae46bSDong Aisheng		power-domains = <&pd IMX_SC_R_PWM_1>;
273438ae46bSDong Aisheng	};
274438ae46bSDong Aisheng
275438ae46bSDong Aisheng	pwm2_lpcg: clock-controller@5d420000 {
27616c4ea75SDong Aisheng		compatible = "fsl,imx8qxp-lpcg";
277438ae46bSDong Aisheng		reg = <0x5d420000 0x10000>;
278438ae46bSDong Aisheng		#clock-cells = <1>;
27926de33a1SDong Aisheng		clocks = <&clk IMX_SC_R_PWM_2 IMX_SC_PM_CLK_PER>,
28026de33a1SDong Aisheng			 <&clk IMX_SC_R_PWM_2 IMX_SC_PM_CLK_PER>,
28126de33a1SDong Aisheng			 <&clk IMX_SC_R_PWM_2 IMX_SC_PM_CLK_PER>,
28226de33a1SDong Aisheng			 <&lsio_bus_clk>,
28326de33a1SDong Aisheng			 <&clk IMX_SC_R_PWM_2 IMX_SC_PM_CLK_PER>;
284438ae46bSDong Aisheng		clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
285438ae46bSDong Aisheng				<IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_5>,
286438ae46bSDong Aisheng				<IMX_LPCG_CLK_6>;
287438ae46bSDong Aisheng		clock-output-names = "pwm2_lpcg_ipg_clk",
288438ae46bSDong Aisheng				     "pwm2_lpcg_ipg_hf_clk",
289438ae46bSDong Aisheng				     "pwm2_lpcg_ipg_s_clk",
290438ae46bSDong Aisheng				     "pwm2_lpcg_ipg_slv_clk",
291438ae46bSDong Aisheng				     "pwm2_lpcg_ipg_mstr_clk";
292438ae46bSDong Aisheng		power-domains = <&pd IMX_SC_R_PWM_2>;
293438ae46bSDong Aisheng	};
294438ae46bSDong Aisheng
295438ae46bSDong Aisheng	pwm3_lpcg: clock-controller@5d430000 {
29616c4ea75SDong Aisheng		compatible = "fsl,imx8qxp-lpcg";
297438ae46bSDong Aisheng		reg = <0x5d430000 0x10000>;
298438ae46bSDong Aisheng		#clock-cells = <1>;
29926de33a1SDong Aisheng		clocks = <&clk IMX_SC_R_PWM_3 IMX_SC_PM_CLK_PER>,
30026de33a1SDong Aisheng			 <&clk IMX_SC_R_PWM_3 IMX_SC_PM_CLK_PER>,
30126de33a1SDong Aisheng			 <&clk IMX_SC_R_PWM_3 IMX_SC_PM_CLK_PER>,
30226de33a1SDong Aisheng			 <&lsio_bus_clk>,
30326de33a1SDong Aisheng			 <&clk IMX_SC_R_PWM_3 IMX_SC_PM_CLK_PER>;
304438ae46bSDong Aisheng		clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
305438ae46bSDong Aisheng				<IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_5>,
306438ae46bSDong Aisheng				<IMX_LPCG_CLK_6>;
307438ae46bSDong Aisheng		clock-output-names = "pwm3_lpcg_ipg_clk",
308438ae46bSDong Aisheng				     "pwm3_lpcg_ipg_hf_clk",
309438ae46bSDong Aisheng				     "pwm3_lpcg_ipg_s_clk",
310438ae46bSDong Aisheng				     "pwm3_lpcg_ipg_slv_clk",
311438ae46bSDong Aisheng				     "pwm3_lpcg_ipg_mstr_clk";
312438ae46bSDong Aisheng		power-domains = <&pd IMX_SC_R_PWM_3>;
313438ae46bSDong Aisheng	};
314438ae46bSDong Aisheng
315438ae46bSDong Aisheng	pwm4_lpcg: clock-controller@5d440000 {
31616c4ea75SDong Aisheng		compatible = "fsl,imx8qxp-lpcg";
317438ae46bSDong Aisheng		reg = <0x5d440000 0x10000>;
318438ae46bSDong Aisheng		#clock-cells = <1>;
31926de33a1SDong Aisheng		clocks = <&clk IMX_SC_R_PWM_4 IMX_SC_PM_CLK_PER>,
32026de33a1SDong Aisheng			 <&clk IMX_SC_R_PWM_4 IMX_SC_PM_CLK_PER>,
32126de33a1SDong Aisheng			 <&clk IMX_SC_R_PWM_4 IMX_SC_PM_CLK_PER>,
32226de33a1SDong Aisheng			 <&lsio_bus_clk>,
32326de33a1SDong Aisheng			 <&clk IMX_SC_R_PWM_4 IMX_SC_PM_CLK_PER>;
324438ae46bSDong Aisheng		clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
325438ae46bSDong Aisheng				<IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_5>,
326438ae46bSDong Aisheng				<IMX_LPCG_CLK_6>;
327438ae46bSDong Aisheng		clock-output-names = "pwm4_lpcg_ipg_clk",
328438ae46bSDong Aisheng				     "pwm4_lpcg_ipg_hf_clk",
329438ae46bSDong Aisheng				     "pwm4_lpcg_ipg_s_clk",
330438ae46bSDong Aisheng				     "pwm4_lpcg_ipg_slv_clk",
331438ae46bSDong Aisheng				     "pwm4_lpcg_ipg_mstr_clk";
332438ae46bSDong Aisheng		power-domains = <&pd IMX_SC_R_PWM_4>;
333438ae46bSDong Aisheng	};
334438ae46bSDong Aisheng
335438ae46bSDong Aisheng	pwm5_lpcg: clock-controller@5d450000 {
33616c4ea75SDong Aisheng		compatible = "fsl,imx8qxp-lpcg";
337438ae46bSDong Aisheng		reg = <0x5d450000 0x10000>;
338438ae46bSDong Aisheng		#clock-cells = <1>;
33926de33a1SDong Aisheng		clocks = <&clk IMX_SC_R_PWM_5 IMX_SC_PM_CLK_PER>,
34026de33a1SDong Aisheng			 <&clk IMX_SC_R_PWM_5 IMX_SC_PM_CLK_PER>,
34126de33a1SDong Aisheng			 <&clk IMX_SC_R_PWM_5 IMX_SC_PM_CLK_PER>,
34226de33a1SDong Aisheng			 <&lsio_bus_clk>,
34326de33a1SDong Aisheng			 <&clk IMX_SC_R_PWM_5 IMX_SC_PM_CLK_PER>;
344438ae46bSDong Aisheng		clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
345438ae46bSDong Aisheng				<IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_5>,
346438ae46bSDong Aisheng				<IMX_LPCG_CLK_6>;
347438ae46bSDong Aisheng		clock-output-names = "pwm5_lpcg_ipg_clk",
348438ae46bSDong Aisheng				     "pwm5_lpcg_ipg_hf_clk",
349438ae46bSDong Aisheng				     "pwm5_lpcg_ipg_s_clk",
350438ae46bSDong Aisheng				     "pwm5_lpcg_ipg_slv_clk",
351438ae46bSDong Aisheng				     "pwm5_lpcg_ipg_mstr_clk";
352438ae46bSDong Aisheng		power-domains = <&pd IMX_SC_R_PWM_5>;
353438ae46bSDong Aisheng	};
354438ae46bSDong Aisheng
355438ae46bSDong Aisheng	pwm6_lpcg: clock-controller@5d460000 {
35616c4ea75SDong Aisheng		compatible = "fsl,imx8qxp-lpcg";
357438ae46bSDong Aisheng		reg = <0x5d460000 0x10000>;
358438ae46bSDong Aisheng		#clock-cells = <1>;
35926de33a1SDong Aisheng		clocks = <&clk IMX_SC_R_PWM_6 IMX_SC_PM_CLK_PER>,
36026de33a1SDong Aisheng			 <&clk IMX_SC_R_PWM_6 IMX_SC_PM_CLK_PER>,
36126de33a1SDong Aisheng			 <&clk IMX_SC_R_PWM_6 IMX_SC_PM_CLK_PER>,
36226de33a1SDong Aisheng			 <&lsio_bus_clk>,
36326de33a1SDong Aisheng			 <&clk IMX_SC_R_PWM_6 IMX_SC_PM_CLK_PER>;
364438ae46bSDong Aisheng		clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
365438ae46bSDong Aisheng				<IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_5>,
366438ae46bSDong Aisheng				<IMX_LPCG_CLK_6>;
367438ae46bSDong Aisheng		clock-output-names = "pwm6_lpcg_ipg_clk",
368438ae46bSDong Aisheng				     "pwm6_lpcg_ipg_hf_clk",
369438ae46bSDong Aisheng				     "pwm6_lpcg_ipg_s_clk",
370438ae46bSDong Aisheng				     "pwm6_lpcg_ipg_slv_clk",
371438ae46bSDong Aisheng				     "pwm6_lpcg_ipg_mstr_clk";
372438ae46bSDong Aisheng		power-domains = <&pd IMX_SC_R_PWM_6>;
373438ae46bSDong Aisheng	};
374438ae46bSDong Aisheng
375438ae46bSDong Aisheng	pwm7_lpcg: clock-controller@5d470000 {
37616c4ea75SDong Aisheng		compatible = "fsl,imx8qxp-lpcg";
377438ae46bSDong Aisheng		reg = <0x5d470000 0x10000>;
378438ae46bSDong Aisheng		#clock-cells = <1>;
37926de33a1SDong Aisheng		clocks = <&clk IMX_SC_R_PWM_7 IMX_SC_PM_CLK_PER>,
38026de33a1SDong Aisheng			 <&clk IMX_SC_R_PWM_7 IMX_SC_PM_CLK_PER>,
38126de33a1SDong Aisheng			 <&clk IMX_SC_R_PWM_7 IMX_SC_PM_CLK_PER>,
38226de33a1SDong Aisheng			 <&lsio_bus_clk>,
38326de33a1SDong Aisheng			 <&clk IMX_SC_R_PWM_7 IMX_SC_PM_CLK_PER>;
384438ae46bSDong Aisheng		clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
385438ae46bSDong Aisheng				<IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_5>,
386438ae46bSDong Aisheng				<IMX_LPCG_CLK_6>;
387438ae46bSDong Aisheng		clock-output-names = "pwm7_lpcg_ipg_clk",
388438ae46bSDong Aisheng				     "pwm7_lpcg_ipg_hf_clk",
389438ae46bSDong Aisheng				     "pwm7_lpcg_ipg_s_clk",
390438ae46bSDong Aisheng				     "pwm7_lpcg_ipg_slv_clk",
391438ae46bSDong Aisheng				     "pwm7_lpcg_ipg_mstr_clk";
392438ae46bSDong Aisheng		power-domains = <&pd IMX_SC_R_PWM_7>;
393438ae46bSDong Aisheng	};
3940dcd27bdSDong Aisheng};
395