mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 15:41:52 +02:00
arm64: dts: imx8qm-mek: add pwm and i2c in lvds subsystem
Add pwm[0,1] and i2c[0,1] in lvds subsystem. Reviewed-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
52c9971edd
commit
d8b48040cb
|
|
@ -93,6 +93,22 @@ vdevbuffer: memory@90400000 {
|
|||
};
|
||||
};
|
||||
|
||||
lvds_backlight0: backlight-lvds0 {
|
||||
compatible = "pwm-backlight";
|
||||
pwms = <&qm_pwm_lvds0 0 100000 0>;
|
||||
brightness-levels = <0 100>;
|
||||
num-interpolated-steps = <100>;
|
||||
default-brightness-level = <80>;
|
||||
};
|
||||
|
||||
lvds_backlight1: backlight-lvds1 {
|
||||
compatible = "pwm-backlight";
|
||||
pwms = <&pwm_lvds1 0 100000 0>;
|
||||
brightness-levels = <0 100>;
|
||||
num-interpolated-steps = <100>;
|
||||
default-brightness-level = <80>;
|
||||
};
|
||||
|
||||
reg_usdhc2_vmmc: usdhc2-vmmc {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "SD1_SPWR";
|
||||
|
|
@ -334,6 +350,20 @@ wm8960: audio-codec@1a {
|
|||
};
|
||||
};
|
||||
|
||||
&i2c1_lvds0 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_lvds0_lpi2c1>;
|
||||
clock-frequency = <100000>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c1_lvds1 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_lvds1_lpi2c1>;
|
||||
clock-frequency = <100000>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&flexcan1 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_flexcan1>;
|
||||
|
|
@ -443,6 +473,18 @@ &fec2 {
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&qm_pwm_lvds0 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pwm_lvds0>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pwm_lvds1 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_pwm_lvds1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usdhc1 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_usdhc1>;
|
||||
|
|
@ -669,6 +711,32 @@ IMX8QM_M41_GPIO0_01_DMA_UART3_TX 0x06000020
|
|||
>;
|
||||
};
|
||||
|
||||
pinctrl_lvds0_lpi2c1: lvds0lpi2c1grp {
|
||||
fsl,pins = <
|
||||
IMX8QM_LVDS0_I2C1_SCL_LVDS0_I2C1_SCL 0xc600004c
|
||||
IMX8QM_LVDS0_I2C1_SDA_LVDS0_I2C1_SDA 0xc600004c
|
||||
>;
|
||||
};
|
||||
|
||||
pinctrl_lvds1_lpi2c1: lvds1lpi2c1grp {
|
||||
fsl,pins = <
|
||||
IMX8QM_LVDS1_I2C1_SCL_LVDS1_I2C1_SCL 0xc600004c
|
||||
IMX8QM_LVDS1_I2C1_SDA_LVDS1_I2C1_SDA 0xc600004c
|
||||
>;
|
||||
};
|
||||
|
||||
pinctrl_pwm_lvds0: pwmlvds0grp {
|
||||
fsl,pins = <
|
||||
IMX8QM_LVDS0_GPIO00_LVDS0_PWM0_OUT 0x00000020
|
||||
>;
|
||||
};
|
||||
|
||||
pinctrl_pwm_lvds1: pwmlvds1grp {
|
||||
fsl,pins = <
|
||||
IMX8QM_LVDS1_GPIO00_LVDS1_PWM0_OUT 0x00000020
|
||||
>;
|
||||
};
|
||||
|
||||
pinctrl_sai0: sai0grp {
|
||||
fsl,pins = <
|
||||
IMX8QM_SPI0_CS1_AUD_SAI0_TXC 0x0600004c
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user