mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-23 02:51:47 +00:00
Devicetree overlays for omaps for v6.4
Devicetree overlays for omaps to enable the optional LCD and touchscreen modules on am57xx-evm and am57xx-idk boards. -----BEGIN PGP SIGNATURE----- iQJFBAABCAAvFiEEkgNvrZJU/QSQYIcQG9Q+yVyrpXMFAmQlg3MRHHRvbnlAYXRv bWlkZS5jb20ACgkQG9Q+yVyrpXNHZBAAmfNiUYHKXU9GuszTuUByHV90b8gFQM8G tJTogSyYIddfdgQ3jEr6Vu5RuZCNzvtSVlv3kTeDHPMkdXWKIdZ6jq27w6drIdh3 fc5WNUyXMVDhEmIRrWWfEnvBpLy1BiEUX43ZVTSYXDuWh3LfY7noUgyiqeOPv6tP hxn1wxo9WGxAVxHbvt5jN0pqRL2GoMxmDYBCwsMVdR0SnjSF49ECo+ulQifeZTfl Dff605USQCTCPozlpHEizk4aB43xST0GvgwU61tbtM73m8LUp5IuYwqZhsyYczU3 hv4th2ECopitvPJwFs/F6UrpMZGq4Bi3Nk+U3/EEdq7ThAO6FSHztHRMkYf6KgjF jvpCsMzgr854hR7T4UmDAIPegtTIxK2IeIrYWXn8B3CM1FSRMTkttiyFXSp7xyib d5emgBVSv4VbOi/CcvbMLDEGWyi5OMjYE/5s8ZcGHuF2CTJECe6OAV6jM5SgdIBw 77zcIVYfVEe5Y00T3MUHot8iqi5WVU0RrCClrigCMQDT/W17yH6cf7O+flelDsyw AIYRSIdbGnpc8kWeB2qU1V+xVhgzzehoE2FQHnVTj3ile7OBfvIKtxH/vPuGw+YR vJ49SI+2HxBqsQTPdyaTEZEIhueVr/1CqjxCusmhzn7zhUcdxr0YkYCkecvldo8U 8qMwIZ6XLP0= =5DmE -----END PGP SIGNATURE----- gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmQsMjAACgkQmmx57+YA GNkdxA//a7WSJGn0G0oZLNCPYuC0nAQtnmfkwRAmRP3iviE51+2O8y2VtY7UFNbo GDzjDYKbQMrsIeAZbO+hKULdwffvC1d1Axieht5m23j6RMYbB2utTHkzkArWobyn m9gbyJqud+2IKpwxE0i4KF84ANcO6bfdDDG8msZDay0BchsI7vDY4s7fCo3mz6gW ygfxvTtxif7EH0CCwNGj3+1Rgn1onZcNuMf2k1IpEWsIhN1J4pw5AwZF9enDBhB+ 4Yg9xNvOYW4zcoWVo03DlNsGeCKcHAARq89d09LLd0cso13jp5e6YkDBuZi0nEG9 ff/djKvs5sY1sm735s6cBpS5qO7+8TUHlBxwjCyys7kTB/gHYR0nZ/B9m+81Xzrk omtwmLC6Tlm+TnDGWfRQwC0Ep+OZ6B4OVCpbUJI+HgKnyXjDoV98dDZhyJSlgVcj vlkog7ANT72RWNuBRbbaU3Rxv0pWTpMNMt9yP9RJfwzHksSRXC8X4UYI0dglNeO/ y2f+IJIZSeTd07TDokEpvn7YXxUg1TDey7xWCm6yw4Qy0R2TmaQS0dZxnWRqrygX ueL1WHGGS1JfIuI0N/hqzPjDhJu9CveDe4zw+YiP4TS4y1N58VgN0yZ5xdE2OnU9 BCPzKT63FMEL3a/MzDJhISXVKaMADayb9f/7bv3uBldrQestK6c= =uH4T -----END PGP SIGNATURE----- Merge tag 'omap-for-v6.4/dt-overlays-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into soc/dt Devicetree overlays for omaps for v6.4 Devicetree overlays for omaps to enable the optional LCD and touchscreen modules on am57xx-evm and am57xx-idk boards. * tag 'omap-for-v6.4/dt-overlays-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: ARM: dts: am57xx-idk: Add IDK displays and touchscreens ARM: dts: ti: Add AM57xx GP EVM Rev A3 board support ARM: dts: ti: Add AM57xx GP EVM board support Link: https://lore.kernel.org/r/pull-1680180448-508978@atomide.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
commit
8f9abca2f4
6 changed files with 328 additions and 0 deletions
|
@ -994,16 +994,24 @@ dtb-$(CONFIG_SOC_OMAP5) += \
|
|||
omap5-igep0050.dtb \
|
||||
omap5-sbc-t54.dtb \
|
||||
omap5-uevm.dtb
|
||||
am57xx-evm-dtbs := am57xx-beagle-x15.dtb am57xx-evm.dtbo
|
||||
am57xx-evm-reva3-dtbs := am57xx-beagle-x15-revc.dtb am57xx-evm.dtbo
|
||||
dtb-$(CONFIG_SOC_DRA7XX) += \
|
||||
am57xx-beagle-x15.dtb \
|
||||
am57xx-beagle-x15-revb1.dtb \
|
||||
am57xx-beagle-x15-revc.dtb \
|
||||
am57xx-evm.dtb \
|
||||
am57xx-evm-reva3.dtb \
|
||||
am5729-beagleboneai.dtb \
|
||||
am57xx-cl-som-am57x.dtb \
|
||||
am57xx-sbc-am57x.dtb \
|
||||
am572x-idk.dtb \
|
||||
am572x-idk-touchscreen.dtbo \
|
||||
am571x-idk.dtb \
|
||||
am571x-idk-touchscreen.dtbo \
|
||||
am574x-idk.dtb \
|
||||
am57xx-idk-lcd-osd101t2045.dtbo \
|
||||
am57xx-idk-lcd-osd101t2587.dtbo \
|
||||
dra7-evm.dtb \
|
||||
dra72-evm.dtb \
|
||||
dra72-evm-revc.dtb \
|
||||
|
|
32
arch/arm/boot/dts/am571x-idk-touchscreen.dtso
Normal file
32
arch/arm/boot/dts/am571x-idk-touchscreen.dtso
Normal file
|
@ -0,0 +1,32 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/*
|
||||
* Copyright (C) 2019-2022 Texas Instruments Incorporated - https://www.ti.com/
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
|
||||
&i2c1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
touchscreen: edt-ft5506@38 {
|
||||
compatible = "edt,edt-ft5506", "edt,edt-ft5x06";
|
||||
|
||||
reg = <0x38>;
|
||||
|
||||
interrupt-parent = <&gpio5>;
|
||||
interrupts = <6 IRQ_TYPE_EDGE_FALLING>;
|
||||
|
||||
/* GPIO line is inverted before going to touch panel */
|
||||
reset-gpios = <&gpio6 15 GPIO_ACTIVE_LOW>;
|
||||
|
||||
touchscreen-size-x = <1920>;
|
||||
touchscreen-size-y = <1200>;
|
||||
|
||||
wakeup-source;
|
||||
};
|
||||
};
|
32
arch/arm/boot/dts/am572x-idk-touchscreen.dtso
Normal file
32
arch/arm/boot/dts/am572x-idk-touchscreen.dtso
Normal file
|
@ -0,0 +1,32 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/*
|
||||
* Copyright (C) 2019-2022 Texas Instruments Incorporated - https://www.ti.com/
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
|
||||
&i2c1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
touchscreen: edt-ft5506@38 {
|
||||
compatible = "edt,edt-ft5506", "edt,edt-ft5x06";
|
||||
|
||||
reg = <0x38>;
|
||||
|
||||
interrupt-parent = <&gpio3>;
|
||||
interrupts = <14 IRQ_TYPE_EDGE_FALLING>;
|
||||
|
||||
/* GPIO line is inverted before going to touch panel */
|
||||
reset-gpios = <&gpio6 15 GPIO_ACTIVE_LOW>;
|
||||
|
||||
touchscreen-size-x = <1920>;
|
||||
touchscreen-size-y = <1200>;
|
||||
|
||||
wakeup-source;
|
||||
};
|
||||
};
|
127
arch/arm/boot/dts/am57xx-evm.dtso
Normal file
127
arch/arm/boot/dts/am57xx-evm.dtso
Normal file
|
@ -0,0 +1,127 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/*
|
||||
* DT overlay for AM57xx GP EVM boards
|
||||
*
|
||||
* Copyright (C) 2020-2022 Texas Instruments Incorporated - https://www.ti.com/
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
&{/} {
|
||||
compatible = "ti,am5728-evm", "ti,am572x-beagle-x15", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7";
|
||||
model = "TI AM5728 EVM";
|
||||
|
||||
aliases {
|
||||
display0 = "/display";
|
||||
display1 = "/connector"; // Fixme: &lcd0 and &hdmi0 could be
|
||||
// resolved here correcly based on
|
||||
// information in the base dtb symbol
|
||||
// table with a fix in dtc
|
||||
};
|
||||
|
||||
gpio-keys {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
button-user1 {
|
||||
gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
|
||||
label = "USER1";
|
||||
linux,code = <BTN_1>;
|
||||
};
|
||||
|
||||
button-user2 {
|
||||
gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
|
||||
label = "USER2";
|
||||
linux,code = <BTN_2>;
|
||||
};
|
||||
|
||||
button-user3 {
|
||||
gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
|
||||
label = "USER3";
|
||||
linux,code = <BTN_3>;
|
||||
};
|
||||
|
||||
button-user4 {
|
||||
gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
|
||||
label = "USER4";
|
||||
linux,code = <BTN_4>;
|
||||
};
|
||||
|
||||
button-user5 {
|
||||
gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
|
||||
label = "USER5";
|
||||
linux,code = <BTN_5>;
|
||||
};
|
||||
};
|
||||
|
||||
lcd0: display {
|
||||
compatible = "osddisplays,osd070t1718-19ts", "panel-dpi";
|
||||
backlight = <&lcd_bl>;
|
||||
enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
|
||||
label = "lcd";
|
||||
|
||||
port {
|
||||
lcd_in: endpoint {
|
||||
remote-endpoint = <&dpi_out>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
lcd_bl: backlight {
|
||||
compatible = "pwm-backlight";
|
||||
brightness-levels = <0 243 245 247 249 251 252 253 255>;
|
||||
default-brightness-level = <8>;
|
||||
pwms = <&ehrpwm1 0 50000 0>;
|
||||
};
|
||||
};
|
||||
|
||||
&ehrpwm1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&epwmss1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c5 {
|
||||
status = "okay";
|
||||
clock-frequency = <400000>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
touchscreen@5c {
|
||||
compatible = "pixcir,pixcir_tangoc";
|
||||
attb-gpio = <&gpio2 4 GPIO_ACTIVE_HIGH>;
|
||||
interrupt-parent = <&gpio2>;
|
||||
interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
|
||||
reg = <0x5c>;
|
||||
reset-gpio = <&gpio2 6 GPIO_ACTIVE_HIGH>;
|
||||
touchscreen-size-x = <1024>;
|
||||
touchscreen-size-y = <600>;
|
||||
};
|
||||
};
|
||||
|
||||
&uart8 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dss {
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
|
||||
dpi_out: endpoint {
|
||||
data-lines = <24>;
|
||||
remote-endpoint = <&lcd_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
63
arch/arm/boot/dts/am57xx-idk-lcd-osd101t2045.dtso
Normal file
63
arch/arm/boot/dts/am57xx-idk-lcd-osd101t2045.dtso
Normal file
|
@ -0,0 +1,63 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/*
|
||||
* Copyright (C) 2019-2022 Texas Instruments Incorporated - https://www.ti.com/
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
&{/} {
|
||||
aliases {
|
||||
display0 = "/display";
|
||||
display1 = "/connector";
|
||||
};
|
||||
|
||||
lcd_bl: backlight {
|
||||
compatible = "pwm-backlight";
|
||||
pwms = <&ecap0 0 50000 1>;
|
||||
brightness-levels = <0 51 53 56 62 75 101 152 255>;
|
||||
default-brightness-level = <8>;
|
||||
};
|
||||
};
|
||||
|
||||
&dsi_bridge {
|
||||
status = "okay";
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
lcd: display {
|
||||
compatible = "osddisplays,osd101t2045-53ts";
|
||||
reg = <0>;
|
||||
|
||||
label = "lcd";
|
||||
|
||||
backlight = <&lcd_bl>;
|
||||
|
||||
port {
|
||||
lcd_in: endpoint {
|
||||
remote-endpoint = <&dsi_out>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&dsi_bridge_ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
dsi_out: endpoint {
|
||||
remote-endpoint = <&lcd_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&epwmss0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ecap0 {
|
||||
status = "okay";
|
||||
};
|
66
arch/arm/boot/dts/am57xx-idk-lcd-osd101t2587.dtso
Normal file
66
arch/arm/boot/dts/am57xx-idk-lcd-osd101t2587.dtso
Normal file
|
@ -0,0 +1,66 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/*
|
||||
* Copyright (C) 2019-2022 Texas Instruments Incorporated - https://www.ti.com/
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
|
||||
&{/} {
|
||||
aliases {
|
||||
display0 = "/display";
|
||||
display1 = "/connector";
|
||||
};
|
||||
|
||||
lcd_bl: backlight {
|
||||
compatible = "pwm-backlight";
|
||||
pwms = <&ecap0 0 50000 1>;
|
||||
brightness-levels = <0 51 53 56 62 75 101 152 255>;
|
||||
default-brightness-level = <8>;
|
||||
};
|
||||
};
|
||||
|
||||
&dsi_bridge {
|
||||
status = "okay";
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
lcd: display {
|
||||
compatible = "osddisplays,osd101t2587-53ts";
|
||||
reg = <0>;
|
||||
|
||||
label = "lcd";
|
||||
|
||||
backlight = <&lcd_bl>;
|
||||
|
||||
port {
|
||||
lcd_in: endpoint {
|
||||
remote-endpoint = <&dsi_out>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&dsi_bridge_ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
dsi_out: endpoint {
|
||||
remote-endpoint = <&lcd_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&epwmss0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ecap0 {
|
||||
status = "okay";
|
||||
};
|
Loading…
Reference in a new issue