xref: /openbmc/linux/arch/arm/boot/dts/st/stm32mp15xx-dhcom-picoitx.dtsi (revision 060f35a317ef09101b128f399dce7ed13d019461)
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	led {
11		compatible = "gpio-leds";
12
13		led-0 {
14			label = "yellow:led";
15			gpios = <&gpioi 3 GPIO_ACTIVE_HIGH>;
16			default-state = "off";
17		};
18	};
19};
20
21&adc {
22	status = "disabled";
23};
24
25&dac {
26	status = "disabled";
27};
28
29&fmc {
30	status = "disabled";
31};
32
33&gpioa {
34	/*
35	 * NOTE: The USB Port on the PicoITX needs a PWR_EN signal to enable
36	 * port power. This signal should be handled by USB power sequencing
37	 * in order to turn on port power when USB bus is powered up, but so
38	 * far there is no such functionality.
39	 */
40	usb-port-power-hog {
41		gpio-hog;
42		gpios = <13 0>;
43		output-low;
44		line-name = "usb-port-power";
45	};
46};
47
48&gpioc {
49	gpio-line-names = "", "", "", "",
50			  "", "", "PicoITX-In1", "",
51			  "", "", "", "",
52			  "", "", "", "";
53};
54
55&gpiod {
56	gpio-line-names = "", "", "", "",
57			  "", "", "DHCOM-B", "",
58			  "", "", "", "PicoITX-Out1",
59			  "PicoITX-Out2", "", "", "";
60};
61
62&gpiog {
63	gpio-line-names = "PicoITX-In2", "", "", "",
64			  "", "", "", "",
65			  "DHCOM-L", "", "", "",
66			  "", "", "", "";
67};
68
69&i2c2 {	/* On board-to-board connector (optional) */
70	pinctrl-names = "default";
71	pinctrl-0 = <&i2c2_pins_a>;
72	i2c-scl-rising-time-ns = <185>;
73	i2c-scl-falling-time-ns = <20>;
74	status = "okay";
75	/* spare dmas for other usage */
76	/delete-property/dmas;
77	/delete-property/dma-names;
78};
79
80&i2c5 {	/* On board-to-board connector */
81	pinctrl-names = "default";
82	pinctrl-0 = <&i2c5_pins_a>;
83	i2c-scl-rising-time-ns = <185>;
84	i2c-scl-falling-time-ns = <20>;
85	status = "okay";
86	/* spare dmas for other usage */
87	/delete-property/dmas;
88	/delete-property/dma-names;
89};
90
91&ksz8851 {
92	status = "disabled";
93};
94
95&usart3 {
96	pinctrl-names = "default";
97	pinctrl-0 = <&usart3_pins_a>;
98	/delete-property/dmas;
99	/delete-property/dma-names;
100	status = "okay";
101};
102
103&uart8 {
104	pinctrl-names = "default";
105	pinctrl-0 = <&uart8_pins_a &uart8_rtscts_pins_a>;
106	/delete-property/dmas;
107	/delete-property/dma-names;
108	status = "okay";
109};
110
111&usbh_ehci {
112	phys = <&usbphyc_port0>;
113	status = "okay";
114};
115
116&usbh_ohci {
117	phys = <&usbphyc_port0>;
118	status = "okay";
119};
120
121&usbotg_hs {
122	dr_mode = "otg";
123	pinctrl-0 = <&usbotg_hs_pins_a>;
124	pinctrl-names = "default";
125	phy-names = "usb2-phy";
126	phys = <&usbphyc_port1 0>;
127	vbus-supply = <&vbus_otg>;
128	status = "okay";
129};
130
131&usbphyc {
132	status = "okay";
133};
134
135&usbphyc_port0 {
136	phy-supply = <&vdd_usb>;
137};
138
139&usbphyc_port1 {
140	phy-supply = <&vdd_usb>;
141};
142