xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/imx8-ss-lvds0.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 Vadotlvds0_subsys: bus@56240000 {
8*b2d2a78aSEmmanuel Vadot	compatible = "simple-bus";
9*b2d2a78aSEmmanuel Vadot	#address-cells = <1>;
10*b2d2a78aSEmmanuel Vadot	#size-cells = <1>;
11*b2d2a78aSEmmanuel Vadot	ranges = <0x56240000 0x0 0x56240000 0x10000>;
12*b2d2a78aSEmmanuel Vadot
13*b2d2a78aSEmmanuel Vadot	qm_lvds0_lis_lpcg: qxp_mipi1_lis_lpcg: clock-controller@56243000 {
14*b2d2a78aSEmmanuel Vadot		compatible = "fsl,imx8qxp-lpcg";
15*b2d2a78aSEmmanuel Vadot		reg = <0x56243000 0x4>;
16*b2d2a78aSEmmanuel Vadot		#clock-cells = <1>;
17*b2d2a78aSEmmanuel Vadot		clock-output-names = "lvds0_lis_lpcg_ipg_clk";
18*b2d2a78aSEmmanuel Vadot		power-domains = <&pd IMX_SC_R_MIPI_1>;
19*b2d2a78aSEmmanuel Vadot	};
20*b2d2a78aSEmmanuel Vadot
21*b2d2a78aSEmmanuel Vadot	qm_lvds0_pwm_lpcg: qxp_mipi1_pwm_lpcg: clock-controller@5624300c {
22*b2d2a78aSEmmanuel Vadot		compatible = "fsl,imx8qxp-lpcg";
23*b2d2a78aSEmmanuel Vadot		reg = <0x5624300c 0x4>;
24*b2d2a78aSEmmanuel Vadot		#clock-cells = <1>;
25*b2d2a78aSEmmanuel Vadot		clock-output-names = "lvds0_pwm_lpcg_clk",
26*b2d2a78aSEmmanuel Vadot				     "lvds0_pwm_lpcg_ipg_clk",
27*b2d2a78aSEmmanuel Vadot				     "lvds0_pwm_lpcg_32k_clk";
28*b2d2a78aSEmmanuel Vadot		power-domains = <&pd IMX_SC_R_MIPI_1_PWM_0>;
29*b2d2a78aSEmmanuel Vadot	};
30*b2d2a78aSEmmanuel Vadot
31*b2d2a78aSEmmanuel Vadot	qm_lvds0_i2c0_lpcg: qxp_mipi1_i2c0_lpcg: clock-controller@56243010 {
32*b2d2a78aSEmmanuel Vadot		compatible = "fsl,imx8qxp-lpcg";
33*b2d2a78aSEmmanuel Vadot		reg = <0x56243010 0x4>;
34*b2d2a78aSEmmanuel Vadot		#clock-cells = <1>;
35*b2d2a78aSEmmanuel Vadot		clock-output-names = "lvds0_i2c0_lpcg_clk",
36*b2d2a78aSEmmanuel Vadot				     "lvds0_i2c0_lpcg_ipg_clk";
37*b2d2a78aSEmmanuel Vadot		power-domains = <&pd IMX_SC_R_MIPI_1_I2C_0>;
38*b2d2a78aSEmmanuel Vadot	};
39*b2d2a78aSEmmanuel Vadot
40*b2d2a78aSEmmanuel Vadot	qm_pwm_lvds0: qxp_pwm_mipi_lvds1: pwm@56244000 {
41*b2d2a78aSEmmanuel Vadot		compatible = "fsl,imx8qxp-pwm", "fsl,imx27-pwm";
42*b2d2a78aSEmmanuel Vadot		reg = <0x56244000 0x1000>;
43*b2d2a78aSEmmanuel Vadot		clock-names = "ipg", "per";
44*b2d2a78aSEmmanuel Vadot		assigned-clocks = <&clk IMX_SC_R_MIPI_1_PWM_0 IMX_SC_PM_CLK_PER>;
45*b2d2a78aSEmmanuel Vadot		assigned-clock-rates = <24000000>;
46*b2d2a78aSEmmanuel Vadot		#pwm-cells = <3>;
47*b2d2a78aSEmmanuel Vadot		power-domains = <&pd IMX_SC_R_MIPI_1_PWM_0>;
48*b2d2a78aSEmmanuel Vadot		status = "disabled";
49*b2d2a78aSEmmanuel Vadot	};
50*b2d2a78aSEmmanuel Vadot
51*b2d2a78aSEmmanuel Vadot	qm_i2c0_lvds0: qxp_i2c0_mipi_lvds1: i2c@56246000 {
52*b2d2a78aSEmmanuel Vadot		compatible = "fsl,imx8qxp-lpi2c", "fsl,imx7ulp-lpi2c";
53*b2d2a78aSEmmanuel Vadot		reg = <0x56246000 0x1000>;
54*b2d2a78aSEmmanuel Vadot		#address-cells = <1>;
55*b2d2a78aSEmmanuel Vadot		#size-cells = <0>;
56*b2d2a78aSEmmanuel Vadot		interrupts = <8>;
57*b2d2a78aSEmmanuel Vadot		clock-names = "per", "ipg";
58*b2d2a78aSEmmanuel Vadot		assigned-clocks = <&clk IMX_SC_R_MIPI_1_I2C_0 IMX_SC_PM_CLK_PER>;
59*b2d2a78aSEmmanuel Vadot		assigned-clock-rates = <24000000>;
60*b2d2a78aSEmmanuel Vadot		power-domains = <&pd IMX_SC_R_MIPI_1_I2C_0>;
61*b2d2a78aSEmmanuel Vadot		status = "disabled";
62*b2d2a78aSEmmanuel Vadot	};
63*b2d2a78aSEmmanuel Vadot};
64