Lines Matching +full:usb +full:- +full:dc +full:- +full:dis
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/pinctrl/mt8195-pinfunc.h>
13 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h>
14 #include <dt-bindings/spmi/spmi.h>
15 #include <dt-bindings/usb/pd.h>
19 chassis-type = "embedded";
20 compatible = "radxa,nio-12l", "mediatek,mt8395", "mediatek,mt8195";
36 stdout-path = "serial0:921600n8";
41 compatible = "linaro,optee-tz";
51 wifi_vreg: regulator-wifi-3v3-en {
52 compatible = "regulator-fixed";
53 regulator-name = "wifi_3v3_en";
54 regulator-always-on;
55 regulator-min-microvolt = <3300000>;
56 regulator-max-microvolt = <3300000>;
57 enable-active-high;
59 pinctrl-names = "default";
60 pinctrl-0 = <&wifi_vreg_pins>;
61 vin-supply = <&vsys>;
65 vsys: regulator-vsys {
66 compatible = "regulator-fixed";
67 regulator-name = "vsys";
68 regulator-always-on;
69 regulator-boot-on;
70 regulator-min-microvolt = <5000000>;
71 regulator-max-microvolt = <5000000>;
72 vin-supply = <&vcc5v0_vsys>;
75 vsys_buck: regulator-vsys-buck {
76 compatible = "regulator-fixed";
77 regulator-name = "vsys_buck";
78 regulator-always-on;
79 regulator-boot-on;
80 regulator-min-microvolt = <5000000>;
81 regulator-max-microvolt = <5000000>;
82 vin-supply = <&vcc5v0_vsys>;
85 /* Rail from power-only "TYPE C DC" port */
86 vcc5v0_vsys: regulator-vcc5v0-sys {
87 compatible = "regulator-fixed";
88 regulator-name = "vcc5v0_sys";
89 regulator-always-on;
90 regulator-boot-on;
93 reserved-memory {
94 #address-cells = <2>;
95 #size-cells = <2>;
99 * 12 MiB reserved for OP-TEE (BL32)
100 * +-----------------------+ 0x43e0_0000
102 * +-----------------------+ 0x43c0_0000
104 * + TZDRAM +--------------+ 0x4340_0000
106 * +-----------------------+ 0x4320_0000
110 no-map;
114 compatible = "shared-dma-pool";
116 no-map;
120 compatible = "shared-dma-pool";
127 no-map;
131 compatible = "shared-dma-pool";
133 no-map;
137 compatible = "shared-dma-pool";
144 cpu-supply = <&mt6359_vcore_buck_reg>;
148 cpu-supply = <&mt6359_vcore_buck_reg>;
152 cpu-supply = <&mt6359_vcore_buck_reg>;
156 cpu-supply = <&mt6359_vcore_buck_reg>;
160 cpu-supply = <&mt6315_6_vbuck1>;
164 cpu-supply = <&mt6315_6_vbuck1>;
168 cpu-supply = <&mt6315_6_vbuck1>;
172 cpu-supply = <&mt6315_6_vbuck1>;
176 phy-mode = "rgmii-rxid";
177 phy-handle = <&rgmii_phy>;
178 pinctrl-names = "default", "sleep";
179 pinctrl-0 = <ð_default_pins>;
180 pinctrl-1 = <ð_sleep_pins>;
181 mediatek,tx-delay-ps = <2030>;
182 mediatek,mac-wol;
183 snps,reset-gpio = <&pio 93 GPIO_ACTIVE_HIGH>;
184 snps,reset-delays-us = <0 20000 100000>;
188 rgmii_phy: ethernet-phy@1 {
189 compatible = "ethernet-phy-id001c.c916";
196 mali-supply = <&mt6315_7_vbuck1>;
201 clock-frequency = <400000>;
202 pinctrl-0 = <&i2c2_pins>;
203 pinctrl-names = "default";
206 typec-mux@48 {
210 mode-switch;
211 orientation-switch;
213 vcc-supply = <&mt6359_vibr_ldo_reg>;
217 remote-endpoint = <&typec_con_mux>;
224 clock-frequency = <400000>;
225 pinctrl-0 = <&i2c4_pins>;
226 pinctrl-names = "default";
229 /* I2C4 exposed at 39-pins MIPI-LCD connector */
233 clock-frequency = <400000>;
234 pinctrl-0 = <&i2c6_pins>;
235 pinctrl-names = "default";
241 interrupts-extended = <&pio 101 IRQ_TYPE_EDGE_FALLING>;
242 interrupt-names = "IRQB";
243 interrupt-controller;
244 #interrupt-cells = <1>;
245 pinctrl-0 = <&mt6360_pins>;
248 compatible = "mediatek,mt6360-chg";
249 richtek,vinovp-microvolt = <14500000>;
251 otg_vbus_regulator: usb-otg-vbus-regulator {
252 regulator-name = "usb-otg-vbus";
253 regulator-min-microvolt = <4425000>;
254 regulator-max-microvolt = <5825000>;
259 compatible = "mediatek,mt6360-regulator";
260 LDO_VIN1-supply = <&vsys_buck>;
261 LDO_VIN3-supply = <&mt6360_buck2>;
264 regulator-name = "emi_vdd2";
265 regulator-min-microvolt = <300000>;
266 regulator-max-microvolt = <1300000>;
267 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
270 regulator-always-on;
274 regulator-name = "emi_vddq";
275 regulator-min-microvolt = <300000>;
276 regulator-max-microvolt = <1300000>;
277 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
280 regulator-always-on;
284 regulator-name = "ext_lcd_3v3";
285 regulator-min-microvolt = <3300000>;
286 regulator-max-microvolt = <3300000>;
287 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
289 regulator-always-on;
293 regulator-name = "panel1_p1v8";
294 regulator-min-microvolt = <1800000>;
295 regulator-max-microvolt = <1800000>;
296 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
301 regulator-name = "vmc_pmu";
302 regulator-min-microvolt = <1200000>;
303 regulator-max-microvolt = <3600000>;
304 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
309 regulator-name = "vmch_pmu";
310 regulator-min-microvolt = <3300000>;
311 regulator-max-microvolt = <3300000>;
312 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
314 regulator-always-on;
318 regulator-name = "mt6360_ldo6"; /* Test point */
319 regulator-min-microvolt = <500000>;
320 regulator-max-microvolt = <2100000>;
321 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
326 regulator-name = "emi_vmddr_en";
327 regulator-min-microvolt = <500000>;
328 regulator-max-microvolt = <2100000>;
329 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
331 regulator-always-on;
336 compatible = "mediatek,mt6360-tcpc";
337 interrupts-extended = <&pio 100 IRQ_TYPE_LEVEL_LOW>;
338 interrupt-names = "PD_IRQB";
341 compatible = "usb-c-connector";
342 label = "USB-C";
343 data-role = "dual";
344 op-sink-microwatt = <10000000>;
345 power-role = "dual";
346 try-power-role = "sink";
348 source-pdos = <PDO_FIXED(5000, 1000,
351 sink-pdos = <PDO_FIXED(5000, 3000,
356 #address-cells = <1>;
357 #size-cells = <0>;
362 remote-endpoint = <&mtu3_hs0_role_sw>;
369 remote-endpoint = <&it5205_sbu_mux>;
379 domain-supply = <&mt6315_7_vbuck1>;
383 domain-supply = <&mt6359_vsram_others_ldo_reg>;
388 pinctrl-names = "default", "state_uhs";
389 pinctrl-0 = <&mmc0_default_pins>;
390 pinctrl-1 = <&mmc0_uhs_pins>;
391 bus-width = <8>;
392 max-frequency = <200000000>;
393 hs400-ds-delay = <0x14c11>;
394 cap-mmc-highspeed;
395 cap-mmc-hw-reset;
396 mmc-hs200-1_8v;
397 mmc-hs400-1_8v;
398 no-sdio;
399 no-sd;
400 non-removable;
401 vmmc-supply = <&mt6359_vemc_1_ldo_reg>;
402 vqmmc-supply = <&mt6359_vufs_ldo_reg>;
408 pinctrl-names = "default", "state_uhs";
409 pinctrl-0 = <&mmc1_default_pins>, <&mmc1_pins_detect>;
410 pinctrl-1 = <&mmc1_default_pins>;
411 bus-width = <4>;
412 max-frequency = <200000000>;
413 cap-sd-highspeed;
414 cd-gpios = <&pio 129 GPIO_ACTIVE_LOW>;
415 no-mmc;
416 no-sdio;
417 sd-uhs-sdr50;
418 sd-uhs-sdr104;
419 vmmc-supply = <&mt6360_ldo5>;
420 vqmmc-supply = <&mt6360_ldo3>;
425 regulator-always-on;
429 regulator-always-on;
432 /* For USB Hub */
434 regulator-always-on;
438 regulator-min-microvolt = <3300000>;
439 regulator-max-microvolt = <3300000>;
443 regulator-always-on;
447 regulator-always-on;
451 regulator-always-on;
455 regulator-always-on;
459 regulator-always-on;
463 regulator-always-on;
467 regulator-always-on;
472 regulator-min-microvolt = <750000>;
473 regulator-max-microvolt = <750000>;
477 mediatek,rsel-resistance-in-si-unit;
479 eth_default_pins: eth-default-pins {
480 pins-cc {
485 drive-strength = <8>;
488 pins-mdio {
491 input-enable;
494 pins-power {
497 output-high;
500 pins-rst {
504 pins-rxd {
511 pins-txd {
516 drive-strength = <8>;
520 eth_sleep_pins: eth-sleep-pins {
521 pins-cc {
528 pins-mdio {
531 bias-disable;
532 input-disable;
535 pins-rxd {
542 pins-txd {
550 i2c2_pins: i2c2-pins {
551 pins-bus {
554 bias-pull-up = <1000>;
555 drive-strength = <6>;
556 drive-strength-microamp = <1000>;
560 i2c4_pins: i2c4-pins {
561 pins-bus {
564 bias-pull-up = <1000>;
565 drive-strength-microamp = <1000>;
569 i2c6_pins: i2c6-pins {
573 bias-disable;
577 mmc0_default_pins: mmc0-default-pins {
578 pins-clk {
580 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
581 drive-strength = <6>;
584 pins-cmd-dat {
594 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
595 drive-strength = <6>;
596 input-enable;
599 pins-rst {
601 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
602 drive-strength = <6>;
606 mmc0_uhs_pins: mmc0-uhs-pins {
607 pins-clk {
609 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
610 drive-strength = <8>;
613 pins-cmd-dat {
623 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
624 drive-strength = <8>;
625 input-enable;
628 pins-ds {
630 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
631 drive-strength = <8>;
634 pins-rst {
636 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
637 drive-strength = <8>;
641 mmc1_default_pins: mmc1-default-pins {
642 pins-clk {
644 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
645 drive-strength = <8>;
648 pins-cmd-dat {
654 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
655 drive-strength = <8>;
656 input-enable;
660 mmc1_pins_detect: mmc1-detect-pins {
661 pins-insert {
663 bias-pull-up;
667 mt6360_pins: mt6360-pins {
668 pins-irq {
671 input-enable;
672 bias-pull-up;
676 pcie0_default_pins: pcie0-default-pins {
677 pins-bus {
681 bias-pull-up;
685 pcie1_default_pins: pcie1-default-pins {
686 pins-bus {
690 bias-disable;
694 spi1_pins: spi1-default-pins {
695 pins-bus {
700 bias-disable;
704 spi2_pins: spi2-default-pins {
705 pins-bus {
710 bias-disable;
714 uart0_pins: uart0-pins {
715 pins-bus {
721 uart1_pins: uart1-pins {
722 pins-bus {
728 usb3_port0_pins: usb3p0-default-pins {
729 pins-vbus {
731 input-enable;
735 usb2_port0_pins: usb2p0-default-pins {
736 pins-iddig {
738 input-enable;
739 bias-pull-up;
742 pins-vbus {
744 output-low;
748 wifi_vreg_pins: wifi-vreg-pins {
749 pins-wifi-pmu-en {
751 output-high;
754 pins-wifi-vreg-en {
761 pinctrl-names = "default";
762 pinctrl-0 = <&pcie0_default_pins>;
767 pinctrl-names = "default";
768 pinctrl-0 = <&pcie1_default_pins>;
777 interrupts-extended = <&pio 222 IRQ_TYPE_LEVEL_HIGH>;
781 memory-region = <&scp_mem>;
787 pinctrl-0 = <&spi1_pins>;
788 pinctrl-names = "default";
789 mediatek,pad-select = <0>;
790 #address-cells = <1>;
791 #size-cells = <0>;
797 pinctrl-0 = <&spi2_pins>;
798 pinctrl-names = "default";
799 mediatek,pad-select = <0>;
800 #address-cells = <1>;
801 #size-cells = <0>;
806 #address-cells = <2>;
807 #size-cells = <0>;
810 compatible = "mediatek,mt6315-regulator";
815 regulator-compatible = "vbuck1";
816 regulator-name = "Vbcpu";
817 regulator-min-microvolt = <300000>;
818 regulator-max-microvolt = <1193750>;
819 regulator-enable-ramp-delay = <256>;
820 regulator-allowed-modes = <0 1 2>;
821 regulator-always-on;
827 compatible = "mediatek,mt6315-regulator";
832 regulator-compatible = "vbuck1";
833 regulator-name = "Vgpu";
834 regulator-min-microvolt = <300000>;
835 regulator-max-microvolt = <1193750>;
836 regulator-enable-ramp-delay = <256>;
837 regulator-allowed-modes = <0 1 2>;
857 pinctrl-0 = <&uart0_pins>;
858 pinctrl-names = "default";
864 pinctrl-0 = <&uart1_pins>;
865 pinctrl-names = "default";
870 pinctrl-names = "default";
871 pinctrl-0 = <&usb3_port0_pins>;
872 role-switch-default-mode = "host";
873 usb-role-switch;
874 vusb33-supply = <&mt6359_vusb_ldo_reg>;
879 remote-endpoint = <&typec_con_hs>;
885 pinctrl-names = "default";
886 pinctrl-0 = <&usb2_port0_pins>;
887 vusb33-supply = <&mt6359_vusb_ldo_reg>;
892 vbus-supply = <&otg_vbus_regulator>;
898 /* MT7921's USB Bluetooth has issues with USB2 LPM */
899 usb2-lpm-disable;
900 vusb33-supply = <&mt6359_vusb_ldo_reg>;
901 vbus-supply = <&vsys>;
902 mediatek,u3p-dis-msk = <1>;
907 vbus-supply = <&vsys>;