Lines Matching +full:adc +full:- +full:sleep +full:- +full:mode
1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause)
3 * Copyright (C) 2020 STMicroelectronics - All Rights Reserved
9 #include "stm32mp15xx-osd32.dtsi"
10 #include "stm32mp15xxac-pinctrl.dtsi"
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/leds/common.h>
15 #include <dt-bindings/pwm/pwm.h>
28 stdout-path = &uart4;
31 led-controller-0 {
32 compatible = "gpio-leds";
34 led-0 {
37 linux,default-trigger = "heartbeat";
40 led-1 {
45 led-2 {
50 /* led-3 and led-4 are internally connected antiparallel to one
52 * GPIOA14 ---+---|led-3|>--+--- GPIOD15
53 * +--<|led-4|---+
59 led-3 {
64 led-4 {
70 gpio-keys {
71 compatible = "gpio-keys";
73 button-lower {
79 button-upper {
87 reg_12v: regulator-12v {
88 compatible = "regulator-fixed";
89 regulator-name = "12V";
90 regulator-min-microvolt = <12000000>;
91 regulator-max-microvolt = <12000000>;
92 regulator-always-on;
95 reg_5v: regulator-5v {
96 compatible = "regulator-fixed";
97 regulator-name = "5V";
98 regulator-min-microvolt = <5000000>;
99 regulator-max-microvolt = <5000000>;
100 regulator-always-on;
101 vin-supply = <®_12v>;
104 reg_1v2: regulator-1v2 {
105 compatible = "regulator-fixed";
106 regulator-name = "1V2";
107 regulator-min-microvolt = <1200000>;
108 regulator-max-microvolt = <1200000>;
109 regulator-always-on;
110 vin-supply = <®_5v>;
113 reg_pb_5v: regulator-pb-5v {
114 compatible = "regulator-fixed";
115 regulator-name = "5V_POWERBOARD";
116 regulator-min-microvolt = <5000000>;
117 regulator-max-microvolt = <5000000>;
118 regulator-always-on;
119 vin-supply = <®_5v>;
122 reg_pb_3v3: regulator-pb-3v3 {
123 compatible = "regulator-fixed";
124 regulator-name = "3V3_POWERBOARD";
125 regulator-min-microvolt = <3300000>;
126 regulator-max-microvolt = <3300000>;
127 regulator-always-on;
128 vin-supply = <®_pb_5v>;
131 output-iobus-12v {
132 compatible = "regulator-output";
133 vout-supply = <®_iobus_12v>;
136 output-vuart {
137 compatible = "regulator-output";
138 vout-supply = <&v3v3_hdmi>;
145 &adc {
146 pinctrl-names = "default";
147 pinctrl-0 = <&adc1_ain_pins_a>;
148 vdd-supply = <&vdd>;
149 vdda-supply = <&vdda>;
150 vref-supply = <&vrefbuf>;
153 adc1: adc@0 {
154 st,adc-channels = <0 1 2 5 9 10 13 15>;
155 st,min-sample-time-nsecs = <5000>;
156 #address-cells = <1>;
157 #size-cells = <0>;
201 adc2: adc@100 {
202 st,adc-channels = <12>;
203 st,min-sample-time-nsecs = <500000>;
204 #address-cells = <1>;
205 #size-cells = <0>;
228 assigned-clocks = <&rcc ETHCK_K>, <&rcc PLL4_P>;
229 assigned-clock-parents = <&rcc PLL4_P>;
230 assigned-clock-rates = <125000000>; /* Clock PLL4 to 750Mhz in ATF */
232 pinctrl-names = "default", "sleep";
233 pinctrl-0 = <ðernet0_rgmii_pins_e>;
234 pinctrl-1 = <ðernet0_rgmii_sleep_pins_e>;
236 st,eth-clk-sel;
237 phy-mode = "rgmii-id";
241 fixed-link {
243 full-duplex;
250 slew-rate = <1>;
255 gpio-line-names = "", "", "", "", "", /* 0 */
262 gpio-line-names = "", "", "", "", "TP38", /* 0 */
269 gpio-line-names = "TP35", "", "", "", "CAN_1_120R", /* 0 */
276 gpio-line-names = "TP36", "TP37", "", "", "OLED_CS", /* 0 */
283 gpio-line-names = "ETH_RESET", "", "", "", "", /* 0 */
290 gpio-line-names = "", "", "OUT_1", "OUT_0", "OLED_RESET", /* 0 */
297 gpio-line-names = "TIM_RTS", "", "", "", "DEVICE_DATA_EN", /* 0 */
303 gpio-line-names = "HWID0", "HWID1", "HWID2", "HWID3", "", /* 0 */
312 pinctrl-names = "default", "sleep";
313 pinctrl-0 = <&i2c1_pins_b>;
314 pinctrl-1 = <&i2c1_sleep_pins_b>;
320 vcc-supply = <&v3v3>;
323 temperature-sensor@48 {
331 /delete-property/dmas;
332 /delete-property/dma-names;
334 pinctrl-names = "default", "sleep";
335 pinctrl-0 = <&i2c5_pins_b>;
336 pinctrl-1 = <&i2c5_sleep_pins_b>;
343 vdd-supply = <&v3v3>;
344 reset-gpios = <&gpiob 6 GPIO_ACTIVE_LOW>;
349 timeout-sec = <8>;
354 pinctrl-names = "default", "sleep";
355 pinctrl-0 = <&m_can1_pins_b>;
356 pinctrl-1 = <&m_can1_sleep_pins_b>;
361 pinctrl-names = "default", "sleep";
362 pinctrl-0 = <&m_can2_pins_a>;
363 pinctrl-1 = <&m_can2_sleep_pins_a>;
369 buck1-supply = <®_5v>; /* VIN */
370 buck2-supply = <®_5v>; /* VIN */
371 buck3-supply = <®_5v>; /* VIN */
372 buck4-supply = <®_5v>; /* VIN */
373 ldo2-supply = <®_5v>; /* PMIC_LDO25IN */
374 ldo4-supply = <®_5v>; /* VIN */
375 ldo5-supply = <®_5v>; /* PMIC_LDO25IN */
376 vref_ddr-supply = <®_5v>; /* VIN */
377 boost-supply = <®_5v>; /* PMIC_BSTIN */
378 pwr_sw2-supply = <&bst_out>; /* PMIC_SWIN */
387 pinctrl-names = "default", "opendrain", "sleep";
388 pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_b>;
389 pinctrl-1 = <&sdmmc2_b4_od_pins_a &sdmmc2_d47_pins_b>;
390 pinctrl-2 = <&sdmmc2_b4_sleep_pins_a &sdmmc2_d47_sleep_pins_b>;
391 vmmc-supply = <&v3v3>;
393 bus-width = <8>;
394 mmc-ddr-3_3v;
395 no-1-8-v;
396 non-removable;
397 no-sd;
398 no-sdio;
399 st,neg-edge;
405 pinctrl-names = "default";
406 pinctrl-0 = <&spi2_pins_c>;
407 cs-gpios = <&gpiof 12 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
412 pinctrl-names = "default";
413 pinctrl-0 = <&spi4_pins_a>;
414 cs-gpios = <&gpiof 4 GPIO_ACTIVE_LOW>;
418 compatible = "shineworld,lh133k", "panel-mipi-dbi-spi";
420 power-supply = <&v3v3>;
421 io-supply = <&v3v3>;
423 dc-gpios = <&gpiod 10 GPIO_ACTIVE_HIGH>;
424 reset-gpios = <&gpioh 4 GPIO_ACTIVE_HIGH>;
425 spi-3wire;
426 spi-max-frequency = <32000000>;
428 width-mm = <23>;
429 height-mm = <23>;
432 panel-timing {
435 hback-porch = <0>;
436 vback-porch = <0>;
438 clock-frequency = <0>;
439 hfront-porch = <0>;
440 hsync-len = <0>;
441 vfront-porch = <0>;
442 vsync-len = <0>;
448 pinctrl-names = "default";
449 pinctrl-0 = <&spi5_pins_a>;
452 /delete-property/dmas;
453 /delete-property/dma-names;
455 cs-gpios = <&gpiod 13 GPIO_ACTIVE_LOW>;
463 reset-gpios = <&gpiog 0 GPIO_ACTIVE_LOW>;
464 spi-max-frequency = <44000000>;
466 interrupt-parent = <&gpioa>;
470 microchip,hi-drive-strength-microamp = <2000>;
471 microchip,lo-drive-strength-microamp = <8000>;
474 #address-cells = <1>;
475 #size-cells = <0>;
492 phy-mode = "rgmii-id";
493 rx-internal-delay-ps = <2000>;
494 tx-internal-delay-ps = <2000>;
496 fixed-link {
498 full-duplex;
507 /delete-property/dmas;
508 /delete-property/dma-names;
519 /delete-property/dmas;
520 /delete-property/dma-names;
531 /delete-property/dmas;
532 /delete-property/dma-names;
544 pinctrl-names = "default";
545 pinctrl-0 = <&uart4_pins_a>;
548 /delete-property/dmas;
549 /delete-property/dma-names;
556 uart-has-rtscts;
558 pinctrl-names = "default";
559 pinctrl-0 = <&usart3_pins_f>;
562 /delete-property/dmas;
563 /delete-property/dma-names;
574 phy-names = "usb2-phy";
576 vusb_d-supply = <&vdd_usb>;
577 vusb_a-supply = <®18>;
589 regulator-min-microvolt = <2500000>;
590 regulator-max-microvolt = <2500000>;
591 vdda-supply = <&vdda>;