Merge tag 'usb-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[linux/fpc-iii.git] / arch / arm / boot / dts / stm32mp15xx-dhcom-picoitx.dtsi
blob356150d28c420952d9941998092346616629f708
1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
2 /*
3  * Copyright (C) 2020 Marek Vasut <marex@denx.de>
4  */
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/pwm/pwm.h>
9 / {
10         aliases {
11                 serial0 = &uart4;
12                 serial1 = &usart3;
13                 serial2 = &uart8;
14         };
16         chosen {
17                 stdout-path = "serial0:115200n8";
18         };
20         led {
21                 compatible = "gpio-leds";
23                 led-0 {
24                         label = "yellow:led";
25                         gpios = <&gpioi 3 GPIO_ACTIVE_HIGH>;
26                         default-state = "off";
27                 };
28         };
31 &adc {
32         status = "disabled";
35 &dac {
36         status = "disabled";
39 &gpioa {
40         /*
41          * NOTE: The USB Port on the PicoITX needs a PWR_EN signal to enable
42          * port power. This signal should be handled by USB power sequencing
43          * in order to turn on port power when USB bus is powered up, but so
44          * far there is no such functionality.
45          */
46         usb-port-power {
47                 gpio-hog;
48                 gpios = <13 GPIO_ACTIVE_LOW>;
49                 output-low;
50                 line-name = "usb-port-power";
51         };
54 &gpioc {
55         gpio-line-names = "", "", "", "",
56                           "", "", "In1", "",
57                           "", "", "", "",
58                           "", "", "", "";
61 &gpiod {
62         gpio-line-names = "", "", "", "",
63                           "", "", "", "",
64                           "", "", "", "Out1",
65                           "Out2", "", "", "";
68 &gpiog {
69         gpio-line-names = "In2", "", "", "",
70                           "", "", "", "",
71                           "", "", "", "",
72                           "", "", "", "";
75 &i2c2 { /* On board-to-board connector (optional) */
76         pinctrl-names = "default";
77         pinctrl-0 = <&i2c2_pins_a>;
78         i2c-scl-rising-time-ns = <185>;
79         i2c-scl-falling-time-ns = <20>;
80         status = "okay";
81         /* spare dmas for other usage */
82         /delete-property/dmas;
83         /delete-property/dma-names;
86 &i2c5 { /* On board-to-board connector */
87         pinctrl-names = "default";
88         pinctrl-0 = <&i2c5_pins_a>;
89         i2c-scl-rising-time-ns = <185>;
90         i2c-scl-falling-time-ns = <20>;
91         status = "okay";
92         /* spare dmas for other usage */
93         /delete-property/dmas;
94         /delete-property/dma-names;
97 &usart3 {
98         pinctrl-names = "default";
99         pinctrl-0 = <&usart3_pins_a>;
100         status = "okay";
103 &uart8 {
104         pinctrl-names = "default";
105         pinctrl-0 = <&uart8_pins_a &uart8_rtscts_pins_a>;
106         status = "okay";
109 &usbh_ehci {
110         phys = <&usbphyc_port0>;
111         status = "okay";
114 &usbh_ohci {
115         phys = <&usbphyc_port0>;
116         status = "okay";
119 &usbotg_hs {
120         dr_mode = "otg";
121         pinctrl-0 = <&usbotg_hs_pins_a>;
122         pinctrl-names = "default";
123         phy-names = "usb2-phy";
124         phys = <&usbphyc_port1 0>;
125         vbus-supply = <&vbus_otg>;
126         status = "okay";
129 &usbphyc {
130         status = "okay";
133 &usbphyc_port0 {
134         phy-supply = <&vdd_usb>;
135         vdda1v1-supply = <&reg11>;
136         vdda1v8-supply = <&reg18>;
139 &usbphyc_port1 {
140         phy-supply = <&vdd_usb>;
141         vdda1v1-supply = <&reg11>;
142         vdda1v8-supply = <&reg18>;