xref: /freebsd-src/sys/contrib/device-tree/src/arm64/freescale/imx8-ss-lvds1.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1*b2d2a78aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only and MIT
2*b2d2a78aSEmmanuel Vadot
3*b2d2a78aSEmmanuel Vadot/*
4*b2d2a78aSEmmanuel Vadot * Copyright 2024 NXP
5*b2d2a78aSEmmanuel Vadot */
6*b2d2a78aSEmmanuel Vadot
7*b2d2a78aSEmmanuel Vadotlvds1_subsys: bus@57240000 {
8*b2d2a78aSEmmanuel Vadot	compatible = "simple-bus";
9*b2d2a78aSEmmanuel Vadot	interrupt-parent = <&irqsteer_lvds1>;
10*b2d2a78aSEmmanuel Vadot	#address-cells = <1>;
11*b2d2a78aSEmmanuel Vadot	#size-cells = <1>;
12*b2d2a78aSEmmanuel Vadot	ranges = <0x57240000 0x0 0x57240000 0x10000>;
13*b2d2a78aSEmmanuel Vadot
14*b2d2a78aSEmmanuel Vadot	irqsteer_lvds1: interrupt-controller@57240000 {
15*b2d2a78aSEmmanuel Vadot		compatible = "fsl,imx8qm-irqsteer", "fsl,imx-irqsteer";
16*b2d2a78aSEmmanuel Vadot		reg = <0x57240000 0x1000>;
17*b2d2a78aSEmmanuel Vadot		interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
18*b2d2a78aSEmmanuel Vadot		interrupt-controller;
19*b2d2a78aSEmmanuel Vadot		interrupt-parent = <&gic>;
20*b2d2a78aSEmmanuel Vadot		#interrupt-cells = <1>;
21*b2d2a78aSEmmanuel Vadot		clocks = <&lvds1_lis_lpcg IMX_LPCG_CLK_4>;
22*b2d2a78aSEmmanuel Vadot		clock-names = "ipg";
23*b2d2a78aSEmmanuel Vadot		power-domains = <&pd IMX_SC_R_LVDS_1>;
24*b2d2a78aSEmmanuel Vadot		fsl,channel = <0>;
25*b2d2a78aSEmmanuel Vadot		fsl,num-irqs = <32>;
26*b2d2a78aSEmmanuel Vadot	};
27*b2d2a78aSEmmanuel Vadot
28*b2d2a78aSEmmanuel Vadot	lvds1_lis_lpcg: clock-controller@57243000 {
29*b2d2a78aSEmmanuel Vadot		compatible = "fsl,imx8qxp-lpcg";
30*b2d2a78aSEmmanuel Vadot		reg = <0x57243000 0x4>;
31*b2d2a78aSEmmanuel Vadot		#clock-cells = <1>;
32*b2d2a78aSEmmanuel Vadot		clocks = <&lvds_ipg_clk>;
33*b2d2a78aSEmmanuel Vadot		clock-indices = <IMX_LPCG_CLK_4>;
34*b2d2a78aSEmmanuel Vadot		clock-output-names = "lvds1_lis_lpcg_ipg_clk";
35*b2d2a78aSEmmanuel Vadot		power-domains = <&pd IMX_SC_R_LVDS_1>;
36*b2d2a78aSEmmanuel Vadot	};
37*b2d2a78aSEmmanuel Vadot
38*b2d2a78aSEmmanuel Vadot	lvds1_pwm_lpcg: clock-controller@5724300c {
39*b2d2a78aSEmmanuel Vadot		compatible = "fsl,imx8qxp-lpcg";
40*b2d2a78aSEmmanuel Vadot		reg = <0x5724300c 0x4>;
41*b2d2a78aSEmmanuel Vadot		#clock-cells = <1>;
42*b2d2a78aSEmmanuel Vadot		clocks = <&clk IMX_SC_R_LVDS_1_PWM_0 IMX_SC_PM_CLK_PER>,
43*b2d2a78aSEmmanuel Vadot			 <&lvds_ipg_clk>;
44*b2d2a78aSEmmanuel Vadot		clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
45*b2d2a78aSEmmanuel Vadot		clock-output-names = "lvds1_pwm_lpcg_clk",
46*b2d2a78aSEmmanuel Vadot				     "lvds1_pwm_lpcg_ipg_clk";
47*b2d2a78aSEmmanuel Vadot		power-domains = <&pd IMX_SC_R_LVDS_1_PWM_0>;
48*b2d2a78aSEmmanuel Vadot	};
49*b2d2a78aSEmmanuel Vadot
50*b2d2a78aSEmmanuel Vadot	lvds1_i2c0_lpcg: clock-controller@57243010 {
51*b2d2a78aSEmmanuel Vadot		compatible = "fsl,imx8qxp-lpcg";
52*b2d2a78aSEmmanuel Vadot		reg = <0x57243010 0x4>;
53*b2d2a78aSEmmanuel Vadot		#clock-cells = <1>;
54*b2d2a78aSEmmanuel Vadot		clocks = <&clk IMX_SC_R_LVDS_1_I2C_0 IMX_SC_PM_CLK_PER>,
55*b2d2a78aSEmmanuel Vadot			 <&lvds_ipg_clk>;
56*b2d2a78aSEmmanuel Vadot		clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
57*b2d2a78aSEmmanuel Vadot		clock-output-names = "lvds1_i2c0_lpcg_clk",
58*b2d2a78aSEmmanuel Vadot				     "lvds1_i2c0_lpcg_ipg_clk";
59*b2d2a78aSEmmanuel Vadot		power-domains = <&pd IMX_SC_R_LVDS_1_I2C_0>;
60*b2d2a78aSEmmanuel Vadot	};
61*b2d2a78aSEmmanuel Vadot
62*b2d2a78aSEmmanuel Vadot	lvds1_i2c1_lpcg: clock-controller@57243014 {
63*b2d2a78aSEmmanuel Vadot		compatible = "fsl,imx8qxp-lpcg";
64*b2d2a78aSEmmanuel Vadot		reg = <0x57243014 0x4>;
65*b2d2a78aSEmmanuel Vadot		#clock-cells = <1>;
66*b2d2a78aSEmmanuel Vadot		clocks = <&clk IMX_SC_R_LVDS_1_I2C_0 IMX_SC_PM_CLK_PER>,
67*b2d2a78aSEmmanuel Vadot			 <&lvds_ipg_clk>;
68*b2d2a78aSEmmanuel Vadot		clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
69*b2d2a78aSEmmanuel Vadot		clock-output-names = "lvds1_i2c1_lpcg_clk",
70*b2d2a78aSEmmanuel Vadot				     "lvds1_i2c1_lpcg_ipg_clk";
71*b2d2a78aSEmmanuel Vadot		power-domains = <&pd IMX_SC_R_LVDS_1_I2C_0>;
72*b2d2a78aSEmmanuel Vadot	};
73*b2d2a78aSEmmanuel Vadot
74*b2d2a78aSEmmanuel Vadot	pwm_lvds1: pwm@57244000 {
75*b2d2a78aSEmmanuel Vadot		compatible = "fsl,imx8qxp-pwm", "fsl,imx27-pwm";
76*b2d2a78aSEmmanuel Vadot		reg = <0x57244000 0x1000>;
77*b2d2a78aSEmmanuel Vadot		clocks = <&lvds1_pwm_lpcg IMX_LPCG_CLK_4>,
78*b2d2a78aSEmmanuel Vadot			 <&lvds1_pwm_lpcg IMX_LPCG_CLK_0>;
79*b2d2a78aSEmmanuel Vadot		clock-names = "ipg", "per";
80*b2d2a78aSEmmanuel Vadot		assigned-clocks = <&clk IMX_SC_R_LVDS_1_PWM_0 IMX_SC_PM_CLK_PER>;
81*b2d2a78aSEmmanuel Vadot		assigned-clock-rates = <24000000>;
82*b2d2a78aSEmmanuel Vadot		#pwm-cells = <3>;
83*b2d2a78aSEmmanuel Vadot		power-domains = <&pd IMX_SC_R_LVDS_1_PWM_0>;
84*b2d2a78aSEmmanuel Vadot		status = "disabled";
85*b2d2a78aSEmmanuel Vadot	};
86*b2d2a78aSEmmanuel Vadot
87*b2d2a78aSEmmanuel Vadot	i2c0_lvds1: i2c@57246000 {
88*b2d2a78aSEmmanuel Vadot		compatible = "fsl,imx8qm-lpi2c", "fsl,imx7ulp-lpi2c";
89*b2d2a78aSEmmanuel Vadot		reg = <0x57246000 0x1000>;
90*b2d2a78aSEmmanuel Vadot		#address-cells = <1>;
91*b2d2a78aSEmmanuel Vadot		#size-cells = <0>;
92*b2d2a78aSEmmanuel Vadot		interrupts = <8>;
93*b2d2a78aSEmmanuel Vadot		clocks = <&lvds1_i2c0_lpcg IMX_LPCG_CLK_0>,
94*b2d2a78aSEmmanuel Vadot			 <&lvds1_i2c0_lpcg IMX_LPCG_CLK_4>;
95*b2d2a78aSEmmanuel Vadot		clock-names = "per", "ipg";
96*b2d2a78aSEmmanuel Vadot		assigned-clocks = <&clk IMX_SC_R_LVDS_1_I2C_0 IMX_SC_PM_CLK_PER>;
97*b2d2a78aSEmmanuel Vadot		assigned-clock-rates = <24000000>;
98*b2d2a78aSEmmanuel Vadot		power-domains = <&pd IMX_SC_R_LVDS_1_I2C_0>;
99*b2d2a78aSEmmanuel Vadot		status = "disabled";
100*b2d2a78aSEmmanuel Vadot	};
101*b2d2a78aSEmmanuel Vadot
102*b2d2a78aSEmmanuel Vadot	i2c1_lvds1: i2c@57247000 {
103*b2d2a78aSEmmanuel Vadot		compatible = "fsl,imx8qm-lpi2c", "fsl,imx7ulp-lpi2c";
104*b2d2a78aSEmmanuel Vadot		reg = <0x57247000 0x1000>;
105*b2d2a78aSEmmanuel Vadot		interrupts = <9>;
106*b2d2a78aSEmmanuel Vadot		clocks = <&lvds1_i2c1_lpcg IMX_LPCG_CLK_0>,
107*b2d2a78aSEmmanuel Vadot			 <&lvds1_i2c1_lpcg IMX_LPCG_CLK_4>;
108*b2d2a78aSEmmanuel Vadot		clock-names = "per", "ipg";
109*b2d2a78aSEmmanuel Vadot		assigned-clocks = <&clk IMX_SC_R_LVDS_1_I2C_0 IMX_SC_PM_CLK_PER>;
110*b2d2a78aSEmmanuel Vadot		assigned-clock-rates = <24000000>;
111*b2d2a78aSEmmanuel Vadot		power-domains = <&pd IMX_SC_R_LVDS_1_I2C_0>;
112*b2d2a78aSEmmanuel Vadot		status = "disabled";
113*b2d2a78aSEmmanuel Vadot	};
114*b2d2a78aSEmmanuel Vadot};
115