Lines Matching +full:suspend +full:- +full:to +full:- +full:disk

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>
15 model = "Qnap TS-433-4G NAS System 4-Bay";
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 label = "hdd1:green:disk";
54 linux,default-trigger = "disk-activity";
55 pinctrl-names = "default";
56 pinctrl-0 = <&hdd1_led_pin>;
59 led-1 {
63 label = "hdd2:green:disk";
64 linux,default-trigger = "disk-activity";
65 pinctrl-names = "default";
66 pinctrl-0 = <&hdd2_led_pin>;
69 led-2 {
73 label = "hdd3:green:disk";
74 linux,default-trigger = "disk-activity";
75 pinctrl-names = "default";
76 pinctrl-0 = <&hdd3_led_pin>;
79 led-3 {
83 label = "hdd4:green:disk";
84 linux,default-trigger = "disk-activity";
85 pinctrl-names = "default";
86 pinctrl-0 = <&hdd4_led_pin>;
90 dc_12v: regulator-dc-12v {
91 compatible = "regulator-fixed";
92 regulator-name = "dc_12v";
93 regulator-always-on;
94 regulator-boot-on;
95 regulator-min-microvolt = <12000000>;
96 regulator-max-microvolt = <12000000>;
99 vcc3v3_pcie: regulator-vcc3v3-pcie {
100 compatible = "regulator-fixed";
101 regulator-name = "vcc3v3_pcie";
102 regulator-min-microvolt = <3300000>;
103 regulator-max-microvolt = <3300000>;
104 enable-active-high;
106 vin-supply = <&dc_12v>;
109 vcc3v3_sys: regulator-vcc3v3-sys {
110 compatible = "regulator-fixed";
111 regulator-name = "vcc3v3_sys";
112 regulator-always-on;
113 regulator-boot-on;
114 regulator-min-microvolt = <3300000>;
115 regulator-max-microvolt = <3300000>;
116 vin-supply = <&dc_12v>;
119 vcc5v0_host: regulator-vcc5v0-host {
120 compatible = "regulator-fixed";
121 enable-active-high;
122 pinctrl-names = "default";
123 pinctrl-0 = <&vcc5v0_host_en>;
125 regulator-name = "vcc5v0_host";
126 regulator-always-on;
127 regulator-boot-on;
128 regulator-min-microvolt = <5000000>;
129 regulator-max-microvolt = <5000000>;
130 vin-supply = <&vcc5v0_usb>;
133 vcc5v0_otg: regulator-vcc5v0-otg {
134 compatible = "regulator-fixed";
135 enable-active-high;
137 pinctrl-names = "default";
138 pinctrl-0 = <&vcc5v0_otg_en>;
139 regulator-name = "vcc5v0_otg";
140 regulator-always-on;
141 regulator-boot-on;
142 regulator-min-microvolt = <5000000>;
143 regulator-max-microvolt = <5000000>;
144 vin-supply = <&vcc5v0_usb>;
147 vcc5v0_sys: regulator-vcc5v0-sys {
148 compatible = "regulator-fixed";
149 regulator-name = "vcc5v0_sys";
150 regulator-always-on;
151 regulator-boot-on;
152 regulator-min-microvolt = <5000000>;
153 regulator-max-microvolt = <5000000>;
154 vin-supply = <&dc_12v>;
157 vcc5v0_usb: regulator-vcc5v0-usb {
158 compatible = "regulator-fixed";
159 regulator-name = "vcc5v0_usb";
160 regulator-always-on;
161 regulator-boot-on;
162 regulator-min-microvolt = <5000000>;
163 regulator-max-microvolt = <5000000>;
164 vin-supply = <&dc_12v>;
168 /* connected to usb_host0_xhci */
173 /* connected to sata1 */
178 /* connected to sata2 */
184 cpu-supply = <&vdd_cpu>;
188 cpu-supply = <&vdd_cpu>;
192 cpu-supply = <&vdd_cpu>;
196 cpu-supply = <&vdd_cpu>;
200 assigned-clocks = <&cru SCLK_GMAC0_RX_TX>, <&cru SCLK_GMAC0>;
201 assigned-clock-parents = <&cru SCLK_GMAC0_RGMII_SPEED>, <&cru CLK_MAC0_2TOP>;
202 assigned-clock-rates = <0>, <125000000>;
204 phy-handle = <&rgmii_phy0>;
205 phy-mode = "rgmii-id";
206 pinctrl-names = "default";
207 pinctrl-0 = <&gmac0_miim
216 mali-supply = <&vdd_gpu>;
226 interrupt-parent = <&gpio0>;
228 #clock-cells = <1>;
229 pinctrl-names = "default";
230 pinctrl-0 = <&pmic_int_l>;
231 system-power-controller;
232 vcc1-supply = <&vcc3v3_sys>;
233 vcc2-supply = <&vcc3v3_sys>;
234 vcc3-supply = <&vcc3v3_sys>;
235 vcc4-supply = <&vcc3v3_sys>;
236 vcc5-supply = <&vcc3v3_sys>;
237 vcc6-supply = <&vcc3v3_sys>;
238 vcc7-supply = <&vcc3v3_sys>;
239 vcc8-supply = <&vcc3v3_sys>;
240 vcc9-supply = <&vcc3v3_sys>;
241 wakeup-source;
245 regulator-name = "vdd_logic";
246 regulator-always-on;
247 regulator-boot-on;
248 regulator-initial-mode = <0x2>;
249 regulator-min-microvolt = <500000>;
250 regulator-max-microvolt = <1350000>;
251 regulator-ramp-delay = <6001>;
253 regulator-state-mem {
254 regulator-off-in-suspend;
259 regulator-name = "vdd_gpu";
260 regulator-always-on;
261 regulator-initial-mode = <0x2>;
262 regulator-min-microvolt = <500000>;
263 regulator-max-microvolt = <1350000>;
264 regulator-ramp-delay = <6001>;
266 regulator-state-mem {
267 regulator-off-in-suspend;
272 regulator-name = "vcc_ddr";
273 regulator-always-on;
274 regulator-boot-on;
275 regulator-initial-mode = <0x2>;
277 regulator-state-mem {
278 regulator-on-in-suspend;
283 regulator-name = "vdd_npu";
284 regulator-initial-mode = <0x2>;
285 regulator-min-microvolt = <500000>;
286 regulator-max-microvolt = <1350000>;
287 regulator-ramp-delay = <6001>;
289 regulator-state-mem {
290 regulator-off-in-suspend;
295 regulator-name = "vcc_1v8";
296 regulator-always-on;
297 regulator-boot-on;
298 regulator-min-microvolt = <1800000>;
299 regulator-max-microvolt = <1800000>;
301 regulator-state-mem {
302 regulator-off-in-suspend;
307 regulator-name = "vdda0v9_image";
308 regulator-always-on;
309 regulator-min-microvolt = <900000>;
310 regulator-max-microvolt = <900000>;
312 regulator-state-mem {
313 regulator-off-in-suspend;
318 regulator-name = "vdda_0v9";
319 regulator-always-on;
320 regulator-boot-on;
321 regulator-min-microvolt = <900000>;
322 regulator-max-microvolt = <900000>;
324 regulator-state-mem {
325 regulator-off-in-suspend;
330 regulator-name = "vdda0v9_pmu";
331 regulator-always-on;
332 regulator-boot-on;
333 regulator-min-microvolt = <900000>;
334 regulator-max-microvolt = <900000>;
336 regulator-state-mem {
337 regulator-on-in-suspend;
338 regulator-suspend-microvolt = <900000>;
343 regulator-name = "vccio_acodec";
344 regulator-always-on;
345 regulator-boot-on;
346 regulator-min-microvolt = <3300000>;
347 regulator-max-microvolt = <3300000>;
349 regulator-state-mem {
350 regulator-off-in-suspend;
355 regulator-name = "vccio_sd";
356 regulator-min-microvolt = <1800000>;
357 regulator-max-microvolt = <3300000>;
359 regulator-state-mem {
360 regulator-off-in-suspend;
365 regulator-name = "vcc3v3_pmu";
366 regulator-always-on;
367 regulator-boot-on;
368 regulator-min-microvolt = <3300000>;
369 regulator-max-microvolt = <3300000>;
371 regulator-state-mem {
372 regulator-on-in-suspend;
373 regulator-suspend-microvolt = <3300000>;
378 regulator-name = "vcca_1v8";
379 regulator-always-on;
380 regulator-boot-on;
381 regulator-min-microvolt = <1800000>;
382 regulator-max-microvolt = <1800000>;
384 regulator-state-mem {
385 regulator-off-in-suspend;
390 regulator-name = "vcca1v8_pmu";
391 regulator-always-on;
392 regulator-boot-on;
393 regulator-min-microvolt = <1800000>;
394 regulator-max-microvolt = <1800000>;
396 regulator-state-mem {
397 regulator-on-in-suspend;
398 regulator-suspend-microvolt = <1800000>;
403 regulator-name = "vcca1v8_image";
404 regulator-always-on;
405 regulator-min-microvolt = <1800000>;
406 regulator-max-microvolt = <1800000>;
408 regulator-state-mem {
409 regulator-off-in-suspend;
414 regulator-name = "vcc_3v3";
415 regulator-always-on;
416 regulator-boot-on;
418 regulator-state-mem {
419 regulator-off-in-suspend;
424 regulator-name = "vcc3v3_sd";
426 * turning this off, breaks access to both
429 regulator-always-on;
430 regulator-boot-on;
432 regulator-state-mem {
433 regulator-off-in-suspend;
442 fcs,suspend-voltage-selector = <1>;
443 regulator-name = "vdd_cpu";
444 regulator-always-on;
445 regulator-boot-on;
446 regulator-min-microvolt = <712500>;
447 regulator-max-microvolt = <1390000>;
448 regulator-ramp-delay = <2300>;
449 vin-supply = <&vcc5v0_sys>;
459 wakeup-source;
462 /* eeprom for vital-product-data on the mainboard */
467 num-addresses = <2>;
469 read-only;
472 /* eeprom for vital-product-data on the backplane */
477 num-addresses = <2>;
479 read-only;
484 rgmii_phy0: ethernet-phy@0 {
485 compatible = "ethernet-phy-ieee802.3-c22";
492 * course also cannot set trip points. So attach to the cpu thermal-zone
493 * instead to control the fan.
497 case_fan0: case-fan0 {
503 case_fan1: case-fan1 {
509 case_fan2: case-fan2 {
516 cooling-maps {
518 * Always provide some air movement, due to small case
522 cooling-device = <&fan THERMAL_NO_LIMIT 1>;
527 cooling-device = <&fan 2 3>;
532 cooling-device = <&fan 4 THERMAL_NO_LIMIT>;
539 data-lanes = <1 2>;
543 /* Connected to a JMicron AHCI SATA controller */
545 reset-gpios = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>;
546 vpcie3v3-supply = <&vcc3v3_pcie>;
550 /* Connected to the 2.5G NIC for the upper network jack */
552 num-lanes = <1>;
553 reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>;
554 vpcie3v3-supply = <&vcc3v3_pcie>;
560 copy_button_pin: copy-button-pin {
564 reset_button_pin: reset-button-pin {
570 hdd1_led_pin: hdd1-led-pin {
574 hdd2_led_pin: hdd2-led-pin {
578 hdd3_led_pin: hdd3-led-pin {
582 hdd4_led_pin: hdd4_led-pin {
588 pmic_int_l: pmic-int-l {
594 vcc5v0_host_en: vcc5v0-host-en {
598 vcc5v0_otg_en: vcc5v0-otg-en {
605 vccio4-supply = <&vcc_1v8>;
606 vccio6-supply = <&vcc_1v8>;
619 bus-width = <8>;
620 max-frequency = <200000000>;
621 non-removable;
626 rockchip,hw-tshut-mode = <1>;
627 rockchip,hw-tshut-polarity = <0>;
632 * Connected to an MCU, that provides access to more LEDs,
639 compatible = "qnap,ts433-mcu";
641 fan: fan-0 {
642 #cooling-cells = <2>;
643 cooling-levels = <0 64 89 128 166 204 221 238>;
652 * `----' 3=RX 4=GND
662 /* connected to usb_host0_xhci */
664 phy-supply = <&vcc5v0_otg>;
672 /* connected to usb_host1_ehci/ohci */
674 phy-supply = <&vcc5v0_host>;
678 /* connected to usb_host0_ehci/ohci */
680 phy-supply = <&vcc5v0_host>;