~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/st/stm32mp15xx-dhcom-picoitx.dtsi

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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 &fmc {
 40         status = "disabled";
 41 };
 42 
 43 &gpioa {
 44         /*
 45          * NOTE: The USB Port on the PicoITX needs a PWR_EN signal to enable
 46          * port power. This signal should be handled by USB power sequencing
 47          * in order to turn on port power when USB bus is powered up, but so
 48          * far there is no such functionality.
 49          */
 50         usb-port-power-hog {
 51                 gpio-hog;
 52                 gpios = <13 0>;
 53                 output-low;
 54                 line-name = "usb-port-power";
 55         };
 56 };
 57 
 58 &gpioc {
 59         gpio-line-names = "", "", "", "",
 60                           "", "", "PicoITX-In1", "",
 61                           "", "", "", "",
 62                           "", "", "", "";
 63 };
 64 
 65 &gpiod {
 66         gpio-line-names = "", "", "", "",
 67                           "", "", "DHCOM-B", "",
 68                           "", "", "", "PicoITX-Out1",
 69                           "PicoITX-Out2", "", "", "";
 70 };
 71 
 72 &gpiog {
 73         gpio-line-names = "PicoITX-In2", "", "", "",
 74                           "", "", "", "",
 75                           "DHCOM-L", "", "", "",
 76                           "", "", "", "";
 77 };
 78 
 79 &i2c2 { /* On board-to-board connector (optional) */
 80         pinctrl-names = "default";
 81         pinctrl-0 = <&i2c2_pins_a>;
 82         i2c-scl-rising-time-ns = <185>;
 83         i2c-scl-falling-time-ns = <20>;
 84         status = "okay";
 85         /* spare dmas for other usage */
 86         /delete-property/dmas;
 87         /delete-property/dma-names;
 88 };
 89 
 90 &i2c5 { /* On board-to-board connector */
 91         pinctrl-names = "default";
 92         pinctrl-0 = <&i2c5_pins_a>;
 93         i2c-scl-rising-time-ns = <185>;
 94         i2c-scl-falling-time-ns = <20>;
 95         status = "okay";
 96         /* spare dmas for other usage */
 97         /delete-property/dmas;
 98         /delete-property/dma-names;
 99 };
100 
101 &ksz8851 {
102         status = "disabled";
103 };
104 
105 &usart3 {
106         pinctrl-names = "default";
107         pinctrl-0 = <&usart3_pins_a>;
108         /delete-property/dmas;
109         /delete-property/dma-names;
110         status = "okay";
111 };
112 
113 &uart8 {
114         pinctrl-names = "default";
115         pinctrl-0 = <&uart8_pins_a &uart8_rtscts_pins_a>;
116         /delete-property/dmas;
117         /delete-property/dma-names;
118         status = "okay";
119 };
120 
121 &usbh_ehci {
122         status = "okay";
123 };
124 
125 &usbh_ohci {
126         status = "okay";
127 };
128 
129 &usbotg_hs {
130         dr_mode = "otg";
131         pinctrl-0 = <&usbotg_hs_pins_a>;
132         pinctrl-names = "default";
133         phy-names = "usb2-phy";
134         phys = <&usbphyc_port1 0>;
135         vbus-supply = <&vbus_otg>;
136         status = "okay";
137 };
138 
139 &usbphyc {
140         status = "okay";
141 };
142 
143 &usbphyc_port0 {
144         phy-supply = <&vdd_usb>;
145 };
146 
147 &usbphyc_port1 {
148         phy-supply = <&vdd_usb>;
149 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php