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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/st/stm32mp15xx-dhcor-testbench.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) 2022 Marek Vasut <marex@denx.de>
  4  */
  5 
  6 / {
  7         aliases {
  8                 ethernet0 = &ethernet0;
  9                 mmc0 = &sdmmc1;
 10                 mmc1 = &sdmmc2;
 11                 serial0 = &uart4;
 12                 serial1 = &uart7;
 13                 spi0 = &qspi;
 14         };
 15 
 16         chosen {
 17                 stdout-path = "serial0:115200n8";
 18         };
 19 
 20         sd_switch: regulator-sd_switch {
 21                 compatible = "regulator-gpio";
 22                 regulator-name = "sd_switch";
 23                 regulator-min-microvolt = <1800000>;
 24                 regulator-max-microvolt = <2900000>;
 25                 regulator-type = "voltage";
 26                 regulator-always-on;
 27 
 28                 gpios = <&gpioi 5 GPIO_ACTIVE_HIGH>;
 29                 gpios-states = <0>;
 30                 states = <1800000 0x1>,
 31                          <2900000 0x0>;
 32         };
 33 };
 34 
 35 &adc {
 36         pinctrl-names = "default";
 37         pinctrl-0 = <&adc12_ain_pins_b>;
 38         vdd-supply = <&vdd>;
 39         vdda-supply = <&vdda>;
 40         vref-supply = <&vdda>;
 41         status = "okay";
 42 
 43         adc1: adc@0 {
 44                 status = "okay";
 45                 channel@0 {
 46                         reg = <0>;
 47                         st,min-sample-time-ns = <5000>;
 48                 };
 49                 channel@1 {
 50                         reg = <1>;
 51                         st,min-sample-time-ns = <5000>;
 52                 };
 53                 channel@6 {
 54                         reg = <6>;
 55                         st,min-sample-time-ns = <5000>;
 56                 };
 57         };
 58 
 59         adc2: adc@100 {
 60                 status = "okay";
 61                 channel@0 {
 62                         reg = <0>;
 63                         st,min-sample-time-ns = <5000>;
 64                 };
 65                 channel@1 {
 66                         reg = <1>;
 67                         st,min-sample-time-ns = <5000>;
 68                 };
 69                 channel@2 {
 70                         reg = <2>;
 71                         st,min-sample-time-ns = <5000>;
 72                 };
 73         };
 74 };
 75 
 76 &ethernet0 {
 77         status = "okay";
 78         pinctrl-0 = <&ethernet0_rgmii_pins_c>;
 79         pinctrl-1 = <&ethernet0_rgmii_sleep_pins_c>;
 80         pinctrl-names = "default", "sleep";
 81         phy-mode = "rgmii";
 82         max-speed = <1000>;
 83         phy-handle = <&phy0>;
 84 
 85         mdio {
 86                 #address-cells = <1>;
 87                 #size-cells = <0>;
 88                 compatible = "snps,dwmac-mdio";
 89                 reset-gpios = <&gpioz 2 GPIO_ACTIVE_LOW>;
 90                 reset-delay-us = <1000>;
 91                 reset-post-delay-us = <1000>;
 92 
 93                 phy0: ethernet-phy@7 {
 94                         reg = <7>;
 95 
 96                         rxc-skew-ps = <1500>;
 97                         rxdv-skew-ps = <540>;
 98                         rxd0-skew-ps = <420>;
 99                         rxd1-skew-ps = <420>;
100                         rxd2-skew-ps = <420>;
101                         rxd3-skew-ps = <420>;
102 
103                         txc-skew-ps = <1440>;
104                         txen-skew-ps = <540>;
105                         txd0-skew-ps = <420>;
106                         txd1-skew-ps = <420>;
107                         txd2-skew-ps = <420>;
108                         txd3-skew-ps = <420>;
109                 };
110         };
111 };
112 
113 &i2c4 {
114         dh_mac_eeprom: eeprom@53 {
115                 compatible = "atmel,24c02";
116                 reg = <0x53>;
117                 pagesize = <16>;
118         };
119 };
120 
121 &sdmmc1 {
122         pinctrl-names = "default", "opendrain", "sleep";
123         pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_dir_pins_b>;
124         pinctrl-1 = <&sdmmc1_b4_od_pins_a &sdmmc1_dir_pins_b>;
125         pinctrl-2 = <&sdmmc1_b4_sleep_pins_a &sdmmc1_dir_sleep_pins_b>;
126         cd-gpios = <&gpioi 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
127         disable-wp;
128         st,sig-dir;
129         st,neg-edge;
130         st,use-ckin;
131         bus-width = <4>;
132         vmmc-supply = <&vdd_sd>;
133         vqmmc-supply = <&sd_switch>;
134         status = "okay";
135 };
136 
137 &sdmmc2 {
138         pinctrl-names = "default", "opendrain", "sleep";
139         pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_c>;
140         pinctrl-1 = <&sdmmc2_b4_od_pins_a &sdmmc2_d47_pins_c>;
141         pinctrl-2 = <&sdmmc2_b4_sleep_pins_a &sdmmc2_d47_sleep_pins_c>;
142         bus-width = <8>;
143         mmc-ddr-1_8v;
144         no-sd;
145         no-sdio;
146         non-removable;
147         st,neg-edge;
148         vmmc-supply = <&v3v3>;
149         vqmmc-supply = <&v3v3>;
150         status = "okay";
151 };
152 
153 &uart4 {
154         pinctrl-names = "default";
155         pinctrl-0 = <&uart4_pins_b>;
156         /delete-property/dmas;
157         /delete-property/dma-names;
158         status = "okay";
159 };
160 
161 &uart7 {
162         pinctrl-names = "default";
163         pinctrl-0 = <&uart7_pins_a>;
164         uart-has-rtscts;
165         /delete-property/dmas;
166         /delete-property/dma-names;
167         status = "okay";
168 };
169 
170 &usbh_ehci {
171         status = "okay";
172 };
173 
174 &usbh_ohci {
175         status = "okay";
176 };
177 
178 &usbotg_hs {
179         pinctrl-0 = <&usbotg_hs_pins_a>;
180         pinctrl-names = "default";
181         phy-names = "usb2-phy";
182         phys = <&usbphyc_port1 0>;
183         status = "okay";
184         vbus-supply = <&vbus_otg>;
185 };
186 
187 &usbphyc {
188         status = "okay";
189 };
190 
191 &usbphyc_port0 {
192         phy-supply = <&vdd_usb>;
193 };
194 
195 &usbphyc_port1 {
196         phy-supply = <&vdd_usb>;
197 };

~ [ 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