mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
arm: dts: imx8mm_evk: add pwm1/backlight support
Add pwm1/backlight support nodes for imx8mm_evk board Signed-off-by: Tommaso Merciai <tommaso.merciai@amarulasolutions.com>
This commit is contained in:
parent
6828b3ecea
commit
3c9d1945e6
1 changed files with 21 additions and 0 deletions
|
@ -41,6 +41,15 @@
|
||||||
enable-active-high;
|
enable-active-high;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
backlight: backlight {
|
||||||
|
status = "disabled";
|
||||||
|
compatible = "pwm-backlight";
|
||||||
|
pwms = <&pwm1 0 5000000>;
|
||||||
|
brightness-levels = <0 255>;
|
||||||
|
num-interpolated-steps = <255>;
|
||||||
|
default-brightness-level = <250>;
|
||||||
|
};
|
||||||
|
|
||||||
ir-receiver {
|
ir-receiver {
|
||||||
compatible = "gpio-ir-receiver";
|
compatible = "gpio-ir-receiver";
|
||||||
gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
|
||||||
|
@ -350,6 +359,12 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&pwm1 {
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&pinctrl_backlight>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
&iomuxc {
|
&iomuxc {
|
||||||
pinctrl_fec1: fec1grp {
|
pinctrl_fec1: fec1grp {
|
||||||
fsl,pins = <
|
fsl,pins = <
|
||||||
|
@ -491,4 +506,10 @@
|
||||||
MX8MM_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0x166
|
MX8MM_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0x166
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pinctrl_backlight: backlightgrp {
|
||||||
|
fsl,pins = <
|
||||||
|
MX8MM_IOMUXC_GPIO1_IO01_PWM1_OUT 0x06
|
||||||
|
>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue