Lines Matching +full:pull +full:- +full:up +full:- +full:strength
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
7 /dts-v1/;
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/leds/common.h>
15 #include <dt-bindings/pinctrl/mt8195-pinfunc.h>
16 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h>
17 #include <dt-bindings/spmi/spmi.h>
20 model = "Kontron 3.5\"-SBC-i1200";
21 compatible = "kontron,3-5-sbc-i1200", "mediatek,mt8395", "mediatek,mt8195";
34 stdout-path = "serial0:115200n8";
39 compatible = "linaro,optee-tz";
44 gpio-keys {
45 compatible = "gpio-keys";
46 pinctrl-names = "default";
47 pinctrl-0 = <&gpio_keys_pins>;
49 key-0 {
53 wakeup-source;
54 debounce-interval = <15>;
59 compatible = "gpio-leds";
60 pinctrl-names = "default";
61 pinctrl-0 = <&led_pins>;
63 led-0 {
65 default-state = "keep";
76 vsys: regulator-vsys {
77 compatible = "regulator-fixed";
78 regulator-name = "vsys";
79 regulator-always-on;
80 regulator-boot-on;
81 regulator-min-microvolt = <5000000>;
82 regulator-max-microvolt = <5000000>;
85 reserved-memory {
86 #address-cells = <2>;
87 #size-cells = <2>;
91 * 12 MiB reserved for OP-TEE (BL32)
92 * +-----------------------+ 0x43e0_0000
94 * +-----------------------+ 0x43c0_0000
96 * + TZDRAM +--------------+ 0x4340_0000
98 * +-----------------------+ 0x4320_0000
101 no-map;
106 compatible = "shared-dma-pool";
108 no-map;
112 compatible = "shared-dma-pool";
118 no-map;
123 compatible = "shared-dma-pool";
125 no-map;
129 compatible = "shared-dma-pool";
134 thermal_sensor0: thermal-sensor-0 {
135 compatible = "generic-adc-thermal";
136 #thermal-sensor-cells = <0>;
137 io-channels = <&auxadc 0>;
138 io-channel-names = "sensor-channel";
139 temperature-lookup-table = <(-25000) 1474
140 (-20000) 1374
141 (-15000) 1260
142 (-10000) 1134
143 (-5000) 1004
177 thermal_sensor1: thermal-sensor-1 {
178 compatible = "generic-adc-thermal";
179 #thermal-sensor-cells = <0>;
180 io-channels = <&auxadc 1>;
181 io-channel-names = "sensor-channel";
182 temperature-lookup-table = <(-25000) 1474
183 (-20000) 1374
184 (-15000) 1260
185 (-10000) 1134
186 (-5000) 1004
220 thermal_sensor2: thermal-sensor-2 {
221 compatible = "generic-adc-thermal";
222 #thermal-sensor-cells = <0>;
223 io-channels = <&auxadc 2>;
224 io-channel-names = "sensor-channel";
225 temperature-lookup-table = <(-25000) 1474
226 (-20000) 1374
227 (-15000) 1260
228 (-10000) 1134
229 (-5000) 1004
269 phy-mode ="rgmii-id";
270 phy-handle = <ðernet_phy0>;
271 pinctrl-names = "default", "sleep";
272 pinctrl-0 = <ð_default_pins>;
273 pinctrl-1 = <ð_sleep_pins>;
274 mediatek,mac-wol;
278 ethernet_phy0: ethernet-phy@1 {
279 compatible = "ethernet-phy-id001c.c916";
281 interrupts-extended = <&pio 94 IRQ_TYPE_LEVEL_LOW>;
282 reset-assert-us = <10000>;
283 reset-deassert-us = <80000>;
284 reset-gpios = <&pio 93 GPIO_ACTIVE_HIGH>;
291 mali-supply = <&mt6315_7_vbuck1>;
296 pinctrl-names = "default";
297 pinctrl-0 = <&i2c0_pins>;
298 clock-frequency = <100000>;
304 pinctrl-names = "default";
305 pinctrl-0 = <&i2c1_pins>;
306 clock-frequency = <100000>;
311 pinctrl-names = "default";
312 pinctrl-0 = <&i2c2_pins>;
313 clock-frequency = <400000>;
321 pinctrl-names = "default";
322 pinctrl-0 = <&i2c3_pins>;
323 clock-frequency = <100000>;
329 clock-frequency = <100000>;
330 pinctrl-0 = <&i2c4_pins>;
331 pinctrl-names = "default";
336 clock-frequency = <400000>;
337 pinctrl-0 = <&i2c6_pins>;
338 pinctrl-names = "default";
344 interrupt-controller;
345 interrupts-extended = <&pio 101 IRQ_TYPE_EDGE_FALLING>;
346 interrupt-names = "IRQB";
347 #interrupt-cells = <1>;
350 compatible = "mediatek,mt6360-regulator";
351 LDO_VIN1-supply = <&vsys>;
352 LDO_VIN2-supply = <&vsys>;
353 LDO_VIN3-supply = <&vsys>;
356 regulator-name = "emi_vdd2";
357 regulator-min-microvolt = <600000>;
358 regulator-max-microvolt = <1800000>;
359 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
362 regulator-always-on;
366 regulator-name = "emi_vddq";
367 regulator-min-microvolt = <300000>;
368 regulator-max-microvolt = <1300000>;
369 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
372 regulator-always-on;
376 regulator-name = "mt6360_ldo1"; /* Test point */
377 regulator-min-microvolt = <1200000>;
378 regulator-max-microvolt = <3600000>;
379 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
384 regulator-name = "panel1_p1v8";
385 regulator-min-microvolt = <1800000>;
386 regulator-max-microvolt = <1800000>;
387 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
392 regulator-name = "vmc_pmu";
393 regulator-min-microvolt = <1800000>;
394 regulator-max-microvolt = <3300000>;
395 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
400 regulator-name = "vmch_pmu";
401 regulator-min-microvolt = <3300000>;
402 regulator-max-microvolt = <3300000>;
403 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
408 regulator-name = "mt6360_ldo6"; /* Test point */
409 regulator-min-microvolt = <500000>;
410 regulator-max-microvolt = <2100000>;
411 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
416 regulator-name = "emi_vmddr_en";
417 regulator-min-microvolt = <1800000>;
418 regulator-max-microvolt = <1800000>;
419 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
421 regulator-always-on;
428 pinctrl-names = "default", "state_uhs";
429 pinctrl-0 = <&mmc0_default_pins>;
430 pinctrl-1 = <&mmc0_uhs_pins>;
431 bus-width = <8>;
432 max-frequency = <200000000>;
433 hs400-ds-delay = <0x14c11>;
434 cap-mmc-highspeed;
435 cap-mmc-hw-reset;
436 mmc-hs200-1_8v;
437 mmc-hs400-1_8v;
438 no-sdio;
439 no-sd;
440 non-removable;
441 vmmc-supply = <&mt6359_vemc_1_ldo_reg>;
442 vqmmc-supply = <&mt6359_vufs_ldo_reg>;
447 pinctrl-names = "default", "state_uhs";
448 pinctrl-0 = <&mmc1_default_pins>, <&mmc1_detect_pins>;
449 pinctrl-1 = <&mmc1_default_pins>;
450 cd-gpios = <&pio 129 GPIO_ACTIVE_LOW>;
451 bus-width = <4>;
452 max-frequency = <200000000>;
453 cap-sd-highspeed;
454 sd-uhs-sdr50;
455 sd-uhs-sdr104;
456 no-mmc;
457 vmmc-supply = <&mt6360_ldo5>;
458 vqmmc-supply = <&mt6360_ldo3>;
463 regulator-always-on;
467 regulator-always-on;
471 regulator-always-on;
475 regulator-always-on;
479 regulator-always-on;
483 regulator-always-on;
487 regulator-always-on;
491 regulator-always-on;
495 regulator-always-on;
499 pinctrl-names = "default";
500 pinctrl-0 = <&nor_pins_default>;
504 compatible = "jedec,spi-nor";
506 spi-max-frequency = <52000000>;
507 spi-rx-bus-width = <2>;
508 spi-tx-bus-width = <2>;
513 pinctrl-names = "default";
514 pinctrl-0 = <&pcie0_pins_default>;
519 pinctrl-names = "default";
520 pinctrl-0 = <&pcie1_pins_default>;
529 eth_default_pins: eth-default-pins {
530 pins-txd {
535 drive-strength = <8>;
538 pins-rxd {
545 pins-cc {
550 drive-strength = <8>;
553 pins-mdio {
556 input-enable;
559 pins-power {
562 output-high;
565 pins-reset {
567 output-high;
570 pins-interrupt {
572 input-enable;
576 eth_sleep_pins: eth-sleep-pins {
577 pins-txd {
584 pins-cc {
591 pins-rxd {
598 pins-mdio {
601 input-disable;
602 bias-disable;
606 gpio_keys_pins: gpio-keys-pins {
609 input-enable;
613 i2c0_pins: i2c0-pins {
617 bias-pull-up = <MTK_PULL_SET_RSEL_111>;
618 drive-strength-microamp = <1000>;
622 i2c1_pins: i2c1-pins {
626 bias-pull-up = <MTK_PULL_SET_RSEL_111>;
627 drive-strength-microamp = <1000>;
631 i2c2_pins: i2c2-default-pins {
632 pins-bus {
635 bias-pull-up = <MTK_PULL_SET_RSEL_111>;
636 drive-strength-microamp = <1000>;
640 i2c3_pins: i2c3-pins {
644 bias-pull-up = <MTK_PULL_SET_RSEL_111>;
645 drive-strength-microamp = <1000>;
649 i2c4_pins: i2c4-pins {
653 bias-pull-up = <MTK_PULL_SET_RSEL_111>;
654 drive-strength-microamp = <1000>;
658 i2c6_pins: i2c6-pins {
662 bias-pull-up;
663 drive-strength-microamp = <1000>;
667 mmc0_default_pins: mmc0-default-pins {
668 pins-clk {
670 drive-strength = <6>;
671 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
674 pins-cmd-dat {
684 input-enable;
685 drive-strength = <6>;
686 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
689 pins-rst {
691 drive-strength = <6>;
692 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
696 mmc0_uhs_pins: mmc0-uhs-pins {
697 pins-clk {
699 drive-strength = <8>;
700 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
703 pins-cmd-dat {
713 input-enable;
714 drive-strength = <8>;
715 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
718 pins-ds {
720 drive-strength = <8>;
721 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
724 pins-rst {
726 drive-strength = <8>;
727 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
731 mmc1_default_pins: mmc1-default-pins {
732 pins-clk {
734 drive-strength = <8>;
735 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
738 pins-cmd-dat {
744 input-enable;
745 drive-strength = <8>;
746 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
750 mmc1_detect_pins: mmc1-detect-pins {
751 pins-insert {
753 bias-pull-up;
757 nor_pins_default: nor-default-pins {
758 pins-ck-io {
762 drive-strength = <6>;
763 bias-pull-down;
766 pins-cs {
768 drive-strength = <6>;
769 bias-pull-up;
773 pcie0_pins_default: pcie0-default-pins {
774 pins-bus {
778 bias-pull-up;
782 pcie1_pins_default: pcie1-default-pins {
783 pins-bus {
787 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
791 led_pins: led-pins {
792 pins-power-en {
794 output-high;
798 spi0_pins: spi0-default-pins {
799 pins-cs-mosi-clk {
803 bias-disable;
806 pins-miso {
808 bias-pull-down;
812 spi1_pins: spi1-default-pins {
813 pins-cs-mosi-clk {
817 bias-disable;
820 pins-miso {
822 bias-pull-down;
826 uart0_pins: uart0-pins {
827 pins-rx {
829 input-enable;
830 bias-pull-up;
833 pins-tx {
838 uart1_pins: uart1-pins {
839 pins-rx {
841 input-enable;
842 bias-pull-up;
845 pins-tx {
849 pins-rts {
853 pins-cts {
855 input-enable;
859 uart2_pins: uart2-pins {
860 pins-rx {
862 input-enable;
863 bias-pull-up;
866 pins-tx {
870 pins-rts {
874 pins-cts {
876 input-enable;
880 uart3_pins: uart3-pins {
881 pins-rx {
883 input-enable;
884 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
887 pins-tx {
892 uart4_pins: uart4-pins {
893 pins-rx {
895 input-enable;
896 bias-pull-up;
899 pins-tx {
906 interrupts-extended = <&pio 222 IRQ_TYPE_LEVEL_HIGH>;
910 memory-region = <&scp_mem>;
911 firmware-name = "mediatek/mt8195/scp.img";
916 #address-cells = <2>;
917 #size-cells = <0>;
920 compatible = "mediatek,mt6315-regulator";
925 regulator-name = "Vbcpu";
926 regulator-min-microvolt = <300000>;
927 regulator-max-microvolt = <1193750>;
928 regulator-enable-ramp-delay = <256>;
929 regulator-ramp-delay = <6250>;
930 regulator-allowed-modes = <0 1 2>;
931 regulator-always-on;
937 compatible = "mediatek,mt6315-regulator";
942 regulator-name = "Vgpu";
943 regulator-min-microvolt = <625000>;
944 regulator-max-microvolt = <1193750>;
945 regulator-enable-ramp-delay = <256>;
946 regulator-ramp-delay = <6250>;
947 regulator-allowed-modes = <0 1 2>;
948 regulator-always-on;
957 vusb33-supply = <&mt6359_vusb_ldo_reg>;
961 /* USB2.0 M.2 Key-E */
963 vusb33-supply = <&mt6359_vusb_ldo_reg>;
967 /* USB2.0 to on-board usb hub */
969 vusb33-supply = <&mt6359_vusb_ldo_reg>;
974 pinctrl-names = "default";
975 pinctrl-0 = <&spi0_pins>;
976 mediatek,pad-select = <0>;
980 compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
982 spi-max-frequency = <18500000>;
988 pinctrl-names = "default";
989 pinctrl-0 = <&spi1_pins>;
990 mediatek,pad-select = <0>;
995 cpu-thermal {
996 polling-delay = <1000>; /* milliseconds */
997 polling-delay-passive = <0>; /* milliseconds */
998 thermal-sensors = <&thermal_sensor0>;
1001 trip-alert {
1007 trip-crit {
1015 pcb-top-thermal {
1016 polling-delay = <1000>; /* milliseconds */
1017 polling-delay-passive = <0>; /* milliseconds */
1018 thermal-sensors = <&thermal_sensor1>;
1021 trip-alert {
1027 trip-crit {
1035 pcb-bottom-thermal {
1036 polling-delay = <1000>; /* milliseconds */
1037 polling-delay-passive = <0>; /* milliseconds */
1038 thermal-sensors = <&thermal_sensor2>;
1041 trip-alert {
1047 trip-crit {
1057 pinctrl-names = "default";
1058 pinctrl-0 = <&uart0_pins>;
1063 pinctrl-names = "default";
1064 pinctrl-0 = <&uart1_pins>;
1065 uart-has-rtscts;
1070 pinctrl-names = "default";
1071 pinctrl-0 = <&uart2_pins>;
1072 uart-has-rtscts;
1077 pinctrl-names = "default";
1078 pinctrl-0 = <&uart3_pins>;
1083 pinctrl-names = "default";
1084 pinctrl-0 = <&uart4_pins>;
1113 /* USB2.0 M.2 Key-B */
1116 vusb33-supply = <&mt6359_vusb_ldo_reg>;
1117 mediatek,u3p-dis-msk = <0x01>;
1121 /* USB2.0 M.2 Key-E */
1126 /* USB2.0 to on-board usb hub */