diff options
69 files changed, 448 insertions, 1615 deletions
diff --git a/overlays/Makefile b/overlays/Makefile index 8fe7315..ae4c621 100644 --- a/overlays/Makefile +++ b/overlays/Makefile @@ -19,37 +19,12 @@ HOSTCC := gcc $(DTS_INCLUDES) PWD := $(shell pwd) -dtb-y += apalis-imx6_adv7280_overlay.dtbo -dtb-y += apalis-imx6_hdmi_overlay.dtbo -dtb-y += apalis-imx6_ov5640-v11a_overlay.dtbo -dtb-y += apalis-imx6_ov5640_overlay.dtbo -dtb-y += apalis-imx6_panel-cap-touch-7inch_overlay.dtbo -dtb-y += apalis-imx6_panel-cap-touch-10inch_overlay.dtbo -dtb-y += apalis-imx6_panel-edt-5.7inch_overlay.dtbo -dtb-y += apalis-imx6_panel-edt-7inch_overlay.dtbo -dtb-y += apalis-imx6_panel-res-touch-7inch_overlay.dtbo -dtb-y += apalis-imx6_spi1_spidev_overlay.dtbo -dtb-y += apalis-imx6_spi2_spidev_overlay.dtbo -dtb-y += apalis-imx6_vga-640x480_overlay.dtbo -dtb-y += colibri-imx6_hdmi_overlay.dtbo -dtb-y += colibri-imx6_panel-cap-touch-7inch_adapter_overlay.dtbo -dtb-y += colibri-imx6_panel-cap-touch-7inch_overlay.dtbo -dtb-y += colibri-imx6_panel-cap-touch-10inch-lvds_overlay.dtbo -dtb-y += colibri-imx6_panel-res-touch-7inch_overlay.dtbo -dtb-y += colibri-imx6_spidev_overlay.dtbo -dtb-y += colibri-imx6_vga-640x480_overlay.dtbo -dtb-y += colibri-imx6ull_panel-cap-touch-7inch_adapter_overlay.dtbo -dtb-y += colibri-imx6ull_panel-cap-touch-7inch_overlay.dtbo -dtb-y += colibri-imx6ull_panel-cap-touch-10inch-lvds_overlay.dtbo -dtb-y += colibri-imx6ull_panel-res-touch-7inch_overlay.dtbo -dtb-y += colibri-imx6ull_spidev_overlay.dtbo -dtb-y += colibri-imx6ull_vga-640x480_overlay.dtbo -dtb-y += colibri-imx7_panel-cap-touch-7inch_overlay.dtbo -dtb-y += colibri-imx7_panel-cap-touch-7inch_adapter_overlay.dtbo -dtb-y += colibri-imx7_panel-cap-touch-10inch-lvds_overlay.dtbo -dtb-y += colibri-imx7_panel-res-touch-7inch_overlay.dtbo -dtb-y += colibri-imx7_spidev_overlay.dtbo -dtb-y += colibri-imx7_vga-640x480_overlay.dtbo +dtb-y += aquila-am69_csi1_ov5640_overlay.dtbo +dtb-y += aquila-am69_csi2_ov5640_overlay.dtbo +dtb-y += aquila-am69_dsi-to-hdmi_overlay.dtbo +dtb-y += aquila-am69_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dtbo +dtb-y += aquila-am69_spi1_spidev_overlay.dtbo +dtb-y += aquila-am69_spi2_spidev_overlay.dtbo dtb-y += verdin-am62_dsi-to-hdmi_overlay.dtbo dtb-y += verdin-am62_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dtbo dtb-y += verdin-am62_hmp_overlay.dtbo @@ -60,9 +35,6 @@ dtb-y += verdin-am62_ov5640_overlay.dtbo dtb-y += verdin-am62_panel-cap-touch-10inch-dsi_overlay.dtbo dtb-y += verdin-am62_panel-cap-touch-10inch-lvds_overlay.dtbo dtb-y += verdin-am62_spidev_overlay.dtbo -dtb-y += verdin-imx8mm_nau8822-btl_overlay.dtbo -dtb-y += verdin-imx8mm_spidev_overlay.dtbo -dtb-y += verdin-imx8mp_spidev_overlay.dtbo targets += $(dtb-y) always := $(dtb-y) diff --git a/overlays/apalis-imx6_adv7280_overlay.dts b/overlays/apalis-imx6_adv7280_overlay.dts deleted file mode 100644 index 21cbeda..0000000 --- a/overlays/apalis-imx6_adv7280_overlay.dts +++ /dev/null @@ -1,27 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2021 Toradex - */ - -// Analogue Camera Adapter orderable at Toradex. - -/dts-v1/; -/plugin/; - -/ { - compatible = "toradex,apalis_imx6q"; -}; - -&i2c3 { - status = "okay"; -}; - -&adv_7280 { - status = "okay"; -}; - -&gpr { - ipu1_csi0_mux { - status = "okay"; - }; -}; diff --git a/overlays/apalis-imx6_atmel-mxt_overlay.dtsi b/overlays/apalis-imx6_atmel-mxt_overlay.dtsi deleted file mode 100644 index fd25ffc..0000000 --- a/overlays/apalis-imx6_atmel-mxt_overlay.dtsi +++ /dev/null @@ -1,15 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2022 Toradex - */ - -// Atmel MXT capacitive touch controller for the 7" and 10.1" displays -// orderable at Toradex. Compatible with a Capacitive Touch Connector. - -&i2c1 { - status = "okay"; -}; - -&atmel_mxt_ts { - status = "okay"; -}; diff --git a/overlays/apalis-imx6_display-vga-640x480_overlay.dtsi b/overlays/apalis-imx6_display-vga-640x480_overlay.dtsi deleted file mode 100644 index d9b36db..0000000 --- a/overlays/apalis-imx6_display-vga-640x480_overlay.dtsi +++ /dev/null @@ -1,34 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// VGA Signal 640x480@60Hz Industry standard timing, display-enable -// polarity set as required by the resistor ladder video DAC on the -// Apalis iMX6. - -&{/vga-panel} { - compatible = "panel-dpi"; - status = "okay"; - - /* for 0.3mm pixels */ - width-mm = <192>; - height-mm = <144>; - - panel-timing { - clock-frequency = <25175000>; - hactive = <640>; - vactive = <480>; - hsync-len = <96>; - hfront-porch = <16>; - hback-porch = <48>; - vsync-len = <2>; - vfront-porch = <10>; - vback-porch = <33>; - - de-active = <0>; - hsync-active = <0>; - vsync-active = <0>; - pixelclk-active = <0>; - }; -}; diff --git a/overlays/apalis-imx6_hdmi_overlay.dts b/overlays/apalis-imx6_hdmi_overlay.dts deleted file mode 100644 index cc86395..0000000 --- a/overlays/apalis-imx6_hdmi_overlay.dts +++ /dev/null @@ -1,17 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2021 Toradex - */ - -// Enable the HDMI interface on the Apalis iMX6Q. Make sure to also select a valid display configuration. - -/dts-v1/; -/plugin/; - -/ { - compatible = "toradex,apalis_imx6q"; -}; - -&hdmi { - status = "okay"; -}; diff --git a/overlays/apalis-imx6_lvds_overlay.dtsi b/overlays/apalis-imx6_lvds_overlay.dtsi deleted file mode 100644 index e1b0ddb..0000000 --- a/overlays/apalis-imx6_lvds_overlay.dtsi +++ /dev/null @@ -1,25 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2022 Toradex - */ - -// LVDS interface on the Apalis iMX6. - -&backlight { - status = "okay"; -}; - -&ldb { - #address-cells = <1>; - #size-cells = <0>; - - status = "okay"; - - lvds-channel@0 { - status = "okay"; - }; -}; - -&pwm4 { - status = "okay"; -}; diff --git a/overlays/apalis-imx6_ov5640-v11a_overlay.dts b/overlays/apalis-imx6_ov5640-v11a_overlay.dts deleted file mode 100644 index 3fc2d85..0000000 --- a/overlays/apalis-imx6_ov5640-v11a_overlay.dts +++ /dev/null @@ -1,29 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2021 Toradex - */ - -// CSI Camera Module 5MP OV5640 v1.1A (with external mclk) orderable at Toradex. - -/dts-v1/; -/plugin/; - -#include <dt-bindings/clock/imx6qdl-clock.h> - -/ { - compatible = "toradex,apalis_imx6q"; -}; - -&i2c3 { - status = "okay"; -}; - -&ov5640_csi_cam { - /* external mclk */ - clocks = <&clks IMX6QDL_CLK_CKO2>; - status = "okay"; -}; - -&mipi_csi { - status = "okay"; -}; diff --git a/overlays/apalis-imx6_ov5640_overlay.dts b/overlays/apalis-imx6_ov5640_overlay.dts deleted file mode 100644 index 5593835..0000000 --- a/overlays/apalis-imx6_ov5640_overlay.dts +++ /dev/null @@ -1,35 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2021 Toradex - */ - -// CSI Camera Module 5MP OV5640 orderable at Toradex. - -/dts-v1/; -/plugin/; - -#include <imx6q-pinfunc.h> - -/ { - compatible = "toradex,apalis_imx6q"; -}; - -&i2c3 { - status = "okay"; -}; - -&ov5640_csi_cam { - clocks = <&clk_ov5640_osc>; - status = "okay"; -}; - -&pinctrl_cam_mclk { - fsl,pins = < - /* stash CAM sys_mclk */ - MX6QDL_PAD_NANDF_CS2__GPIO6_IO15 0x0000 - >; -}; - -&mipi_csi { - status = "okay"; -}; diff --git a/overlays/apalis-imx6_panel-cap-touch-10inch_overlay.dts b/overlays/apalis-imx6_panel-cap-touch-10inch_overlay.dts deleted file mode 100644 index f900b1a..0000000 --- a/overlays/apalis-imx6_panel-cap-touch-10inch_overlay.dts +++ /dev/null @@ -1,18 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Enable the LVDS interface on the Apalis iMX6 with a connected -// capacitive touch 10.1" LVDS display. - -/dts-v1/; -/plugin/; - -/ { - compatible = "toradex,apalis_imx6q"; -}; - -#include "apalis-imx6_atmel-mxt_overlay.dtsi" -#include "apalis-imx6_lvds_overlay.dtsi" -#include "display-lt170410_overlay.dtsi" diff --git a/overlays/apalis-imx6_panel-cap-touch-7inch_overlay.dts b/overlays/apalis-imx6_panel-cap-touch-7inch_overlay.dts deleted file mode 100644 index e2c3142..0000000 --- a/overlays/apalis-imx6_panel-cap-touch-7inch_overlay.dts +++ /dev/null @@ -1,18 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Enable the parallel RGB interface on the Apalis iMX6 with a -// connected capacitive touch 7" display. - -/dts-v1/; -/plugin/; - -/ { - compatible = "toradex,apalis_imx6q"; -}; - -#include "apalis-imx6_atmel-mxt_overlay.dtsi" -#include "apalis-imx6_parallel-rgb_overlay.dtsi" -#include "display-lt161010_overlay.dtsi" diff --git a/overlays/apalis-imx6_panel-edt-5.7inch_overlay.dts b/overlays/apalis-imx6_panel-edt-5.7inch_overlay.dts deleted file mode 100644 index cbe2b6e..0000000 --- a/overlays/apalis-imx6_panel-edt-5.7inch_overlay.dts +++ /dev/null @@ -1,18 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Enable the parallel RGB interface on the Apalis iMX6 with a -// connected EDT 5.7" display. - -/dts-v1/; -/plugin/; - -/ { - compatible = "toradex,apalis_imx6q"; -}; - -#include "apalis-imx6_stmpe-ts_overlay.dtsi" -#include "apalis-imx6_parallel-rgb_overlay.dtsi" -#include "display-edt5.7_overlay.dtsi" diff --git a/overlays/apalis-imx6_panel-edt-7inch_overlay.dts b/overlays/apalis-imx6_panel-edt-7inch_overlay.dts deleted file mode 100644 index 623119e..0000000 --- a/overlays/apalis-imx6_panel-edt-7inch_overlay.dts +++ /dev/null @@ -1,18 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Enable the parallel RGB interface on the Apalis iMX6 with a -// connected EDT 7" display. - -/dts-v1/; -/plugin/; - -/ { - compatible = "toradex,apalis_imx6q"; -}; - -#include "apalis-imx6_stmpe-ts_overlay.dtsi" -#include "apalis-imx6_parallel-rgb_overlay.dtsi" -#include "display-edt7_overlay.dtsi" diff --git a/overlays/apalis-imx6_panel-res-touch-7inch_overlay.dts b/overlays/apalis-imx6_panel-res-touch-7inch_overlay.dts deleted file mode 100644 index caf4943..0000000 --- a/overlays/apalis-imx6_panel-res-touch-7inch_overlay.dts +++ /dev/null @@ -1,18 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Enable the parallel RGB interface on the Apalis iMX6 with a -// connected resistive touch 7" display. - -/dts-v1/; -/plugin/; - -/ { - compatible = "toradex,apalis_imx6q"; -}; - -#include "apalis-imx6_stmpe-ts_overlay.dtsi" -#include "apalis-imx6_parallel-rgb_overlay.dtsi" -#include "display-lt161010_overlay.dtsi" diff --git a/overlays/apalis-imx6_parallel-rgb_overlay.dtsi b/overlays/apalis-imx6_parallel-rgb_overlay.dtsi deleted file mode 100644 index 3800f9c..0000000 --- a/overlays/apalis-imx6_parallel-rgb_overlay.dtsi +++ /dev/null @@ -1,24 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2022 Toradex - */ - -// Enable the parallel RGB interface on the Apalis iMX6. - -&backlight { - status = "okay"; -}; - -&lcd_display { - interface-pix-fmt = ""; - status = "okay"; -}; - -&panel_dpi { - data-mapping = "rgb24"; - status = "okay"; -}; - -&pwm4 { - status = "okay"; -}; diff --git a/overlays/apalis-imx6_spi2_spidev_overlay.dts b/overlays/apalis-imx6_spi2_spidev_overlay.dts deleted file mode 100644 index b2283fa..0000000 --- a/overlays/apalis-imx6_spi2_spidev_overlay.dts +++ /dev/null @@ -1,27 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Apalis imx6q spidev - -/dts-v1/; -/plugin/; - -/ { - compatible = "toradex,apalis_imx6q"; -}; - -/* Apalis SPI2 */ -&ecspi2 { - #address-cells = <1>; - #size-cells = <0>; - status = "okay"; - - spidev@0 { - /* Use compatible "rohm,dh2228fv" to bind spidev driver */ - compatible = "rohm,dh2228fv"; - reg = <0>; - spi-max-frequency = <10000000>; - }; -}; diff --git a/overlays/apalis-imx6_stmpe-ts_overlay.dtsi b/overlays/apalis-imx6_stmpe-ts_overlay.dtsi deleted file mode 100644 index f75fd83..0000000 --- a/overlays/apalis-imx6_stmpe-ts_overlay.dtsi +++ /dev/null @@ -1,11 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2022 Toradex - */ - -// Resistive STMPE touch controller for the 7" display orderable -// at Toradex. - -&stmpe_ts { - status = "okay"; -}; diff --git a/overlays/apalis-imx6_vga-640x480_overlay.dts b/overlays/apalis-imx6_vga-640x480_overlay.dts deleted file mode 100644 index 81a2761..0000000 --- a/overlays/apalis-imx6_vga-640x480_overlay.dts +++ /dev/null @@ -1,18 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Enable the parallel RGB controller as used by the resistor ladder -// video DAC on the Apalis iMX6 to provide the analog RGB signal on -// the VGA connector. - -/dts-v1/; -/plugin/; - -/ { - compatible = "toradex,apalis_imx6q"; -}; - -#include "apalis-imx6_vga_overlay.dtsi" -#include "apalis-imx6_display-vga-640x480_overlay.dtsi" diff --git a/overlays/apalis-imx6_vga_overlay.dtsi b/overlays/apalis-imx6_vga_overlay.dtsi deleted file mode 100644 index 6fa6bac..0000000 --- a/overlays/apalis-imx6_vga_overlay.dtsi +++ /dev/null @@ -1,55 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Parallel RGB controller as used by the resistor ladder video DAC on -// the Apalis iMX6. - -&{/} { - vga_display: disp1 { - compatible = "fsl,imx-parallel-display"; - #address-cells = <1>; - #size-cells = <0>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_ipu2_vdac>; - status = "okay"; - - port@0 { - reg = <0>; - - vga_display_in: endpoint { - remote-endpoint = <&ipu2_di0_disp0>; - }; - }; - - port@1 { - reg = <1>; - - vga_display_out: endpoint { - remote-endpoint = <&vga_bridge_in>; - }; - }; - }; - - vga-panel { - data-mapping = "rgb565"; - - port { - vga_bridge_in: endpoint { - remote-endpoint = <&vga_display_out>; - }; - }; - }; -}; - -&ipu2 { - #address-cells = <1>; - #size-cells = <0>; - - port@2 { - ipu2_di0_disp0: endpoint@0 { - remote-endpoint = <&vga_display_in>; - }; - }; -}; diff --git a/overlays/aquila-am69_csi1_ov5640_overlay.dts b/overlays/aquila-am69_csi1_ov5640_overlay.dts new file mode 100644 index 0000000..7e6ced0 --- /dev/null +++ b/overlays/aquila-am69_csi1_ov5640_overlay.dts @@ -0,0 +1,70 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2024 Toradex + */ + +// Aquila CSI_1 with 5MP OV5640 CSI Camera Module + +/dts-v1/; +/plugin/; + +#include <dt-bindings/gpio/gpio.h> + +/ { + compatible = "toradex,aquila-am69"; +}; + +&{/} { + clk_csi1_ov5640: ov5640-csi1-clock { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + }; +}; + +&csi0_port0 { + status = "okay"; + + csi2rx0_in_sensor: endpoint { + remote-endpoint = <&csi2rx0_cam0>; + bus-type = <4>; /* CSI2 DPHY. */ + clock-lanes = <0>; + data-lanes = <1 2>; + }; +}; + +&dphy_rx0 { + status = "okay"; +}; + +/* Aquila I2C_4_CSI1 */ +&main_i2c1 { + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + camera@3c { + compatible = "ovti,ov5640"; + reg = <0x3c>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_09_csi_1>, <&pinctrl_gpio_10_csi_1>; + clocks = <&clk_csi1_ov5640>; + clock-names = "xclk"; + /* Aquila GPIO_10_CSI_1 */ + powerdown-gpios = <&main_gpio0 2 GPIO_ACTIVE_HIGH>; + /* Aquila GPIO_09_CSI_1 */ + reset-gpios = <&main_gpio0 1 GPIO_ACTIVE_LOW>; + + port { + csi2rx0_cam0: endpoint { + remote-endpoint = <&csi2rx0_in_sensor>; + clock-lanes = <0>; + data-lanes = <1 2>; + }; + }; + }; +}; + +&ti_csi2rx0 { + status = "okay"; +}; diff --git a/overlays/aquila-am69_csi2_ov5640_overlay.dts b/overlays/aquila-am69_csi2_ov5640_overlay.dts new file mode 100644 index 0000000..3425ede --- /dev/null +++ b/overlays/aquila-am69_csi2_ov5640_overlay.dts @@ -0,0 +1,70 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2024 Toradex + */ + +// Aquila CSI_2 with 5MP OV5640 CSI Camera Module + +/dts-v1/; +/plugin/; + +#include <dt-bindings/gpio/gpio.h> + +/ { + compatible = "toradex,aquila-am69"; +}; + +&{/} { + clk_csi2_ov5640: ov5640-csi2-clock { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + }; +}; + +&csi1_port0 { + status = "okay"; + + csi2rx1_in_sensor: endpoint { + remote-endpoint = <&csi2rx1_cam0>; + bus-type = <4>; /* CSI2 DPHY. */ + clock-lanes = <0>; + data-lanes = <1 2>; + }; +}; + +&dphy_rx1 { + status = "okay"; +}; + +/* Aquila I2C_5_CSI2 */ +&main_i2c2 { + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + camera@3c { + compatible = "ovti,ov5640"; + reg = <0x3c>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_13_csi_1>, <&pinctrl_gpio_14_csi_1>; + clocks = <&clk_csi2_ov5640>; + clock-names = "xclk"; + /* Aquila GPIO_14_CSI_2 */ + powerdown-gpios = <&main_gpio0 33 GPIO_ACTIVE_HIGH>; + /* Aquila GPIO_13_CSI_2 */ + reset-gpios = <&main_gpio0 32 GPIO_ACTIVE_LOW>; + + port { + csi2rx1_cam0: endpoint { + remote-endpoint = <&csi2rx1_in_sensor>; + clock-lanes = <0>; + data-lanes = <1 2>; + }; + }; + }; +}; + +&ti_csi2rx1 { + status = "okay"; +}; diff --git a/overlays/aquila-am69_dsi-to-hdmi_overlay.dts b/overlays/aquila-am69_dsi-to-hdmi_overlay.dts new file mode 100644 index 0000000..a6633a0 --- /dev/null +++ b/overlays/aquila-am69_dsi-to-hdmi_overlay.dts @@ -0,0 +1,122 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2024 Toradex + */ + +// Toradex DSI to HDMI Adapter on Aquila DSI_1. + +/dts-v1/; +/plugin/; + +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/interrupt-controller/irq.h> + +/ { + compatible = "toradex,aquila-am69"; +}; + +&{/} { + hdmi-connector { + compatible = "hdmi-connector"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm3_dsi_gpio>; + /* Aquila I2C_3_DSI1 */ + ddc-i2c-bus = <&pinctrl_main_i2c0>; + /* Aquila PWM_3_DSI (AQUILA B46) */ + hpd-gpios = <&main_gpio0 33 GPIO_ACTIVE_HIGH>; + label = "hdmi"; + type = "a"; + + port { + hdmi_connector_in: endpoint { + remote-endpoint = <<8912_1_out>; + }; + }; + }; +}; + +&dphy_tx0 { + status = "okay"; +}; + +&dsi0 { + status = "okay"; +}; + +&dsi0_ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + dsi0_out: endpoint { + remote-endpoint = <<8912_1_in>; + }; + }; + + port@1 { + reg = <1>; + + dsi0_in: endpoint { + remote-endpoint = <&dpi2_out>; + }; + }; +}; + +&dss_ports { + #address-cells = <1>; + #size-cells = <0>; + + port@2 { + reg = <2>; + + dpi2_out: endpoint { + remote-endpoint = <&dsi0_in>; + }; + }; +}; + +/* Aquila PWM_3_DSI */ +&main_ehrpwm5 { + /* Aquila PWM_3_DSI (AQUILA B46) is used as HDMI HPD / GPIO, disable to avoid conflicts */ + status = "disabled"; +}; + +/* Aquila I2C_3_DSI1 */ +&main_i2c0 { + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + hdmi@48 { + compatible = "lontium,lt8912b"; + reg = <0x48>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_20_dsi_1>; + /* Aquila GPIO_20_DSI_1 (AQUILA B45) */ + reset-gpios = <&main_gpio0 18 GPIO_ACTIVE_LOW>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + lt8912_1_in: endpoint { + data-lanes = <1 2 3 4>; + remote-endpoint = <&dsi0_out>; + }; + }; + + port@1 { + reg = <1>; + + lt8912_1_out: endpoint { + remote-endpoint = <&hdmi_connector_in>; + }; + }; + }; + }; +}; diff --git a/overlays/aquila-am69_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts b/overlays/aquila-am69_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts new file mode 100644 index 0000000..25df8b6 --- /dev/null +++ b/overlays/aquila-am69_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts @@ -0,0 +1,158 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2024 Toradex + */ + +// Toradex DSI to LVDS Adapter on Aquila DSI_1. + +/dts-v1/; +/plugin/; + +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/interrupt-controller/irq.h> +#include <dt-bindings/pwm/pwm.h> + +/ { + compatible = "toradex,aquila-am69"; +}; + +&{/} { + backlight_dsi1_lvds: backlight-dsi1-lvds { + compatible = "pwm-backlight"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_19_dsi_1>; + brightness-levels = <0 45 63 88 119 158 203 255>; + default-brightness-level = <4>; + /* Aquila GPIO_19_DSI_1 (AQUILA B44) */ + enable-gpios = <&main_gpio0 13 GPIO_ACTIVE_HIGH>; + /* Aquila PWM_3_DSI (AQUILA B46) */ + pwms = <&main_ehrpwm5 0 6666667 PWM_POLARITY_INVERTED>; + }; + + panel-lvds { + compatible = "panel-lvds"; + backlight = <&backlight_dsi1_lvds>; + data-mapping = "vesa-24"; + height-mm = <136>; + width-mm = <217>; + + panel-timing { + clock-frequency = <68900000 71100000 73400000>; + de-active = <1>; + hactive = <1280 1280 1280>; + hback-porch = <3 40 51>; + hfront-porch = <43 80 91>; + hsync-active = <0>; + hsync-len = <15 40 47>; + pixelclk-active = <1>; /* positive edge */ + vactive = <800 800 800>; + vback-porch = <5 7 10>; + vfront-porch = <5 7 10>; + vsync-active = <0>; + vsync-len = <6 9 12>; + }; + + port { + panel_in_lvds: endpoint { + remote-endpoint = <&lvds_out_panel>; + }; + }; + }; +}; + +&dphy_tx0 { + status = "okay"; +}; + +&dsi0 { + status = "okay"; +}; + +&dsi0_ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + dsi0_out: endpoint { + remote-endpoint = <&dsi84_in>; + }; + }; + + port@1 { + reg = <1>; + + dsi0_in: endpoint { + remote-endpoint = <&dpi2_out>; + }; + }; +}; + +&dss_ports { + #address-cells = <1>; + #size-cells = <0>; + + port@2 { + reg = <2>; + + dpi2_out: endpoint { + remote-endpoint = <&dsi0_in>; + }; + }; +}; + +/* Aquila PWM_3_DSI */ +&main_ehrpwm5 { + status = "okay"; +}; + +/* Aquila I2C_3_DSI1 */ +&main_i2c0 { + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + bridge@2c { + compatible = "ti,sn65dsi84"; + reg = <0x2c>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_20_dsi_1>; + /* Aquila GPIO_20_DSI_1 (AQUILA B45) */ + enable-gpios = <&main_gpio0 18 GPIO_ACTIVE_HIGH>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + dsi84_in: endpoint { + data-lanes = <1 2 3 4>; + remote-endpoint = <&dsi0_out>; + }; + }; + + port@2 { + reg = <2>; + + lvds_out_panel: endpoint { + remote-endpoint = <&panel_in_lvds>; + }; + }; + }; + }; + + touch@4a { + compatible = "atmel,maxtouch"; + reg = <0x4a>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_17_dsi_1>, <&pinctrl_gpio_18_dsi_1>; + /* Aquila GPIO_17_DSI_1 (TOUCH_INT#, AQUILA B42) */ + interrupt-parent = <&main_gpio0>; + interrupts = <12 IRQ_TYPE_EDGE_FALLING>; + /* Aquila GPIO_18_DSI_1 (TOUCH_RESET#, AQUILA B43) */ + reset-gpios = <&main_gpio0 31 GPIO_ACTIVE_LOW>; + }; +}; diff --git a/overlays/verdin-imx8mp_spidev_overlay.dts b/overlays/aquila-am69_spi1_spidev_overlay.dts index 1fb0d32..b614783 100644 --- a/overlays/verdin-imx8mp_spidev_overlay.dts +++ b/overlays/aquila-am69_spi1_spidev_overlay.dts @@ -1,19 +1,19 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT /* - * Copyright 2022 Toradex + * Copyright 2024 Toradex */ -// Verdin imx8mp spidev +// Aquila AM69 SPI_1 spidev /dts-v1/; /plugin/; / { - compatible = "toradex,verdin-imx8mp"; + compatible = "toradex,aquila-am69"; }; -/* Verdin SPI_1 */ -&ecspi1 { +/* Aquila SPI_1 */ +&main_spi2 { #address-cells = <1>; #size-cells = <0>; status = "okay"; diff --git a/overlays/apalis-imx6_spi1_spidev_overlay.dts b/overlays/aquila-am69_spi2_spidev_overlay.dts index a8884ea..b2c2973 100644 --- a/overlays/apalis-imx6_spi1_spidev_overlay.dts +++ b/overlays/aquila-am69_spi2_spidev_overlay.dts @@ -1,19 +1,19 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT /* - * Copyright 2022 Toradex + * Copyright 2024 Toradex */ -// Apalis imx6q spidev +// Aquila AM69 SPI_2 spidev /dts-v1/; /plugin/; / { - compatible = "toradex,apalis_imx6q"; + compatible = "toradex,aquila-am69"; }; -/* Apalis SPI1 */ -&ecspi1 { +/* Aquila SPI_2 */ +&main_spi0 { #address-cells = <1>; #size-cells = <0>; status = "okay"; diff --git a/overlays/colibri-imx6_atmel-mxt-adapter_overlay.dtsi b/overlays/colibri-imx6_atmel-mxt-adapter_overlay.dtsi deleted file mode 100644 index 35b0bdc..0000000 --- a/overlays/colibri-imx6_atmel-mxt-adapter_overlay.dtsi +++ /dev/null @@ -1,27 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2022 Toradex - */ - -// Atmel MXT capacitive touch controller for 7" and 10.1" displays -// orderable at Toradex. Compatible with a Capacitive Touch Adapter. - -&atmel_mxt_ts { - pinctrl-0 = <&pinctrl_atmel_adap>; - interrupt-parent = <&gpio1>; - interrupts = <9 IRQ_TYPE_EDGE_FALLING>; - reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; - status = "okay"; -}; - -&i2c3 { - status = "okay"; -}; - -&pwm1 { - status = "disabled"; -}; - -&pwm4 { - status = "disabled"; -}; diff --git a/overlays/colibri-imx6_atmel-mxt-connector_overlay.dtsi b/overlays/colibri-imx6_atmel-mxt-connector_overlay.dtsi deleted file mode 100644 index 1b72093..0000000 --- a/overlays/colibri-imx6_atmel-mxt-connector_overlay.dtsi +++ /dev/null @@ -1,19 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2022 Toradex - */ - -// Atmel MXT capacitive touch controller for the 7" and 10.1" displays -// orderable at Toradex. Compatible with a Capacitive Touch Connector. - -&atmel_mxt_ts { - status = "okay"; -}; - -&i2c3 { - status = "okay"; -}; - -&weim { - status = "disabled"; -}; diff --git a/overlays/colibri-imx6_hdmi_overlay.dts b/overlays/colibri-imx6_hdmi_overlay.dts deleted file mode 100644 index f2a3bc9..0000000 --- a/overlays/colibri-imx6_hdmi_overlay.dts +++ /dev/null @@ -1,17 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2021 Toradex - */ - -// Enable the HDMI interface on the Colibri iMX6DL - -/dts-v1/; -/plugin/; - -/ { - compatible = "toradex,colibri_imx6dl"; -}; - -&hdmi { - status = "okay"; -}; diff --git a/overlays/colibri-imx6_panel-cap-touch-10inch-lvds_overlay.dts b/overlays/colibri-imx6_panel-cap-touch-10inch-lvds_overlay.dts deleted file mode 100644 index 392ffe3..0000000 --- a/overlays/colibri-imx6_panel-cap-touch-10inch-lvds_overlay.dts +++ /dev/null @@ -1,22 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Enable the parallel RGB interface on the Colibri iMX6 and the -// LVDS transceiver on the Iris v2.0A with a connected capacitive -// touch 10.1" LVDS display. - -#include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/interrupt-controller/irq.h> - -/dts-v1/; -/plugin/; - -/ { - compatible = "toradex,colibri_imx6dl"; -}; - -#include "colibri-imx6_atmel-mxt-connector_overlay.dtsi" -#include "colibri-imx6_parallel-rgb-lvds_overlay.dtsi" -#include "display-dpi-lt170410_overlay.dtsi" diff --git a/overlays/colibri-imx6_panel-cap-touch-7inch_adapter_overlay.dts b/overlays/colibri-imx6_panel-cap-touch-7inch_adapter_overlay.dts deleted file mode 100644 index 530cac3..0000000 --- a/overlays/colibri-imx6_panel-cap-touch-7inch_adapter_overlay.dts +++ /dev/null @@ -1,22 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Enable the parallel RGB interface on the Colibri iMX6 with a -// connected capacitive touch 7" display, touch connected with -// a separate adapter pcb. - -#include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/interrupt-controller/irq.h> - -/dts-v1/; -/plugin/; - -/ { - compatible = "toradex,colibri_imx6dl"; -}; - -#include "colibri-imx6_atmel-mxt-adapter_overlay.dtsi" -#include "colibri-imx6_parallel-rgb_overlay.dtsi" -#include "display-lt161010_overlay.dtsi" diff --git a/overlays/colibri-imx6_panel-cap-touch-7inch_overlay.dts b/overlays/colibri-imx6_panel-cap-touch-7inch_overlay.dts deleted file mode 100644 index 175c64b..0000000 --- a/overlays/colibri-imx6_panel-cap-touch-7inch_overlay.dts +++ /dev/null @@ -1,22 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Enable the parallel RGB interface on the Colibri iMX6 with a -// connected capacitive touch 7" display, touch connected to a -// dedicated connector e.g. as present on Iris v2.0A. - -#include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/interrupt-controller/irq.h> - -/dts-v1/; -/plugin/; - -/ { - compatible = "toradex,colibri_imx6dl"; -}; - -#include "colibri-imx6_atmel-mxt-connector_overlay.dtsi" -#include "colibri-imx6_parallel-rgb_overlay.dtsi" -#include "display-lt161010_overlay.dtsi" diff --git a/overlays/colibri-imx6_panel-res-touch-7inch_overlay.dts b/overlays/colibri-imx6_panel-res-touch-7inch_overlay.dts deleted file mode 100644 index 3ef2652..0000000 --- a/overlays/colibri-imx6_panel-res-touch-7inch_overlay.dts +++ /dev/null @@ -1,21 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Enable the parallel RGB interface on the Colibri iMX6 with a -// connected resistive touch 7" display. - -#include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/interrupt-controller/irq.h> - -/dts-v1/; -/plugin/; - -/ { - compatible = "toradex,colibri_imx6dl"; -}; - -#include "colibri-imx6_parallel-rgb_overlay.dtsi" -#include "colibri-imx6_stmpe-ts_overlay.dtsi" -#include "display-lt161010_overlay.dtsi" diff --git a/overlays/colibri-imx6_parallel-rgb-lvds_overlay.dtsi b/overlays/colibri-imx6_parallel-rgb-lvds_overlay.dtsi deleted file mode 100644 index 0c7c26c..0000000 --- a/overlays/colibri-imx6_parallel-rgb-lvds_overlay.dtsi +++ /dev/null @@ -1,81 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2022 Toradex - */ - -// Enable the parallel RGB interface on the Colibri iMX6 and the -// LVDS trasceiver on the Iris v2.0A. - -&backlight { - status = "okay"; -}; - -/* Need to be disabled due to overlapped pins SODIMM_55, SODIMM_63 */ -&can1 { - status = "disabled"; -}; - -&gpio1 { - /* This switches the LVDS transceiver to the single-channel - * output mode. - */ - lvds-ch-mode { - gpio-hog; - gpios = <7 GPIO_ACTIVE_HIGH>; /* SODIMM 55 */ - line-name = "LVDS_CH_MODE"; - output-high; - }; - - /* This turns the LVDS transceiver on */ - lvds-pwron { - gpio-hog; - gpios = <12 GPIO_ACTIVE_HIGH>; /* SODIMM 99 */ - line-name = "LVDS_PWRON"; - output-high; - }; - - /* This switches the LVDS transceiver to the 24-bit RGB mode */ - lvds-rgb-mode { - gpio-hog; - gpios = <8 GPIO_ACTIVE_HIGH>; /* SODIMM 63 */ - line-name = "LVDS_RGB_MODE"; - output-low; - }; -}; - -&gpio5 { - /* This switches the LVDS transceiver to VESA color mapping mode */ - lvds-color-map { - gpio-hog; - gpios = <0 GPIO_ACTIVE_HIGH>; /* SODIMM 95 */ - line-name = "LVDS_COLOR_MAP"; - output-low; - }; -}; - -&pinctrl_weim_gpio_5 { - /* PAD_EIM_WAIT pin used for LVDS */ - fsl,pins = <>; -}; - -&lcd_display { - /* use the bus-format as specified from the panel */ - interface-pix-fmt = ""; - status = "okay"; -}; - -&panel_dpi { - data-mapping = "bgr666"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_lvds_transceiver>; - status = "okay"; -}; - -&pwm3 { - status = "okay"; -}; - -/* Need to be disabled due to the overlapped pin SODIMM_99 */ -&weim { - status = "disabled"; -}; diff --git a/overlays/colibri-imx6_parallel-rgb_overlay.dtsi b/overlays/colibri-imx6_parallel-rgb_overlay.dtsi deleted file mode 100644 index d760797..0000000 --- a/overlays/colibri-imx6_parallel-rgb_overlay.dtsi +++ /dev/null @@ -1,25 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2022 Toradex - */ - -// Enable the parallel RGB interface on the Colibri iMX6. - -&backlight { - status = "okay"; -}; - -&lcd_display { - /* use the bus-format as specified from the panel */ - interface-pix-fmt = ""; - status = "okay"; -}; - -&panel_dpi { - data-mapping = "bgr666"; - status = "okay"; -}; - -&pwm3 { - status = "okay"; -}; diff --git a/overlays/colibri-imx6_spidev_overlay.dts b/overlays/colibri-imx6_spidev_overlay.dts deleted file mode 100644 index 53ef1d1..0000000 --- a/overlays/colibri-imx6_spidev_overlay.dts +++ /dev/null @@ -1,27 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Colibri imx6 spidev - -/dts-v1/; -/plugin/; - -/ { - compatible = "toradex,colibri_imx6dl"; -}; - -/* Colibri SSP */ -&ecspi4 { - #address-cells = <1>; - #size-cells = <0>; - status = "okay"; - - spidev@0 { - /* Use compatible "rohm,dh2228fv" to bind spidev driver */ - compatible = "rohm,dh2228fv"; - reg = <0>; - spi-max-frequency = <10000000>; - }; -}; diff --git a/overlays/colibri-imx6_stmpe-ts_overlay.dtsi b/overlays/colibri-imx6_stmpe-ts_overlay.dtsi deleted file mode 100644 index f75fd83..0000000 --- a/overlays/colibri-imx6_stmpe-ts_overlay.dtsi +++ /dev/null @@ -1,11 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2022 Toradex - */ - -// Resistive STMPE touch controller for the 7" display orderable -// at Toradex. - -&stmpe_ts { - status = "okay"; -}; diff --git a/overlays/colibri-imx6_vga-640x480_overlay.dts b/overlays/colibri-imx6_vga-640x480_overlay.dts deleted file mode 100644 index ec3ae96..0000000 --- a/overlays/colibri-imx6_vga-640x480_overlay.dts +++ /dev/null @@ -1,20 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Enable the parallel RGB interface on the Colibri iMX6 and the -// video DAC providing analog RGB on the VGA connector. - -#include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/interrupt-controller/irq.h> - -/dts-v1/; -/plugin/; - -/ { - compatible = "toradex,colibri_imx6dl"; -}; - -#include "colibri-imx6_parallel-rgb_overlay.dtsi" -#include "display-vga-640x480_overlay.dtsi" diff --git a/overlays/colibri-imx6ull_ad7879_overlay.dtsi b/overlays/colibri-imx6ull_ad7879_overlay.dtsi deleted file mode 100644 index 7079008..0000000 --- a/overlays/colibri-imx6ull_ad7879_overlay.dtsi +++ /dev/null @@ -1,16 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2021-2022 Toradex - */ - -// Resistive AD7879 touch controller for the 7" display orderable -// at Toradex. - -&ad7879_ts { - status = "okay"; -}; - -&i2c2 { - /* Was disabled because ad7879 is a single I2C slave */ - status = "okay"; -}; diff --git a/overlays/colibri-imx6ull_atmel-mxt-adapter_overlay.dtsi b/overlays/colibri-imx6ull_atmel-mxt-adapter_overlay.dtsi deleted file mode 100644 index ebe0ade..0000000 --- a/overlays/colibri-imx6ull_atmel-mxt-adapter_overlay.dtsi +++ /dev/null @@ -1,31 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2021-2022 Toradex - */ - -// Atmel MXT capacitive touch controller for the 7" and 10.1" displays -// orderable at Toradex. Compatible with a Capacitive Touch Adapter. - -&atmel_mxt_ts { - pinctrl-0 = <&pinctrl_atmel_adap>; - interrupt-parent = <&gpio4>; - interrupts = <16 IRQ_TYPE_EDGE_FALLING>; /* SODIMM 28, INT */ - reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>; /* SODIMM 30, RST */ - status = "okay"; -}; - -&i2c1 { - status = "okay"; -}; - -/* PWM <B> */ -&pwm5 { - /* Pin already used by atmel_mxt_ts touchscreen */ - status = "disabled"; -}; - -/* PWM <C> */ -&pwm6 { - /* Pin already used by atmel_mxt_ts touchscreen */ - status = "disabled"; -}; diff --git a/overlays/colibri-imx6ull_atmel-mxt-connector_overlay.dtsi b/overlays/colibri-imx6ull_atmel-mxt-connector_overlay.dtsi deleted file mode 100644 index 62fe90b..0000000 --- a/overlays/colibri-imx6ull_atmel-mxt-connector_overlay.dtsi +++ /dev/null @@ -1,27 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2021-2022 Toradex - */ - -// Atmel MXT capacitive touch controller for the 7" and 10.1" displays -// orderable at Toradex. Compatible with a Capacitive Touch Connector. - -&atmel_mxt_ts { - status = "okay"; -}; - -&i2c1 { - status = "okay"; -}; - -/* PWM <B> */ -&pwm5 { - /* Pin already used by atmel_mxt_ts touchscreen */ - status = "disabled"; -}; - -/* PWM <C> */ -&pwm6 { - /* Pin already used by atmel_mxt_ts touchscreen */ - status = "disabled"; -}; diff --git a/overlays/colibri-imx6ull_panel-cap-touch-10inch-lvds_overlay.dts b/overlays/colibri-imx6ull_panel-cap-touch-10inch-lvds_overlay.dts deleted file mode 100644 index a78d288..0000000 --- a/overlays/colibri-imx6ull_panel-cap-touch-10inch-lvds_overlay.dts +++ /dev/null @@ -1,22 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Enable the parallel RGB interface on the Colibri iMX6ULL and the -// LVDS transceiver on the Iris v2.0A with a connected capacitive -// touch 10.1" LVDS display. - -/dts-v1/; -/plugin/; - -#include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/interrupt-controller/irq.h> - -/ { - compatible = "toradex,colibri-imx6ull-emmc"; -}; - -#include "colibri-imx6ull_atmel-mxt-connector_overlay.dtsi" -#include "colibri-imx6ull_parallel-rgb-lvds_overlay.dtsi" -#include "display-dpi-lt170410_overlay.dtsi" diff --git a/overlays/colibri-imx6ull_panel-cap-touch-7inch_adapter_overlay.dts b/overlays/colibri-imx6ull_panel-cap-touch-7inch_adapter_overlay.dts deleted file mode 100644 index 08c2b11..0000000 --- a/overlays/colibri-imx6ull_panel-cap-touch-7inch_adapter_overlay.dts +++ /dev/null @@ -1,22 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Enable the parallel RGB interface on the Colibri iMX6ULL with a -// connected capacitive touch 7" display, touch connected with -// a separate adapter pcb. - -/dts-v1/; -/plugin/; - -#include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/interrupt-controller/irq.h> - -/ { - compatible = "toradex,colibri-imx6ull-emmc"; -}; - -#include "colibri-imx6ull_atmel-mxt-adapter_overlay.dtsi" -#include "colibri-imx6ull_parallel-rgb_overlay.dtsi" -#include "display-lt161010_overlay.dtsi" diff --git a/overlays/colibri-imx6ull_panel-cap-touch-7inch_overlay.dts b/overlays/colibri-imx6ull_panel-cap-touch-7inch_overlay.dts deleted file mode 100644 index 38aed7e..0000000 --- a/overlays/colibri-imx6ull_panel-cap-touch-7inch_overlay.dts +++ /dev/null @@ -1,19 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Enable the parallel RGB interface on the Colibri iMX6ULL with a -// connected capacitive touch 7" display, touch connected to a -// dedicated connector e.g. as present on Iris v2.0A. - -/dts-v1/; -/plugin/; - -/ { - compatible = "toradex,colibri-imx6ull-emmc"; -}; - -#include "colibri-imx6ull_atmel-mxt-connector_overlay.dtsi" -#include "colibri-imx6ull_parallel-rgb_overlay.dtsi" -#include "display-lt161010_overlay.dtsi" diff --git a/overlays/colibri-imx6ull_panel-res-touch-7inch_overlay.dts b/overlays/colibri-imx6ull_panel-res-touch-7inch_overlay.dts deleted file mode 100644 index cd5e503..0000000 --- a/overlays/colibri-imx6ull_panel-res-touch-7inch_overlay.dts +++ /dev/null @@ -1,21 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Enable the parallel RGB interface on the Colibri iMX6ULL with a -// connected resistive touch 7" display. - -/dts-v1/; -/plugin/; - -#include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/interrupt-controller/irq.h> - -/ { - compatible = "toradex,colibri-imx6ull-emmc"; -}; - -#include "colibri-imx6ull_ad7879_overlay.dtsi" -#include "colibri-imx6ull_parallel-rgb_overlay.dtsi" -#include "display-lt161010_overlay.dtsi" diff --git a/overlays/colibri-imx6ull_parallel-rgb-lvds_overlay.dtsi b/overlays/colibri-imx6ull_parallel-rgb-lvds_overlay.dtsi deleted file mode 100644 index 6e4c462..0000000 --- a/overlays/colibri-imx6ull_parallel-rgb-lvds_overlay.dtsi +++ /dev/null @@ -1,67 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2022 Toradex - */ - -// Enable the parallel RGB interface on the Colibri iMX6ULL and the -// LVDS transceiver on the Iris v2.0A. - -&backlight { - status = "okay"; -}; - -&can1 { - // Disabled due to the SODIMM 55 and 63 pins overlapping - status = "disabled"; -}; - -&gpio1 { - // This turns the LVDS transceiver on - lvds-pwron { - gpio-hog; - gpios = <14 GPIO_ACTIVE_HIGH>; /* SODIMM 99 */ - line-name = "LVDS_PWRON"; - output-high; - }; -}; - -&gpio2 { - // This switches the LVDS transceiver to the single-channel output mode - lvds-ch-mode { - gpio-hog; - gpios = <0 GPIO_ACTIVE_HIGH>; /* SODIMM 55 */ - line-name = "LVDS_CH_MODE"; - output-high; - }; - - // This switches the LVDS transceiver to the 24-bit RGB mode - lvds-rgb-mode { - gpio-hog; - gpios = <1 GPIO_ACTIVE_HIGH>; /* SODIMM 63 */ - line-name = "LVDS_RGB_MODE"; - output-low; - }; -}; - -&gpio5 { - // This switches the LVDS transceiver to VESA color mapping mode - lvds-color-map { - gpio-hog; - gpios = <3 GPIO_ACTIVE_HIGH>; /* SODIMM 95 */ - line-name = "LVDS_COLOR_MAP"; - output-low; - }; -}; - -&lcdif { - status = "okay"; -}; - -&panel_dpi { - data-mapping = "bgr666"; - status = "okay"; -}; - -&pwm4 { - status = "okay"; -}; diff --git a/overlays/colibri-imx6ull_parallel-rgb_overlay.dtsi b/overlays/colibri-imx6ull_parallel-rgb_overlay.dtsi deleted file mode 100644 index c91b9f3..0000000 --- a/overlays/colibri-imx6ull_parallel-rgb_overlay.dtsi +++ /dev/null @@ -1,23 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2021-2022 Toradex - */ - -// Enable the parallel RGB interface on the Colibri iMX6ULL. - -&backlight { - status = "okay"; -}; - -&lcdif { - status = "okay"; -}; - -&panel_dpi { - data-mapping = "bgr666"; - status = "okay"; -}; - -&pwm4 { - status = "okay"; -}; diff --git a/overlays/colibri-imx6ull_spidev_overlay.dts b/overlays/colibri-imx6ull_spidev_overlay.dts deleted file mode 100644 index 362ce22..0000000 --- a/overlays/colibri-imx6ull_spidev_overlay.dts +++ /dev/null @@ -1,30 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Colibri imx6ull spidev - -#include <dt-bindings/gpio/gpio.h> - -/dts-v1/; -/plugin/; - -/ { - compatible = "toradex,colibri-imx6ull", - "toradex,colibri-imx6ull-emmc"; -}; - -/* Colibri SPI */ -&ecspi1 { - #address-cells = <1>; - #size-cells = <0>; - status = "okay"; - - spidev@0 { - /* Use compatible "rohm,dh2228fv" to bind spidev driver */ - compatible = "rohm,dh2228fv"; - reg = <0>; - spi-max-frequency = <10000000>; - }; -}; diff --git a/overlays/colibri-imx6ull_vga-640x480_overlay.dts b/overlays/colibri-imx6ull_vga-640x480_overlay.dts deleted file mode 100644 index c1ce50a..0000000 --- a/overlays/colibri-imx6ull_vga-640x480_overlay.dts +++ /dev/null @@ -1,20 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Enable the parallel RGB interface on the Colibri iMX6ULL and the -// video DAC providing analog RGB on the VGA connector. - -#include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/interrupt-controller/irq.h> - -/dts-v1/; -/plugin/; - -/ { - compatible = "toradex,colibri-imx6ull-emmc"; -}; - -#include "colibri-imx6ull_parallel-rgb_overlay.dtsi" -#include "display-vga-640x480_overlay.dtsi" diff --git a/overlays/colibri-imx7_ad7879_overlay.dtsi b/overlays/colibri-imx7_ad7879_overlay.dtsi deleted file mode 100644 index e134ee4..0000000 --- a/overlays/colibri-imx7_ad7879_overlay.dtsi +++ /dev/null @@ -1,11 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2022 Toradex - */ - -// Resistive AD7879 touch controller on the Colibri iMX7 for the 7" -// display orderable at Toradex. - -&ad7879_ts { - status = "okay"; -}; diff --git a/overlays/colibri-imx7_atmel-mxt-adapter_overlay.dtsi b/overlays/colibri-imx7_atmel-mxt-adapter_overlay.dtsi deleted file mode 100644 index ece03a1..0000000 --- a/overlays/colibri-imx7_atmel-mxt-adapter_overlay.dtsi +++ /dev/null @@ -1,27 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2022 Toradex - */ - -// Atmel MXT capacitive touch controller for the 7" and 10.1" displays -// orderable at Toradex. Compatible with a Capacitive Touch Adapter. - -&atmel_mxt_ts { - pinctrl-0 = <&pinctrl_atmel_adapter>; - interrupt-parent = <&gpio1>; - interrupts = <9 IRQ_TYPE_EDGE_FALLING>; - reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; - status = "okay"; -}; - -&i2c4 { - status = "okay"; -}; - -&pwm2 { - status = "disabled"; -}; - -&pwm3 { - status = "disabled"; -}; diff --git a/overlays/colibri-imx7_atmel-mxt-connector_overlay.dtsi b/overlays/colibri-imx7_atmel-mxt-connector_overlay.dtsi deleted file mode 100644 index 786c5a5..0000000 --- a/overlays/colibri-imx7_atmel-mxt-connector_overlay.dtsi +++ /dev/null @@ -1,19 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2022 Toradex - */ - -// Atmel MXT capacitive touch controller for the 7" and 10.1" displays -// orderable at Toradex. Compatible with a Capacitive Touch Connector. - -&atmel_mxt_ts { - pinctrl-0 = <&pinctrl_atmel_connector>; - interrupt-parent = <&gpio2>; - interrupts = <15 IRQ_TYPE_EDGE_FALLING>; - reset-gpios = <&gpio2 28 GPIO_ACTIVE_LOW>; - status = "okay"; -}; - -&i2c4 { - status = "okay"; -}; diff --git a/overlays/colibri-imx7_panel-cap-touch-10inch-lvds_overlay.dts b/overlays/colibri-imx7_panel-cap-touch-10inch-lvds_overlay.dts deleted file mode 100644 index c0d9c0f..0000000 --- a/overlays/colibri-imx7_panel-cap-touch-10inch-lvds_overlay.dts +++ /dev/null @@ -1,25 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Enable the parallel RGB interface on the Colibri iMX7 and the -// LVDS transceiver on the Iris v2.0A with a connected capacitive -// touch 10.1" LVDS display. - -/dts-v1/; -/plugin/; - -#include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/interrupt-controller/irq.h> -#include <imx7d-pinfunc.h> - -/ { - compatible = "toradex,colibri-imx7d", - "toradex,colibri-imx7s", - "toradex,colibri-imx7d-emmc"; -}; - -#include "colibri-imx7_atmel-mxt-connector_overlay.dtsi" -#include "colibri-imx7_parallel-rgb-lvds-rgb24-single_overlay.dtsi" -#include "display-dpi-lt170410_overlay.dtsi" diff --git a/overlays/colibri-imx7_panel-cap-touch-7inch_adapter_overlay.dts b/overlays/colibri-imx7_panel-cap-touch-7inch_adapter_overlay.dts deleted file mode 100644 index 72440fb..0000000 --- a/overlays/colibri-imx7_panel-cap-touch-7inch_adapter_overlay.dts +++ /dev/null @@ -1,26 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Enable the parallel RGB interface on the Colibri iMX7 with a -// connected capacitive touch 7" display, touch connected with -// a separate adapter pcb. - -/dts-v1/; -/plugin/; - -#include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/interrupt-controller/irq.h> -#include <imx7d-pinfunc.h> - -/ { - compatible = "toradex,colibri-imx7d", - "toradex,colibri-imx7s", - "toradex,colibri-imx7d-emmc"; -}; - -#include "colibri-imx7_atmel-mxt-adapter_overlay.dtsi" -#include "colibri-imx7_parallel-rgb_overlay.dtsi" -#include "display-lt161010_overlay.dtsi" - diff --git a/overlays/colibri-imx7_panel-cap-touch-7inch_overlay.dts b/overlays/colibri-imx7_panel-cap-touch-7inch_overlay.dts deleted file mode 100644 index 2382535..0000000 --- a/overlays/colibri-imx7_panel-cap-touch-7inch_overlay.dts +++ /dev/null @@ -1,26 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Enable the parallel RGB interface on the Colibri iMX7 with a -// connected capacitive touch 7" display, touch connected to a -// dedicated connector e.g. as present on Iris v2.0A. - -/dts-v1/; -/plugin/; - -#include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/interrupt-controller/irq.h> -#include <imx7d-pinfunc.h> - -/ { - compatible = "toradex,colibri-imx7d", - "toradex,colibri-imx7s", - "toradex,colibri-imx7d-emmc"; -}; - -#include "colibri-imx7_atmel-mxt-connector_overlay.dtsi" -#include "colibri-imx7_parallel-rgb_overlay.dtsi" -#include "display-lt161010_overlay.dtsi" - diff --git a/overlays/colibri-imx7_panel-res-touch-7inch_overlay.dts b/overlays/colibri-imx7_panel-res-touch-7inch_overlay.dts deleted file mode 100644 index 3f08526..0000000 --- a/overlays/colibri-imx7_panel-res-touch-7inch_overlay.dts +++ /dev/null @@ -1,25 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Enable the parallel RGB interface on the Colibri iMX7 with a -// connected resistive touch 7" display. - -/dts-v1/; -/plugin/; - -#include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/interrupt-controller/irq.h> -#include <imx7d-pinfunc.h> - -/ { - compatible = "toradex,colibri-imx7d", - "toradex,colibri-imx7s", - "toradex,colibri-imx7d-emmc"; -}; - -#include "colibri-imx7_ad7879_overlay.dtsi" -#include "colibri-imx7_parallel-rgb_overlay.dtsi" -#include "display-lt161010_overlay.dtsi" - diff --git a/overlays/colibri-imx7_parallel-rgb-lvds-rgb24-single_overlay.dtsi b/overlays/colibri-imx7_parallel-rgb-lvds-rgb24-single_overlay.dtsi deleted file mode 100644 index ed03a8a..0000000 --- a/overlays/colibri-imx7_parallel-rgb-lvds-rgb24-single_overlay.dtsi +++ /dev/null @@ -1,73 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2022 Toradex - */ - -// Enable the parallel RGB interface on the Colibri iMX7. - -&backlight { - status = "okay"; -}; - -/* Need to be disabled due to overlapped pins SODIMM_55, SODIMM_63 */ -&flexcan1 { - status = "disabled"; -}; - -&gpio2 { - /* - * This switches the LVDS transceiver to VESA color mapping mode. - */ - lvds-color-map { - gpio-hog; - gpios = <13 GPIO_ACTIVE_HIGH>; /* SODIMM 95 */ - line-name = "LVDS_COLOR_MAP"; - output-low; - }; -}; - -&gpio7 { - /* - * This switches the LVDS transceiver to the single-channel - * output mode. - */ - lvds-ch-mode { - gpio-hog; - gpios = <3 GPIO_ACTIVE_HIGH>; /* SODIMM 55 */ - line-name = "LVDS_CH_MODE"; - output-high; - }; - - /* This turns on the LVDS transceiver */ - lvds-pwron { - gpio-hog; - gpios = <11 GPIO_ACTIVE_HIGH>; /* SODIMM 99 */ - line-name = "LVDS_PWRON"; - output-high; - }; - - /* - * This switches the LVDS transceiver to the 24-bit RGB mode. - */ - lvds-rgb-mode { - gpio-hog; - gpios = <2 GPIO_ACTIVE_HIGH>; /* SODIMM 63 */ - line-name = "LVDS_RGB_MODE"; - output-low; - }; -}; - -&lcdif { - status = "okay"; -}; - -&panel_dpi { - data-mapping = "bgr666"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_lvds_transceiver>; - status = "okay"; -}; - -&pwm1 { - status = "okay"; -}; diff --git a/overlays/colibri-imx7_parallel-rgb_overlay.dtsi b/overlays/colibri-imx7_parallel-rgb_overlay.dtsi deleted file mode 100644 index e00b6ea..0000000 --- a/overlays/colibri-imx7_parallel-rgb_overlay.dtsi +++ /dev/null @@ -1,22 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2022 Toradex - */ - -// Enable the parallel RGB interface on the Colibri iMX7. - -&backlight { - status = "okay"; -}; - -&lcdif { - status = "okay"; -}; - -&panel_dpi { - data-mapping = "bgr666"; -}; - -&pwm1 { - status = "okay"; -}; diff --git a/overlays/colibri-imx7_spidev_overlay.dts b/overlays/colibri-imx7_spidev_overlay.dts deleted file mode 100644 index 54da057..0000000 --- a/overlays/colibri-imx7_spidev_overlay.dts +++ /dev/null @@ -1,29 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Colibri imx7 spidev - -/dts-v1/; -/plugin/; - -/ { - compatible = "toradex,colibri-imx7d", - "toradex,colibri-imx7d-emmc", - "toradex,colibri-imx7s"; -}; - -/* Colibri SPI */ -&ecspi3 { - #address-cells = <1>; - #size-cells = <0>; - status = "okay"; - - spidev@0 { - /* Use compatible "rohm,dh2228fv" to bind spidev driver */ - compatible = "rohm,dh2228fv"; - reg = <0>; - spi-max-frequency = <10000000>; - }; -}; diff --git a/overlays/colibri-imx7_vga-640x480_overlay.dts b/overlays/colibri-imx7_vga-640x480_overlay.dts deleted file mode 100644 index 70f1782..0000000 --- a/overlays/colibri-imx7_vga-640x480_overlay.dts +++ /dev/null @@ -1,24 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2022 Toradex - */ - -// Enable the parallel RGB interface on the Colibri iMX7 and the -// video DAC providing analog RGB on the VGA connector. - -/dts-v1/; -/plugin/; - -#include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/interrupt-controller/irq.h> -#include <imx7d-pinfunc.h> - -/ { - compatible = "toradex,colibri-imx7d", - "toradex,colibri-imx7s", - "toradex,colibri-imx7d-emmc"; -}; - -#include "colibri-imx7_parallel-rgb_overlay.dtsi" -#include "display-vga-640x480_overlay.dtsi" - diff --git a/overlays/display-dpi-lt170410_overlay.dtsi b/overlays/display-dpi-lt170410_overlay.dtsi deleted file mode 100644 index 62680bf..0000000 --- a/overlays/display-dpi-lt170410_overlay.dtsi +++ /dev/null @@ -1,32 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2022 Toradex - */ - -// LT170410 panel with a resolution of 1280x800 pixel. - -&panel_dpi { - compatible = "panel-dpi"; - status = "okay"; - - width-mm = <217>; - height-mm = <136>; - - panel-timing { - clock-frequency = <68930000>; - - hactive = <1280>; - hback-porch = <64>; - hfront-porch = <64>; - hsync-len = <40>; - vactive = <800>; - vback-porch = <5>; - vfront-porch = <5>; - vsync-len = <6>; - - de-active = <1>; - hsync-active = <0>; - vsync-active = <0>; - pixelclk-active = <0>; - }; -}; diff --git a/overlays/display-edt5.7_overlay.dtsi b/overlays/display-edt5.7_overlay.dtsi deleted file mode 100644 index aff45e3..0000000 --- a/overlays/display-edt5.7_overlay.dtsi +++ /dev/null @@ -1,26 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2022 Toradex - */ - -// EDT 5.7" panel with a resolution of 640x480 pixel - -&panel_dpi { - compatible = "panel-dpi"; - status = "okay"; - - width-mm = <116>; - height-mm = <86>; - - panel-timing { - clock-frequency = <25175000>; - hactive = <640>; - vactive = <480>; - hsync-len = <30>; - hfront-porch = <16>; - hback-porch = <114>; - vsync-len = <3>; - vfront-porch = <10>; - vback-porch = <32>; - }; -}; diff --git a/overlays/display-edt7_overlay.dtsi b/overlays/display-edt7_overlay.dtsi deleted file mode 100644 index 24b48e7..0000000 --- a/overlays/display-edt7_overlay.dtsi +++ /dev/null @@ -1,26 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2022 Toradex - */ - -// EDT 7" panel with a resolution of 800x480 pixel - -&panel_dpi { - compatible = "panel-dpi"; - status = "okay"; - - width-mm = <155>; - height-mm = <91>; - - panel-timing { - clock-frequency = <33230769>; - hactive = <800>; - vactive = <480>; - hsync-len = <128>; - hfront-porch = <40>; - hback-porch = <88>; - vsync-len = <1>; - vfront-porch = <10>; - vback-porch = <33>; - }; -}; diff --git a/overlays/display-fullhd_overlay.dtsi b/overlays/display-fullhd_overlay.dtsi deleted file mode 100644 index 3519f16..0000000 --- a/overlays/display-fullhd_overlay.dtsi +++ /dev/null @@ -1,28 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2022 Toradex - */ - -// FullHD VGA monitor in mode 1920x1080p60. Standard: SMPTE 274M - -&panel_dpi { - compatible = "panel-dpi"; - status = "okay"; - - /* for 0.15mm pixels */ - width-mm = <288>; - height-mm = <162>; - - panel-timing { - clock-frequency = <148500000>; - hactive = <1920>; - hback-porch = <148>; - hfront-porch = <88>; - hsync-len = <44>; - vactive = <1080>; - vback-porch = <36>; - vfront-porch = <4>; - vsync-len = <5>; - pixelclk-active = <0>; - }; -}; diff --git a/overlays/display-lt161010_overlay.dtsi b/overlays/display-lt161010_overlay.dtsi deleted file mode 100644 index 63fb1b2..0000000 --- a/overlays/display-lt161010_overlay.dtsi +++ /dev/null @@ -1,27 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2020-2022 Toradex - */ - -// LT161010 panel with a resolution of 800x480 pixel. - -&panel_dpi { - compatible = "panel-dpi"; - status = "okay"; - - width-mm = <154>; - height-mm = <86>; - - panel-timing { - clock-frequency = <33230769>; - hactive = <800>; - vactive = <480>; - hsync-len = <128>; - hfront-porch = <40>; - hback-porch = <88>; - vsync-len = <1>; - vfront-porch = <10>; - vback-porch = <33>; - pixelclk-active = <1>; - }; -}; diff --git a/overlays/display-lt170410_overlay.dtsi b/overlays/display-lt170410_overlay.dtsi deleted file mode 100644 index b505109..0000000 --- a/overlays/display-lt170410_overlay.dtsi +++ /dev/null @@ -1,30 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// LT170410 panel with a resolution of 1280x800 pixel. - -&panel_lvds { - status = "okay"; - - data-mapping = "vesa-24"; - width-mm = <217>; - height-mm = <136>; - - panel-timing { - clock-frequency = <68930000>; - hactive = <1280>; - vactive = <800>; - hback-porch = <64>; - hfront-porch = <64>; - vback-porch = <5>; - vfront-porch = <5>; - hsync-len = <40>; - vsync-len = <6>; - - hsync-active = <0>; - vsync-active = <0>; - pixelclk-active = <0>; - }; -}; diff --git a/overlays/display-vga-640x480_overlay.dtsi b/overlays/display-vga-640x480_overlay.dtsi deleted file mode 100644 index ab533cb..0000000 --- a/overlays/display-vga-640x480_overlay.dtsi +++ /dev/null @@ -1,30 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// VGA Signal 640x480@60Hz Industry standard timing - -&panel_dpi { - compatible = "panel-dpi"; - status = "okay"; - - /* for 0.3mm pixels */ - width-mm = <192>; - height-mm = <144>; - - panel-timing { - clock-frequency = <25175000>; - hactive = <640>; - vactive = <480>; - hsync-len = <96>; - hfront-porch = <16>; - hback-porch = <48>; - vsync-len = <2>; - vfront-porch = <10>; - vback-porch = <33>; - hsync-active = <0>; - vsync-active = <0>; - pixelclk-active = <0>; - }; -}; diff --git a/overlays/verdin-am62_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts b/overlays/verdin-am62_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts index 35378de..fe2d536 100644 --- a/overlays/verdin-am62_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts +++ b/overlays/verdin-am62_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts @@ -59,6 +59,15 @@ }; }; }; + + reg_dsi_lvds: regulator-dsi-lvds { + compatible = "regulator-fixed"; + enable-active-high; + /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */ + gpio = <&main_gpio0 31 GPIO_ACTIVE_HIGH>; + regulator-boot-on; + regulator-name = "DSI_1_PWR_EN"; + }; }; &dsi_bridge { @@ -101,6 +110,7 @@ /* Verdin Verdin DSI_1_INT# (SN65DSI84 IRQ, SODIMM 17, unused) */ /* Verdin DSI_1_BKL_EN (SODIMM 21) */ enable-gpios = <&main_gpio0 30 GPIO_ACTIVE_HIGH>; + vcc-supply = <®_dsi_lvds>; ports { #address-cells = <1>; @@ -138,5 +148,6 @@ pinctrl-0 = <&pinctrl_dsi1_int>, <&pinctrl_i2s_2_bclk_gpio>; /* Verdin I2S_2_BCLK (TOUCH_RESET#, SODIMM 42) */ reset-gpios = <&main_gpio0 35 GPIO_ACTIVE_LOW>; + vdd-supply = <®_dsi_lvds>; }; }; diff --git a/overlays/verdin-am62_panel-cap-touch-10inch-dsi_overlay.dts b/overlays/verdin-am62_panel-cap-touch-10inch-dsi_overlay.dts index a56e845..ec3af51 100644 --- a/overlays/verdin-am62_panel-cap-touch-10inch-dsi_overlay.dts +++ b/overlays/verdin-am62_panel-cap-touch-10inch-dsi_overlay.dts @@ -131,7 +131,7 @@ reg = <0x41>; /* Verdin DSI_1_INT# (TOUCH_INT#, SODIMM 17) */ interrupt-parent = <&main_gpio1>; - interrupts = <49 IRQ_TYPE_EDGE_FALLING>; + interrupts = <49 IRQ_TYPE_EDGE_RISING>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_dsi1_int>, <&pinctrl_i2s_2_bclk_gpio>; /* Verdin I2S_2_BCLK (TOUCH_RESET#, SODIMM 42) */ diff --git a/overlays/verdin-imx8mm_nau8822-btl_overlay.dts b/overlays/verdin-imx8mm_nau8822-btl_overlay.dts deleted file mode 100644 index 463852c..0000000 --- a/overlays/verdin-imx8mm_nau8822-btl_overlay.dts +++ /dev/null @@ -1,18 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2023 Toradex - */ - -/dts-v1/; -/plugin/; - -/ { - compatible = "toradex,verdin-imx8mm"; -}; - -// Allow configuring the two loudspeaker outputs as a -// single Bridge Tied Load output getting higher output power. - -&nau8822_1a { - nuvoton,spk-btl; -}; diff --git a/overlays/verdin-imx8mm_spidev_overlay.dts b/overlays/verdin-imx8mm_spidev_overlay.dts deleted file mode 100644 index 5620046..0000000 --- a/overlays/verdin-imx8mm_spidev_overlay.dts +++ /dev/null @@ -1,27 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -// Verdin imx8mm spidev - -/dts-v1/; -/plugin/; - -/ { - compatible = "toradex,verdin-imx8mm"; -}; - -/* Verdin SPI_1 */ -&ecspi2 { - #address-cells = <1>; - #size-cells = <0>; - status = "okay"; - - spidev@0 { - /* Use compatible "rohm,dh2228fv" to bind spidev driver */ - compatible = "rohm,dh2228fv"; - reg = <0>; - spi-max-frequency = <10000000>; - }; -}; |