Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

+328
+8
arch/arm/boot/dts/Makefile
··· 994 994 omap5-igep0050.dtb \ 995 995 omap5-sbc-t54.dtb \ 996 996 omap5-uevm.dtb 997 + am57xx-evm-dtbs := am57xx-beagle-x15.dtb am57xx-evm.dtbo 998 + am57xx-evm-reva3-dtbs := am57xx-beagle-x15-revc.dtb am57xx-evm.dtbo 997 999 dtb-$(CONFIG_SOC_DRA7XX) += \ 998 1000 am57xx-beagle-x15.dtb \ 999 1001 am57xx-beagle-x15-revb1.dtb \ 1000 1002 am57xx-beagle-x15-revc.dtb \ 1003 + am57xx-evm.dtb \ 1004 + am57xx-evm-reva3.dtb \ 1001 1005 am5729-beagleboneai.dtb \ 1002 1006 am57xx-cl-som-am57x.dtb \ 1003 1007 am57xx-sbc-am57x.dtb \ 1004 1008 am572x-idk.dtb \ 1009 + am572x-idk-touchscreen.dtbo \ 1005 1010 am571x-idk.dtb \ 1011 + am571x-idk-touchscreen.dtbo \ 1006 1012 am574x-idk.dtb \ 1013 + am57xx-idk-lcd-osd101t2045.dtbo \ 1014 + am57xx-idk-lcd-osd101t2587.dtbo \ 1007 1015 dra7-evm.dtb \ 1008 1016 dra72-evm.dtb \ 1009 1017 dra72-evm-revc.dtb \
+32
arch/arm/boot/dts/am571x-idk-touchscreen.dtso
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + /* 3 + * Copyright (C) 2019-2022 Texas Instruments Incorporated - https://www.ti.com/ 4 + */ 5 + 6 + /dts-v1/; 7 + /plugin/; 8 + 9 + #include <dt-bindings/gpio/gpio.h> 10 + #include <dt-bindings/interrupt-controller/irq.h> 11 + 12 + &i2c1 { 13 + #address-cells = <1>; 14 + #size-cells = <0>; 15 + 16 + touchscreen: edt-ft5506@38 { 17 + compatible = "edt,edt-ft5506", "edt,edt-ft5x06"; 18 + 19 + reg = <0x38>; 20 + 21 + interrupt-parent = <&gpio5>; 22 + interrupts = <6 IRQ_TYPE_EDGE_FALLING>; 23 + 24 + /* GPIO line is inverted before going to touch panel */ 25 + reset-gpios = <&gpio6 15 GPIO_ACTIVE_LOW>; 26 + 27 + touchscreen-size-x = <1920>; 28 + touchscreen-size-y = <1200>; 29 + 30 + wakeup-source; 31 + }; 32 + };
+32
arch/arm/boot/dts/am572x-idk-touchscreen.dtso
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + /* 3 + * Copyright (C) 2019-2022 Texas Instruments Incorporated - https://www.ti.com/ 4 + */ 5 + 6 + /dts-v1/; 7 + /plugin/; 8 + 9 + #include <dt-bindings/gpio/gpio.h> 10 + #include <dt-bindings/interrupt-controller/irq.h> 11 + 12 + &i2c1 { 13 + #address-cells = <1>; 14 + #size-cells = <0>; 15 + 16 + touchscreen: edt-ft5506@38 { 17 + compatible = "edt,edt-ft5506", "edt,edt-ft5x06"; 18 + 19 + reg = <0x38>; 20 + 21 + interrupt-parent = <&gpio3>; 22 + interrupts = <14 IRQ_TYPE_EDGE_FALLING>; 23 + 24 + /* GPIO line is inverted before going to touch panel */ 25 + reset-gpios = <&gpio6 15 GPIO_ACTIVE_LOW>; 26 + 27 + touchscreen-size-x = <1920>; 28 + touchscreen-size-y = <1200>; 29 + 30 + wakeup-source; 31 + }; 32 + };
+127
arch/arm/boot/dts/am57xx-evm.dtso
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + /* 3 + * DT overlay for AM57xx GP EVM boards 4 + * 5 + * Copyright (C) 2020-2022 Texas Instruments Incorporated - https://www.ti.com/ 6 + */ 7 + 8 + /dts-v1/; 9 + /plugin/; 10 + 11 + #include <dt-bindings/interrupt-controller/irq.h> 12 + #include <dt-bindings/gpio/gpio.h> 13 + #include <dt-bindings/input/input.h> 14 + 15 + &{/} { 16 + compatible = "ti,am5728-evm", "ti,am572x-beagle-x15", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7"; 17 + model = "TI AM5728 EVM"; 18 + 19 + aliases { 20 + display0 = "/display"; 21 + display1 = "/connector"; // Fixme: &lcd0 and &hdmi0 could be 22 + // resolved here correcly based on 23 + // information in the base dtb symbol 24 + // table with a fix in dtc 25 + }; 26 + 27 + gpio-keys { 28 + compatible = "gpio-keys"; 29 + 30 + button-user1 { 31 + gpios = <&gpio2 23 GPIO_ACTIVE_LOW>; 32 + label = "USER1"; 33 + linux,code = <BTN_1>; 34 + }; 35 + 36 + button-user2 { 37 + gpios = <&gpio2 25 GPIO_ACTIVE_LOW>; 38 + label = "USER2"; 39 + linux,code = <BTN_2>; 40 + }; 41 + 42 + button-user3 { 43 + gpios = <&gpio2 28 GPIO_ACTIVE_LOW>; 44 + label = "USER3"; 45 + linux,code = <BTN_3>; 46 + }; 47 + 48 + button-user4 { 49 + gpios = <&gpio2 24 GPIO_ACTIVE_LOW>; 50 + label = "USER4"; 51 + linux,code = <BTN_4>; 52 + }; 53 + 54 + button-user5 { 55 + gpios = <&gpio2 20 GPIO_ACTIVE_LOW>; 56 + label = "USER5"; 57 + linux,code = <BTN_5>; 58 + }; 59 + }; 60 + 61 + lcd0: display { 62 + compatible = "osddisplays,osd070t1718-19ts", "panel-dpi"; 63 + backlight = <&lcd_bl>; 64 + enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; 65 + label = "lcd"; 66 + 67 + port { 68 + lcd_in: endpoint { 69 + remote-endpoint = <&dpi_out>; 70 + }; 71 + }; 72 + }; 73 + 74 + lcd_bl: backlight { 75 + compatible = "pwm-backlight"; 76 + brightness-levels = <0 243 245 247 249 251 252 253 255>; 77 + default-brightness-level = <8>; 78 + pwms = <&ehrpwm1 0 50000 0>; 79 + }; 80 + }; 81 + 82 + &ehrpwm1 { 83 + status = "okay"; 84 + }; 85 + 86 + &epwmss1 { 87 + status = "okay"; 88 + }; 89 + 90 + &i2c5 { 91 + status = "okay"; 92 + clock-frequency = <400000>; 93 + 94 + #address-cells = <1>; 95 + #size-cells = <0>; 96 + 97 + touchscreen@5c { 98 + compatible = "pixcir,pixcir_tangoc"; 99 + attb-gpio = <&gpio2 4 GPIO_ACTIVE_HIGH>; 100 + interrupt-parent = <&gpio2>; 101 + interrupts = <4 IRQ_TYPE_EDGE_FALLING>; 102 + reg = <0x5c>; 103 + reset-gpio = <&gpio2 6 GPIO_ACTIVE_HIGH>; 104 + touchscreen-size-x = <1024>; 105 + touchscreen-size-y = <600>; 106 + }; 107 + }; 108 + 109 + &uart8 { 110 + status = "okay"; 111 + }; 112 + 113 + &dss { 114 + ports { 115 + #address-cells = <1>; 116 + #size-cells = <0>; 117 + 118 + port@0 { 119 + reg = <0>; 120 + 121 + dpi_out: endpoint { 122 + data-lines = <24>; 123 + remote-endpoint = <&lcd_in>; 124 + }; 125 + }; 126 + }; 127 + };
+63
arch/arm/boot/dts/am57xx-idk-lcd-osd101t2045.dtso
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + /* 3 + * Copyright (C) 2019-2022 Texas Instruments Incorporated - https://www.ti.com/ 4 + */ 5 + 6 + /dts-v1/; 7 + /plugin/; 8 + 9 + &{/} { 10 + aliases { 11 + display0 = "/display"; 12 + display1 = "/connector"; 13 + }; 14 + 15 + lcd_bl: backlight { 16 + compatible = "pwm-backlight"; 17 + pwms = <&ecap0 0 50000 1>; 18 + brightness-levels = <0 51 53 56 62 75 101 152 255>; 19 + default-brightness-level = <8>; 20 + }; 21 + }; 22 + 23 + &dsi_bridge { 24 + status = "okay"; 25 + 26 + #address-cells = <1>; 27 + #size-cells = <0>; 28 + 29 + lcd: display { 30 + compatible = "osddisplays,osd101t2045-53ts"; 31 + reg = <0>; 32 + 33 + label = "lcd"; 34 + 35 + backlight = <&lcd_bl>; 36 + 37 + port { 38 + lcd_in: endpoint { 39 + remote-endpoint = <&dsi_out>; 40 + }; 41 + }; 42 + }; 43 + }; 44 + 45 + &dsi_bridge_ports { 46 + #address-cells = <1>; 47 + #size-cells = <0>; 48 + 49 + port@1 { 50 + reg = <1>; 51 + dsi_out: endpoint { 52 + remote-endpoint = <&lcd_in>; 53 + }; 54 + }; 55 + }; 56 + 57 + &epwmss0 { 58 + status = "okay"; 59 + }; 60 + 61 + &ecap0 { 62 + status = "okay"; 63 + };
+66
arch/arm/boot/dts/am57xx-idk-lcd-osd101t2587.dtso
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + /* 3 + * Copyright (C) 2019-2022 Texas Instruments Incorporated - https://www.ti.com/ 4 + */ 5 + 6 + /dts-v1/; 7 + /plugin/; 8 + 9 + #include <dt-bindings/gpio/gpio.h> 10 + #include <dt-bindings/interrupt-controller/irq.h> 11 + 12 + &{/} { 13 + aliases { 14 + display0 = "/display"; 15 + display1 = "/connector"; 16 + }; 17 + 18 + lcd_bl: backlight { 19 + compatible = "pwm-backlight"; 20 + pwms = <&ecap0 0 50000 1>; 21 + brightness-levels = <0 51 53 56 62 75 101 152 255>; 22 + default-brightness-level = <8>; 23 + }; 24 + }; 25 + 26 + &dsi_bridge { 27 + status = "okay"; 28 + 29 + #address-cells = <1>; 30 + #size-cells = <0>; 31 + 32 + lcd: display { 33 + compatible = "osddisplays,osd101t2587-53ts"; 34 + reg = <0>; 35 + 36 + label = "lcd"; 37 + 38 + backlight = <&lcd_bl>; 39 + 40 + port { 41 + lcd_in: endpoint { 42 + remote-endpoint = <&dsi_out>; 43 + }; 44 + }; 45 + }; 46 + }; 47 + 48 + &dsi_bridge_ports { 49 + #address-cells = <1>; 50 + #size-cells = <0>; 51 + 52 + port@1 { 53 + reg = <1>; 54 + dsi_out: endpoint { 55 + remote-endpoint = <&lcd_in>; 56 + }; 57 + }; 58 + }; 59 + 60 + &epwmss0 { 61 + status = "okay"; 62 + }; 63 + 64 + &ecap0 { 65 + status = "okay"; 66 + };