arm, imx6, dts: add DT for aristainetos2 board
Subsystems (4)
PATCH v2 1/1 arm, imx6, dts: add DT for aristainetos2 board
This patch add support for the imx6dl based aristainetos2 board with following configuration:
CPU: Freescale i.MX6DL rev1.1 at 792 MHz MReset cause: POR MBoard: aristaitenos2 DRAM: 1 GiB NAND: 1024 MiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 SF: Detected N25Q128A with page size 256 Bytes, erase size 64 KiB, total 16 MiB Display: lb07wv8 (800x480)
As this board can used with 2 different display types, the differences between them are extracted into 2 DTS files, and the common settings are collected in a common file.
---
Changes in v2:
- add comments from Sascha Hauer:
- remove "clock-frequency" property in i2c nodes
- correct indentation in some pinctrl nodes
- move pin settings out of "gpiogrp" where it was possible led pins not moved, as they used through sysfs
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts | 124 ++++++ arch/arm/boot/dts/imx6dl-aristainetos2_7.dts | 63 +++ arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi | 627 +++++++++++++++++++++++++++ 3 files changed, 814 insertions(+) create mode 100644 arch/arm/boot/dts/imx6dl-aristainetos2_4.dts create mode 100644 arch/arm/boot/dts/imx6dl-aristainetos2_7.dts create mode 100644 arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +124 -0
@@ -0,0 +1,124 @@ +/* + * support fot the imx6 based aristainetos2 board + * + * Copyright (C) 2015 Heiko Schocher <[email protected]> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */ +/dts-v1/; +#include "imx6dl.dtsi" +#include "imx6qdl-aristainetos2.dtsi" + +/ { + model = "aristainetos2 i.MX6 Dual Lite Board 4"; + compatible = "fsl,imx6dl"; + + backlight { + compatible = "pwm-backlight"; + pwms = <&pwm1 0 5000000>; + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <7>; + status = "okay"; + }; + + memory { + reg = <0x10000000 0x40000000>; + }; + + soc { + display0: display at di0 { + compatible = "fsl,imx-parallel-display"; + interface-pix-fmt = "rgb24"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ipu1_1_80Ohm_clk>; + fsl,panel = <&lcd_panel>; + status = "okay"; + + port { + display0_in: endpoint { + remote-endpoint = <&ipu1_di0_disp0>; + }; + }; + }; + }; +}; + +&ecspi1 { + lcd_panel: display at 0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "lg,lg4573"; + spi-max-frequency = <10000000>; + reg = <0>; + power-on-delay = <10>; + display-timings { + 480x800p57 { + native-mode; + clock-frequency = <27000027>; + hactive = <480>; + vactive = <800>; + hfront-porch = <10>; + hback-porch = <59>; + hsync-len = <10>; + vback-porch = <15>; + vfront-porch = <15>; + vsync-len = <15>; + hsync-active = <1>; + vsync-active = <1>; + }; + }; + }; +}; + +&i2c3 { + atmel: atmel_mxt_ts at 4b { + compatible = "atmel,maxtouch"; + reg = <0x4b>; + interrupt-parent = <&gpio2>; + interrupts = <9 8>; + }; +}; + +&iomuxc { + ipu_disp1 { + pinctrl_ipu1_1_80Ohm_clk: ipudisp1grp { + fsl,pins = < + MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK 0x31 + MX6QDL_PAD_DI0_PIN15__IPU1_DI0_PIN15 0xE1 + MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02 0x10 + MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03 0x10 + MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00 0xE1 + MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01 0xE1 + MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02 0xE1 + MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03 0xE1 + MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04 0xE1 + MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05 0xE1 + MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06 0xE1 + MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07 0xE1 + MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08 0xE1 + MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09 0xE1 + MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10 0xE1 + MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11 0xE1 + MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12 0xE1 + MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13 0xE1 + MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14 0xe1 + MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15 0xE1 + MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16 0xE1 + MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17 0xE1 + MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18 0xE1 + MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19 0xE1 + MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20 0xE1 + MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21 0xE1 + MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22 0xE1 + MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23 0xE1 + >; + }; + }; +}; + +&ipu1_di0_disp0 { + remote-endpoint = <&display0_in>; +};
arch/arm/boot/dts/imx6dl-aristainetos2_7.dts new file +63 -0
63 lines not on this page · raw message
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +627 -0
627 lines not on this page · raw message
Signature · 1 line
2.1.0
Quoted 1 line · Heiko Schocher
This patch add support for the imx6dl based aristainetos2 board
What are the differences between aristainetos2 and aristainetos board?
Quoted 25 lines
with following configuration:
CPU: Freescale i.MX6DL rev1.1 at 792 MHz MReset cause: POR MBoard: aristaitenos2 DRAM: 1 GiB NAND: 1024 MiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 SF: Detected N25Q128A with page size 256 Bytes, erase size 64 KiB, total 16 MiB Display: lb07wv8 (800x480)As this board can used with 2 different display types, the differences between them are extracted into 2 DTS files, and the common settings are collected in a common file.
Signed-off-by Heiko Schocher <[email protected]>---
Changes in v2:
- add comments from Sascha Hauer:
- remove "clock-frequency" property in i2c nodes
- correct indentation in some pinctrl nodes
- move pin settings out of "gpiogrp" where it was possible led pins not moved, as they used through sysfs
Quoted 6 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts | 124 ++++++ arch/arm/boot/dts/imx6dl-aristainetos2_7.dts | 63 +++ arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi | 627 +++++++++++++++++++++++++++ 3 files changed, 814 insertions(+) create mode 100644 arch/arm/boot/dts/imx6dl-aristainetos2_4.dts create mode 100644 arch/arm/boot/dts/imx6dl-aristainetos2_7.dts
Add them as DTB target into arch/arm/boot/dts/Makefile.
Quoted 8 lines
create mode 100644 arch/arm/boot/dts/imx6qdl-aristainetos2.dtsiarch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +0
-0
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts line 10
Quoted 10 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +10
-0@@ -0,0 +1,124 @@ +/* + * support fot the imx6 based aristainetos2 board + * + * Copyright (C) 2015 Heiko Schocher <[email protected]> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */
GPL/X11 dual licence is suggested for new DTS files. See arch/arm/boot/dts/imx6sl-warp.dts for an example.
Quoted 4 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +4
-0+/dts-v1/; +#include "imx6dl.dtsi" +#include "imx6qdl-aristainetos2.dtsi" +
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts line 24
Quoted 10 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +10
-0+/ { + model = "aristainetos2 i.MX6 Dual Lite Board 4"; + compatible = "fsl,imx6dl"; + + backlight { + compatible = "pwm-backlight"; + pwms = <&pwm1 0 5000000>; + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <7>; + status = "okay";
status = "okay" is mostly used in board level dts to enable device that is by default disabled in <soc>.dtsi. In your case here, it can just be saved.
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts line 37
Quoted 13 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +13
-0+ }; + + memory { + reg = <0x10000000 0x40000000>; + }; + + soc { + display0: display at di0 { + compatible = "fsl,imx-parallel-display"; + interface-pix-fmt = "rgb24"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ipu1_1_80Ohm_clk>; + fsl,panel = <&lcd_panel>;
What is this? I failed to find it in Documentation/devicetree/bindings/
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts line 38
Quoted 1 line
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +1
-0+ status = "okay";
Can be saved?
Quoted 29 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +29
-0+ + port { + display0_in: endpoint { + remote-endpoint = <&ipu1_di0_disp0>; + }; + }; + }; + }; +}; + +&ecspi1 { + lcd_panel: display at 0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "lg,lg4573"; + spi-max-frequency = <10000000>; + reg = <0>; + power-on-delay = <10>; + display-timings { + 480x800p57 { + native-mode; + clock-frequency = <27000027>; + hactive = <480>; + vactive = <800>; + hfront-porch = <10>; + hback-porch = <59>; + hsync-len = <10>; + vback-porch = <15>; + vfront-porch = <15>;
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts line 77
Quoted 10 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +10
-0+ vsync-len = <15>; + hsync-active = <1>; + vsync-active = <1>; + }; + }; + }; +}; + +&i2c3 { + atmel: atmel_mxt_ts at 4b {
Node name should be generic.
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts line 86
Quoted 9 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +9
-0+ compatible = "atmel,maxtouch"; + reg = <0x4b>; + interrupt-parent = <&gpio2>; + interrupts = <9 8>; + }; +}; + +&iomuxc { + ipu_disp1 {
LinusW queued patch 5fcdf6a7ed95 ("pinctrl: imx: Allow parsing DT without function nodes") on pinctrl tree for 4.2 merge window. With that, we can save one level of the sub-node.
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts line 87
Quoted 1 line
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +1
-0+ pinctrl_ipu1_1_80Ohm_clk: ipudisp1grp {
The '1' suffix after 'ipu1' is meaningless. Please drop it. Also, will you use other pad configuration for CLK for this board? Otherwise, the suffix '_80Ohm_clk' can be saved too?
Quoted 70 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +37
-0+ fsl,pins = < + MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK 0x31 + MX6QDL_PAD_DI0_PIN15__IPU1_DI0_PIN15 0xE1 + MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02 0x10 + MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03 0x10 + MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00 0xE1 + MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01 0xE1 + MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02 0xE1 + MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03 0xE1 + MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04 0xE1 + MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05 0xE1 + MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06 0xE1 + MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07 0xE1 + MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08 0xE1 + MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09 0xE1 + MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10 0xE1 + MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11 0xE1 + MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12 0xE1 + MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13 0xE1 + MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14 0xe1 + MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15 0xE1 + MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16 0xE1 + MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17 0xE1 + MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18 0xE1 + MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19 0xE1 + MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20 0xE1 + MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21 0xE1 + MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22 0xE1 + MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23 0xE1 + >; + }; + }; +}; + +&ipu1_di0_disp0 { + remote-endpoint = <&display0_in>; +};arch/arm/boot/dts/imx6dl-aristainetos2_7.dts new file +27
-0@@ -0,0 +1,63 @@ +/* + * support fot the imx6 based aristainetos2 board + * + * Copyright (C) 2015 Heiko Schocher <[email protected]> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */ +/dts-v1/; +#include "imx6dl.dtsi" +#include "imx6qdl-aristainetos2.dtsi" + +/ { + model = "aristainetos2 i.MX6 Dual Lite Board 7"; + compatible = "fsl,imx6dl"; + + backlight { + compatible = "pwm-backlight"; + pwms = <&pwm1 0 3000>; + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <6>; + }; + + memory { + reg = <0x10000000 0x40000000>;
arch/arm/boot/dts/imx6dl-aristainetos2_7.dts line 37
Quoted 10 lines
arch/arm/boot/dts/imx6dl-aristainetos2_7.dts new file +10
-0+ }; +}; + +&i2c3 { + atmel: atmel_mxt_ts at 4d { + compatible = "atmel,maxtouch"; + reg = <0x4d>; + interrupt-parent = <&gpio2>; + interrupts = <9 8>; + };
It seems the touch device is identical between imx6dl-aristainetos2_4.dts and imx6dl-aristainetos2_7.dts. Why don't you put it into imx6qdl-aristainetos2.dtsi?
Quoted 59 lines
arch/arm/boot/dts/imx6dl-aristainetos2_7.dts new file +26
-0+}; + +&ldb { + status = "okay"; + + lvds-channel at 0 { + fsl,data-mapping = "spwg"; + fsl,data-width = <24>; + status = "okay"; + + display-timings { + native-mode = <&timing0>; + timing0: 800x480p60 { + clock-frequency = <33246000>; + hactive = <800>; + vactive = <480>; + hfront-porch = <88>; + hback-porch = <88>; + hsync-len = <80>; + vback-porch = <10>; + vfront-porch = <10>; + vsync-len = <25>; + }; + }; + }; +};arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +27
-0@@ -0,0 +1,627 @@ +/* + * support fot the imx6 based aristainetos2 board + * + * Copyright (C) 2015 Heiko Schocher <[email protected]> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */ + +#include <dt-bindings/gpio/gpio.h> + +/ { + regulators { + compatible = "simple-bus"; + + reg_2p5v: 2p5v { + compatible = "regulator-fixed"; + regulator-name = "2P5V"; + regulator-min-microvolt = <2500000>; + regulator-max-microvolt = <2500000>; + regulator-always-on; + }; + + reg_3p3v: 3p3v { + compatible = "regulator-fixed";
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi line 37
Quoted 10 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +10
-0+ regulator-name = "3P3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + reg_usbh1_vbus: usb-h1-vbus { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&gpio1 0 0>;
You included dt-bindings/gpio/gpio.h but did not use the macros?
Quoted 35 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +35
-0+ pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_aristainetos2_usbh1_vbus>; + regulator-name = "usb_h1_vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + }; + + reg_usbotg_vbus: usb-otg-vbus { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&gpio4 15 0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_aristainetos2_usbotg_vbus>; + regulator-name = "usb_otg_vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + }; + + }; +}; + +&audmux { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_audmux>; + status = "okay"; +}; + +&can1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexcan1>; + status = "okay"; +}; + +&can2 { + pinctrl-names = "default";
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi line 82
Quoted 10 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +10
-0+ pinctrl-0 = <&pinctrl_flexcan2>; + status = "okay"; +}; + +&ecspi1 { + fsl,spi-num-chipselects = <3>; + cs-gpios = <&gpio4 9 0 &gpio4 10 0 &gpio4 11 0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ecspi1>; + dma-names;
The dma-names should be a property with string value.
Quoted 144 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +144
-0+ status = "okay"; +}; + +&ecspi2 { + fsl,spi-num-chipselects = <2>; + cs-gpios = <&gpio2 26 0 &gpio2 27 0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ecspi2>; + dma-names; + status = "okay"; +}; + +&ecspi4 { + fsl,spi-num-chipselects = <2>; + cs-gpios = <&gpio3 29 0 &gpio5 2 0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ecspi4>; + dma-names; + status = "okay"; + + flash: m25p80 at 1 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "micron,n25q128a11"; + spi-max-frequency = <20000000>; + reg = <1>; + }; +}; + +&i2c1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c1>; + status = "okay"; + + pmic at 58 { + compatible = "dialog,da9063"; + reg = <0x58>; + interrupt-parent = <&gpio1>; + interrupts = <04 0x8>; + + regulators { + bcore1 { + regulator-name = "bcore1"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + bcore2 { + regulator-name = "bcore2"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + bpro { + regulator-name = "bpro"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + bperi { + regulator-name = "bperi"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + bmem { + regulator-name = "bmem"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + ldo2 { + regulator-name = "ldo2"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <1800000>; + }; + + ldo3 { + regulator-name = "ldo3"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + ldo4 { + regulator-name = "ldo4"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + ldo5 { + regulator-name = "ldo5"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + ldo6 { + regulator-name = "ldo6"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + ldo7 { + regulator-name = "ldo7"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + ldo8 { + regulator-name = "ldo8"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + ldo9 { + regulator-name = "ldo9"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + ldo10 { + regulator-name = "ldo10"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + ldo11 { + regulator-name = "ldo11"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>;
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi line 236
Quoted 10 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +10
-0+ }; + + bio { + regulator-name = "bio"; + regulator-always-on = <1>; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + }; + };
Have a new line between nodes.
Quoted 22 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +22
-0+ tmp103: tmp103 at 71 { + compatible = "ti,tmp103"; + reg = <0x71>; + }; +}; + +&i2c2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c2>; + status = "okay"; +}; + +&i2c3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c3>; + status = "okay"; + + expander: tca6416 at 20 { + compatible = "ti,tca6416"; + reg = <0x20>; + #gpio-cells = <2>; + gpio-controller;
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi line 268
Quoted 10 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +10
-0+ }; + + rtc at 68 { + compatible = "dallas,m41t00"; + reg = <0x68>; + }; +}; + +&i2c4 { + clocks = <&clks 116>;
Use macro for clock ID.
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi line 275
Quoted 7 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +7
-0+ pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c4>; + status = "okay"; + eeprom at 50{ + compatible = "atmel,24c64"; + reg = <0x50>; + };
Have new line between nodes.
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi line 282
Quoted 7 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +7
-0+ eeprom at 57{ + compatible = "atmel,24c64"; + reg = <0x57>; + }; +}; + +&iomuxc {
I suggest you put iomuxc node at the bottom of the file to improve the readability of the file.
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi line 284
Quoted 2 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +2
-0+ pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_backlight &pinctrl_gpio>;
These pins should be configured by client device node, not the hog group.
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi line 292
Quoted 8 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +8
-0+ + audmux { + pinctrl_audmux: audmux { + fsl,pins = < + MX6QDL_PAD_CSI0_DAT7__AUD3_RXD 0x80000000 + MX6QDL_PAD_CSI0_DAT4__AUD3_TXC 0x80000000 + MX6QDL_PAD_CSI0_DAT5__AUD3_TXD 0x80000000 + MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS 0x80000000
Provide a proper pad configuration value rather than 0x8000000.
Quoted 77 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +77
-0+ >; + }; + }; + + backlight { + pinctrl_backlight: backlightgrp { + fsl,pins = < + MX6QDL_PAD_GPIO_9__PWM1_OUT 0x1b0b0 + MX6QDL_PAD_EIM_BCLK__GPIO6_IO31 0x1b0b0 /* backlight enable */ + >; + }; + }; + + ecspi1 { + pinctrl_ecspi1: ecspi1grp { + fsl,pins = < + MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1 + MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1 + MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1 + MX6QDL_PAD_KEY_ROW1__GPIO4_IO09 0x100b1 /* SS0# */ + MX6QDL_PAD_KEY_COL2__GPIO4_IO10 0x100b1 /* SS1# */ + MX6QDL_PAD_KEY_ROW2__GPIO4_IO11 0x100b1 /* SS2# */ + >; + }; + }; + + ecspi2 { + pinctrl_ecspi2: ecspi2grp { + fsl,pins = < + MX6QDL_PAD_EIM_OE__ECSPI2_MISO 0x100b1 + MX6QDL_PAD_EIM_CS0__ECSPI2_SCLK 0x100b1 + MX6QDL_PAD_EIM_CS1__ECSPI2_MOSI 0x100b1 + MX6QDL_PAD_EIM_RW__GPIO2_IO26 0x100b1 /* SS0# */ + MX6QDL_PAD_EIM_LBA__GPIO2_IO27 0x100b1 /* SS1# */ + >; + }; + }; + + ecspi4 { + pinctrl_ecspi4: ecspi4grp { + fsl,pins = < + MX6QDL_PAD_EIM_D21__ECSPI4_SCLK 0x100b1 + MX6QDL_PAD_EIM_D22__ECSPI4_MISO 0x100b1 + MX6QDL_PAD_EIM_D28__ECSPI4_MOSI 0x100b1 + MX6QDL_PAD_EIM_D29__GPIO3_IO29 0x100b1 /* SS0# */ + MX6QDL_PAD_EIM_A25__GPIO5_IO02 0x100b1 /* SS1# */ + MX6QDL_PAD_SD4_DAT7__GPIO2_IO15 0x1b0b0 /* WP pin */ + >; + }; + }; + + enet { + pinctrl_enet: enetgrp { + fsl,pins = < + MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0 + MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0 + MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b0b0 + MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b0b0 + MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b0b0 + MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b0b0 + MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b0b0 + MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b0b0 + MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0 + MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b0b0 + MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b0b0 + MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b0b0 + MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b0b0 + MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b0b0 + MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0 + >; + }; + }; + + flexcan1 { + pinctrl_flexcan1: flexcan1grp { + fsl,pins = < + MX6QDL_PAD_SD3_CLK__FLEXCAN1_RX 0x80000000
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi line 379
Quoted 10 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +10
-0+ MX6QDL_PAD_SD3_CMD__FLEXCAN1_TX 0x80000000 + >; + }; + }; + + flexcan2 { + pinctrl_flexcan2: flexcan2grp { + fsl,pins = < + MX6QDL_PAD_SD3_DAT0__FLEXCAN2_TX 0x80000000 + MX6QDL_PAD_SD3_DAT1__FLEXCAN2_RX 0x80000000
Ditto
Quoted 118 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +118
-0+ >; + }; + }; + + gpio { + pinctrl_gpio: gpiogrp { + fsl,pins = < + MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x1b0b0 /* led enable */ + MX6QDL_PAD_NANDF_CS2__GPIO6_IO15 0x1b0b0 /* LCD power enable */ + MX6QDL_PAD_NANDF_CS3__GPIO6_IO16 0x1b0b0 /* led yellow */ + MX6QDL_PAD_EIM_EB0__GPIO2_IO28 0x1b0b0 /* led red */ + MX6QDL_PAD_EIM_A24__GPIO5_IO04 0x1b0b0 /* led green */ + MX6QDL_PAD_EIM_EB1__GPIO2_IO29 0x1b0b0 /* led blue */ + MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x1b0b0 /* Profibus IRQ */ + MX6QDL_PAD_SD3_DAT6__GPIO6_IO18 0x1b0b0 /* FPGA IRQ */ + MX6QDL_PAD_EIM_A23__GPIO6_IO06 0x1b0b0 /* spi bus #2 SS driver enable */ + MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x1b0b0 /* RST_LOC# PHY reset input (has pull-down!)*/ + MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x1b0b0 /* USB_OTG_ID = GPIO1_24*/ + MX6QDL_PAD_SD4_DAT1__GPIO2_IO09 0x1b0b0 /* Touchscreen IRQ */ + MX6QDL_PAD_EIM_A22__GPIO2_IO16 0x1b0b0 /* PCIe reset */ + >; + }; + }; + + gpmi-nand { + pinctrl_gpmi_nand: gpmi-nand { + fsl,pins = < + MX6QDL_PAD_NANDF_CLE__NAND_CLE 0xb0b1 + MX6QDL_PAD_NANDF_ALE__NAND_ALE 0xb0b1 + MX6QDL_PAD_NANDF_WP_B__NAND_WP_B 0xb0b1 + MX6QDL_PAD_NANDF_RB0__NAND_READY_B 0xb000 + MX6QDL_PAD_NANDF_CS0__NAND_CE0_B 0xb0b1 + MX6QDL_PAD_SD4_CMD__NAND_RE_B 0xb0b1 + MX6QDL_PAD_SD4_CLK__NAND_WE_B 0xb0b1 + MX6QDL_PAD_NANDF_D0__NAND_DATA00 0xb0b1 + MX6QDL_PAD_NANDF_D1__NAND_DATA01 0xb0b1 + MX6QDL_PAD_NANDF_D2__NAND_DATA02 0xb0b1 + MX6QDL_PAD_NANDF_D3__NAND_DATA03 0xb0b1 + MX6QDL_PAD_NANDF_D4__NAND_DATA04 0xb0b1 + MX6QDL_PAD_NANDF_D5__NAND_DATA05 0xb0b1 + MX6QDL_PAD_NANDF_D6__NAND_DATA06 0xb0b1 + MX6QDL_PAD_NANDF_D7__NAND_DATA07 0xb0b1 + >; + }; + }; + + i2c1 { + pinctrl_i2c1: i2c1grp { + fsl,pins = < + MX6QDL_PAD_CSI0_DAT8__I2C1_SDA 0x4001b8b1 + MX6QDL_PAD_CSI0_DAT9__I2C1_SCL 0x4001b8b1 + >; + }; + }; + + i2c2 { + pinctrl_i2c2: i2c2grp { + fsl,pins = < + MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1 + MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1 + >; + }; + }; + + i2c3 { + pinctrl_i2c3: i2c3grp { + fsl,pins = < + MX6QDL_PAD_GPIO_5__I2C3_SCL 0x4001b8b1 + MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1 + >; + }; + }; + + i2c4 { + pinctrl_i2c4: i2c4grp { + fsl,pins = < + MX6QDL_PAD_GPIO_7__I2C4_SCL 0x4001b8b1 + MX6QDL_PAD_GPIO_8__I2C4_SDA 0x4001b8b1 + >; + }; + }; + + uart1 { + pinctrl_uart1: uart1grp { + fsl,pins = < + MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1 + MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA 0x1b0b1 + MX6QDL_PAD_EIM_D20__UART1_RTS_B 0x1b0b1 + MX6QDL_PAD_EIM_D19__UART1_CTS_B 0x1b0b1 + >; + }; + }; + + uart2 { + pinctrl_uart2: uart2grp { + fsl,pins = < + MX6QDL_PAD_EIM_D26__UART2_TX_DATA 0x1b0b1 + MX6QDL_PAD_EIM_D27__UART2_RX_DATA 0x1b0b1 + >; + }; + }; + + uart3 { + pinctrl_uart3: uart3grp { + fsl,pins = < + MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1 + MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1 + MX6QDL_PAD_EIM_D31__UART3_RTS_B 0x1b0b1 + MX6QDL_PAD_EIM_D23__UART3_CTS_B 0x1b0b1 + >; + }; + }; + + uart4 { + pinctrl_uart4: uart4grp { + fsl,pins = < + MX6QDL_PAD_KEY_COL0__UART4_TX_DATA 0x1b0b1 + MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b0b1
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi line 507
Quoted 10 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +10
-0+ >; + }; + }; + + usbotg { + pinctrl_usbotg: usbotggrp { + fsl,pins = < + MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059 + >; + };
New line between nodes.
Quoted 35 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +35
-0+ pinctrl_aristainetos2_usbh1_vbus: aristainetos-usbh1-vbus { + fsl,pins = <MX6QDL_PAD_GPIO_0__USB_H1_PWR 0x130b0>; + }; + pinctrl_aristainetos2_usbotg_vbus: aristainetos-usbotg-vbus { + fsl,pins = <MX6QDL_PAD_KEY_ROW4__USB_OTG_PWR 0x130b0>; + }; + }; + + usdhc1 { + pinctrl_usdhc1: usdhc1grp { + fsl,pins = < + MX6QDL_PAD_SD1_CMD__SD1_CMD 0x17059 + MX6QDL_PAD_SD1_CLK__SD1_CLK 0x10059 + MX6QDL_PAD_SD1_DAT0__SD1_DATA0 0x17059 + MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x17059 + MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x17059 + MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x17059 + MX6QDL_PAD_ENET_RXD0__GPIO1_IO27 0x1b0b0 /* SD1 card detect input */ + MX6QDL_PAD_DI0_PIN4__GPIO4_IO20 0x1b0b0 /* SD1 write protect input */ + >; + }; + }; + + usdhc2 { + pinctrl_usdhc2: usdhc2grp { + fsl,pins = < + MX6QDL_PAD_SD2_CMD__SD2_CMD 0x71 + MX6QDL_PAD_SD2_CLK__SD2_CLK 0x71 + MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x71 + MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x71 + MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x71 + MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x71 + MX6QDL_PAD_SD3_RST__GPIO7_IO08 0x1b0b0 /* SD2 level shifter output enable */ + MX6QDL_PAD_GPIO_19__GPIO4_IO05 0x1b0b0 /* SD2 card detect input */ + MX6QDL_PAD_SD4_DAT2__GPIO2_IO10 0x1b0b0 /* SD2 write protect input */
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi line 552
Quoted 10 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +10
-0+ >; + }; + }; +}; + +&fec { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_enet>; + phy-mode = "rgmii"; + phy-reset-gpios = <&gpio7 18 0>;
All the gpio properties need to be check for using the macros defined in gpio.h.
Shawn
Quoted 83 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +75
-0+ txd0-skew-ps = <0>; + txd1-skew-ps = <0>; + txd2-skew-ps = <0>; + txd3-skew-ps = <0>; + status = "okay"; +}; + +&gpmi { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpmi_nand>; + status = "okay"; +}; + +&pcie { + reset-gpio = <&gpio2 16 0>; + status = "okay"; +}; + +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart1>; + fsl,uart-has-rtscts; + status = "okay"; +}; + +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart2>; + status = "okay"; +}; + +&uart3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart3>; + fsl,uart-has-rtscts; + status = "okay"; +}; + +&uart4 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart4>; + status = "okay"; +}; + +&usbh1 { + vbus-supply = <®_usbh1_vbus>; + dr_mode = "host"; + status = "okay"; +}; + +&usbotg { + vbus-supply = <®_usbotg_vbus>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbotg>; + disable-over-current; + dr_mode = "host"; + status = "okay"; +}; + +&usdhc1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc1>; + cd-gpios = <&gpio1 27 0>; + no-1-8-v; + status = "okay"; +}; + +&usdhc2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc2>; + cd-gpios = <&gpio4 5 0>; + wp-gpios = <&gpio2 10 0>; + no-1-8-v; + status = "okay"; +};Signature · 7 lines
2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Hello Shawn,
Am 18.05.2015 13:31, schrieb Shawn Guo:
Quoted 4 lines · Heiko Schocher
Quoted 1 line
This patch add support for the imx6dl based aristainetos2 board
What are the differences between aristainetos2 and aristainetos board?
aristainetos is a i.MX6 design with a proprietary form-factor and interface connector. aristainetos2 is a SMARC compatible design.
Quoted 25 lines
Quoted 25 lines
with following configuration:
CPU: Freescale i.MX6DL rev1.1 at 792 MHz MReset cause: POR MBoard: aristaitenos2 DRAM: 1 GiB NAND: 1024 MiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 SF: Detected N25Q128A with page size 256 Bytes, erase size 64 KiB, total 16 MiB Display: lb07wv8 (800x480)As this board can used with 2 different display types, the differences between them are extracted into 2 DTS files, and the common settings are collected in a common file.
Signed-off-by Heiko Schocher <[email protected]>---
Changes in v2:
- add comments from Sascha Hauer:
- remove "clock-frequency" property in i2c nodes
- correct indentation in some pinctrl nodes
- move pin settings out of "gpiogrp" where it was possible led pins not moved, as they used through sysfs
Quoted 8 lines
Quoted 6 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts | 124 ++++++ arch/arm/boot/dts/imx6dl-aristainetos2_7.dts | 63 +++ arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi | 627 +++++++++++++++++++++++++++ 3 files changed, 814 insertions(+)create mode 100644
arch/arm/boot/dts/imx6dl-aristainetos2_4.dtscreate mode 100644arch/arm/boot/dts/imx6dl-aristainetos2_7.dtsAdd them as DTB target into
arch/arm/boot/dts/Makefile.
Oh, no idea, why this is not in the patch!
Quoted 13 lines
Quoted 13 lines
create mode 100644
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsiarch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +5
-0@@ -0,0 +1,124 @@ +/* + * support fot the imx6 based aristainetos2 board + * + * Copyright (C) 2015 Heiko Schocher <[email protected]> + *
Quoted 8 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts line 10
Quoted 5 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +5
-0+ * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */GPL/X11 dual licence is suggested for new DTS files. See
arch/arm/boot/dts/imx6sl-warp.dtsfor an example.
Ok, I ask the customer, if this is OK for him ...
Quoted 10 lines
Quoted 10 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +10
-0+/dts-v1/; +#include "imx6dl.dtsi" +#include "imx6qdl-aristainetos2.dtsi" + +/ { + model = "aristainetos2 i.MX6 Dual Lite Board 4"; + compatible = "fsl,imx6dl"; + + backlight { + compatible = "pwm-backlight";
Quoted 8 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts line 24
Quoted 4 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +4
-0+ pwms = <&pwm1 0 5000000>; + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <7>; + status = "okay";status = "okay" is mostly used in board level dts to enable device that is by default disabled in <soc>.dtsi. In your case here, it can just be saved.
Ok, remove it.
Quoted 7 lines
Quoted 7 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +7
-0+ }; + + memory { + reg = <0x10000000 0x40000000>; + }; + + soc {
Quoted 8 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts line 37
Quoted 6 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +6
-0+ display0: display at di0 { + compatible = "fsl,imx-parallel-display"; + interface-pix-fmt = "rgb24"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ipu1_1_80Ohm_clk>; + fsl,panel = <&lcd_panel>;What is this? I failed to find it in
Documentation/devicetree/bindings/
Ah, this is not documentated, see commit:
commit 628f435be4359e6ae8ecfdda9b492053be76a057
Author: Philipp Zabel <[email protected]> Date: Tue Feb 25 11:55:04 2014 +0100
imx-drm: parallel-display: Add drm_panel support
added Philipp to cc ...
Quoted 3 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts line 38
Quoted 1 line
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +1
-0+ status = "okay";Can be saved?
I try it ...
Quoted 33 lines
Quoted 33 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +33
-0+ + port { + display0_in: endpoint { + remote-endpoint = <&ipu1_di0_disp0>; + }; + }; + }; + }; +}; + +&ecspi1 { + lcd_panel: display at 0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "lg,lg4573"; + spi-max-frequency = <10000000>; + reg = <0>; + power-on-delay = <10>; + display-timings { + 480x800p57 { + native-mode; + clock-frequency = <27000027>; + hactive = <480>; + vactive = <800>; + hfront-porch = <10>; + hback-porch = <59>; + hsync-len = <10>; + vback-porch = <15>; + vfront-porch = <15>; + vsync-len = <15>; + hsync-active = <1>; + vsync-active = <1>; + };
Quoted 8 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts line 77
Quoted 6 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +6
-0+ }; + }; +}; + +&i2c3 { + atmel: atmel_mxt_ts at 4b {Node name should be generic.
So, what name do you prefer?
Quoted 5 lines
Quoted 5 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +5
-0+ compatible = "atmel,maxtouch"; + reg = <0x4b>; + interrupt-parent = <&gpio2>; + interrupts = <9 8>; + };
Quoted 8 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts line 86
Quoted 4 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +4
-0+}; + +&iomuxc { + ipu_disp1 {LinusW queued patch
5fcdf6a7ed95("pinctrl: imx: Allow parsing DT without function nodes") on pinctrl tree for 4.2 merge window. With that, we can save one level of the sub-node.
Oh, thanks for that hint, I look into it.
Quoted 5 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts line 87
Quoted 1 line
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +1
-0+ pinctrl_ipu1_1_80Ohm_clk: ipudisp1grp {The '1' suffix after 'ipu1' is meaningless. Please drop it. Also, will you use other pad configuration for CLK for this board? Otherwise, the suffix '
_80Ohm_clk' can be saved too?
I have to look into it.
Quoted 76 lines
Quoted 76 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +37
-0+ fsl,pins = < + MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK 0x31 + MX6QDL_PAD_DI0_PIN15__IPU1_DI0_PIN15 0xE1 + MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02 0x10 + MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03 0x10 + MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00 0xE1 + MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01 0xE1 + MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02 0xE1 + MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03 0xE1 + MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04 0xE1 + MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05 0xE1 + MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06 0xE1 + MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07 0xE1 + MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08 0xE1 + MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09 0xE1 + MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10 0xE1 + MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11 0xE1 + MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12 0xE1 + MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13 0xE1 + MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14 0xe1 + MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15 0xE1 + MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16 0xE1 + MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17 0xE1 + MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18 0xE1 + MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19 0xE1 + MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20 0xE1 + MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21 0xE1 + MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22 0xE1 + MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23 0xE1 + >; + }; + }; +}; + +&ipu1_di0_disp0 { + remote-endpoint = <&display0_in>; +};arch/arm/boot/dts/imx6dl-aristainetos2_7.dts new file +33
-0@@ -0,0 +1,63 @@ +/* + * support fot the imx6 based aristainetos2 board + * + * Copyright (C) 2015 Heiko Schocher <[email protected]> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */ +/dts-v1/; +#include "imx6dl.dtsi" +#include "imx6qdl-aristainetos2.dtsi" + +/ { + model = "aristainetos2 i.MX6 Dual Lite Board 7"; + compatible = "fsl,imx6dl"; + + backlight { + compatible = "pwm-backlight"; + pwms = <&pwm1 0 3000>; + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <6>; + }; + + memory { + reg = <0x10000000 0x40000000>; + }; +}; + +&i2c3 { + atmel: atmel_mxt_ts at 4d { + compatible = "atmel,maxtouch";
Quoted 8 lines
arch/arm/boot/dts/imx6dl-aristainetos2_7.dts line 37
Quoted 4 lines
arch/arm/boot/dts/imx6dl-aristainetos2_7.dts new file +4
-0+ reg = <0x4d>; + interrupt-parent = <&gpio2>; + interrupts = <9 8>; + };It seems the touch device is identical between
imx6dl-aristainetos2_4.dtsandimx6dl-aristainetos2_7.dts. Why don't you put it intoimx6qdl-aristainetos2.dtsi?
They have different i2c addresses ...
Quoted 63 lines
Quoted 63 lines
arch/arm/boot/dts/imx6dl-aristainetos2_7.dts new file +26
-0+}; + +&ldb { + status = "okay"; + + lvds-channel at 0 { + fsl,data-mapping = "spwg"; + fsl,data-width = <24>; + status = "okay"; + + display-timings { + native-mode = <&timing0>; + timing0: 800x480p60 { + clock-frequency = <33246000>; + hactive = <800>; + vactive = <480>; + hfront-porch = <88>; + hback-porch = <88>; + hsync-len = <80>; + vback-porch = <10>; + vfront-porch = <10>; + vsync-len = <25>; + }; + }; + }; +};arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +31
-0@@ -0,0 +1,627 @@ +/* + * support fot the imx6 based aristainetos2 board + * + * Copyright (C) 2015 Heiko Schocher <[email protected]> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */ + +#include <dt-bindings/gpio/gpio.h> + +/ { + regulators { + compatible = "simple-bus"; + + reg_2p5v: 2p5v { + compatible = "regulator-fixed"; + regulator-name = "2P5V"; + regulator-min-microvolt = <2500000>; + regulator-max-microvolt = <2500000>; + regulator-always-on; + }; + + reg_3p3v: 3p3v { + compatible = "regulator-fixed"; + regulator-name = "3P3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on;
Quoted 8 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi line 37
Quoted 6 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +6
-0+ }; + + reg_usbh1_vbus: usb-h1-vbus { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&gpio1 0 0>;You included
dt-bindings/gpio/gpio.hbut did not use the macros?
Hups, I rework this.
Quoted 39 lines
Quoted 39 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +39
-0+ pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_aristainetos2_usbh1_vbus>; + regulator-name = "usb_h1_vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + }; + + reg_usbotg_vbus: usb-otg-vbus { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&gpio4 15 0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_aristainetos2_usbotg_vbus>; + regulator-name = "usb_otg_vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + }; + + }; +}; + +&audmux { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_audmux>; + status = "okay"; +}; + +&can1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexcan1>; + status = "okay"; +}; + +&can2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexcan2>; + status = "okay"; +}; +
Quoted 8 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi line 82
Quoted 6 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +6
-0+&ecspi1 { + fsl,spi-num-chipselects = <3>; + cs-gpios = <&gpio4 9 0 &gpio4 10 0 &gpio4 11 0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ecspi1>; + dma-names;The dma-names should be a property with string value.
Ah, yes, you are right, since commit:
commit a02bb401f8ae264be782ee57d98bdd99f14c8022
Author: Robin Gong <[email protected]> Date: Tue Feb 3 10:25:53 2015 +0800
spi: imx: use pio mode for i.mx6dl
this is not longer needed, I remove (and test) it.
Quoted 148 lines
Quoted 148 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +148
-0+ status = "okay"; +}; + +&ecspi2 { + fsl,spi-num-chipselects = <2>; + cs-gpios = <&gpio2 26 0 &gpio2 27 0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ecspi2>; + dma-names; + status = "okay"; +}; + +&ecspi4 { + fsl,spi-num-chipselects = <2>; + cs-gpios = <&gpio3 29 0 &gpio5 2 0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ecspi4>; + dma-names; + status = "okay"; + + flash: m25p80 at 1 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "micron,n25q128a11"; + spi-max-frequency = <20000000>; + reg = <1>; + }; +}; + +&i2c1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c1>; + status = "okay"; + + pmic at 58 { + compatible = "dialog,da9063"; + reg = <0x58>; + interrupt-parent = <&gpio1>; + interrupts = <04 0x8>; + + regulators { + bcore1 { + regulator-name = "bcore1"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + bcore2 { + regulator-name = "bcore2"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + bpro { + regulator-name = "bpro"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + bperi { + regulator-name = "bperi"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + bmem { + regulator-name = "bmem"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + ldo2 { + regulator-name = "ldo2"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <1800000>; + }; + + ldo3 { + regulator-name = "ldo3"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + ldo4 { + regulator-name = "ldo4"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + ldo5 { + regulator-name = "ldo5"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + ldo6 { + regulator-name = "ldo6"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + ldo7 { + regulator-name = "ldo7"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + ldo8 { + regulator-name = "ldo8"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + ldo9 { + regulator-name = "ldo9"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + ldo10 { + regulator-name = "ldo10"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + ldo11 { + regulator-name = "ldo11"; + regulator-always-on = <1>; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <3300000>; + }; + + bio { + regulator-name = "bio";
Quoted 8 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi line 236
Quoted 6 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +6
-0+ regulator-always-on = <1>; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + }; + };Have a new line between nodes.
Fixed.
Quoted 26 lines
Quoted 26 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +26
-0+ tmp103: tmp103 at 71 { + compatible = "ti,tmp103"; + reg = <0x71>; + }; +}; + +&i2c2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c2>; + status = "okay"; +}; + +&i2c3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c3>; + status = "okay"; + + expander: tca6416 at 20 { + compatible = "ti,tca6416"; + reg = <0x20>; + #gpio-cells = <2>; + gpio-controller; + }; + + rtc at 68 { + compatible = "dallas,m41t00";
Quoted 8 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi line 268
Quoted 6 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +6
-0+ reg = <0x68>; + }; +}; + +&i2c4 { + clocks = <&clks 116>;Use macro for clock ID.
Ok, change this.
Quoted 9 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi line 275
Quoted 7 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +7
-0+ pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c4>; + status = "okay"; + eeprom at 50{ + compatible = "atmel,24c64"; + reg = <0x50>; + };Have new line between nodes.
Yep
Quoted 10 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi line 282
Quoted 7 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +7
-0+ eeprom at 57{ + compatible = "atmel,24c64"; + reg = <0x57>; + }; +}; + +&iomuxc {I suggest you put iomuxc node at the bottom of the file to improve the readability of the file.
I was unsure about this, because it breaks alphabetical sort criteria ... ok, I move it to the end.
Quoted 5 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi line 284
Quoted 2 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +2
-0+ pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_backlight &pinctrl_gpio>;These pins should be configured by client device node, not the hog group.
I look into it
Quoted 10 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi line 292
Quoted 8 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +8
-0+ + audmux { + pinctrl_audmux: audmux { + fsl,pins = < + MX6QDL_PAD_CSI0_DAT7__AUD3_RXD 0x80000000 + MX6QDL_PAD_CSI0_DAT4__AUD3_TXC 0x80000000 + MX6QDL_PAD_CSI0_DAT5__AUD3_TXD 0x80000000 + MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS 0x80000000Provide a proper pad configuration value rather than
0x8000000.
Ok, rework this for all pins.
Quoted 261 lines
Quoted 77 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +77
-0+ >; + }; + }; + + backlight { + pinctrl_backlight: backlightgrp { + fsl,pins = < + MX6QDL_PAD_GPIO_9__PWM1_OUT 0x1b0b0 + MX6QDL_PAD_EIM_BCLK__GPIO6_IO31 0x1b0b0 /* backlight enable */ + >; + }; + }; + + ecspi1 { + pinctrl_ecspi1: ecspi1grp { + fsl,pins = < + MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1 + MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1 + MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1 + MX6QDL_PAD_KEY_ROW1__GPIO4_IO09 0x100b1 /* SS0# */ + MX6QDL_PAD_KEY_COL2__GPIO4_IO10 0x100b1 /* SS1# */ + MX6QDL_PAD_KEY_ROW2__GPIO4_IO11 0x100b1 /* SS2# */ + >; + }; + }; + + ecspi2 { + pinctrl_ecspi2: ecspi2grp { + fsl,pins = < + MX6QDL_PAD_EIM_OE__ECSPI2_MISO 0x100b1 + MX6QDL_PAD_EIM_CS0__ECSPI2_SCLK 0x100b1 + MX6QDL_PAD_EIM_CS1__ECSPI2_MOSI 0x100b1 + MX6QDL_PAD_EIM_RW__GPIO2_IO26 0x100b1 /* SS0# */ + MX6QDL_PAD_EIM_LBA__GPIO2_IO27 0x100b1 /* SS1# */ + >; + }; + }; + + ecspi4 { + pinctrl_ecspi4: ecspi4grp { + fsl,pins = < + MX6QDL_PAD_EIM_D21__ECSPI4_SCLK 0x100b1 + MX6QDL_PAD_EIM_D22__ECSPI4_MISO 0x100b1 + MX6QDL_PAD_EIM_D28__ECSPI4_MOSI 0x100b1 + MX6QDL_PAD_EIM_D29__GPIO3_IO29 0x100b1 /* SS0# */ + MX6QDL_PAD_EIM_A25__GPIO5_IO02 0x100b1 /* SS1# */ + MX6QDL_PAD_SD4_DAT7__GPIO2_IO15 0x1b0b0 /* WP pin */ + >; + }; + }; + + enet { + pinctrl_enet: enetgrp { + fsl,pins = < + MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0 + MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0 + MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b0b0 + MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b0b0 + MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b0b0 + MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b0b0 + MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b0b0 + MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b0b0 + MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0 + MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b0b0 + MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b0b0 + MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b0b0 + MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b0b0 + MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b0b0 + MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0 + >; + }; + }; + + flexcan1 { + pinctrl_flexcan1: flexcan1grp { + fsl,pins = < + MX6QDL_PAD_SD3_CLK__FLEXCAN1_RX 0x80000000arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi line 379
Quoted 10 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +10
-0+ MX6QDL_PAD_SD3_CMD__FLEXCAN1_TX 0x80000000 + >; + }; + }; + + flexcan2 { + pinctrl_flexcan2: flexcan2grp { + fsl,pins = < + MX6QDL_PAD_SD3_DAT0__FLEXCAN2_TX 0x80000000 + MX6QDL_PAD_SD3_DAT1__FLEXCAN2_RX 0x80000000Ditto
Quoted 118 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +118
-0+ >; + }; + }; + + gpio { + pinctrl_gpio: gpiogrp { + fsl,pins = < + MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x1b0b0 /* led enable */ + MX6QDL_PAD_NANDF_CS2__GPIO6_IO15 0x1b0b0 /* LCD power enable */ + MX6QDL_PAD_NANDF_CS3__GPIO6_IO16 0x1b0b0 /* led yellow */ + MX6QDL_PAD_EIM_EB0__GPIO2_IO28 0x1b0b0 /* led red */ + MX6QDL_PAD_EIM_A24__GPIO5_IO04 0x1b0b0 /* led green */ + MX6QDL_PAD_EIM_EB1__GPIO2_IO29 0x1b0b0 /* led blue */ + MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0x1b0b0 /* Profibus IRQ */ + MX6QDL_PAD_SD3_DAT6__GPIO6_IO18 0x1b0b0 /* FPGA IRQ */ + MX6QDL_PAD_EIM_A23__GPIO6_IO06 0x1b0b0 /* spi bus #2 SS driver enable */ + MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x1b0b0 /* RST_LOC# PHY reset input (has pull-down!)*/ + MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x1b0b0 /* USB_OTG_ID = GPIO1_24*/ + MX6QDL_PAD_SD4_DAT1__GPIO2_IO09 0x1b0b0 /* Touchscreen IRQ */ + MX6QDL_PAD_EIM_A22__GPIO2_IO16 0x1b0b0 /* PCIe reset */ + >; + }; + }; + + gpmi-nand { + pinctrl_gpmi_nand: gpmi-nand { + fsl,pins = < + MX6QDL_PAD_NANDF_CLE__NAND_CLE 0xb0b1 + MX6QDL_PAD_NANDF_ALE__NAND_ALE 0xb0b1 + MX6QDL_PAD_NANDF_WP_B__NAND_WP_B 0xb0b1 + MX6QDL_PAD_NANDF_RB0__NAND_READY_B 0xb000 + MX6QDL_PAD_NANDF_CS0__NAND_CE0_B 0xb0b1 + MX6QDL_PAD_SD4_CMD__NAND_RE_B 0xb0b1 + MX6QDL_PAD_SD4_CLK__NAND_WE_B 0xb0b1 + MX6QDL_PAD_NANDF_D0__NAND_DATA00 0xb0b1 + MX6QDL_PAD_NANDF_D1__NAND_DATA01 0xb0b1 + MX6QDL_PAD_NANDF_D2__NAND_DATA02 0xb0b1 + MX6QDL_PAD_NANDF_D3__NAND_DATA03 0xb0b1 + MX6QDL_PAD_NANDF_D4__NAND_DATA04 0xb0b1 + MX6QDL_PAD_NANDF_D5__NAND_DATA05 0xb0b1 + MX6QDL_PAD_NANDF_D6__NAND_DATA06 0xb0b1 + MX6QDL_PAD_NANDF_D7__NAND_DATA07 0xb0b1 + >; + }; + }; + + i2c1 { + pinctrl_i2c1: i2c1grp { + fsl,pins = < + MX6QDL_PAD_CSI0_DAT8__I2C1_SDA 0x4001b8b1 + MX6QDL_PAD_CSI0_DAT9__I2C1_SCL 0x4001b8b1 + >; + }; + }; + + i2c2 { + pinctrl_i2c2: i2c2grp { + fsl,pins = < + MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1 + MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1 + >; + }; + }; + + i2c3 { + pinctrl_i2c3: i2c3grp { + fsl,pins = < + MX6QDL_PAD_GPIO_5__I2C3_SCL 0x4001b8b1 + MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1 + >; + }; + }; + + i2c4 { + pinctrl_i2c4: i2c4grp { + fsl,pins = < + MX6QDL_PAD_GPIO_7__I2C4_SCL 0x4001b8b1 + MX6QDL_PAD_GPIO_8__I2C4_SDA 0x4001b8b1 + >; + }; + }; + + uart1 { + pinctrl_uart1: uart1grp { + fsl,pins = < + MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1 + MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA 0x1b0b1 + MX6QDL_PAD_EIM_D20__UART1_RTS_B 0x1b0b1 + MX6QDL_PAD_EIM_D19__UART1_CTS_B 0x1b0b1 + >; + }; + }; + + uart2 { + pinctrl_uart2: uart2grp { + fsl,pins = < + MX6QDL_PAD_EIM_D26__UART2_TX_DATA 0x1b0b1 + MX6QDL_PAD_EIM_D27__UART2_RX_DATA 0x1b0b1 + >; + }; + }; + + uart3 { + pinctrl_uart3: uart3grp { + fsl,pins = < + MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1 + MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1 + MX6QDL_PAD_EIM_D31__UART3_RTS_B 0x1b0b1 + MX6QDL_PAD_EIM_D23__UART3_CTS_B 0x1b0b1 + >; + }; + }; + + uart4 { + pinctrl_uart4: uart4grp { + fsl,pins = < + MX6QDL_PAD_KEY_COL0__UART4_TX_DATA 0x1b0b1 + MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b0b1arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi line 507
Quoted 10 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +10
-0+ >; + }; + }; + + usbotg { + pinctrl_usbotg: usbotggrp { + fsl,pins = < + MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059 + >; + };New line between nodes.
Quoted 40 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +40
-0+ pinctrl_aristainetos2_usbh1_vbus: aristainetos-usbh1-vbus { + fsl,pins = <MX6QDL_PAD_GPIO_0__USB_H1_PWR 0x130b0>; + }; + pinctrl_aristainetos2_usbotg_vbus: aristainetos-usbotg-vbus { + fsl,pins = <MX6QDL_PAD_KEY_ROW4__USB_OTG_PWR 0x130b0>; + }; + }; + + usdhc1 { + pinctrl_usdhc1: usdhc1grp { + fsl,pins = < + MX6QDL_PAD_SD1_CMD__SD1_CMD 0x17059 + MX6QDL_PAD_SD1_CLK__SD1_CLK 0x10059 + MX6QDL_PAD_SD1_DAT0__SD1_DATA0 0x17059 + MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x17059 + MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x17059 + MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x17059 + MX6QDL_PAD_ENET_RXD0__GPIO1_IO27 0x1b0b0 /* SD1 card detect input */ + MX6QDL_PAD_DI0_PIN4__GPIO4_IO20 0x1b0b0 /* SD1 write protect input */ + >; + }; + }; + + usdhc2 { + pinctrl_usdhc2: usdhc2grp { + fsl,pins = < + MX6QDL_PAD_SD2_CMD__SD2_CMD 0x71 + MX6QDL_PAD_SD2_CLK__SD2_CLK 0x71 + MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x71 + MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x71 + MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x71 + MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x71 + MX6QDL_PAD_SD3_RST__GPIO7_IO08 0x1b0b0 /* SD2 level shifter output enable */ + MX6QDL_PAD_GPIO_19__GPIO4_IO05 0x1b0b0 /* SD2 card detect input */ + MX6QDL_PAD_SD4_DAT2__GPIO2_IO10 0x1b0b0 /* SD2 write protect input */ + >; + }; + }; +}; +
Quoted 8 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi line 552
Quoted 5 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +5
-0+&fec { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_enet>; + phy-mode = "rgmii"; + phy-reset-gpios = <&gpio7 18 0>;All the gpio properties need to be check for using the macros defined in
gpio.h.
Ok, I rework this, thanks for your review!
bye,
Heiko
Quoted 87 lines
Shawn
Quoted 83 lines
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi new file +75
-1+ txd0-skew-ps = <0>; + txd1-skew-ps = <0>; + txd2-skew-ps = <0>; + txd3-skew-ps = <0>; + status = "okay"; +}; + +&gpmi { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpmi_nand>; + status = "okay"; +}; + +&pcie { + reset-gpio = <&gpio2 16 0>; + status = "okay"; +}; + +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart1>; + fsl,uart-has-rtscts; + status = "okay"; +}; + +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart2>; + status = "okay"; +}; + +&uart3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart3>; + fsl,uart-has-rtscts; + status = "okay"; +}; + +&uart4 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart4>; + status = "okay"; +}; + +&usbh1 { + vbus-supply = <®_usbh1_vbus>; + dr_mode = "host"; + status = "okay"; +}; + +&usbotg { + vbus-supply = <®_usbotg_vbus>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbotg>; + disable-over-current; + dr_mode = "host"; + status = "okay"; +}; + +&usdhc1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc1>; + cd-gpios = <&gpio1 27 0>; + no-1-8-v; + status = "okay"; +}; + +&usdhc2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc2>; + cd-gpios = <&gpio4 5 0>; + wp-gpios = <&gpio2 10 0>; + no-1-8-v; + status = "okay"; +}; --2.1.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Signature · 2 lines
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Quoted 15 lines · Heiko Schocher
Quoted 6 lines
Quoted 6 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +5
-0@@ -0,0 +1,124 @@ +/* + * support fot the imx6 based aristainetos2 board + * + * Copyright (C) 2015 Heiko Schocher <[email protected]> + *Quoted 8 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts line 10
Quoted 5 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +5
-0+ * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */GPL/X11 dual licence is suggested for new DTS files. See
arch/arm/boot/dts/imx6sl-warp.dtsfor an example.
Quoted 1 line
Ok, I ask the customer, if this is OK for him ...
The dual license get non-Linux users be able to use the DTS file.
[...]
Quoted 6 lines
Quoted 4 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts line 77
Quoted 2 lines
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts new file +2
-0+&i2c3 { + atmel: atmel_mxt_ts at 4b {Node name should be generic.
So, what name do you prefer?
The node name with the example in bindings doc Documentation/devicetree/bindings/input/atmel,maxtouch.txt seems perfectly fine to me.
[...]
Quoted 12 lines
Quoted 11 lines
arch/arm/boot/dts/imx6dl-aristainetos2_7.dts line 37
Quoted 7 lines
arch/arm/boot/dts/imx6dl-aristainetos2_7.dts new file +7
-0+&i2c3 { + atmel: atmel_mxt_ts at 4d { + compatible = "atmel,maxtouch"; + reg = <0x4d>; + interrupt-parent = <&gpio2>; + interrupts = <9 8>; + };It seems the touch device is identical between
imx6dl-aristainetos2_4.dtsandimx6dl-aristainetos2_7.dts. Why don't you put it intoimx6qdl-aristainetos2.dtsi?
Quoted 1 line
They have different i2c addresses ...
Okay, I missed that.
Shawn
Hi Heiko, Shawn,
Am Dienstag, den 19.05.2015, 09:09 +0200 schrieb Heiko Schocher:
[...]
Quoted 11 lines
Quoted 1 line
What is this? I failed to find it in
Documentation/devicetree/bindings/Ah, this is not documentated, see commit:
commit
628f435be4359e6ae8ecfdda9b492053be76a057Author: Philipp Zabel <[email protected]> Date: Tue Feb 25 11:55:04 2014 +0100imx-drm: parallel-display: Add
drm_panelsupportadded Philipp to cc ...
This was meant to be a temporary solution to connect a drm_panel to the parallel-display when the of-graph bindings were not yet available. I'd very much prefer to switch to the common of-graph bindings similarly to the LDB driver instead. Could you check if this would work for you:
-----8<-----
From: Philipp Zabel <[email protected]>
Subject: [PATCH] drm/imx: parallel-display: fix drm_panel support
The parallel-display driver used an undocumented, non-standard property "fsl,panel" to optionally associate with a drm_panel device. This patch fixes the driver to use the OF graph bindings, just as the LDB driver:
parallel-display {
compatible = "fsl,imx-parallel-display";
...
port at 1 {
reg = <1>;
parallel_out: endpoint {
remote_endpoint = <&panel_in>;
};
};
};
panel {
...
port {
panel_in: endpoint {
remote-endpoint = <¶llel_out>;
};
};
};--- .../devicetree/bindings/drm/imx/fsl-imx-drm.txt | 26 ++++++++++++++++++++-- drivers/gpu/drm/imx/parallel-display.c | 21 ++++++++++++----- 2 files changed, 39 insertions(+), 8 deletions(-)
Documentation/devicetree/bindings/drm/imx/fsl-imx-drm.txt +24 -2
@@ -65,8 +65,10 @@ Optional properties: - edid: verbatim EDID data block describing attached display. - ddc: phandle describing the i2c bus handling the display data channel -- port: A port node with endpoint definitions as defined in +- port@[0-1]: Port nodes with endpoint definitions as defined in Documentation/devicetree/bindings/media/video-interfaces.txt. + Port 0 is the input port connected to the IPU display interface, + port 1 is the output port connected to a panel. example:
@@ -75,9 +77,29 @@ display at di0 { edid = [edid-data]; interface-pix-fmt = "rgb24"; - port { + port at 0 { + reg = <0>; + display_in: endpoint { remote-endpoint = <&ipu_di0_disp0>; }; }; + + port at 1 { + reg = <1>; + + display_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; +}; + +panel { + ... + + port { + panel_in: endpoint { + remote-endpoint = <&display_out>; + }; + }; };
drivers/gpu/drm/imx/parallel-display.c +15 -6
@@ -21,6 +21,7 @@#include <drm/drm_panel.h> #include <linux/videodev2.h> #include <video/of_display_timing.h> +#include <linux/of_graph.h> #include "imx-drm.h"
@@ -208,7 +209,7 @@ static int imx_pd_bind(struct device *dev, struct device *master, void *data) {struct drm_device *drm = data;struct device_node *np = dev->of_node; -struct device_node *panel_node; +struct device_node *port;const u8 *edidp;struct imx_parallel_display *imxpd;int ret;
@@ -234,11 +235,19 @@ static int imx_pd_bind(struct device *dev, struct device *master, void *data) imxpd->bus_format =MEDIA_BUS_FMT_RGB666_1X24_CPADHI ; } - panel_node =of_parse_phandle (np,"fsl,panel" ,0 ); -if (panel_node) { - imxpd->panel =of_drm_find_panel (panel_node); -if (!imxpd->panel) -return -EPROBE_DEFER ; +/* port at 1 is the output port */ + port =of_graph_get_port_by_id (np,1 ); +if (port) { +struct device_node *endpoint, *remote; + + endpoint =of_get_child_by_name (port,"endpoint" ); +if (endpoint) { + remote =of_graph_get_remote_port_parent (endpoint); +if (remote) + imxpd->panel =of_drm_find_panel (remote); +if (!imxpd->panel) +return -EPROBE_DEFER ; + } } imxpd->dev = dev;
Signature · 5 lines
2.1.4 ----->8----- regards Philipp
Heiko Schocher
Tested-byHello Philipp,
Am 19.05.2015 10:48, schrieb Philipp Zabel:
Quoted 12 lines
Hi Heiko, Shawn,
Am Dienstag, den 19.05.2015, 09:09 +0200 schrieb Heiko Schocher:
[...]Quoted 8 lines
Quoted 1 line
What is this? I failed to find it in
Documentation/devicetree/bindings/Ah, this is not documentated, see commit:
commit
628f435be4359e6ae8ecfdda9b492053be76a057Author: Philipp Zabel <[email protected]> Date: Tue Feb 25 11:55:04 2014 +0100
Quoted 8 lines
Quoted 3 lines
imx-drm: parallel-display: Add
drm_panelsupportadded Philipp to cc ...
This was meant to be a temporary solution to connect a
drm_panelto the parallel-display when the of-graph bindings were not yet available. I'd very much prefer to switch to the common of-graph bindings similarly to the LDB driver instead. Could you check if this would work for you:
Yes, your patch works for me (with appropriate changes in the dts file) You can add my
for this patch, thanks!
@Shawn: How do I proceed now with my patch for the aristainetos2 board
support? Should I base my v3 of the aristainetos2 on this patch, or should I wait with this change, until the patch from Philipp is accepted and post a follow up?
bye,
Heiko
Quoted 132 lines
-----8<-----
From: Philipp Zabel <[email protected]>
Subject: [PATCH] drm/imx: parallel-display: fixdrm_panelsupportThe parallel-display driver used an undocumented, non-standard property "fsl,panel" to optionally associate with a
drm_paneldevice. This patch fixes the driver to use the OF graph bindings, just as the LDB driver:parallel-display { compatible = "fsl,imx-parallel-display"; ... port at 1 { reg = <1>; parallel_out: endpoint { remote_endpoint = <&panel_in>; }; }; }; panel { ... port { panel_in: endpoint { remote-endpoint = <¶llel_out>; }; }; };Signed-off-by Philipp Zabel <[email protected]>--- .../devicetree/bindings/drm/imx/fsl-imx-drm.txt | 26 ++++++++++++++++++++-- drivers/gpu/drm/imx/parallel-display.c | 21 ++++++++++++----- 2 files changed, 39 insertions(+), 8 deletions(-)Documentation/devicetree/bindings/drm/imx/fsl-imx-drm.txt +24
-2@@ -65,8 +65,10 @@ Optional properties: - edid: verbatim EDID data block describing attached display. - ddc: phandle describing the i2c bus handling the display data channel -- port: A port node with endpoint definitions as defined in +- port@[0-1]: Port nodes with endpoint definitions as defined in Documentation/devicetree/bindings/media/video-interfaces.txt. + Port 0 is the input port connected to the IPU display interface, + port 1 is the output port connected to a panel. example:@@ -75,9 +77,29 @@ display at di0 { edid = [edid-data]; interface-pix-fmt = "rgb24"; - port { + port at 0 { + reg = <0>; + display_in: endpoint { remote-endpoint = <&ipu_di0_disp0>; }; }; + + port at 1 { + reg = <1>; + + display_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; +}; + +panel { + ... + + port { + panel_in: endpoint { + remote-endpoint = <&display_out>; + }; + }; };drivers/gpu/drm/imx/parallel-display.c +15
-6@@ -21,6 +21,7 @@#include <drm/drm_panel.h> #include <linux/videodev2.h> #include <video/of_display_timing.h> +#include <linux/of_graph.h> #include "imx-drm.h" @@ -208,7 +209,7 @@ static int imx_pd_bind(struct device *dev, struct device *master, void *data) {struct drm_device *drm = data;struct device_node *np = dev->of_node; -struct device_node *panel_node; +struct device_node *port;const u8 *edidp;struct imx_parallel_display *imxpd;int ret;@@ -234,11 +235,19 @@ static int imx_pd_bind(struct device *dev, struct device *master, void *data) imxpd->bus_format =MEDIA_BUS_FMT_RGB666_1X24_CPADHI ; } - panel_node =of_parse_phandle (np,"fsl,panel" ,0 ); -if (panel_node) { - imxpd->panel =of_drm_find_panel (panel_node); -if (!imxpd->panel) -return -EPROBE_DEFER ; +/* port at 1 is the output port */ + port =of_graph_get_port_by_id (np,1 ); +if (port) { +struct device_node *endpoint, *remote; + + endpoint =of_get_child_by_name (port,"endpoint" ); +if (endpoint) { + remote =of_graph_get_remote_port_parent (endpoint); +if (remote) + imxpd->panel =of_drm_find_panel (remote); +if (!imxpd->panel) +return -EPROBE_DEFER ; + } } imxpd->dev = dev;
Signature · 2 lines
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Hi Heiko,
Am Dienstag, den 19.05.2015, 15:44 +0200 schrieb Heiko Schocher:
Quoted 24 lines
Hello Philipp,
Am 19.05.2015 10:48, schrieb Philipp Zabel:
Quoted 12 lines
Hi Heiko, Shawn,
Am Dienstag, den 19.05.2015, 09:09 +0200 schrieb Heiko Schocher:
[...]Quoted 8 lines
Quoted 1 line
What is this? I failed to find it in
Documentation/devicetree/bindings/Ah, this is not documentated, see commit:
commit
628f435be4359e6ae8ecfdda9b492053be76a057Author: Philipp Zabel <[email protected]> Date: Tue Feb 25 11:55:04 2014 +0100Quoted 8 lines
Quoted 3 lines
imx-drm: parallel-display: Add
drm_panelsupportadded Philipp to cc ...
This was meant to be a temporary solution to connect a
drm_panelto the parallel-display when the of-graph bindings were not yet available. I'd very much prefer to switch to the common of-graph bindings similarly to the LDB driver instead. Could you check if this would work for you:
Quoted 4 lines
Yes, your patch works for me (with appropriate changes in the dts file) You can add my
Tested-by Heiko Schocher <[email protected]>for this patch, thanks!
Thank you, I've posted that parallel-display patch and will try to queue it for v4.2 when it gets accepted.
regards
Philipp
Hello Philipp,
Am 19.05.2015 16:33, schrieb Philipp Zabel:
Quoted 27 lines
Hi Heiko,
Am Dienstag, den 19.05.2015, 15:44 +0200 schrieb Heiko Schocher:
Quoted 24 lines
Hello Philipp,
Am 19.05.2015 10:48, schrieb Philipp Zabel:
Quoted 20 lines
Hi Heiko, Shawn,
Am Dienstag, den 19.05.2015, 09:09 +0200 schrieb Heiko Schocher:
[...]Quoted 11 lines
Quoted 1 line
What is this? I failed to find it in
Documentation/devicetree/bindings/Ah, this is not documentated, see commit:
commit
628f435be4359e6ae8ecfdda9b492053be76a057Author: Philipp Zabel <[email protected]> Date: Tue Feb 25 11:55:04 2014 +0100imx-drm: parallel-display: Add
drm_panelsupportadded Philipp to cc ...
This was meant to be a temporary solution to connect a
drm_panelto the parallel-display when the of-graph bindings were not yet available. I'd very much prefer to switch to the common of-graph bindings similarly to the LDB driver instead. Could you check if this would work for you:
Quoted 7 lines
Quoted 4 lines
Yes, your patch works for me (with appropriate changes in the dts file) You can add my
Tested-by Heiko Schocher <[email protected]>for this patch, thanks!
Thank you, I've posted that parallel-display patch and will try to queue it for v4.2 when it gets accepted.
Thanks! So, I post my v3 for the aristainetos2 board based on this patch ...
bye,
Heiko
Signature · 2 lines
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany