1 // SPDX-License-Identifier: (GPL-2.0-or-later 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 2 /* 2 /* 3 * Copyright (C) 2016, 2020 PHYTEC Messtechnik 3 * Copyright (C) 2016, 2020 PHYTEC Messtechnik 4 * Author: Christian Hemp <c.hemp@phytec.de> 4 * Author: Christian Hemp <c.hemp@phytec.de> 5 * Author: Stefan Riedmueller <s.riedmueller@ph 5 * Author: Stefan Riedmueller <s.riedmueller@phytec.de> 6 */ 6 */ 7 7 8 / { 8 / { 9 backlight_lcd: backlight-lcd { 9 backlight_lcd: backlight-lcd { 10 compatible = "pwm-backlight"; 10 compatible = "pwm-backlight"; 11 brightness-levels = <0 4 8 16 11 brightness-levels = <0 4 8 16 32 64 128 255>; 12 default-brightness-level = <5> 12 default-brightness-level = <5>; 13 power-supply = <®_backlight 13 power-supply = <®_backlight_en>; 14 pwms = <&pwm3 0 5000000 0>; 14 pwms = <&pwm3 0 5000000 0>; 15 status = "disabled"; 15 status = "disabled"; 16 }; 16 }; 17 17 18 lcd_panel: lcd-panel { 18 lcd_panel: lcd-panel { 19 compatible = "edt,etm0700g0edh 19 compatible = "edt,etm0700g0edh6"; 20 backlight = <&backlight_lcd>; 20 backlight = <&backlight_lcd>; 21 status = "disabled"; 21 status = "disabled"; 22 22 23 port { 23 port { 24 lcd_panel_in: endpoint 24 lcd_panel_in: endpoint { 25 remote-endpoin 25 remote-endpoint = <&lcdif_parallel_out>; 26 }; 26 }; 27 }; 27 }; 28 }; 28 }; 29 29 30 reg_backlight_en: regulator-backlight- 30 reg_backlight_en: regulator-backlight-en { 31 compatible = "regulator-fixed" 31 compatible = "regulator-fixed"; 32 pinctrl-names = "default"; 32 pinctrl-names = "default"; 33 pinctrl-0 = <&pinctrl_backligh 33 pinctrl-0 = <&pinctrl_backlight_en>; 34 regulator-name = "backlight-lc 34 regulator-name = "backlight-lcd"; 35 regulator-min-microvolt = <330 35 regulator-min-microvolt = <3300000>; 36 regulator-max-microvolt = <330 36 regulator-max-microvolt = <3300000>; 37 gpio = <&gpio1 18 GPIO_ACTIVE_ 37 gpio = <&gpio1 18 GPIO_ACTIVE_HIGH>; 38 enable-active-high; 38 enable-active-high; 39 }; 39 }; 40 }; 40 }; 41 41 42 &i2c1 { 42 &i2c1 { 43 edt_ft5406: touchscreen@38 { 43 edt_ft5406: touchscreen@38 { 44 compatible = "edt,edt-ft5406"; 44 compatible = "edt,edt-ft5406"; 45 reg = <0x38>; 45 reg = <0x38>; 46 pinctrl-names = "default"; 46 pinctrl-names = "default"; 47 pinctrl-0 = <&pinctrl_edt_ft54 47 pinctrl-0 = <&pinctrl_edt_ft5406>; 48 interrupt-parent = <&gpio5>; 48 interrupt-parent = <&gpio5>; 49 interrupts = <5 IRQ_TYPE_EDGE_ 49 interrupts = <5 IRQ_TYPE_EDGE_FALLING>; 50 wakeup-source; 50 wakeup-source; 51 status = "disabled"; 51 status = "disabled"; 52 }; 52 }; 53 53 54 stmpe: touchscreen@44 { 54 stmpe: touchscreen@44 { 55 compatible = "st,stmpe811"; 55 compatible = "st,stmpe811"; 56 reg = <0x44>; 56 reg = <0x44>; 57 pinctrl-names = "default"; 57 pinctrl-names = "default"; 58 pinctrl-0 = <&pinctrl_stmpe>; 58 pinctrl-0 = <&pinctrl_stmpe>; 59 interrupts = <3 IRQ_TYPE_LEVEL 59 interrupts = <3 IRQ_TYPE_LEVEL_LOW>; 60 interrupt-parent = <&gpio5>; 60 interrupt-parent = <&gpio5>; 61 wakeup-source; 61 wakeup-source; 62 status = "disabled"; 62 status = "disabled"; 63 63 64 stmpe_touchscreen { 64 stmpe_touchscreen { 65 compatible = "st,stmpe 65 compatible = "st,stmpe-ts"; 66 st,sample-time = <4>; 66 st,sample-time = <4>; 67 st,mod-12b = <1>; 67 st,mod-12b = <1>; 68 st,ref-sel = <0>; 68 st,ref-sel = <0>; 69 st,adc-freq = <1>; 69 st,adc-freq = <1>; 70 st,ave-ctrl = <1>; 70 st,ave-ctrl = <1>; 71 st,touch-det-delay = < 71 st,touch-det-delay = <2>; 72 st,settling = <2>; 72 st,settling = <2>; 73 st,fraction-z = <7>; 73 st,fraction-z = <7>; 74 st,i-drive = <1>; 74 st,i-drive = <1>; 75 touchscreen-inverted-x 75 touchscreen-inverted-x; 76 touchscreen-inverted-y 76 touchscreen-inverted-y; 77 }; 77 }; 78 }; 78 }; 79 }; 79 }; 80 80 81 &lcdif { 81 &lcdif { 82 pinctrl-names = "default"; 82 pinctrl-names = "default"; 83 pinctrl-0 = <&pinctrl_lcdif_dat>; 83 pinctrl-0 = <&pinctrl_lcdif_dat>; 84 status = "disabled"; 84 status = "disabled"; 85 85 86 port { 86 port { 87 lcdif_parallel_out: endpoint { 87 lcdif_parallel_out: endpoint { 88 remote-endpoint = <&lc 88 remote-endpoint = <&lcd_panel_in>; 89 }; 89 }; 90 }; 90 }; 91 }; 91 }; 92 92 93 &pwm3 { 93 &pwm3 { 94 pinctrl-names = "default"; 94 pinctrl-names = "default"; 95 pinctrl-0 = <&pinctrl_pwm3>; 95 pinctrl-0 = <&pinctrl_pwm3>; 96 status = "disabled"; 96 status = "disabled"; 97 }; 97 }; 98 98 99 &iomuxc { 99 &iomuxc { 100 pinctrl_edt_ft5406: edtft5406grp { 100 pinctrl_edt_ft5406: edtft5406grp { 101 fsl,pins = < 101 fsl,pins = < 102 MX6UL_PAD_SNVS_TAMPER5 102 MX6UL_PAD_SNVS_TAMPER5__GPIO5_IO05 0x1b0b0 103 >; 103 >; 104 }; 104 }; 105 105 106 pinctrl_backlight_en: bachlightengrp { 106 pinctrl_backlight_en: bachlightengrp { 107 fsl,pins = < 107 fsl,pins = < 108 MX6UL_PAD_UART1_CTS_B_ 108 MX6UL_PAD_UART1_CTS_B__GPIO1_IO18 0x1b0b0 109 >; 109 >; 110 }; 110 }; 111 111 112 pinctrl_lcdif_dat: lcdifdatgrp { 112 pinctrl_lcdif_dat: lcdifdatgrp { 113 fsl,pins = < 113 fsl,pins = < 114 MX6UL_PAD_LCD_DATA00__ 114 MX6UL_PAD_LCD_DATA00__LCDIF_DATA00 0x59 115 MX6UL_PAD_LCD_DATA01__ 115 MX6UL_PAD_LCD_DATA01__LCDIF_DATA01 0x59 116 MX6UL_PAD_LCD_DATA02__ 116 MX6UL_PAD_LCD_DATA02__LCDIF_DATA02 0x59 117 MX6UL_PAD_LCD_DATA03__ 117 MX6UL_PAD_LCD_DATA03__LCDIF_DATA03 0x59 118 MX6UL_PAD_LCD_DATA04__ 118 MX6UL_PAD_LCD_DATA04__LCDIF_DATA04 0x59 119 MX6UL_PAD_LCD_DATA05__ 119 MX6UL_PAD_LCD_DATA05__LCDIF_DATA05 0x59 120 MX6UL_PAD_LCD_DATA06__ 120 MX6UL_PAD_LCD_DATA06__LCDIF_DATA06 0x59 121 MX6UL_PAD_LCD_DATA07__ 121 MX6UL_PAD_LCD_DATA07__LCDIF_DATA07 0x59 122 MX6UL_PAD_LCD_DATA08__ 122 MX6UL_PAD_LCD_DATA08__LCDIF_DATA08 0x59 123 MX6UL_PAD_LCD_DATA09__ 123 MX6UL_PAD_LCD_DATA09__LCDIF_DATA09 0x59 124 MX6UL_PAD_LCD_DATA10__ 124 MX6UL_PAD_LCD_DATA10__LCDIF_DATA10 0x59 125 MX6UL_PAD_LCD_DATA11__ 125 MX6UL_PAD_LCD_DATA11__LCDIF_DATA11 0x59 126 MX6UL_PAD_LCD_DATA12__ 126 MX6UL_PAD_LCD_DATA12__LCDIF_DATA12 0x59 127 MX6UL_PAD_LCD_DATA13__ 127 MX6UL_PAD_LCD_DATA13__LCDIF_DATA13 0x59 128 MX6UL_PAD_LCD_DATA14__ 128 MX6UL_PAD_LCD_DATA14__LCDIF_DATA14 0x59 129 MX6UL_PAD_LCD_DATA15__ 129 MX6UL_PAD_LCD_DATA15__LCDIF_DATA15 0x59 130 MX6UL_PAD_LCD_DATA16__ 130 MX6UL_PAD_LCD_DATA16__LCDIF_DATA16 0x59 131 MX6UL_PAD_LCD_DATA17__ 131 MX6UL_PAD_LCD_DATA17__LCDIF_DATA17 0x59 132 MX6UL_PAD_LCD_CLK__LCD 132 MX6UL_PAD_LCD_CLK__LCDIF_CLK 0x59 133 MX6UL_PAD_LCD_ENABLE__ 133 MX6UL_PAD_LCD_ENABLE__LCDIF_ENABLE 0x59 134 MX6UL_PAD_LCD_HSYNC__L 134 MX6UL_PAD_LCD_HSYNC__LCDIF_HSYNC 0x59 135 MX6UL_PAD_LCD_VSYNC__L 135 MX6UL_PAD_LCD_VSYNC__LCDIF_VSYNC 0x59 136 >; 136 >; 137 }; 137 }; 138 138 139 pinctrl_pwm3: pwm3grp { 139 pinctrl_pwm3: pwm3grp { 140 fsl,pins = < 140 fsl,pins = < 141 MX6UL_PAD_GPIO1_IO04__ 141 MX6UL_PAD_GPIO1_IO04__PWM3_OUT 0x0b0b0 142 >; 142 >; 143 }; 143 }; 144 144 145 pinctrl_stmpe: stmpegrp { 145 pinctrl_stmpe: stmpegrp { 146 fsl,pins = < 146 fsl,pins = < 147 MX6UL_PAD_SNVS_TAMPER3 147 MX6UL_PAD_SNVS_TAMPER3__GPIO5_IO03 0x17059 148 >; 148 >; 149 }; 149 }; 150 }; 150 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.