Linux Audio

Check our new training course

Loading...
v4.17
 
 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 7";
17	compatible = "fsl,imx6dl";
18
19	memory@10000000 {
 
20		reg = <0x10000000 0x40000000>;
21	};
22
23	display0: disp0 {
24		compatible = "fsl,imx-parallel-display";
25		interface-pix-fmt = "rgb24";
26		pinctrl-names = "default";
27		pinctrl-0 = <&pinctrl_ipu_disp>;
28		status = "okay";
29
30		display-timings {
31			800x480p60 {
32				native-mode;
33				clock-frequency = <33246000>;
34				hactive = <800>;
35				vactive = <480>;
36				hfront-porch = <88>;
37				hback-porch = <88>;
38				hsync-len = <80>;
39				vback-porch = <10>;
40				vfront-porch = <10>;
41				vsync-len = <25>;
42				vsync-active = <1>;
43			};
44		};
45
46		port {
47			display0_in: endpoint {
48				remote-endpoint = <&ipu1_di0_disp0>;
49			};
50		};
51	};
52
53	backlight {
54		compatible = "pwm-backlight";
55		pwms = <&pwm3 0 3000>;
56		brightness-levels = <0 4 8 16 32 64 128 255>;
57		default-brightness-level = <6>;
58		pinctrl-names = "default";
59		pinctrl-0 = <&pinctrl_backlight>;
60	};
61};
62
63&i2c2 {
64	clock-frequency = <100000>;
65	pinctrl-names = "default";
66	pinctrl-0 = <&pinctrl_i2c2>;
67	status = "okay";
68};
69
70&ipu1_di0_disp0 {
71	remote-endpoint = <&display0_in>;
72};
73
74&pwm3 {
 
75	status = "okay";
76};
v6.2
 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 7";
13	compatible = "abb,aristainetos-imx6dl-7", "fsl,imx6dl";
14
15	memory@10000000 {
16		device_type = "memory";
17		reg = <0x10000000 0x40000000>;
18	};
19
20	display0: disp0 {
21		compatible = "fsl,imx-parallel-display";
22		interface-pix-fmt = "rgb24";
23		pinctrl-names = "default";
24		pinctrl-0 = <&pinctrl_ipu_disp>;
25		status = "okay";
26
27		display-timings {
28			800x480p60 {
29				native-mode;
30				clock-frequency = <33246000>;
31				hactive = <800>;
32				vactive = <480>;
33				hfront-porch = <88>;
34				hback-porch = <88>;
35				hsync-len = <80>;
36				vback-porch = <10>;
37				vfront-porch = <10>;
38				vsync-len = <25>;
39				vsync-active = <1>;
40			};
41		};
42
43		port {
44			display0_in: endpoint {
45				remote-endpoint = <&ipu1_di0_disp0>;
46			};
47		};
48	};
49
50	backlight {
51		compatible = "pwm-backlight";
52		pwms = <&pwm3 0 3000>;
53		brightness-levels = <0 4 8 16 32 64 128 255>;
54		default-brightness-level = <6>;
55		pinctrl-names = "default";
56		pinctrl-0 = <&pinctrl_backlight>;
57	};
58};
59
60&i2c2 {
61	clock-frequency = <100000>;
62	pinctrl-names = "default";
63	pinctrl-0 = <&pinctrl_i2c2>;
64	status = "okay";
65};
66
67&ipu1_di0_disp0 {
68	remote-endpoint = <&display0_in>;
69};
70
71&pwm3 {
72	#pwm-cells = <2>;
73	status = "okay";
74};