mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-18 02:04:05 +08:00
22c765b921
All PWM users should explicitly enable the used PWMs in their device tree so they can be disabled by default in imx6qdl.dtsi. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
79 lines
1.5 KiB
Plaintext
79 lines
1.5 KiB
Plaintext
/*
|
|
* support fot the imx6 based aristainetos board
|
|
*
|
|
* Copyright (C) 2014 Heiko Schocher <hs@denx.de>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
*/
|
|
/dts-v1/;
|
|
#include "imx6dl.dtsi"
|
|
#include "imx6qdl-aristainetos.dtsi"
|
|
|
|
/ {
|
|
model = "aristainetos i.MX6 Dual Lite Board 7";
|
|
compatible = "fsl,imx6dl";
|
|
|
|
memory {
|
|
reg = <0x10000000 0x40000000>;
|
|
};
|
|
|
|
soc {
|
|
display0: display@di0 {
|
|
compatible = "fsl,imx-parallel-display";
|
|
interface-pix-fmt = "rgb24";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_ipu_disp>;
|
|
status = "okay";
|
|
|
|
display-timings {
|
|
800x480p60 {
|
|
native-mode;
|
|
clock-frequency = <33246000>;
|
|
hactive = <800>;
|
|
vactive = <480>;
|
|
hfront-porch = <88>;
|
|
hback-porch = <88>;
|
|
hsync-len = <80>;
|
|
vback-porch = <10>;
|
|
vfront-porch = <10>;
|
|
vsync-len = <25>;
|
|
vsync-active = <1>;
|
|
};
|
|
};
|
|
|
|
port {
|
|
display0_in: endpoint {
|
|
remote-endpoint = <&ipu1_di0_disp0>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
backlight {
|
|
compatible = "pwm-backlight";
|
|
pwms = <&pwm3 0 3000>;
|
|
brightness-levels = <0 4 8 16 32 64 128 255>;
|
|
default-brightness-level = <6>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_backlight>;
|
|
};
|
|
};
|
|
|
|
&i2c2 {
|
|
clock-frequency = <100000>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_i2c2>;
|
|
status = "okay";
|
|
};
|
|
|
|
&ipu1_di0_disp0 {
|
|
remote-endpoint = <&display0_in>;
|
|
};
|
|
|
|
&pwm3 {
|
|
status = "okay";
|
|
};
|