Lines Matching +full:i2c +full:- +full:gpio
1 // SPDX-License-Identifier: GPL-2.0+
3 /dts-v1/;
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/usb/pd.h>
8 #include <dt-bindings/leds/leds-pca955x.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/i2c/i2c.h>
14 compatible = "facebook,catalina-bmc", "aspeed,ast2600";
64 stdout-path = "serial4:57600n8";
72 iio-hwmon {
73 compatible = "iio-hwmon";
74 io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
80 compatible = "spi-gpio";
81 #address-cells = <1>;
82 #size-cells = <0>;
84 sck-gpios = <&gpio0 ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>;
85 mosi-gpios = <&gpio0 ASPEED_GPIO(Z, 4) GPIO_ACTIVE_HIGH>;
86 miso-gpios = <&gpio0 ASPEED_GPIO(Z, 5) GPIO_ACTIVE_HIGH>;
87 cs-gpios = <&gpio0 ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>;
88 num-chipselects = <1>;
91 compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
92 spi-max-frequency = <33000000>;
98 compatible = "gpio-leds";
100 led-0 {
103 linux,default-trigger = "heartbeat";
106 led-1 {
108 default-state = "off";
112 led-2 {
117 led-3 {
123 p1v8_bmc_aux: regulator-p1v8-bmc-aux {
124 compatible = "regulator-fixed";
125 regulator-name = "p1v8_bmc_aux";
126 regulator-min-microvolt = <1800000>;
127 regulator-max-microvolt = <1800000>;
128 regulator-always-on;
131 p2v5_bmc_aux: regulator-p2v5-bmc-aux {
132 compatible = "regulator-fixed";
133 regulator-name = "p2v5_bmc_aux";
134 regulator-min-microvolt = <2500000>;
135 regulator-max-microvolt = <2500000>;
136 regulator-always-on;
158 pinctrl-names = "default";
159 pinctrl-0 = <&pinctrl_ncsi3_default>;
160 use-ncsi;
165 pinctrl-names = "default";
166 pinctrl-0 = <&pinctrl_ncsi4_default>;
167 use-ncsi;
174 m25p,fast-read;
176 spi-max-frequency = <50000000>;
177 #include "openbmc-flash-layout-128.dtsi"
181 m25p,fast-read;
182 label = "alt-bmc";
183 spi-max-frequency = <50000000>;
190 i2c-mux@71 {
193 #address-cells = <1>;
194 #size-cells = <0>;
195 i2c-mux-idle-disconnect;
197 i2c0mux0ch0: i2c@0 {
198 #address-cells = <1>;
199 #size-cells = <0>;
202 i2c0mux0ch1: i2c@1 {
203 #address-cells = <1>;
204 #size-cells = <0>;
207 i2c0mux0ch2: i2c@2 {
208 #address-cells = <1>;
209 #size-cells = <0>;
212 i2c0mux0ch3: i2c@3 {
213 #address-cells = <1>;
214 #size-cells = <0>;
219 i2c-mux@72 {
222 #address-cells = <1>;
223 #size-cells = <0>;
224 i2c-mux-idle-disconnect;
226 i2c0mux1ch0: i2c@0 {
227 #address-cells = <1>;
228 #size-cells = <0>;
231 i2c0mux1ch1: i2c@1 {
232 #address-cells = <1>;
233 #size-cells = <0>;
237 io_expander7: gpio@20 {
240 gpio-controller;
241 #gpio-cells = <2>;
250 i2c0mux1ch2: i2c@2 {
251 #address-cells = <1>;
252 #size-cells = <0>;
255 i2c0mux1ch3: i2c@3 {
256 #address-cells = <1>;
257 #size-cells = <0>;
262 i2c-mux@73 {
265 #address-cells = <1>;
266 #size-cells = <0>;
267 i2c-mux-idle-disconnect;
269 i2c0mux2ch0: i2c@0 {
270 #address-cells = <1>;
271 #size-cells = <0>;
274 i2c0mux2ch1: i2c@1 {
275 #address-cells = <1>;
276 #size-cells = <0>;
279 i2c0mux2ch2: i2c@2 {
280 #address-cells = <1>;
281 #size-cells = <0>;
284 i2c0mux2ch3: i2c@3 {
285 #address-cells = <1>;
286 #size-cells = <0>;
291 i2c-mux@75 {
294 #address-cells = <1>;
295 #size-cells = <0>;
296 i2c-mux-idle-disconnect;
298 i2c0mux3ch0: i2c@0 {
299 #address-cells = <1>;
300 #size-cells = <0>;
303 i2c0mux3ch1: i2c@1 {
304 #address-cells = <1>;
305 #size-cells = <0>;
308 i2c0mux3ch2: i2c@2 {
309 #address-cells = <1>;
310 #size-cells = <0>;
313 i2c0mux3ch3: i2c@3 {
314 #address-cells = <1>;
315 #size-cells = <0>;
320 i2c-mux@76 {
323 #address-cells = <1>;
324 #size-cells = <0>;
325 i2c-mux-idle-disconnect;
327 i2c0mux4ch0: i2c@0 {
328 #address-cells = <1>;
329 #size-cells = <0>;
332 i2c0mux4ch1: i2c@1 {
333 #address-cells = <1>;
334 #size-cells = <0>;
338 io_expander8: gpio@21 {
341 gpio-controller;
342 #gpio-cells = <2>;
351 i2c0mux4ch2: i2c@2 {
352 #address-cells = <1>;
353 #size-cells = <0>;
356 i2c0mux4ch3: i2c@3 {
357 #address-cells = <1>;
358 #size-cells = <0>;
363 i2c-mux@77 {
366 #address-cells = <1>;
367 #size-cells = <0>;
368 i2c-mux-idle-disconnect;
370 i2c0mux5ch0: i2c@0 {
371 #address-cells = <1>;
372 #size-cells = <0>;
375 i2c0mux5ch1: i2c@1 {
376 #address-cells = <1>;
377 #size-cells = <0>;
380 i2c0mux5ch2: i2c@2 {
381 #address-cells = <1>;
382 #size-cells = <0>;
385 i2c0mux5ch3: i2c@3 {
386 #address-cells = <1>;
387 #size-cells = <0>;
395 i2c-mux@70 {
397 #address-cells = <1>;
398 #size-cells = <0>;
400 i2c-mux-idle-disconnect;
402 i2c1mux0ch0: i2c@0 {
403 #address-cells = <1>;
404 #size-cells = <0>;
407 power-sensor@41 {
410 shunt-resistor = <500>;
412 power-sensor@42 {
415 shunt-resistor = <500>;
417 power-sensor@44 {
420 shunt-resistor = <500>;
423 i2c1mux0ch1: i2c@1 {
424 #address-cells = <1>;
425 #size-cells = <0>;
428 power-sensor@41 {
432 power-sensor@43 {
437 i2c1mux0ch2: i2c@2 {
438 #address-cells = <1>;
439 #size-cells = <0>;
442 i2c1mux0ch3: i2c@3 {
443 #address-cells = <1>;
444 #size-cells = <0>;
447 i2c1mux0ch4: i2c@4 {
448 #address-cells = <1>;
449 #size-cells = <0>;
452 power-monitor@42 {
455 shunt-resistor-micro-ohms = <100>;
457 power-monitor@43 {
460 shunt-resistor-micro-ohms = <100>;
463 i2c1mux0ch5: i2c@5 {
464 #address-cells = <1>;
465 #size-cells = <0>;
475 temperature-sensor@4f {
480 i2c1mux0ch6: i2c@6 {
481 #address-cells = <1>;
482 #size-cells = <0>;
486 io_expander5: gpio@27 {
489 gpio-controller;
490 #gpio-cells = <2>;
494 io_expander6: gpio@25 {
497 gpio-controller;
498 #gpio-cells = <2>;
507 i2c1mux0ch7: i2c@7 {
508 #address-cells = <1>;
509 #size-cells = <0>;
519 temperature-sensor@4b {
531 io_expander0: gpio@20 {
534 gpio-controller;
535 #gpio-cells = <2>;
539 io_expander1: gpio@21 {
542 gpio-controller;
543 #gpio-cells = <2>;
547 io_expander2: gpio@27 {
550 gpio-controller;
551 #gpio-cells = <2>;
578 i2c-mux@70 {
581 #address-cells = <1>;
582 #size-cells = <0>;
583 i2c-mux-idle-disconnect;
585 i2c5mux0ch0: i2c@0 {
586 #address-cells = <1>;
587 #size-cells = <0>;
590 i2c5mux0ch1: i2c@1 {
591 #address-cells = <1>;
592 #size-cells = <0>;
595 i2c5mux0ch2: i2c@2 {
596 #address-cells = <1>;
597 #size-cells = <0>;
600 i2c5mux0ch3: i2c@3 {
601 #address-cells = <1>;
602 #size-cells = <0>;
605 i2c5mux0ch4: i2c@4 {
606 #address-cells = <1>;
607 #size-cells = <0>;
610 i2c5mux0ch5: i2c@5 {
611 #address-cells = <1>;
612 #size-cells = <0>;
615 i2c5mux0ch6: i2c@6 {
616 #address-cells = <1>;
617 #size-cells = <0>;
625 i2c5mux0ch7: i2c@7 {
626 #address-cells = <1>;
627 #size-cells = <0>;
630 power-sensor@40 {
633 shunt-resistor = <2000>;
635 power-sensor@41 {
638 shunt-resistor = <2000>;
640 power-sensor@44 {
643 shunt-resistor = <2000>;
645 power-sensor@45 {
648 shunt-resistor = <2000>;
658 io_expander3: gpio@21 {
661 gpio-controller;
662 #gpio-cells = <2>;
683 io_expander4: gpio@4f {
686 gpio-controller;
687 #gpio-cells = <2>;
691 temperature-sensor@4b {
713 temperature-sensor@1f {
728 ssif-bmc@10 {
729 compatible = "ssif-bmc";
776 io_expander9: gpio@10 {
778 interrupt-parent = <&gpio0>;
781 gpio-controller;
782 #gpio-cells = <2>;
786 io_expander10: gpio@11 {
788 interrupt-parent = <&gpio0>;
791 gpio-controller;
792 #gpio-cells = <2>;
796 io_expander11: gpio@12 {
798 interrupt-parent = <&gpio0>;
801 gpio-controller;
802 #gpio-cells = <2>;
806 io_expander12: gpio@13 {
808 interrupt-parent = <&gpio0>;
811 gpio-controller;
812 #gpio-cells = <2>;
816 io_expander13: gpio@14 {
818 interrupt-parent = <&gpio0>;
821 gpio-controller;
822 #gpio-cells = <2>;
826 io_expander14: gpio@15 {
828 interrupt-parent = <&gpio0>;
831 gpio-controller;
832 #gpio-cells = <2>;
840 temperature-sensor@1f {
853 vref-supply = <&p1v8_bmc_aux>;
856 pinctrl-names = "default";
857 pinctrl-0 = <&pinctrl_adc0_default &pinctrl_adc1_default
864 vref-supply = <&p2v5_bmc_aux>;
867 pinctrl-names = "default";
868 pinctrl-0 = <&pinctrl_adc10_default>;
877 pinctrl-names = "default";
878 pinctrl-0 = <&pinctrl_wdtrst1_default>;
879 aspeed,reset-type = "soc";
880 aspeed,external-signal;
881 aspeed,ext-push-pull;
882 aspeed,ext-active-high;
883 aspeed,ext-pulse-duration = <256>;
899 gpio-line-names =
900 /*A0-A7*/ "","","","","","","","",
901 /*B0-B7*/ "BATTERY_DETECT","PRSNT1_HPM_SCM_N",
905 /*C0-C7*/ "","","","",
908 /*D0-D7*/ "","","","","","","","",
909 /*E0-E7*/ "","","","","","","","",
910 /*F0-F7*/ "","","","","","","","",
911 /*G0-G7*/ "","","","","","",
913 /*H0-H7*/ "PWR_BRAKE_L","RUN_POWER_EN",
916 /*I0-I7*/ "","","","",
919 /*J0-J7*/ "","","","","","","","",
920 /*K0-K7*/ "","","","","","","","",
921 /*L0-L7*/ "","","","","","","","",
922 /*M0-M7*/ "PCIE_EP_RST_EN","BMC_FRU_WP",
925 /*N0-N7*/ "LED_POSTCODE_0","LED_POSTCODE_1",
929 /*O0-O7*/ "HMC_I2C3_FPGA_ALERT_L","FPGA_READY_HMC",
933 /*P0-P7*/ "PWR_BTN_BMC_N","IPEX_CABLE_PRSNT_L",
935 "host0-ready","BMC_READY_CPLD","","BMC_HEARTBEAT_N",
936 /*Q0-Q7*/ "IRQ_PCH_TPM_SPI_N","USB_OC0_REAR_R_N",
940 /*R0-R7*/ "THERM_BB_WARN_L","SPI_BMC_FPGA_INT_L",
944 /*S0-S7*/ "","","SYS_BMC_PWRBTN_R_N","FM_TPM_PRSNT_1_N",
947 /*T0-T7*/ "","","","","","","","",
948 /*U0-U7*/ "","","","","","","","",
949 /*V0-V7*/ "L2_RST_REQ_OUT_L","L0L1_RST_REQ_OUT_L",
953 /*W0-W7*/ "","","","","","","","",
954 /*X0-X7*/ "","","","","","","","",
955 /*Y0-Y7*/ "","RST_BMC_SELF_HW",
958 /*Z0-Z7*/ "","","","","","","","";
962 gpio-line-names =
974 gpio-line-names =
986 gpio-line-names =
997 gpio-line-names =
998 "RTC_MUX_SEL","PCI_MUX_SEL","TPM_MUX_SEL","FAN_MUX-SEL",
1005 gpio-line-names =
1013 gpio-line-names =
1019 gpio-line-names =
1029 gpio-line-names =
1040 gpio-line-names =
1051 gpio-line-names =
1063 gpio-line-names =
1077 gpio-line-names =
1089 gpio-line-names =
1101 gpio-line-names =
1113 gpio-line-names =