Lines Matching +full:rk3568 +full:- +full:pcie

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 * Copyright (c) 2024 Uwe Kleine-König
7 /dts-v1/;
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
11 #include <dt-bindings/gpio/gpio.h>
12 #include "rk3568.dtsi"
15 model = "Qnap TS-433-4G NAS System 4-Bay";
16 compatible = "qnap,ts433", "rockchip,rk3568";
25 stdout-path = "serial2:115200n8";
29 compatible = "gpio-keys";
30 pinctrl-0 = <&copy_button_pin>, <&reset_button_pin>;
31 pinctrl-names = "default";
33 key-copy {
39 key-reset {
47 compatible = "gpio-leds";
49 led-0 {
53 linux,default-trigger = "disk-activity";
54 pinctrl-names = "default";
55 pinctrl-0 = <&hdd1_led_pin>;
58 led-1 {
62 linux,default-trigger = "disk-activity";
63 pinctrl-names = "default";
64 pinctrl-0 = <&hdd2_led_pin>;
67 led-2 {
71 linux,default-trigger = "disk-activity";
72 pinctrl-names = "default";
73 pinctrl-0 = <&hdd3_led_pin>;
76 led-3 {
80 linux,default-trigger = "disk-activity";
81 pinctrl-names = "default";
82 pinctrl-0 = <&hdd4_led_pin>;
86 dc_12v: regulator-dc-12v {
87 compatible = "regulator-fixed";
88 regulator-name = "dc_12v";
89 regulator-always-on;
90 regulator-boot-on;
91 regulator-min-microvolt = <12000000>;
92 regulator-max-microvolt = <12000000>;
95 vcc3v3_pcie: regulator-vcc3v3-pcie {
96 compatible = "regulator-fixed";
97 regulator-name = "vcc3v3_pcie";
98 regulator-min-microvolt = <3300000>;
99 regulator-max-microvolt = <3300000>;
100 enable-active-high;
102 vin-supply = <&dc_12v>;
105 vcc3v3_sys: regulator-vcc3v3-sys {
106 compatible = "regulator-fixed";
107 regulator-name = "vcc3v3_sys";
108 regulator-always-on;
109 regulator-boot-on;
110 regulator-min-microvolt = <3300000>;
111 regulator-max-microvolt = <3300000>;
112 vin-supply = <&dc_12v>;
115 vcc5v0_host: regulator-vcc5v0-host {
116 compatible = "regulator-fixed";
117 enable-active-high;
118 pinctrl-names = "default";
119 pinctrl-0 = <&vcc5v0_host_en>;
121 regulator-name = "vcc5v0_host";
122 regulator-always-on;
123 regulator-boot-on;
124 regulator-min-microvolt = <5000000>;
125 regulator-max-microvolt = <5000000>;
126 vin-supply = <&vcc5v0_usb>;
129 vcc5v0_otg: regulator-vcc5v0-otg {
130 compatible = "regulator-fixed";
131 enable-active-high;
133 pinctrl-names = "default";
134 pinctrl-0 = <&vcc5v0_otg_en>;
135 regulator-name = "vcc5v0_otg";
136 regulator-always-on;
137 regulator-boot-on;
138 regulator-min-microvolt = <5000000>;
139 regulator-max-microvolt = <5000000>;
140 vin-supply = <&vcc5v0_usb>;
143 vcc5v0_sys: regulator-vcc5v0-sys {
144 compatible = "regulator-fixed";
145 regulator-name = "vcc5v0_sys";
146 regulator-always-on;
147 regulator-boot-on;
148 regulator-min-microvolt = <5000000>;
149 regulator-max-microvolt = <5000000>;
150 vin-supply = <&dc_12v>;
153 vcc5v0_usb: regulator-vcc5v0-usb {
154 compatible = "regulator-fixed";
155 regulator-name = "vcc5v0_usb";
156 regulator-always-on;
157 regulator-boot-on;
158 regulator-min-microvolt = <5000000>;
159 regulator-max-microvolt = <5000000>;
160 vin-supply = <&dc_12v>;
180 cpu-supply = <&vdd_cpu>;
184 cpu-supply = <&vdd_cpu>;
188 cpu-supply = <&vdd_cpu>;
192 cpu-supply = <&vdd_cpu>;
196 assigned-clocks = <&cru SCLK_GMAC0_RX_TX>, <&cru SCLK_GMAC0>;
197 assigned-clock-parents = <&cru SCLK_GMAC0_RGMII_SPEED>, <&cru CLK_MAC0_2TOP>;
198 assigned-clock-rates = <0>, <125000000>;
200 phy-handle = <&rgmii_phy0>;
201 phy-mode = "rgmii-id";
202 pinctrl-names = "default";
203 pinctrl-0 = <&gmac0_miim
212 mali-supply = <&vdd_gpu>;
222 interrupt-parent = <&gpio0>;
224 #clock-cells = <1>;
225 pinctrl-names = "default";
226 pinctrl-0 = <&pmic_int_l>;
227 system-power-controller;
228 vcc1-supply = <&vcc3v3_sys>;
229 vcc2-supply = <&vcc3v3_sys>;
230 vcc3-supply = <&vcc3v3_sys>;
231 vcc4-supply = <&vcc3v3_sys>;
232 vcc5-supply = <&vcc3v3_sys>;
233 vcc6-supply = <&vcc3v3_sys>;
234 vcc7-supply = <&vcc3v3_sys>;
235 vcc8-supply = <&vcc3v3_sys>;
236 vcc9-supply = <&vcc3v3_sys>;
237 wakeup-source;
241 regulator-name = "vdd_logic";
242 regulator-always-on;
243 regulator-boot-on;
244 regulator-initial-mode = <0x2>;
245 regulator-min-microvolt = <500000>;
246 regulator-max-microvolt = <1350000>;
247 regulator-ramp-delay = <6001>;
249 regulator-state-mem {
250 regulator-off-in-suspend;
255 regulator-name = "vdd_gpu";
256 regulator-always-on;
257 regulator-initial-mode = <0x2>;
258 regulator-min-microvolt = <500000>;
259 regulator-max-microvolt = <1350000>;
260 regulator-ramp-delay = <6001>;
262 regulator-state-mem {
263 regulator-off-in-suspend;
268 regulator-name = "vcc_ddr";
269 regulator-always-on;
270 regulator-boot-on;
271 regulator-initial-mode = <0x2>;
273 regulator-state-mem {
274 regulator-on-in-suspend;
279 regulator-name = "vdd_npu";
280 regulator-initial-mode = <0x2>;
281 regulator-min-microvolt = <500000>;
282 regulator-max-microvolt = <1350000>;
283 regulator-ramp-delay = <6001>;
285 regulator-state-mem {
286 regulator-off-in-suspend;
291 regulator-name = "vcc_1v8";
292 regulator-always-on;
293 regulator-boot-on;
294 regulator-min-microvolt = <1800000>;
295 regulator-max-microvolt = <1800000>;
297 regulator-state-mem {
298 regulator-off-in-suspend;
303 regulator-name = "vdda0v9_image";
304 regulator-always-on;
305 regulator-min-microvolt = <900000>;
306 regulator-max-microvolt = <900000>;
308 regulator-state-mem {
309 regulator-off-in-suspend;
314 regulator-name = "vdda_0v9";
315 regulator-always-on;
316 regulator-boot-on;
317 regulator-min-microvolt = <900000>;
318 regulator-max-microvolt = <900000>;
320 regulator-state-mem {
321 regulator-off-in-suspend;
326 regulator-name = "vdda0v9_pmu";
327 regulator-always-on;
328 regulator-boot-on;
329 regulator-min-microvolt = <900000>;
330 regulator-max-microvolt = <900000>;
332 regulator-state-mem {
333 regulator-on-in-suspend;
334 regulator-suspend-microvolt = <900000>;
339 regulator-name = "vccio_acodec";
340 regulator-always-on;
341 regulator-boot-on;
342 regulator-min-microvolt = <3300000>;
343 regulator-max-microvolt = <3300000>;
345 regulator-state-mem {
346 regulator-off-in-suspend;
351 regulator-name = "vccio_sd";
352 regulator-min-microvolt = <1800000>;
353 regulator-max-microvolt = <3300000>;
355 regulator-state-mem {
356 regulator-off-in-suspend;
361 regulator-name = "vcc3v3_pmu";
362 regulator-always-on;
363 regulator-boot-on;
364 regulator-min-microvolt = <3300000>;
365 regulator-max-microvolt = <3300000>;
367 regulator-state-mem {
368 regulator-on-in-suspend;
369 regulator-suspend-microvolt = <3300000>;
374 regulator-name = "vcca_1v8";
375 regulator-always-on;
376 regulator-boot-on;
377 regulator-min-microvolt = <1800000>;
378 regulator-max-microvolt = <1800000>;
380 regulator-state-mem {
381 regulator-off-in-suspend;
386 regulator-name = "vcca1v8_pmu";
387 regulator-always-on;
388 regulator-boot-on;
389 regulator-min-microvolt = <1800000>;
390 regulator-max-microvolt = <1800000>;
392 regulator-state-mem {
393 regulator-on-in-suspend;
394 regulator-suspend-microvolt = <1800000>;
399 regulator-name = "vcca1v8_image";
400 regulator-always-on;
401 regulator-min-microvolt = <1800000>;
402 regulator-max-microvolt = <1800000>;
404 regulator-state-mem {
405 regulator-off-in-suspend;
410 regulator-name = "vcc_3v3";
411 regulator-always-on;
412 regulator-boot-on;
414 regulator-state-mem {
415 regulator-off-in-suspend;
420 regulator-name = "vcc3v3_sd";
423 * PCIe controllers, refclk generator perhaps
425 regulator-always-on;
426 regulator-boot-on;
428 regulator-state-mem {
429 regulator-off-in-suspend;
438 fcs,suspend-voltage-selector = <1>;
439 regulator-name = "vdd_cpu";
440 regulator-always-on;
441 regulator-boot-on;
442 regulator-min-microvolt = <712500>;
443 regulator-max-microvolt = <1390000>;
444 regulator-ramp-delay = <2300>;
445 vin-supply = <&vcc5v0_sys>;
455 wakeup-source;
458 /* eeprom for vital-product-data on the mainboard */
463 num-addresses = <2>;
465 read-only;
468 /* eeprom for vital-product-data on the backplane */
473 num-addresses = <2>;
475 read-only;
480 rgmii_phy0: ethernet-phy@0 {
481 compatible = "ethernet-phy-ieee802.3-c22";
487 data-lanes = <1 2>;
493 reset-gpios = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>;
494 vpcie3v3-supply = <&vcc3v3_pcie>;
500 num-lanes = <1>;
501 reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>;
502 vpcie3v3-supply = <&vcc3v3_pcie>;
508 copy_button_pin: copy-button-pin {
512 reset_button_pin: reset-button-pin {
518 hdd1_led_pin: hdd1-led-pin {
522 hdd2_led_pin: hdd2-led-pin {
526 hdd3_led_pin: hdd3-led-pin {
530 hdd4_led_pin: hdd4_led-pin {
536 pmic_int_l: pmic-int-l {
542 vcc5v0_host_en: vcc5v0-host-en {
546 vcc5v0_otg_en: vcc5v0-otg-en {
553 vccio4-supply = <&vcc_1v8>;
554 vccio6-supply = <&vcc_1v8>;
567 bus-width = <8>;
568 max-frequency = <200000000>;
569 non-removable;
574 rockchip,hw-tshut-mode = <1>;
575 rockchip,hw-tshut-polarity = <0>;
591 * `----' 3=RX 4=GND
603 phy-supply = <&vcc5v0_otg>;
613 phy-supply = <&vcc5v0_host>;
619 phy-supply = <&vcc5v0_host>;