Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso...
[linux-2.6-microblaze.git] / arch / arm / boot / dts / stm32mp15xx-dhcom-picoitx.dtsi
1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
2 /*
3  * Copyright (C) 2020 Marek Vasut <marex@denx.de>
4  */
5
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/pwm/pwm.h>
8
9 / {
10         aliases {
11                 serial0 = &uart4;
12                 serial1 = &usart3;
13                 serial2 = &uart8;
14         };
15
16         chosen {
17                 stdout-path = "serial0:115200n8";
18         };
19
20         led {
21                 compatible = "gpio-leds";
22
23                 led-0 {
24                         label = "yellow:led";
25                         gpios = <&gpioi 3 GPIO_ACTIVE_HIGH>;
26                         default-state = "off";
27                 };
28         };
29 };
30
31 &adc {
32         status = "disabled";
33 };
34
35 &dac {
36         status = "disabled";
37 };
38
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         };
52 };
53
54 &gpioc {
55         gpio-line-names = "", "", "", "",
56                           "", "", "In1", "",
57                           "", "", "", "",
58                           "", "", "", "";
59 };
60
61 &gpiod {
62         gpio-line-names = "", "", "", "",
63                           "", "", "", "",
64                           "", "", "", "Out1",
65                           "Out2", "", "", "";
66 };
67
68 &gpiog {
69         gpio-line-names = "In2", "", "", "",
70                           "", "", "", "",
71                           "", "", "", "",
72                           "", "", "", "";
73 };
74
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;
84 };
85
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;
95 };
96
97 &usart3 {
98         pinctrl-names = "default";
99         pinctrl-0 = <&usart3_pins_a>;
100         status = "okay";
101 };
102
103 &uart8 {
104         pinctrl-names = "default";
105         pinctrl-0 = <&uart8_pins_a &uart8_rtscts_pins_a>;
106         status = "okay";
107 };
108
109 &usbh_ehci {
110         phys = <&usbphyc_port0>;
111         status = "okay";
112 };
113
114 &usbh_ohci {
115         phys = <&usbphyc_port0>;
116         status = "okay";
117 };
118
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";
127 };
128
129 &usbphyc {
130         status = "okay";
131 };
132
133 &usbphyc_port0 {
134         phy-supply = <&vdd_usb>;
135         vdda1v1-supply = <&reg11>;
136         vdda1v8-supply = <&reg18>;
137 };
138
139 &usbphyc_port1 {
140         phy-supply = <&vdd_usb>;
141         vdda1v1-supply = <&reg11>;
142         vdda1v8-supply = <&reg18>;
143 };