1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 3 * Device Tree for the TVK1281618 R3 user inte 4 * also known as the "CYTTSP board" 5 */ 6 7 #include <dt-bindings/interrupt-controller/irq 8 #include <dt-bindings/input/input.h> 9 10 / { 11 gpio_keys { 12 compatible = "gpio-keys"; 13 #address-cells = <1>; 14 #size-cells = <0>; 15 vdd-supply = <&ab8500_ldo_aux1 16 pinctrl-names = "default"; 17 pinctrl-0 = <&hall_tvk_mode>; 18 19 button@145 { 20 /* Hall sensor */ 21 gpios = <&gpio4 17 GPI 22 linux,code = <0>; /* S 23 label = "HED54XXU11 Ha 24 }; 25 }; 26 27 soc { 28 i2c@80004000 { 29 tc35893@44 { 30 compatible = " 31 reg = <0x44>; 32 interrupt-pare 33 interrupts = < 34 pinctrl-names 35 pinctrl-0 = <& 36 37 interrupt-cont 38 #interrupt-cel 39 status = "disa 40 41 tc3589x_gpio { 42 compat 43 interr 44 45 interr 46 #inter 47 gpio-c 48 #gpio- 49 }; 50 tc3589x_keypad 51 compat 52 interr 53 deboun 54 keypad 55 keypad 56 linux, 57 wakeup 58 linux, 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 }; 77 }; 78 }; 79 80 i2c@80128000 { 81 accelerometer@19 { 82 compatible = " 83 st,drdy-int-pi 84 reg = <0x19>; 85 vdd-supply = < 86 vddio-supply = 87 interrupt-pare 88 interrupts = < 89 < 90 pinctrl-names 91 pinctrl-0 = <& 92 mount-matrix = 93 94 95 }; 96 magnetometer@1e { 97 compatible = " 98 reg = <0x1e>; 99 vdd-supply = < 100 vddio-supply = 101 // This interr 102 // interrupt-p 103 // interrupts 104 pinctrl-names 105 pinctrl-0 = <& 106 }; 107 gyroscope@68 { 108 /* Gyroscope * 109 compatible = " 110 reg = <0x68>; 111 vdd-supply = < 112 vddio-supply = 113 }; 114 pressure@5c { 115 /* Barometer/p 116 compatible = " 117 reg = <0x5c>; 118 vdd-supply = < 119 vddio-supply = 120 }; 121 }; 122 123 spi@80111000 { 124 num-cs = <1>; 125 cs-gpios = <&gpio6 24 126 pinctrl-names = "defau 127 pinctrl-0 = <&spi2_def 128 status = "okay"; 129 130 touchscreen@0 { 131 compatible = " 132 /* 133 * Actually th 134 * data rate n 135 * SPI framewo 136 */ 137 spi-max-freque 138 reg = <0>; 139 interrupt-pare 140 interrupts = < 141 vcpin-supply = 142 vdd-supply = < 143 reset-gpios = 144 touchscreen-si 145 touchscreen-si 146 active-interva 147 touch-timeout- 148 lowpower-inter 149 bootloader-key 150 pinctrl-names 151 pinctrl-0 = <& 152 }; 153 }; 154 155 mcde@a0350000 { 156 status = "okay"; 157 158 dsi@a0351000 { 159 panel { 160 compat 161 reg = 162 vddi-s 163 reset- 164 }; 165 }; 166 }; 167 168 pinctrl { 169 hall { 170 hall_tvk_mode: 171 tvk_cf 172 173 174 }; 175 }; 176 }; 177 tc35893 { 178 /* IRQ from th 179 tc35893_tvk_mo 180 tvk_cf 181 182 183 }; 184 }; 185 }; 186 accelerometer { 187 accel_tvk_mode 188 /* Acc 189 tvk_cf 190 191 192 }; 193 }; 194 }; 195 magnetometer { 196 magn_tvk_mode: 197 /* GPI 198 tvk_cf 199 200 201 }; 202 }; 203 }; 204 cyttsp { 205 cyttsp_tvk_mod 206 /* Tou 207 tvk_cf 208 209 210 }; 211 /* GPI 212 tvk_cf 213 214 215 }; 216 }; 217 }; 218 }; 219 }; 220 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.