Lines Matching +full:i2c +full:- +full:gpio
1 // SPDX-License-Identifier: GPL-2.0
4 /dts-v1/;
5 #include "nuvoton-npcm730.dtsi"
6 #include <dt-bindings/gpio/gpio.h>
10 compatible = "quanta,gbs-bmc","nuvoton,npcm730";
71 stdout-path = &serial0;
78 gpio-keys {
79 compatible = "gpio-keys";
80 sas-cable0 {
81 label = "sas-cable0";
86 sas-cable1 {
87 label = "sas-cable1";
92 sas-cable2 {
93 label = "sas-cable2";
98 sas-cable3 {
99 label = "sas-cable3";
110 hsbp-cable {
111 label = "hsbp-cable";
116 fanbd-cable {
117 label = "fanbd-cable";
122 bp12v-cable {
123 label = "bp12v-cable";
128 pe-slot0 {
129 label = "pe-slot0";
134 pe-slot1 {
135 label = "pe-slot1";
141 iio-hwmon {
142 compatible = "iio-hwmon";
143 io-channels = <&adc 1>, <&adc 2>;
146 iio-hwmon-battery {
147 compatible = "iio-hwmon";
148 io-channels = <&adc 0>;
152 compatible = "gpio-leds";
156 linux,default-trigger = "heartbeat";
161 default-state = "off";
166 default-state = "keep";
167 retain-state-shutdown;
172 default-state = "off";
173 linux,default-trigger = "panic";
174 panic-indicator;
179 default-state = "off";
184 default-state = "off";
189 default-state = "off";
194 default-state = "off";
199 default-state = "off";
204 default-state = "off";
209 default-state = "off";
214 default-state = "off";
219 default-state = "off";
224 default-state = "off";
229 default-state = "off";
234 default-state = "off";
239 default-state = "off";
244 default-state = "off";
249 default-state = "off";
254 default-state = "off";
259 default-state = "off";
264 default-state = "off";
269 default-state = "off";
274 default-state = "off";
279 default-state = "off";
284 default-state = "off";
289 default-state = "off";
294 default-state = "off";
299 default-state = "off";
304 default-state = "off";
309 default-state = "off";
314 default-state = "off";
319 default-state = "off";
324 default-state = "off";
329 default-state = "off";
334 default-state = "off";
339 seven-seg-disp {
340 compatible = "seven-seg-gpio-dev";
341 refresh-interval-ms = /bits/ 16 <600>;
342 clock-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
343 data-gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
344 clear-gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
347 pcie-slot {
348 pcie1: pcie-slot@1 {
351 pcie2: pcie-slot@2 {
358 pinctrl-names = "default";
359 pinctrl-0 = <&spi0cs1_pins>;
362 compatible = "jedec,spi-nor";
363 #address-cells = <1>;
364 #size-cells = <1>;
366 spi-max-frequency = <20000000>;
367 spi-rx-bus-width = <2>;
370 compatible = "fixed-partitions";
371 #address-cells = <1>;
372 #size-cells = <1>;
373 u-boot@0 {
374 label = "u-boot";
377 image-descriptor@f0000 {
378 label = "image-descriptor";
381 hoth-update@100000 {
382 label = "hoth-update";
397 hoth-mailbox@3ff0000 {
398 label = "hoth-mailbox";
406 pinctrl-0 = <&spi3_pins>, <&spi3cs1_pins>;
410 compatible = "jedec,spi-nor";
411 #address-cells = <1>;
412 #size-cells = <1>;
414 spi-max-frequency = <50000000>;
415 spi-rx-bus-width = <2>;
416 m25p,fast-read;
420 compatible = "jedec,spi-nor";
421 #address-cells = <1>;
422 #size-cells = <1>;
424 spi-max-frequency = <50000000>;
425 spi-rx-bus-width = <2>;
426 m25p,fast-read;
431 serial_port_mux: uart-mux-controller {
432 compatible = "mmio-mux";
433 #mux-control-cells = <1>;
434 mux-reg-masks = <0x38 0x07>;
435 idle-states = <2>; /* Serial port mode 3 (takeover) */
438 uart1_mode_mux: uart1-mode-mux-controller {
439 compatible = "mmio-mux";
440 #mux-control-cells = <1>;
441 mux-reg-masks = <0x64 0x01000000>;
442 idle-states = <0>; /* Set UART1 mode to normal (follow SPMOD) */
448 phy-mode = "rgmii-id";
449 snps,eee-force-disable;
481 #io-channel-cells = <1>;
500 cs-gpios = <&gpio4 19 GPIO_ACTIVE_HIGH>; /* dummy - gpio147 */
501 pinctrl-names = "default";
502 pinctrl-0 = <&gpio224ol_pins &gpio227o_pins
507 compatible = "nuvoton,npcm750-jtag-master";
508 spi-max-frequency = <25000000>;
512 pinctrl-names = "pspi", "gpio";
513 pinctrl-0 = <&pspi2_pins>;
514 pinctrl-1 = <&gpio224ol_pins &gpio227o_pins
517 tck-gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>;
518 tdi-gpios = <&gpio7 3 GPIO_ACTIVE_HIGH>;
519 tdo-gpios = <&gpio7 4 GPIO_ACTIVE_HIGH>;
520 tms-gpios = <&gpio7 6 GPIO_ACTIVE_HIGH>;
525 clock-frequency = <100000>;
528 i2c-mux@71 {
530 #address-cells = <1>;
531 #size-cells = <0>;
533 i2c-mux-idle-disconnect;
534 reset-gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
536 i2c0_slotPE0_0: i2c@0 {
537 #address-cells = <1>;
538 #size-cells = <0>;
540 pcie-slot = &pcie1;
543 i2c0_slotPE1_1: i2c@1 {
544 #address-cells = <1>;
545 #size-cells = <0>;
547 pcie-slot = &pcie2;
550 i2c0_slotUSB_2: i2c@2 {
551 #address-cells = <1>;
552 #size-cells = <0>;
556 i2c0_3: i2c@3 {
557 #address-cells = <1>;
558 #size-cells = <0>;
565 clock-frequency = <100000>;
568 pca9535_ifdet: pca9535-ifdet@24 {
571 gpio-controller;
572 #gpio-cells = <2>;
575 pca9535_pwren: pca9535-pwren@20 {
578 gpio-controller;
579 #gpio-cells = <2>;
581 gpio-line-names =
592 pca9535_pwrgd: pca9535-pwrgd@21 {
595 gpio-controller;
596 #gpio-cells = <2>;
599 pca9535_ledlocate: pca9535-ledlocate@22 {
602 gpio-controller;
603 #gpio-cells = <2>;
607 pca9535_ledfault: pca9535-ledfault@23 {
610 gpio-controller;
611 #gpio-cells = <2>;
615 pca9535_pwrdisable: pca9535-pwrdisable@25 {
618 gpio-controller;
619 #gpio-cells = <2>;
621 gpio-line-names =
632 pca9535_perst: pca9535-perst@26 {
635 gpio-controller;
636 #gpio-cells = <2>;
638 gpio-line-names =
651 clock-frequency = <100000>;
661 clock-frequency = <100000>;
669 i2c-mux@71 {
671 #address-cells = <1>;
672 #size-cells = <0>;
674 i2c-mux-idle-disconnect;
676 i2c5_i2cool_0: i2c@0 {
677 #address-cells = <1>;
678 #size-cells = <0>;
687 i2c5_i2cool_1: i2c@1 {
688 #address-cells = <1>;
689 #size-cells = <0>;
698 i2c5_i2cool_2: i2c@2 {
699 #address-cells = <1>;
700 #size-cells = <0>;
713 i2c5_hsbp_fru_3: i2c@3 {
714 #address-cells = <1>;
715 #size-cells = <0>;
727 clock-frequency = <100000>;
730 i2c-mux@73 {
732 #address-cells = <1>;
733 #size-cells = <0>;
735 i2c-mux-idle-disconnect;
737 i2c6_u2_15_0: i2c@0 {
738 #address-cells = <1>;
739 #size-cells = <0>;
743 i2c6_u2_14_1: i2c@1 {
744 #address-cells = <1>;
745 #size-cells = <0>;
748 i2c6_u2_13_2: i2c@2 {
749 #address-cells = <1>;
750 #size-cells = <0>;
754 i2c6_u2_12_3: i2c@3 {
755 #address-cells = <1>;
756 #size-cells = <0>;
763 clock-frequency = <100000>;
766 i2c-mux@72 {
768 #address-cells = <1>;
769 #size-cells = <0>;
771 i2c-mux-idle-disconnect;
773 i2c7_u2_11_0: i2c@0 {
774 #address-cells = <1>;
775 #size-cells = <0>;
779 i2c7_u2_10_1: i2c@1 {
780 #address-cells = <1>;
781 #size-cells = <0>;
784 i2c7_u2_9_2: i2c@2 {
785 #address-cells = <1>;
786 #size-cells = <0>;
790 i2c7_u2_8_3: i2c@3 {
791 #address-cells = <1>;
792 #size-cells = <0>;
799 clock-frequency = <100000>;
804 #address-cells = <1>;
805 #size-cells = <0>;
807 shunt-resistor-micro-ohms = <300>;
812 clock-frequency = <100000>;
815 i2c-mux@71 {
817 #address-cells = <1>;
818 #size-cells = <0>;
820 i2c-mux-idle-disconnect;
821 reset-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>;
823 i2c9_vddcr_cpu: i2c@0 {
824 #address-cells = <1>;
825 #size-cells = <0>;
833 i2c9_vddcr_soc: i2c@1 {
834 #address-cells = <1>;
835 #size-cells = <0>;
843 i2c9_vddio_efgh: i2c@2 {
844 #address-cells = <1>;
845 #size-cells = <0>;
853 i2c9_vddio_abcd: i2c@3 {
854 #address-cells = <1>;
855 #size-cells = <0>;
866 clock-frequency = <100000>;
869 i2c-mux@71 {
871 #address-cells = <1>;
872 #size-cells = <0>;
874 i2c-mux-idle-disconnect;
876 i2c10_u2_7_0: i2c@0 {
877 #address-cells = <1>;
878 #size-cells = <0>;
882 i2c10_u2_6_1: i2c@1 {
883 #address-cells = <1>;
884 #size-cells = <0>;
887 i2c10_u2_5_2: i2c@2 {
888 #address-cells = <1>;
889 #size-cells = <0>;
893 i2c10_u2_4_3: i2c@3 {
894 #address-cells = <1>;
895 #size-cells = <0>;
902 clock-frequency = <100000>;
905 i2c-mux@76 {
907 #address-cells = <1>;
908 #size-cells = <0>;
910 i2c-mux-idle-disconnect;
912 i2c11_clk_buf0_0: i2c@0 {
913 #address-cells = <1>;
914 #size-cells = <0>;
918 i2c11_clk_buf1_1: i2c@1 {
919 #address-cells = <1>;
920 #size-cells = <0>;
923 i2c11_clk_buf2_2: i2c@2 {
924 #address-cells = <1>;
925 #size-cells = <0>;
929 i2c11_clk_buf3_3: i2c@3 {
930 #address-cells = <1>;
931 #size-cells = <0>;
938 clock-frequency = <100000>;
956 clock-frequency = <100000>;
961 clock-frequency = <100000>;
964 i2c-mux@70 {
966 #address-cells = <1>;
967 #size-cells = <0>;
969 i2c-mux-idle-disconnect;
971 i2c14_u2_3_0: i2c@0 {
972 #address-cells = <1>;
973 #size-cells = <0>;
977 i2c14_u2_2_1: i2c@1 {
978 #address-cells = <1>;
979 #size-cells = <0>;
983 i2c14_u2_1_2: i2c@2 {
984 #address-cells = <1>;
985 #size-cells = <0>;
989 i2c14_u2_0_3: i2c@3 {
990 #address-cells = <1>;
991 #size-cells = <0>;
998 pinctrl-names = "default";
999 pinctrl-0 = <
1011 fan-tach-ch = /bits/ 8 <0x00>;
1015 fan-tach-ch = /bits/ 8 <0x01>;
1019 fan-tach-ch = /bits/ 8 <0x02>;
1023 fan-tach-ch = /bits/ 8 <0x04>;
1027 fan-tach-ch = /bits/ 8 <0x03>;
1032 pinctrl-names = "default";
1034 gpio0: gpio@f0010000 {
1036 gpio-line-names =
1037 /*0-31*/
1043 gpio1: gpio@f0011000 {
1045 gpio-line-names =
1046 /*32-63*/
1052 gpio2: gpio@f0012000 {
1054 gpio-hog;
1056 output-low;
1057 line-name = "bmc-usb-mux-oe-n";
1060 gpio-hog;
1062 output-low;
1063 line-name = "bmc-usb-mux-sel";
1066 gpio-hog;
1068 output-low;
1069 line-name = "bmc-usb2517-reset-n";
1072 gpio3: gpio@f0013000 {
1074 gpio-hog;
1076 output-low;
1077 line-name = "assert-cpu0-reset";
1080 gpio-hog;
1082 output-low;
1083 line-name = "assert-pwrok-cpu0-n";
1086 gpio-hog;
1088 output-low;
1089 line-name = "assert-cpu0-prochot";
1092 gpio4: gpio@f0014000 {
1094 gpio-line-names =
1095 /*128-159*/
1101 gpio5: gpio@f0015000 {
1103 gpio-line-names =
1104 /*160-191*/
1110 gpio6: gpio@f0016000 {
1112 gpio-line-names =
1113 /*192-223*/
1120 gpio224ol_pins: gpio224ol-pins {
1122 bias-disable;
1123 output-low;
1125 gpio227o_pins: gpio227o-pins {
1127 bias-disable;
1128 output-high;
1130 gpio228_pins: gpio228-pins {
1132 bias-disable;
1133 input-enable;