Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * support fot the imx6 based aristainetos board
0004  *
0005  * Copyright (C) 2014 Heiko Schocher <hs@denx.de>
0006  */
0007 /dts-v1/;
0008 #include "imx6dl.dtsi"
0009 #include "imx6qdl-aristainetos.dtsi"
0010 
0011 / {
0012         model = "aristainetos i.MX6 Dual Lite Board 4";
0013         compatible = "abb,aristainetos-imx6dl-4", "fsl,imx6dl";
0014 
0015         backlight {
0016                 compatible = "pwm-backlight";
0017                 pwms = <&pwm1 0 5000000>;
0018                 brightness-levels = <0 4 8 16 32 64 128 255>;
0019                 default-brightness-level = <7>;
0020                 enable-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
0021                 pinctrl-names = "default";
0022                 pinctrl-0 = <&pinctrl_backlight>;
0023                 status = "okay";
0024         };
0025 
0026         memory@10000000 {
0027                 device_type = "memory";
0028                 reg = <0x10000000 0x40000000>;
0029         };
0030 
0031         display0: disp0 {
0032                 compatible = "fsl,imx-parallel-display";
0033                 interface-pix-fmt = "rgb24";
0034                 pinctrl-names = "default";
0035                 pinctrl-0 = <&pinctrl_ipu_disp>;
0036                 status = "okay";
0037 
0038                 display-timings {
0039                         480x800p60 {
0040                                 native-mode;
0041                                 clock-frequency = <30000000>;
0042                                 hactive = <480>;
0043                                 vactive = <800>;
0044                                 hfront-porch = <59>;
0045                                 hback-porch = <10>;
0046                                 hsync-len = <10>;
0047                                 vback-porch = <15>;
0048                                 vfront-porch = <15>;
0049                                 vsync-len = <15>;
0050                                 hsync-active = <1>;
0051                                 vsync-active = <1>;
0052                         };
0053                 };
0054 
0055                 port {
0056                         display0_in: endpoint {
0057                                 remote-endpoint = <&ipu1_di0_disp0>;
0058                         };
0059                 };
0060         };
0061 };
0062 
0063 &ecspi2 {
0064         cs-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>;
0065         pinctrl-names = "default";
0066         pinctrl-0 = <&pinctrl_ecspi2>;
0067         status = "okay";
0068 };
0069 
0070 &i2c2 {
0071         clock-frequency = <100000>;
0072         pinctrl-names = "default";
0073         pinctrl-0 = <&pinctrl_i2c2>;
0074         status = "okay";
0075 };
0076 
0077 &ipu1_di0_disp0 {
0078         remote-endpoint = <&display0_in>;
0079 };
0080 
0081 &pwm1 {
0082         #pwm-cells = <2>;
0083         status = "okay";
0084 };