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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 
  3 /dts-v1/;
  4 #include "rk3568-radxa-cm3i.dtsi"
  5 
  6 / {
  7         model = "Radxa E25 Carrier Board";
  8         compatible = "radxa,e25", "radxa,cm3i", "rockchip,rk3568";
  9 
 10         aliases {
 11                 mmc1 = &sdmmc0;
 12         };
 13 
 14         pwm-leds {
 15                 compatible = "pwm-leds-multicolor";
 16 
 17                 multi-led {
 18                         color = <LED_COLOR_ID_RGB>;
 19                         max-brightness = <255>;
 20 
 21                         led-red {
 22                                 color = <LED_COLOR_ID_RED>;
 23                                 pwms = <&pwm1 0 1000000 0>;
 24                         };
 25 
 26                         led-green {
 27                                 color = <LED_COLOR_ID_GREEN>;
 28                                 pwms = <&pwm2 0 1000000 0>;
 29                         };
 30 
 31                         led-blue {
 32                                 color = <LED_COLOR_ID_BLUE>;
 33                                 pwms = <&pwm12 0 1000000 0>;
 34                         };
 35                 };
 36         };
 37 
 38         vbus_typec: vbus-typec-regulator {
 39                 compatible = "regulator-fixed";
 40                 enable-active-high;
 41                 gpio = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>;
 42                 pinctrl-names = "default";
 43                 pinctrl-0 = <&vbus_typec_en>;
 44                 regulator-name = "vbus_typec";
 45                 regulator-min-microvolt = <5000000>;
 46                 regulator-max-microvolt = <5000000>;
 47                 vin-supply = <&vcc5v0_sys>;
 48         };
 49 
 50         /* actually fed by vcc5v0_sys, dependent
 51          * on pi6c clock generator
 52          */
 53         vcc3v3_minipcie: vcc3v3-minipcie-regulator {
 54                 compatible = "regulator-fixed";
 55                 enable-active-high;
 56                 gpio = <&gpio3 RK_PA7 GPIO_ACTIVE_HIGH>;
 57                 pinctrl-names = "default";
 58                 pinctrl-0 = <&minipcie_enable_h>;
 59                 regulator-name = "vcc3v3_minipcie";
 60                 regulator-min-microvolt = <3300000>;
 61                 regulator-max-microvolt = <3300000>;
 62                 vin-supply = <&vcc3v3_pi6c_05>;
 63         };
 64 
 65         vcc3v3_ngff: vcc3v3-ngff-regulator {
 66                 compatible = "regulator-fixed";
 67                 enable-active-high;
 68                 gpio = <&gpio0 RK_PD6 GPIO_ACTIVE_HIGH>;
 69                 pinctrl-names = "default";
 70                 pinctrl-0 = <&ngffpcie_enable_h>;
 71                 regulator-name = "vcc3v3_ngff";
 72                 regulator-min-microvolt = <3300000>;
 73                 regulator-max-microvolt = <3300000>;
 74                 vin-supply = <&vcc5v0_sys>;
 75         };
 76 
 77         vcc3v3_pcie30x1: vcc3v3-pcie30x1-regulator {
 78                 compatible = "regulator-fixed";
 79                 enable-active-high;
 80                 gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
 81                 pinctrl-names = "default";
 82                 pinctrl-0 = <&pcie30x1_enable_h>;
 83                 regulator-name = "vcc3v3_pcie30x1";
 84                 regulator-min-microvolt = <3300000>;
 85                 regulator-max-microvolt = <3300000>;
 86                 vin-supply = <&vcc5v0_sys>;
 87         };
 88 
 89         vcc3v3_pi6c_05: vcc3v3-pi6c-05-regulator {
 90                 compatible = "regulator-fixed";
 91                 enable-active-high;
 92                 gpios = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>;
 93                 pinctrl-names = "default";
 94                 pinctrl-0 = <&pcie_enable_h>;
 95                 regulator-name = "vcc3v3_pcie";
 96                 regulator-min-microvolt = <3300000>;
 97                 regulator-max-microvolt = <3300000>;
 98                 vin-supply = <&vcc5v0_sys>;
 99         };
100 };
101 
102 &combphy1 {
103         phy-supply = <&vcc3v3_pcie30x1>;
104 };
105 
106 &pcie2x1 {
107         pinctrl-names = "default";
108         pinctrl-0 = <&pcie20_reset_h>;
109         reset-gpios = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
110         vpcie3v3-supply = <&vcc3v3_pi6c_05>;
111         status = "okay";
112 };
113 
114 &pcie30phy {
115         data-lanes = <1 2>;
116         status = "okay";
117 };
118 
119 &pcie3x1 {
120         num-lanes = <1>;
121         pinctrl-names = "default";
122         pinctrl-0 = <&pcie30x1m0_pins>;
123         reset-gpios = <&gpio0 RK_PC3 GPIO_ACTIVE_HIGH>;
124         vpcie3v3-supply = <&vcc3v3_minipcie>;
125         status = "okay";
126 };
127 
128 &pcie3x2 {
129         num-lanes = <1>;
130         pinctrl-names = "default";
131         pinctrl-0 = <&pcie30x2_reset_h>;
132         reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>;
133         vpcie3v3-supply = <&vcc3v3_pi6c_05>;
134         status = "okay";
135 };
136 
137 &pinctrl {
138         pcie {
139                 pcie20_reset_h: pcie20-reset-h {
140                         rockchip,pins = <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
141                 };
142 
143                 pcie30x1_enable_h: pcie30x1-enable-h {
144                         rockchip,pins = <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>;
145                 };
146 
147                 pcie30x2_reset_h: pcie30x2-reset-h {
148                         rockchip,pins = <2 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;
149                 };
150 
151                 pcie_enable_h: pcie-enable-h {
152                         rockchip,pins = <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>;
153                 };
154         };
155 
156         usb {
157                 minipcie_enable_h: minipcie-enable-h {
158                         rockchip,pins = <3 RK_PA7 RK_FUNC_GPIO &pcfg_pull_none>;
159                 };
160 
161                 ngffpcie_enable_h: ngffpcie-enable-h {
162                         rockchip,pins = <0 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;
163                 };
164 
165                 vbus_typec_en: vbus_typec_en {
166                         rockchip,pins = <0 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
167                 };
168         };
169 };
170 
171 &pwm1 {
172         status = "okay";
173 };
174 
175 &pwm2 {
176         status = "okay";
177 };
178 
179 &pwm12 {
180         pinctrl-names = "default";
181         pinctrl-0 = <&pwm12m1_pins>;
182         status = "okay";
183 };
184 
185 &sata1 {
186         status = "okay";
187 };
188 
189 &sdmmc0 {
190         bus-width = <4>;
191         cap-sd-highspeed;
192         cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
193         /* Also used in pcie30x1_clkreqnm0 */
194         disable-wp;
195         pinctrl-names = "default";
196         pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd>;
197         sd-uhs-sdr104;
198         vmmc-supply = <&vcc3v3_sd>;
199         vqmmc-supply = <&vccio_sd>;
200         status = "okay";
201 };
202 
203 &usb_host0_ehci {
204         status = "okay";
205 };
206 
207 &usb_host0_ohci {
208         status = "okay";
209 };
210 
211 &usb_host0_xhci {
212         status = "okay";
213 };
214 
215 &usb_host1_ehci {
216         status = "okay";
217 };
218 
219 &usb_host1_ohci {
220         status = "okay";
221 };
222 
223 &usb2phy0_otg {
224         phy-supply = <&vbus_typec>;
225         status = "okay";
226 };
227 
228 &usb2phy1_host {
229         phy-supply = <&vcc3v3_minipcie>;
230         status = "okay";
231 };
232 
233 &usb2phy1_otg {
234         phy-supply = <&vcc3v3_ngff>;
235         status = "okay";
236 };

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