summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8-ss-lvds1.dtsi
blob: 12ae4f48e1e1c34ce4655f049b364b1614c96388 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
// SPDX-License-Identifier: GPL-2.0-only and MIT

/*
 * Copyright 2024 NXP
 */

lvds1_subsys: bus@57240000 {
	compatible = "simple-bus";
	interrupt-parent = <&irqsteer_lvds1>;
	#address-cells = <1>;
	#size-cells = <1>;
	ranges = <0x57240000 0x0 0x57240000 0x10000>;

	irqsteer_lvds1: interrupt-controller@57240000 {
		compatible = "fsl,imx8qm-irqsteer", "fsl,imx-irqsteer";
		reg = <0x57240000 0x1000>;
		interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
		interrupt-controller;
		interrupt-parent = <&gic>;
		#interrupt-cells = <1>;
		clocks = <&lvds1_lis_lpcg IMX_LPCG_CLK_4>;
		clock-names = "ipg";
		power-domains = <&pd IMX_SC_R_LVDS_1>;
		fsl,channel = <0>;
		fsl,num-irqs = <32>;
	};

	lvds1_lis_lpcg: clock-controller@57243000 {
		compatible = "fsl,imx8qxp-lpcg";
		reg = <0x57243000 0x4>;
		#clock-cells = <1>;
		clocks = <&lvds_ipg_clk>;
		clock-indices = <IMX_LPCG_CLK_4>;
		clock-output-names = "lvds1_lis_lpcg_ipg_clk";
		power-domains = <&pd IMX_SC_R_LVDS_1>;
	};

	lvds1_pwm_lpcg: clock-controller@5724300c {
		compatible = "fsl,imx8qxp-lpcg";
		reg = <0x5724300c 0x4>;
		#clock-cells = <1>;
		clocks = <&clk IMX_SC_R_LVDS_1_PWM_0 IMX_SC_PM_CLK_PER>,
			 <&lvds_ipg_clk>;
		clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
		clock-output-names = "lvds1_pwm_lpcg_clk",
				     "lvds1_pwm_lpcg_ipg_clk";
		power-domains = <&pd IMX_SC_R_LVDS_1_PWM_0>;
	};

	lvds1_i2c0_lpcg: clock-controller@57243010 {
		compatible = "fsl,imx8qxp-lpcg";
		reg = <0x57243010 0x4>;
		#clock-cells = <1>;
		clocks = <&clk IMX_SC_R_LVDS_1_I2C_0 IMX_SC_PM_CLK_PER>,
			 <&lvds_ipg_clk>;
		clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
		clock-output-names = "lvds1_i2c0_lpcg_clk",
				     "lvds1_i2c0_lpcg_ipg_clk";
		power-domains = <&pd IMX_SC_R_LVDS_1_I2C_0>;
	};

	lvds1_i2c1_lpcg: clock-controller@57243014 {
		compatible = "fsl,imx8qxp-lpcg";
		reg = <0x57243014 0x4>;
		#clock-cells = <1>;
		clocks = <&clk IMX_SC_R_LVDS_1_I2C_0 IMX_SC_PM_CLK_PER>,
			 <&lvds_ipg_clk>;
		clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
		clock-output-names = "lvds1_i2c1_lpcg_clk",
				     "lvds1_i2c1_lpcg_ipg_clk";
		power-domains = <&pd IMX_SC_R_LVDS_1_I2C_0>;
	};

	pwm_lvds1: pwm@57244000 {
		compatible = "fsl,imx8qxp-pwm", "fsl,imx27-pwm";
		reg = <0x57244000 0x1000>;
		clocks = <&lvds1_pwm_lpcg IMX_LPCG_CLK_4>,
			 <&lvds1_pwm_lpcg IMX_LPCG_CLK_0>;
		clock-names = "ipg", "per";
		assigned-clocks = <&clk IMX_SC_R_LVDS_1_PWM_0 IMX_SC_PM_CLK_PER>;
		assigned-clock-rates = <24000000>;
		#pwm-cells = <3>;
		power-domains = <&pd IMX_SC_R_LVDS_1_PWM_0>;
		status = "disabled";
	};

	i2c0_lvds1: i2c@57246000 {
		compatible = "fsl,imx8qm-lpi2c", "fsl,imx7ulp-lpi2c";
		reg = <0x57246000 0x1000>;
		#address-cells = <1>;
		#size-cells = <0>;
		interrupts = <8>;
		clocks = <&lvds1_i2c0_lpcg IMX_LPCG_CLK_0>,
			 <&lvds1_i2c0_lpcg IMX_LPCG_CLK_4>;
		clock-names = "per", "ipg";
		assigned-clocks = <&clk IMX_SC_R_LVDS_1_I2C_0 IMX_SC_PM_CLK_PER>;
		assigned-clock-rates = <24000000>;
		power-domains = <&pd IMX_SC_R_LVDS_1_I2C_0>;
		status = "disabled";
	};

	i2c1_lvds1: i2c@57247000 {
		compatible = "fsl,imx8qm-lpi2c", "fsl,imx7ulp-lpi2c";
		reg = <0x57247000 0x1000>;
		interrupts = <9>;
		clocks = <&lvds1_i2c1_lpcg IMX_LPCG_CLK_0>,
			 <&lvds1_i2c1_lpcg IMX_LPCG_CLK_4>;
		clock-names = "per", "ipg";
		assigned-clocks = <&clk IMX_SC_R_LVDS_1_I2C_0 IMX_SC_PM_CLK_PER>;
		assigned-clock-rates = <24000000>;
		power-domains = <&pd IMX_SC_R_LVDS_1_I2C_0>;
		status = "disabled";
	};
};