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 {
31 reg = <0x10000000 0x40000000>;
32 };
33
34 soc {
35 display0: display@di0 {
36 compatible = "fsl,imx-parallel-display";
37 interface-pix-fmt = "rgb24";
38 pinctrl-names = "default";
39 pinctrl-0 = <&pinctrl_ipu_disp>;
40 status = "okay";
41
42 display-timings {
43 480x800p60 {
44 native-mode;
45 clock-frequency = <30000000>;
46 hactive = <480>;
47 vactive = <800>;
48 hfront-porch = <59>;
49 hback-porch = <10>;
50 hsync-len = <10>;
51 vback-porch = <15>;
52 vfront-porch = <15>;
53 vsync-len = <15>;
54 hsync-active = <1>;
55 vsync-active = <1>;
56 };
57 };
58
59 port {
60 display0_in: endpoint {
61 remote-endpoint = <&ipu1_di0_disp0>;
62 };
63 };
64 };
65 };
66};
67
68&ecspi2 {
69 fsl,spi-num-chipselects = <1>;
70 cs-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>;
71 pinctrl-names = "default";
72 pinctrl-0 = <&pinctrl_ecspi2>;
73 status = "okay";
74};
75
76&i2c2 {
77 clock-frequency = <100000>;
78 pinctrl-names = "default";
79 pinctrl-0 = <&pinctrl_i2c2>;
80 status = "okay";
81};
82
83&ipu1_di0_disp0 {
84 remote-endpoint = <&display0_in>;
85};
86
87&pwm1 {
88 status = "okay";
89};