Merge tag 'rust-6.9' of https://github.com/Rust-for-Linux/linux
[sfrench/cifs-2.6.git] / arch / arm64 / boot / dts / rockchip / rk3588-jaguar.dts
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /*
3  * Copyright (c) 2023 Theobroma Systems Design und Consulting GmbH
4  */
5
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/pinctrl/rockchip.h>
11 #include <dt-bindings/usb/pd.h>
12 #include "rk3588.dtsi"
13
14 / {
15         model = "Theobroma Systems RK3588-SBC Jaguar";
16         compatible = "tsd,rk3588-jaguar", "rockchip,rk3588";
17
18         adc-keys {
19                 compatible = "adc-keys";
20                 io-channels = <&saradc 0>;
21                 io-channel-names = "buttons";
22                 keyup-threshold-microvolt = <1800000>;
23                 poll-interval = <100>;
24
25                 /* Can be controlled through SW2 but also GPIO1 on CP2102 on P20 */
26                 button-bios-disable {
27                         label = "BIOS_DISABLE";
28                         linux,code = <KEY_VENDOR>;
29                         press-threshold-microvolt = <0>;
30                 };
31         };
32
33         aliases {
34                 ethernet0 = &gmac0;
35                 mmc0 = &sdhci;
36                 mmc1 = &sdmmc;
37                 rtc0 = &rtc_twi;
38         };
39
40         chosen {
41                 stdout-path = "serial2:115200n8";
42         };
43
44         /* DCIN is 12-24V but standard is 12V */
45         dc_12v: dc-12v-regulator {
46                 compatible = "regulator-fixed";
47                 regulator-name = "dc_12v";
48                 regulator-always-on;
49                 regulator-boot-on;
50                 regulator-min-microvolt = <12000000>;
51                 regulator-max-microvolt = <12000000>;
52         };
53
54         emmc_pwrseq: emmc-pwrseq {
55                 compatible = "mmc-pwrseq-emmc";
56                 pinctrl-0 = <&emmc_reset>;
57                 pinctrl-names = "default";
58                 reset-gpios = <&gpio2 RK_PA3 GPIO_ACTIVE_HIGH>;
59         };
60
61         leds {
62                 compatible = "gpio-leds";
63                 pinctrl-names = "default";
64                 pinctrl-0 = <&led1_pin>;
65
66                 /* LED1 on PCB */
67                 led-1 {
68                         gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_HIGH>;
69                         function = LED_FUNCTION_HEARTBEAT;
70                         linux,default-trigger = "heartbeat";
71                         color = <LED_COLOR_ID_AMBER>;
72                 };
73         };
74
75         pps {
76                 compatible = "pps-gpio";
77                 gpios = <&gpio0 RK_PD5 GPIO_ACTIVE_HIGH>;
78         };
79
80         vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator {
81                 compatible = "regulator-fixed";
82                 regulator-name = "vcc_1v1_nldo_s3";
83                 regulator-always-on;
84                 regulator-boot-on;
85                 regulator-min-microvolt = <1100000>;
86                 regulator-max-microvolt = <1100000>;
87                 vin-supply = <&vcc5v0_sys>;
88         };
89
90         vcc_1v2_s3: vcc-1v2-s3-regulator {
91                 compatible = "regulator-fixed";
92                 regulator-name = "vcc_1v2_s3";
93                 regulator-always-on;
94                 regulator-boot-on;
95                 regulator-min-microvolt = <1200000>;
96                 regulator-max-microvolt = <1200000>;
97                 vin-supply = <&vcc5v0_sys>;
98         };
99
100         /* Exposed on P14 and P15 */
101         vcc_2v8_s3: vcc-2v8-s3-regulator {
102                 compatible = "regulator-fixed";
103                 regulator-name = "vcc_2v8_s3";
104                 regulator-always-on;
105                 regulator-boot-on;
106                 regulator-min-microvolt = <2800000>;
107                 regulator-max-microvolt = <2800000>;
108                 vin-supply = <&vcc_3v3_s3>;
109         };
110
111         vcc_5v0_usb_a: vcc-5v0-usb-a-regulator {
112                 compatible = "regulator-fixed";
113                 regulator-name = "usb_a_vcc";
114                 regulator-min-microvolt = <5000000>;
115                 regulator-max-microvolt = <5000000>;
116                 vin-supply = <&vcc5v0_sys>;
117                 gpio = <&gpio1 RK_PB4 GPIO_ACTIVE_HIGH>;
118                 enable-active-high;
119         };
120
121         vcc_5v0_usb_c1: vcc-5v0-usb-c1-regulator {
122                 compatible = "regulator-fixed";
123                 regulator-name = "5v_usbc1";
124                 regulator-min-microvolt = <5000000>;
125                 regulator-max-microvolt = <5000000>;
126                 vin-supply = <&vcc5v0_usb>;
127                 gpio = <&gpio4 RK_PB5 GPIO_ACTIVE_HIGH>;
128                 enable-active-high;
129         };
130
131         vcc_5v0_usb_c2: vcc-5v0-usb-c2-regulator {
132                 compatible = "regulator-fixed";
133                 regulator-name = "5v_usbc2";
134                 regulator-min-microvolt = <5000000>;
135                 regulator-max-microvolt = <5000000>;
136                 vin-supply = <&vcc5v0_usb>;
137                 gpio = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>;
138                 enable-active-high;
139         };
140
141         vcc3v3_mdot2: vcc3v3-mdot2-regulator {
142                 compatible = "regulator-fixed";
143                 regulator-name = "vcc3v3_mdot2";
144                 regulator-always-on;
145                 regulator-boot-on;
146                 regulator-min-microvolt = <3300000>;
147                 regulator-max-microvolt = <3300000>;
148                 vin-supply = <&dc_12v>;
149         };
150
151         vcc5v0_sys: vcc5v0-sys-regulator {
152                 compatible = "regulator-fixed";
153                 regulator-name = "vcc5v0_sys";
154                 regulator-always-on;
155                 regulator-boot-on;
156                 regulator-min-microvolt = <5000000>;
157                 regulator-max-microvolt = <5000000>;
158                 vin-supply = <&dc_12v>;
159         };
160
161         vcc5v0_usb: vcc5v0-usb-regulator {
162                 compatible = "regulator-fixed";
163                 regulator-name = "vcc5v0_usb";
164                 regulator-always-on;
165                 regulator-boot-on;
166                 regulator-min-microvolt = <5000000>;
167                 regulator-max-microvolt = <5000000>;
168                 vin-supply = <&vcc5v0_sys>;
169         };
170 };
171
172 &combphy1_ps {
173         status = "okay";
174 };
175
176 &cpu_b0 {
177         cpu-supply = <&vdd_cpu_big0_s0>;
178 };
179
180 &cpu_b1 {
181         cpu-supply = <&vdd_cpu_big0_s0>;
182 };
183
184 &cpu_b2 {
185         cpu-supply = <&vdd_cpu_big1_s0>;
186 };
187
188 &cpu_b3 {
189         cpu-supply = <&vdd_cpu_big1_s0>;
190 };
191
192 &cpu_l0 {
193         cpu-supply = <&vdd_cpu_lit_s0>;
194 };
195
196 &cpu_l1 {
197         cpu-supply = <&vdd_cpu_lit_s0>;
198 };
199
200 &cpu_l2 {
201         cpu-supply = <&vdd_cpu_lit_s0>;
202 };
203
204 &cpu_l3 {
205         cpu-supply = <&vdd_cpu_lit_s0>;
206 };
207
208 &gmac0 {
209         clock_in_out = "output";
210         phy-handle = <&rgmii_phy>;
211         phy-mode = "rgmii";
212         phy-supply = <&vcc_1v2_s3>;
213         pinctrl-names = "default";
214         pinctrl-0 = <&gmac0_miim
215                      &gmac0_rx_bus2
216                      &gmac0_tx_bus2
217                      &gmac0_rgmii_clk
218                      &gmac0_rgmii_bus
219                      &eth0_pins
220                      &eth_reset>;
221         tx_delay = <0x10>;
222         rx_delay = <0x10>;
223         snps,reset-gpio = <&gpio4 RK_PC3 GPIO_ACTIVE_LOW>;
224         snps,reset-active-low;
225         snps,reset-delays-us = <0 10000 100000>;
226
227         status = "okay";
228 };
229
230 &gpio1 {
231         mdot2e-w-disable1-n-hog {
232                 gpios = <RK_PB1 GPIO_ACTIVE_LOW>;
233                 output-low;
234                 line-name = "m.2 E-key W_DISABLE1#";
235                 gpio-hog;
236         };
237 };
238
239 &gpio4 {
240         mdot2e-w-disable2-n-hog {
241                 gpios = <RK_PC1 GPIO_ACTIVE_LOW>;
242                 output-low;
243                 line-name = "m.2 E-key W_DISABLE2#";
244                 gpio-hog;
245         };
246 };
247
248 &i2c0 {
249         pinctrl-0 = <&i2c0m2_xfer>;
250         status = "okay";
251
252         fan@18 {
253                 compatible = "ti,amc6821";
254                 reg = <0x18>;
255         };
256
257         vdd_npu_s0: regulator@42 {
258                 compatible = "rockchip,rk8602";
259                 reg = <0x42>;
260                 fcs,suspend-voltage-selector = <1>;
261                 regulator-name = "vdd_npu_s0";
262                 regulator-always-on;
263                 regulator-boot-on;
264                 regulator-min-microvolt = <550000>;
265                 regulator-max-microvolt = <950000>;
266                 regulator-ramp-delay = <2300>;
267                 vin-supply = <&vcc5v0_sys>;
268
269                 regulator-state-mem {
270                         regulator-off-in-suspend;
271                 };
272         };
273
274         vdd_cpu_big1_s0: regulator@43 {
275                 compatible = "rockchip,rk8603", "rockchip,rk8602";
276                 reg = <0x43>;
277                 fcs,suspend-voltage-selector = <1>;
278                 regulator-name = "vdd_cpu_big1_s0";
279                 regulator-always-on;
280                 regulator-boot-on;
281                 regulator-min-microvolt = <550000>;
282                 regulator-max-microvolt = <1050000>;
283                 regulator-ramp-delay = <2300>;
284                 vin-supply = <&vcc5v0_sys>;
285
286                 regulator-state-mem {
287                         regulator-off-in-suspend;
288                 };
289         };
290
291         rtc_twi: rtc@6f {
292                 compatible = "isil,isl1208";
293                 reg = <0x6f>;
294         };
295 };
296
297 &i2c1 {
298         pinctrl-0 = <&i2c1m4_xfer>;
299 };
300
301 &i2c6 {
302         pinctrl-0 = <&i2c6m4_xfer>;
303 };
304
305 &i2c7 {
306         status = "okay";
307
308         /* SE050 Secure Element at 0x48; GPIO1_A4 for enable pin */
309
310         /* Also on 0x55 */
311         eeprom@54 {
312                 compatible = "st,24c04", "atmel,24c04";
313                 reg = <0x54>;
314                 pagesize = <16>;
315                 vcc-supply = <&vcc_3v3_s3>;
316         };
317 };
318
319 &i2c8 {
320         pinctrl-0 = <&i2c8m2_xfer>;
321         status = "okay";
322
323         vdd_cpu_big0_s0: regulator@42 {
324                 compatible = "rockchip,rk8602";
325                 reg = <0x42>;
326                 fcs,suspend-voltage-selector = <1>;
327                 regulator-name = "vdd_cpu_big0_s0";
328                 regulator-always-on;
329                 regulator-boot-on;
330                 regulator-min-microvolt = <550000>;
331                 regulator-max-microvolt = <1050000>;
332                 regulator-ramp-delay = <2300>;
333                 vin-supply = <&vcc5v0_sys>;
334
335                 regulator-state-mem {
336                         regulator-off-in-suspend;
337                 };
338         };
339 };
340
341 &mdio0 {
342         rgmii_phy: ethernet-phy@6 {
343                 /* KSZ9031 or KSZ9131 */
344                 compatible = "ethernet-phy-ieee802.3-c22";
345                 reg = <0x6>;
346                 clocks = <&cru REFCLKO25M_ETH0_OUT>;
347         };
348 };
349
350 &pcie2x1l0 {
351         reset-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>; /* WIFI_PERST0# */
352         vpcie3v3-supply = <&vcc3v3_mdot2>;
353         status = "okay";
354 };
355
356 &pinctrl {
357         emmc {
358                 emmc_reset: emmc-reset {
359                         rockchip,pins = <2 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
360                 };
361         };
362
363         ethernet {
364                 eth_reset: eth-reset {
365                         rockchip,pins = <4 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>;
366                 };
367         };
368
369         leds {
370                 led1_pin: led1-pin {
371                         rockchip,pins = <1 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
372                 };
373         };
374 };
375
376 &saradc {
377         vref-supply = <&vcc_1v8_s0>;
378         status = "okay";
379 };
380
381 &sdhci {
382         bus-width = <8>;
383         cap-mmc-highspeed;
384         mmc-ddr-1_8v;
385         mmc-hs200-1_8v;
386         mmc-hs400-1_8v;
387         mmc-hs400-enhanced-strobe;
388         mmc-pwrseq = <&emmc_pwrseq>;
389         no-sdio;
390         no-sd;
391         non-removable;
392         pinctrl-names = "default";
393         pinctrl-0 = <&emmc_bus8 &emmc_cmd &emmc_clk &emmc_data_strobe>;
394         supports-cqe;
395         vmmc-supply = <&vcc_3v3_s3>;
396         vqmmc-supply = <&vcc_1v8_s3>;
397         status = "okay";
398 };
399
400 &sdmmc {
401         broken-cd;
402         bus-width = <4>;
403         cap-sd-highspeed;
404         disable-wp;
405         max-frequency = <150000000>;
406         pinctrl-names = "default";
407         pinctrl-0 = <&sdmmc_bus4 &sdmmc_cmd &sdmmc_clk>;
408         sd-uhs-sdr12;
409         sd-uhs-sdr25;
410         sd-uhs-sdr50;
411         sd-uhs-ddr50;
412         sd-uhs-sdr104;
413         vmmc-supply = <&vcc_3v3_s3>;
414         vqmmc-supply = <&vccio_sd_s0>;
415         status = "okay";
416 };
417
418 &spi2 {
419         assigned-clocks = <&cru CLK_SPI2>;
420         assigned-clock-rates = <200000000>;
421         num-cs = <1>;
422         pinctrl-names = "default";
423         pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>;
424         status = "okay";
425
426         pmic@0 {
427                 compatible = "rockchip,rk806";
428                 reg = <0x0>;
429                 interrupt-parent = <&gpio0>;
430                 interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
431                 gpio-controller;
432                 #gpio-cells = <2>;
433                 pinctrl-names = "default";
434                 pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
435                             <&rk806_dvs2_null>, <&rk806_dvs3_null>;
436                 spi-max-frequency = <1000000>;
437                 system-power-controller;
438                 vcc1-supply = <&vcc5v0_sys>;
439                 vcc2-supply = <&vcc5v0_sys>;
440                 vcc3-supply = <&vcc5v0_sys>;
441                 vcc4-supply = <&vcc5v0_sys>;
442                 vcc5-supply = <&vcc5v0_sys>;
443                 vcc6-supply = <&vcc5v0_sys>;
444                 vcc7-supply = <&vcc5v0_sys>;
445                 vcc8-supply = <&vcc5v0_sys>;
446                 vcc9-supply = <&vcc5v0_sys>;
447                 vcc10-supply = <&vcc5v0_sys>;
448                 vcc11-supply = <&vcc_2v0_pldo_s3>;
449                 vcc12-supply = <&vcc5v0_sys>;
450                 vcc13-supply = <&vcc_1v1_nldo_s3>;
451                 vcc14-supply = <&vcc_1v1_nldo_s3>;
452                 vcca-supply = <&vcc5v0_sys>;
453
454                 rk806_dvs1_null: dvs1-null-pins {
455                         pins = "gpio_pwrctrl2";
456                         function = "pin_fun0";
457                 };
458
459                 rk806_dvs2_null: dvs2-null-pins {
460                         pins = "gpio_pwrctrl2";
461                         function = "pin_fun0";
462                 };
463
464                 rk806_dvs3_null: dvs3-null-pins {
465                         pins = "gpio_pwrctrl3";
466                         function = "pin_fun0";
467                 };
468
469                 regulators {
470                         vdd_gpu_s0: dcdc-reg1 {
471                                 regulator-boot-on;
472                                 regulator-min-microvolt = <550000>;
473                                 regulator-max-microvolt = <950000>;
474                                 regulator-ramp-delay = <12500>;
475                                 regulator-name = "vdd_gpu_s0";
476                                 regulator-enable-ramp-delay = <400>;
477
478                                 regulator-state-mem {
479                                         regulator-off-in-suspend;
480                                 };
481                         };
482
483                         vdd_cpu_lit_s0: dcdc-reg2 {
484                                 regulator-name = "vdd_cpu_lit_s0";
485                                 regulator-always-on;
486                                 regulator-boot-on;
487                                 regulator-min-microvolt = <550000>;
488                                 regulator-max-microvolt = <950000>;
489                                 regulator-ramp-delay = <12500>;
490
491                                 regulator-state-mem {
492                                         regulator-off-in-suspend;
493                                 };
494                         };
495
496                         vdd_log_s0: dcdc-reg3 {
497                                 regulator-name = "vdd_log_s0";
498                                 regulator-always-on;
499                                 regulator-boot-on;
500                                 regulator-min-microvolt = <675000>;
501                                 regulator-max-microvolt = <750000>;
502                                 regulator-ramp-delay = <12500>;
503
504                                 regulator-state-mem {
505                                         regulator-off-in-suspend;
506                                         regulator-suspend-microvolt = <750000>;
507                                 };
508                         };
509
510                         vdd_vdenc_s0: dcdc-reg4 {
511                                 regulator-name = "vdd_vdenc_s0";
512                                 regulator-always-on;
513                                 regulator-boot-on;
514                                 regulator-min-microvolt = <550000>;
515                                 regulator-max-microvolt = <950000>;
516                                 regulator-ramp-delay = <12500>;
517
518                                 regulator-state-mem {
519                                         regulator-off-in-suspend;
520                                 };
521                         };
522
523                         vdd_ddr_s0: dcdc-reg5 {
524                                 regulator-name = "vdd_ddr_s0";
525                                 regulator-always-on;
526                                 regulator-boot-on;
527                                 regulator-min-microvolt = <675000>;
528                                 regulator-max-microvolt = <900000>;
529                                 regulator-ramp-delay = <12500>;
530
531                                 regulator-state-mem {
532                                         regulator-off-in-suspend;
533                                         regulator-suspend-microvolt = <850000>;
534                                 };
535                         };
536
537                         vdd2_ddr_s3: dcdc-reg6 {
538                                 regulator-name = "vdd2_ddr_s3";
539                                 regulator-always-on;
540                                 regulator-boot-on;
541
542                                 regulator-state-mem {
543                                         regulator-on-in-suspend;
544                                 };
545                         };
546
547                         vcc_2v0_pldo_s3: dcdc-reg7 {
548                                 regulator-name = "vdd_2v0_pldo_s3";
549                                 regulator-always-on;
550                                 regulator-boot-on;
551                                 regulator-min-microvolt = <2000000>;
552                                 regulator-max-microvolt = <2000000>;
553                                 regulator-ramp-delay = <12500>;
554
555                                 regulator-state-mem {
556                                         regulator-on-in-suspend;
557                                         regulator-suspend-microvolt = <2000000>;
558                                 };
559                         };
560
561                         vcc_3v3_s3: dcdc-reg8 {
562                                 regulator-name = "vcc_3v3_s3";
563                                 regulator-always-on;
564                                 regulator-boot-on;
565                                 regulator-min-microvolt = <3300000>;
566                                 regulator-max-microvolt = <3300000>;
567
568                                 regulator-state-mem {
569                                         regulator-on-in-suspend;
570                                         regulator-suspend-microvolt = <3300000>;
571                                 };
572                         };
573
574                         vddq_ddr_s0: dcdc-reg9 {
575                                 regulator-name = "vddq_ddr_s0";
576                                 regulator-always-on;
577                                 regulator-boot-on;
578
579                                 regulator-state-mem {
580                                         regulator-off-in-suspend;
581                                 };
582                         };
583
584                         vcc_1v8_s3: dcdc-reg10 {
585                                 regulator-name = "vcc_1v8_s3";
586                                 regulator-always-on;
587                                 regulator-boot-on;
588                                 regulator-min-microvolt = <1800000>;
589                                 regulator-max-microvolt = <1800000>;
590
591                                 regulator-state-mem {
592                                         regulator-on-in-suspend;
593                                         regulator-suspend-microvolt = <1800000>;
594                                 };
595                         };
596
597                         vcca_1v8_s0: pldo-reg1 {
598                                 regulator-name = "vcca_1v8_s0";
599                                 regulator-always-on;
600                                 regulator-boot-on;
601                                 regulator-min-microvolt = <1800000>;
602                                 regulator-max-microvolt = <1800000>;
603
604                                 regulator-state-mem {
605                                         regulator-off-in-suspend;
606                                 };
607                         };
608
609                         vcc_1v8_s0: pldo-reg2 {
610                                 regulator-name = "vcc_1v8_s0";
611                                 regulator-always-on;
612                                 regulator-boot-on;
613                                 regulator-min-microvolt = <1800000>;
614                                 regulator-max-microvolt = <1800000>;
615
616                                 regulator-state-mem {
617                                         regulator-off-in-suspend;
618                                         regulator-suspend-microvolt = <1800000>;
619                                 };
620                         };
621
622                         vdda_1v2_s0: pldo-reg3 {
623                                 regulator-name = "vdda_1v2_s0";
624                                 regulator-always-on;
625                                 regulator-boot-on;
626                                 regulator-min-microvolt = <1200000>;
627                                 regulator-max-microvolt = <1200000>;
628
629                                 regulator-state-mem {
630                                         regulator-off-in-suspend;
631                                 };
632                         };
633
634                         vcca_3v3_s0: pldo-reg4 {
635                                 regulator-name = "vcca_3v3_s0";
636                                 regulator-always-on;
637                                 regulator-boot-on;
638                                 regulator-min-microvolt = <3300000>;
639                                 regulator-max-microvolt = <3300000>;
640                                 regulator-ramp-delay = <12500>;
641
642                                 regulator-state-mem {
643                                         regulator-off-in-suspend;
644                                 };
645                         };
646
647                         vccio_sd_s0: pldo-reg5 {
648                                 regulator-name = "vccio_sd_s0";
649                                 regulator-always-on;
650                                 regulator-boot-on;
651                                 regulator-min-microvolt = <1800000>;
652                                 regulator-max-microvolt = <3300000>;
653                                 regulator-ramp-delay = <12500>;
654
655                                 regulator-state-mem {
656                                         regulator-off-in-suspend;
657                                 };
658                         };
659
660                         pldo6_s3: pldo-reg6 {
661                                 regulator-name = "pldo6_s3";
662                                 regulator-always-on;
663                                 regulator-boot-on;
664                                 regulator-min-microvolt = <1800000>;
665                                 regulator-max-microvolt = <1800000>;
666
667                                 regulator-state-mem {
668                                         regulator-on-in-suspend;
669                                         regulator-suspend-microvolt = <1800000>;
670                                 };
671                         };
672
673                         vdd_0v75_s3: nldo-reg1 {
674                                 regulator-name = "vdd_0v75_s3";
675                                 regulator-always-on;
676                                 regulator-boot-on;
677                                 regulator-min-microvolt = <750000>;
678                                 regulator-max-microvolt = <750000>;
679
680                                 regulator-state-mem {
681                                         regulator-on-in-suspend;
682                                         regulator-suspend-microvolt = <750000>;
683                                 };
684                         };
685
686                         vdda_ddr_pll_s0: nldo-reg2 {
687                                 regulator-name = "vdda_ddr_pll_s0";
688                                 regulator-always-on;
689                                 regulator-boot-on;
690                                 regulator-min-microvolt = <850000>;
691                                 regulator-max-microvolt = <850000>;
692
693                                 regulator-state-mem {
694                                         regulator-off-in-suspend;
695                                         regulator-suspend-microvolt = <850000>;
696                                 };
697                         };
698
699                         vdda_0v75_s0: nldo-reg3 {
700                                 regulator-name = "vdda_0v75_s0";
701                                 regulator-always-on;
702                                 regulator-boot-on;
703                                 regulator-min-microvolt = <750000>;
704                                 regulator-max-microvolt = <750000>;
705
706                                 regulator-state-mem {
707                                         regulator-off-in-suspend;
708                                 };
709                         };
710
711                         vdda_0v85_s0: nldo-reg4 {
712                                 regulator-name = "vdda_0v85_s0";
713                                 regulator-always-on;
714                                 regulator-boot-on;
715                                 regulator-min-microvolt = <850000>;
716                                 regulator-max-microvolt = <850000>;
717
718                                 regulator-state-mem {
719                                         regulator-off-in-suspend;
720                                 };
721                         };
722
723                         vdd_0v75_s0: nldo-reg5 {
724                                 regulator-name = "vdd_0v75_s0";
725                                 regulator-always-on;
726                                 regulator-boot-on;
727                                 regulator-min-microvolt = <750000>;
728                                 regulator-max-microvolt = <750000>;
729
730                                 regulator-state-mem {
731                                         regulator-off-in-suspend;
732                                 };
733                         };
734                 };
735         };
736 };
737
738 &tsadc {
739         status = "okay";
740 };
741
742 &u2phy2 {
743         status = "okay";
744 };
745
746 &u2phy2_host {
747         phy-supply = <&vcc_5v0_usb_a>;
748         status = "okay";
749 };
750
751 &u2phy3 {
752         status = "okay";
753 };
754
755 &u2phy3_host {
756         status = "okay";
757 };
758
759 /* Mule-ATtiny debug UART; typically baudrate 9600 */
760 &uart0 {
761         pinctrl-0 = <&uart0m0_xfer>;
762         status = "okay";
763 };
764
765 /* Main debug interface on P20 micro-USB B port and P21 header */
766 &uart2 {
767         pinctrl-0 = <&uart2m0_xfer>;
768         status = "okay";
769 };
770
771 /* RS485 on P19 */
772 &uart3 {
773         pinctrl-0 = <&uart3m2_xfer &uart3_rtsn>;
774         linux,rs485-enabled-at-boot-time;
775         status = "okay";
776 };
777
778 /* Mule-ATtiny UPDI flashing UART */
779 &uart7 {
780         pinctrl-0 = <&uart7m0_xfer>;
781         status = "okay";
782 };
783
784 /* host0 on P10 USB-A */
785 &usb_host0_ehci {
786         status = "okay";
787 };
788
789 /* host0 on P10 USB-A */
790 &usb_host0_ohci {
791         status = "okay";
792 };
793
794 /* host1 on M.2 E-key */
795 &usb_host1_ehci {
796         status = "okay";
797 };
798
799 /* host1 on M.2 E-key */
800 &usb_host1_ohci {
801         status = "okay";
802 };