Lines Matching +full:pwren +full:- +full:gpios
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";
82 gpios = <&gpio2 9 GPIO_ACTIVE_LOW>;
86 sas-cable1 {
87 label = "sas-cable1";
88 gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
92 sas-cable2 {
93 label = "sas-cable2";
94 gpios = <&gpio2 7 GPIO_ACTIVE_LOW>;
98 sas-cable3 {
99 label = "sas-cable3";
100 gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
106 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
110 hsbp-cable {
111 label = "hsbp-cable";
112 gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
116 fanbd-cable {
117 label = "fanbd-cable";
118 gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
122 bp12v-cable {
123 label = "bp12v-cable";
124 gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
128 pe-slot0 {
129 label = "pe-slot0";
130 gpios = <&gpio3 24 GPIO_ACTIVE_LOW>;
134 pe-slot1 {
135 label = "pe-slot1";
136 gpios = <&gpio3 25 GPIO_ACTIVE_LOW>;
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";
155 gpios = <&gpio4 25 GPIO_ACTIVE_LOW>;
156 linux,default-trigger = "heartbeat";
160 gpios = <&gpio6 23 GPIO_ACTIVE_HIGH>;
161 default-state = "off";
165 gpios = <&gpio6 24 GPIO_ACTIVE_HIGH>;
166 default-state = "keep";
167 retain-state-shutdown;
171 gpios = <&gpio6 25 GPIO_ACTIVE_HIGH>;
172 default-state = "off";
173 linux,default-trigger = "panic";
174 panic-indicator;
178 gpios = <&pca9535_ledlocate 3 GPIO_ACTIVE_LOW>;
179 default-state = "off";
183 gpios = <&pca9535_ledlocate 2 GPIO_ACTIVE_LOW>;
184 default-state = "off";
188 gpios = <&pca9535_ledlocate 1 GPIO_ACTIVE_LOW>;
189 default-state = "off";
193 gpios = <&pca9535_ledlocate 0 GPIO_ACTIVE_LOW>;
194 default-state = "off";
198 gpios = <&pca9535_ledlocate 7 GPIO_ACTIVE_LOW>;
199 default-state = "off";
203 gpios = <&pca9535_ledlocate 6 GPIO_ACTIVE_LOW>;
204 default-state = "off";
208 gpios = <&pca9535_ledlocate 5 GPIO_ACTIVE_LOW>;
209 default-state = "off";
213 gpios = <&pca9535_ledlocate 4 GPIO_ACTIVE_LOW>;
214 default-state = "off";
218 gpios = <&pca9535_ledlocate 11 GPIO_ACTIVE_LOW>;
219 default-state = "off";
223 gpios = <&pca9535_ledlocate 10 GPIO_ACTIVE_LOW>;
224 default-state = "off";
228 gpios = <&pca9535_ledlocate 9 GPIO_ACTIVE_LOW>;
229 default-state = "off";
233 gpios = <&pca9535_ledlocate 8 GPIO_ACTIVE_LOW>;
234 default-state = "off";
238 gpios = <&pca9535_ledlocate 15 GPIO_ACTIVE_LOW>;
239 default-state = "off";
243 gpios = <&pca9535_ledlocate 14 GPIO_ACTIVE_LOW>;
244 default-state = "off";
248 gpios = <&pca9535_ledlocate 13 GPIO_ACTIVE_LOW>;
249 default-state = "off";
253 gpios = <&pca9535_ledlocate 12 GPIO_ACTIVE_LOW>;
254 default-state = "off";
258 gpios = <&pca9535_ledfault 3 GPIO_ACTIVE_LOW>;
259 default-state = "off";
263 gpios = <&pca9535_ledfault 2 GPIO_ACTIVE_LOW>;
264 default-state = "off";
268 gpios = <&pca9535_ledfault 1 GPIO_ACTIVE_LOW>;
269 default-state = "off";
273 gpios = <&pca9535_ledfault 0 GPIO_ACTIVE_LOW>;
274 default-state = "off";
278 gpios = <&pca9535_ledfault 7 GPIO_ACTIVE_LOW>;
279 default-state = "off";
283 gpios = <&pca9535_ledfault 6 GPIO_ACTIVE_LOW>;
284 default-state = "off";
288 gpios = <&pca9535_ledfault 5 GPIO_ACTIVE_LOW>;
289 default-state = "off";
293 gpios = <&pca9535_ledfault 4 GPIO_ACTIVE_LOW>;
294 default-state = "off";
298 gpios = <&pca9535_ledfault 11 GPIO_ACTIVE_LOW>;
299 default-state = "off";
303 gpios = <&pca9535_ledfault 10 GPIO_ACTIVE_LOW>;
304 default-state = "off";
308 gpios = <&pca9535_ledfault 9 GPIO_ACTIVE_LOW>;
309 default-state = "off";
313 gpios = <&pca9535_ledfault 8 GPIO_ACTIVE_LOW>;
314 default-state = "off";
318 gpios = <&pca9535_ledfault 15 GPIO_ACTIVE_LOW>;
319 default-state = "off";
323 gpios = <&pca9535_ledfault 14 GPIO_ACTIVE_LOW>;
324 default-state = "off";
328 gpios = <&pca9535_ledfault 13 GPIO_ACTIVE_LOW>;
329 default-state = "off";
333 gpios = <&pca9535_ledfault 12 GPIO_ACTIVE_LOW>;
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>;
537 #address-cells = <1>;
538 #size-cells = <0>;
540 pcie-slot = &pcie1;
544 #address-cells = <1>;
545 #size-cells = <0>;
547 pcie-slot = &pcie2;
551 #address-cells = <1>;
552 #size-cells = <0>;
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;
677 #address-cells = <1>;
678 #size-cells = <0>;
688 #address-cells = <1>;
689 #size-cells = <0>;
699 #address-cells = <1>;
700 #size-cells = <0>;
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;
738 #address-cells = <1>;
739 #size-cells = <0>;
744 #address-cells = <1>;
745 #size-cells = <0>;
749 #address-cells = <1>;
750 #size-cells = <0>;
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;
774 #address-cells = <1>;
775 #size-cells = <0>;
780 #address-cells = <1>;
781 #size-cells = <0>;
785 #address-cells = <1>;
786 #size-cells = <0>;
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>;
824 #address-cells = <1>;
825 #size-cells = <0>;
834 #address-cells = <1>;
835 #size-cells = <0>;
844 #address-cells = <1>;
845 #size-cells = <0>;
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;
877 #address-cells = <1>;
878 #size-cells = <0>;
883 #address-cells = <1>;
884 #size-cells = <0>;
888 #address-cells = <1>;
889 #size-cells = <0>;
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;
913 #address-cells = <1>;
914 #size-cells = <0>;
919 #address-cells = <1>;
920 #size-cells = <0>;
924 #address-cells = <1>;
925 #size-cells = <0>;
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;
972 #address-cells = <1>;
973 #size-cells = <0>;
978 #address-cells = <1>;
979 #size-cells = <0>;
984 #address-cells = <1>;
985 #size-cells = <0>;
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";
1036 gpio-line-names =
1037 /*0-31*/
1045 gpio-line-names =
1046 /*32-63*/
1054 gpio-hog;
1055 gpios = <25 GPIO_ACTIVE_HIGH>;
1056 output-low;
1057 line-name = "bmc-usb-mux-oe-n";
1060 gpio-hog;
1061 gpios = <26 GPIO_ACTIVE_HIGH>;
1062 output-low;
1063 line-name = "bmc-usb-mux-sel";
1066 gpio-hog;
1067 gpios = <27 GPIO_ACTIVE_LOW>;
1068 output-low;
1069 line-name = "bmc-usb2517-reset-n";
1074 gpio-hog;
1075 gpios = <14 GPIO_ACTIVE_HIGH>;
1076 output-low;
1077 line-name = "assert-cpu0-reset";
1080 gpio-hog;
1081 gpios = <15 GPIO_ACTIVE_HIGH>;
1082 output-low;
1083 line-name = "assert-pwrok-cpu0-n";
1086 gpio-hog;
1087 gpios = <16 GPIO_ACTIVE_HIGH>;
1088 output-low;
1089 line-name = "assert-cpu0-prochot";
1094 gpio-line-names =
1095 /*128-159*/
1103 gpio-line-names =
1104 /*160-191*/
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;