Loading...
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * support fot the imx6 based aristainetos board
4 *
5 * Copyright (C) 2014 Heiko Schocher <hs@denx.de>
6 */
7/dts-v1/;
8#include "imx6dl.dtsi"
9#include "imx6qdl-aristainetos.dtsi"
10
11/ {
12 model = "aristainetos i.MX6 Dual Lite Board 4";
13 compatible = "abb,aristainetos-imx6dl-4", "fsl,imx6dl";
14
15 backlight {
16 compatible = "pwm-backlight";
17 pwms = <&pwm1 0 5000000>;
18 brightness-levels = <0 4 8 16 32 64 128 255>;
19 default-brightness-level = <7>;
20 enable-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
21 pinctrl-names = "default";
22 pinctrl-0 = <&pinctrl_backlight>;
23 status = "okay";
24 };
25
26 memory@10000000 {
27 device_type = "memory";
28 reg = <0x10000000 0x40000000>;
29 };
30
31 display0: disp0 {
32 compatible = "fsl,imx-parallel-display";
33 interface-pix-fmt = "rgb24";
34 pinctrl-names = "default";
35 pinctrl-0 = <&pinctrl_ipu_disp>;
36 status = "okay";
37
38 display-timings {
39 480x800p60 {
40 native-mode;
41 clock-frequency = <30000000>;
42 hactive = <480>;
43 vactive = <800>;
44 hfront-porch = <59>;
45 hback-porch = <10>;
46 hsync-len = <10>;
47 vback-porch = <15>;
48 vfront-porch = <15>;
49 vsync-len = <15>;
50 hsync-active = <1>;
51 vsync-active = <1>;
52 };
53 };
54
55 port {
56 display0_in: endpoint {
57 remote-endpoint = <&ipu1_di0_disp0>;
58 };
59 };
60 };
61};
62
63&ecspi2 {
64 cs-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>;
65 pinctrl-names = "default";
66 pinctrl-0 = <&pinctrl_ecspi2>;
67 status = "okay";
68};
69
70&i2c2 {
71 clock-frequency = <100000>;
72 pinctrl-names = "default";
73 pinctrl-0 = <&pinctrl_i2c2>;
74 status = "okay";
75};
76
77&ipu1_di0_disp0 {
78 remote-endpoint = <&display0_in>;
79};
80
81&pwm1 {
82 #pwm-cells = <2>;
83 status = "okay";
84};
1/*
2 * support fot the imx6 based aristainetos board
3 *
4 * Copyright (C) 2014 Heiko Schocher <hs@denx.de>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 */
11/dts-v1/;
12#include "imx6dl.dtsi"
13#include "imx6qdl-aristainetos.dtsi"
14
15/ {
16 model = "aristainetos i.MX6 Dual Lite Board 4";
17 compatible = "fsl,imx6dl";
18
19 backlight {
20 compatible = "pwm-backlight";
21 pwms = <&pwm1 0 5000000>;
22 brightness-levels = <0 4 8 16 32 64 128 255>;
23 default-brightness-level = <7>;
24 enable-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
25 pinctrl-names = "default";
26 pinctrl-0 = <&pinctrl_backlight>;
27 status = "okay";
28 };
29
30 memory@10000000 {
31 reg = <0x10000000 0x40000000>;
32 };
33
34 display0: disp0 {
35 compatible = "fsl,imx-parallel-display";
36 interface-pix-fmt = "rgb24";
37 pinctrl-names = "default";
38 pinctrl-0 = <&pinctrl_ipu_disp>;
39 status = "okay";
40
41 display-timings {
42 480x800p60 {
43 native-mode;
44 clock-frequency = <30000000>;
45 hactive = <480>;
46 vactive = <800>;
47 hfront-porch = <59>;
48 hback-porch = <10>;
49 hsync-len = <10>;
50 vback-porch = <15>;
51 vfront-porch = <15>;
52 vsync-len = <15>;
53 hsync-active = <1>;
54 vsync-active = <1>;
55 };
56 };
57
58 port {
59 display0_in: endpoint {
60 remote-endpoint = <&ipu1_di0_disp0>;
61 };
62 };
63 };
64};
65
66&ecspi2 {
67 cs-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>;
68 pinctrl-names = "default";
69 pinctrl-0 = <&pinctrl_ecspi2>;
70 status = "okay";
71};
72
73&i2c2 {
74 clock-frequency = <100000>;
75 pinctrl-names = "default";
76 pinctrl-0 = <&pinctrl_i2c2>;
77 status = "okay";
78};
79
80&ipu1_di0_disp0 {
81 remote-endpoint = <&display0_in>;
82};
83
84&pwm1 {
85 status = "okay";
86};