| 1 |
// SPDX-License-Identifier: GPL-2.0-only |
| 2 |
/* |
| 3 |
* support fot the imx6 based aristainetos board |
| 4 |
* |
| 5 |
* Copyright (C) 2014 Heiko Schocher <[email protected]> |
| 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 0>; |
| 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 |
native-mode = <&timing0>; |
| 40 |
timing0: timing-480x800p60 { |
| 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 |
status = "okay"; |
| 83 |
}; |