Lines Matching +full:pendown +full:- +full:gpio +full:- +full:debounce
1 // SPDX-License-Identifier: GPL-2.0-only
3 * Support for CompuLab CL-SOM-AM57x System-on-Module
5 * Copyright (C) 2015 CompuLab Ltd. - https://www.compulab.co.il/
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
16 model = "CompuLab CL-SOM-AM57x";
17 compatible = "compulab,cl-som-am57x", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7";
21 reg = <0x0 0x80000000 0x0 0x20000000>; /* 512 MB - minimal configuration */
25 compatible = "gpio-leds";
26 pinctrl-names = "default";
27 pinctrl-0 = <&leds_pins_default>;
30 label = "cl-som-am57x:green";
32 linux,default-trigger = "heartbeat";
33 default-state = "off";
37 vdd_3v3: fixedregulator-vdd_3v3 {
38 compatible = "regulator-fixed";
39 regulator-name = "vdd_3v3";
40 regulator-min-microvolt = <3300000>;
41 regulator-max-microvolt = <3300000>;
44 ads7846reg: fixedregulator-ads7846-reg {
45 compatible = "regulator-fixed";
46 regulator-name = "ads7846-reg";
47 regulator-min-microvolt = <3300000>;
48 regulator-max-microvolt = <3300000>;
52 compatible = "simple-audio-card";
53 simple-audio-card,name = "CL-SOM-AM57x-Sound-Card";
54 simple-audio-card,format = "i2s";
55 simple-audio-card,bitclock-master = <&dailink0_master>;
56 simple-audio-card,frame-master = <&dailink0_master>;
57 simple-audio-card,widgets =
61 simple-audio-card,routing =
68 dailink0_master: simple-audio-card,cpu {
69 sound-dai = <&mcasp3>;
72 simple-audio-card,codec {
73 sound-dai = <&wm8731>;
74 system-clock-frequency = <12000000>;
80 leds_pins_default: leds-default-pins {
81 pinctrl-single,pins = <
86 i2c1_pins_default: i2c1-default-pins {
87 pinctrl-single,pins = <
93 i2c3_pins_default: i2c3-default-pins {
94 pinctrl-single,pins = <
100 i2c4_pins_default: i2c4-default-pins {
101 pinctrl-single,pins = <
107 tps659038_pins_default: tps659038-default-pins {
108 pinctrl-single,pins = <
113 mmc2_pins_default: mmc2-default-pins {
114 pinctrl-single,pins = <
128 qspi1_pins: qspi1-pins {
129 pinctrl-single,pins = <
139 cpsw_pins_default: cpsw-default-pins {
140 pinctrl-single,pins = <
171 cpsw_pins_sleep: cpsw-sleep-pins {
172 pinctrl-single,pins = <
203 davinci_mdio_pins_default: davinci-mdio-default-pins {
204 pinctrl-single,pins = <
211 davinci_mdio_pins_sleep: davinci-mdio-sleep-pins {
212 pinctrl-single,pins = <
218 ads7846_pins: ads7846-pins {
219 pinctrl-single,pins = <
224 mcasp3_pins_default: mcasp3-default-pins {
225 pinctrl-single,pins = <
233 mcasp3_pins_sleep: mcasp3-sleep-pins {
234 pinctrl-single,pins = <
245 pinctrl-names = "default";
246 pinctrl-0 = <&i2c1_pins_default>;
247 clock-frequency = <400000>;
252 pinctrl-names = "default";
253 pinctrl-0 = <&i2c3_pins_default>;
254 clock-frequency = <400000>;
259 pinctrl-names = "default";
260 pinctrl-0 = <&i2c4_pins_default>;
261 clock-frequency = <400000>;
266 interrupt-parent = <&gpio1>;
269 pinctrl-names = "default";
270 pinctrl-0 = <&tps659038_pins_default>;
272 #interrupt-cells = <2>;
273 interrupt-controller;
275 ti,system-power-controller;
278 compatible = "ti,tps659038-pmic";
283 regulator-name = "smps12";
284 regulator-min-microvolt = < 850000>;
285 regulator-max-microvolt = <1250000>;
286 regulator-always-on;
287 regulator-boot-on;
292 regulator-name = "smps3";
293 regulator-min-microvolt = <1500000>;
294 regulator-max-microvolt = <1500000>;
295 regulator-always-on;
296 regulator-boot-on;
301 regulator-name = "smps45";
302 regulator-min-microvolt = < 850000>;
303 regulator-max-microvolt = <1250000>;
304 regulator-always-on;
305 regulator-boot-on;
310 regulator-name = "smps6";
311 regulator-min-microvolt = < 850000>;
312 regulator-max-microvolt = <1250000>;
313 regulator-always-on;
314 regulator-boot-on;
319 regulator-name = "smps7";
320 regulator-min-microvolt = < 850000>;
321 regulator-max-microvolt = <1160000>;
322 regulator-always-on;
323 regulator-boot-on;
328 regulator-name = "smps8";
329 regulator-min-microvolt = < 850000>;
330 regulator-max-microvolt = <1250000>;
331 regulator-always-on;
332 regulator-boot-on;
337 regulator-name = "smps9";
338 regulator-min-microvolt = <3300000>;
339 regulator-max-microvolt = <3300000>;
340 regulator-always-on;
341 regulator-boot-on;
347 regulator-name = "ldo1";
348 regulator-min-microvolt = <1800000>;
349 regulator-max-microvolt = <3300000>;
350 regulator-boot-on;
351 regulator-always-on;
356 regulator-name = "ldo2";
357 regulator-min-microvolt = <1800000>;
358 regulator-max-microvolt = <1800000>;
359 regulator-always-on;
360 regulator-boot-on;
364 /* VDDA_1V8_PHYA - supplies VDDA_SATA, VDDA_USB1/2/3 */
365 regulator-name = "ldo3";
366 regulator-min-microvolt = <1800000>;
367 regulator-max-microvolt = <1800000>;
368 regulator-always-on;
369 regulator-boot-on;
373 /* VDDA_1V8_PHYB - supplies VDDA_HDMI, VDDA_PCIE/0/1 */
374 regulator-name = "ldo4";
375 regulator-min-microvolt = <1800000>;
376 regulator-max-microvolt = <1800000>;
377 regulator-always-on;
378 regulator-boot-on;
383 regulator-name = "ldo9";
384 regulator-min-microvolt = <1050000>;
385 regulator-max-microvolt = <1050000>;
386 regulator-always-on;
387 regulator-boot-on;
392 regulator-name = "ldoln";
393 regulator-min-microvolt = <1800000>;
394 regulator-max-microvolt = <1800000>;
395 regulator-always-on;
396 regulator-boot-on;
401 regulator-name = "ldousb";
402 regulator-min-microvolt = <3300000>;
403 regulator-max-microvolt = <3300000>;
404 regulator-always-on;
405 regulator-boot-on;
413 compatible = "ti,palmas-pwrbutton";
414 interrupt-parent = <&tps659038>;
416 wakeup-source;
417 ti,palmas-long-press-seconds = <12>;
421 compatible = "ti,palmas-gpio";
422 gpio-controller;
423 #gpio-cells = <2>;
439 #sound-dai-cells = <0>;
447 cpu0-supply = <&smps12_reg>;
448 voltage-tolerance = <1>;
457 mbox_ipu1_ipc3x: mbox-ipu1-ipc3x {
460 mbox_dsp1_ipc3x: mbox-dsp1-ipc3x {
467 mbox_ipu2_ipc3x: mbox-ipu2-ipc3x {
470 mbox_dsp2_ipc3x: mbox-dsp2-ipc3x {
478 pinctrl-names = "default";
479 pinctrl-0 = <&mmc2_pins_default>;
481 vmmc-supply = <&vdd_3v3>;
482 bus-width = <8>;
483 ti,non-removable;
484 cap-mmc-dual-data-rate;
489 pinctrl-names = "default";
490 pinctrl-0 = <&qspi1_pins>;
492 spi-max-frequency = <48000000>;
495 #address-cells = <1>;
496 #size-cells = <1>;
497 compatible = "spansion,m25p80", "jedec,spi-nor";
499 spi-max-frequency = <48000000>;
519 pinctrl-names = "default";
520 pinctrl-0 = <&ads7846_pins>;
523 vcc-supply = <&ads7846reg>;
526 spi-max-frequency = <1500000>;
528 interrupt-parent = <&gpio1>;
530 pendown-gpio = <&gpio1 31 GPIO_ACTIVE_LOW>;
533 ti,x-min = /bits/ 16 <0x0>;
534 ti,x-max = /bits/ 16 <0x0fff>;
535 ti,y-min = /bits/ 16 <0x0>;
536 ti,y-max = /bits/ 16 <0x0fff>;
538 ti,x-plate-ohms = /bits/ 16 <180>;
539 ti,pressure-max = /bits/ 16 <255>;
541 ti,debounce-max = /bits/ 16 <30>;
542 ti,debounce-tol = /bits/ 16 <10>;
543 ti,debounce-rep = /bits/ 16 <1>;
545 wakeup-source;
551 pinctrl-names = "default", "sleep";
552 pinctrl-0 = <&cpsw_pins_default>;
553 pinctrl-1 = <&cpsw_pins_sleep>;
557 phy-handle = <ðphy0>;
558 phy-mode = "rgmii-txid";
559 ti,dual-emac-pvid = <1>;
563 phy-handle = <ðphy1>;
564 phy-mode = "rgmii-txid";
565 ti,dual-emac-pvid = <2>;
569 pinctrl-names = "default", "sleep";
570 pinctrl-0 = <&davinci_mdio_pins_default>;
571 pinctrl-1 = <&davinci_mdio_pins_sleep>;
573 ethphy0: ethernet-phy@0 {
577 ethphy1: ethernet-phy@1 {
583 phy-supply = <&ldousb_reg>;
587 phy-supply = <&ldousb_reg>;
599 #sound-dai-cells = <0>;
600 pinctrl-names = "default", "sleep";
601 pinctrl-0 = <&mcasp3_pins_default>;
602 pinctrl-1 = <&mcasp3_pins_sleep>;
605 op-mode = <0>; /* MCASP_IIS_MODE */
606 tdm-slots = <2>;
608 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
614 ti,no-reset-on-init;
619 ti,no-reset-on-init;