Lines Matching +full:i2c +full:- +full:polling

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (C) 2024 Josua Mayer <josua@solid-run.com>
7 #include <dt-bindings/gpio/gpio.h>
21 #include "armada-cp115.dtsi"
43 #include "armada-cp115.dtsi"
55 compatible = "solidrun,cn9132-sr-cex7", "marvell,cn9130";
75 stdout-path = "serial0:115200n8";
78 fan: pwm-fan {
79 compatible = "pwm-fan";
80 cooling-levels = <0 51 102 153 204 255>;
81 #cooling-cells = <2>;
82 pinctrl-names = "default";
83 pinctrl-0 = <&cp0_fan_pwm_pins &cp0_fan_tacho_pins>;
85 interrupt-parent = <&cp0_gpio1>;
89 v_1_8: regulator-1-8 {
90 compatible = "regulator-fixed";
91 regulator-name = "1v8";
92 regulator-min-microvolt = <1800000>;
93 regulator-max-microvolt = <1800000>;
96 ap_vhv: regulator-ap-vhv-1-8 {
97 compatible = "regulator-fixed";
98 regulator-name = "ap-vhv-1v8";
99 regulator-min-microvolt = <1800000>;
100 regulator-max-microvolt = <1800000>;
101 pinctrl-0 = <&cp0_reg_ap_vhv_pins>;
102 pinctrl-names = "default";
104 enable-active-high;
107 cp_vhv: regulator-cp-vhv-1-8 {
108 compatible = "regulator-fixed";
109 regulator-name = "cp-vhv-1v8";
110 regulator-min-microvolt = <1800000>;
111 regulator-max-microvolt = <1800000>;
112 pinctrl-0 = <&cp0_reg_cp_vhv_pins>;
113 pinctrl-names = "default";
115 enable-active-high;
120 ap_mmc0_pins: ap-mmc0-pins {
126 * but pinctrl-mvebu does not support this.
128 * From pinctrl-mvebu.h:
136 bus-width = <8>;
137 pinctrl-0 = <&ap_mmc0_pins>;
138 pinctrl-names = "default";
139 vqmmc-supply = <&v_1_8>;
144 polling-delay = <1000>;
147 ap_active: trip-active {
154 cooling-maps {
157 cooling-device = <&fan THERMAL_NO_LIMIT 4>;
162 cooling-device = <&fan 4 5>;
172 pinctrl-names = "default";
173 pinctrl-0 = <&cp0_eth1_pins>;
174 phy-mode = "rgmii-id";
183 * Tacho signal used as interrupt source by pwm-fan driver.
184 * Hog IO as input to ensure mvebu-gpio irq driver`s
187 pwm-tacho-irq-hog {
188 gpio-hog;
191 line-name = "fan-tacho";
200 pinctrl-names = "default";
201 pinctrl-0 = <&cp0_i2c0_pins>;
202 clock-frequency = <100000>;
218 pinctrl-names = "default";
219 pinctrl-0 = <&cp0_i2c1_pins>;
220 clock-frequency = <100000>;
223 i2c-mux@77 {
226 i2c-mux-idle-disconnect;
227 #address-cells = <1>;
228 #size-cells = <0>;
230 com_clkgen_i2c: i2c@0 {
231 #address-cells = <1>;
232 #size-cells = <0>;
235 /* clock-controller@6b */
238 com_10g_led_i2c: i2c@1 {
239 #address-cells = <1>;
240 #size-cells = <0>;
246 com_10g_sfp_i2c0: i2c@2 {
247 #address-cells = <1>;
248 #size-cells = <0>;
254 com_smbus: i2c@3 {
255 #address-cells = <1>;
256 #size-cells = <0>;
262 com_fanctrl_i2c: i2c@4 {
263 #address-cells = <1>;
264 #size-cells = <0>;
267 /* fan-controller@2f (assembly option) */
273 pinctrl-names = "default";
274 pinctrl-0 = <&cp0_mdio_pins>;
277 cp0_eth_phy0: ethernet-phy@0 {
283 pinctrl-names = "default";
284 pinctrl-0 = <&cp0_spi1_pins>;
288 compatible = "jedec,spi-nor";
291 spi-max-frequency = <50000000>;
297 compatible = "marvell,cp115-standalone-pinctrl";
299 com_10g_int0_pins: cp0-10g-int-pins {
304 cp0_eth1_pins: cp0-eth1-pins {
308 /* docs call it "ge1", but cp110-pinctrl "ge0" */
312 cp0_fan_pwm_pins: cp0-fan-pwm-pins {
317 cp0_fan_tacho_pins: cp0-fan-tacho-pins {
322 cp0_i2c0_pins: cp0-i2c0-pins {
327 cp0_i2c1_pins: cp0-i2c1-pins {
332 cp0_mdio_pins: cp0-mdio-pins {
337 cp0_mmc0_pins: cp0-mmc0-pins {
343 cp0_mmc0_cd_pins: cp0-mmc0-cd-pins {
348 cp0_pwrbtn_pins: cp0-pwrbtn-pins {
353 cp0_reg_ap_vhv_pins: cp0-reg-ap-vhv-pins {
358 cp0_reg_cp_vhv_pins: cp0-reg-cp-vhv-pins {
363 cp0_spi1_pins: cp0-spi1-pins {
368 cp0_spi1_cs1_pins: cp0-spi1-cs1-pins {
373 cp0_uart2_pins: cp0-uart2-pins {
381 polling-delay = <1000>;
384 cp0_active: trip-active {
391 cooling-maps {
394 cooling-device = <&fan THERMAL_NO_LIMIT 4>;
399 cooling-device = <&fan 4 5>;
404 /* USB-2.0 Host */
407 phy-names = "utmi";
412 /* USB-2.0 Host */
415 phy-names = "utmi";
437 pinctrl-names = "default";
438 pinctrl-0 = <&cp1_spi1_pins>;
443 compatible = "infineon,slb9670", "tcg,tpm_tis-spi";
444 spi-max-frequency = <10000000>;
445 pinctrl-names = "default";
446 pinctrl-0 = <&cp1_tpm_irq_pins>;
447 interrupt-parent = <&cp1_gpio1>;
454 compatible = "marvell,cp115-standalone-pinctrl";
456 com_10g_int1_pins: cp1-10g-int-pins {
461 cp1_10g_phy_rst_01_pins: cp1-10g-phy-rst-01-pins {
466 cp1_10g_phy_rst_23_pins: cp1-10g-phy-rst-23-pins {
471 cp1_batlow_pins: cp1-batlow-pins {
476 cp1_rsvd16_pins: cp1-rsvd16-pins {
481 cp1_sata_act_pins: cp1-sata-act-pins {
486 cp1_spi1_pins: cp1-spi1-pins {
491 cp1_thrm_irq_pins: cp1-thrm-irq-pins {
496 cp1_thrm_trip_pins: cp1-thrm-trip-pins {
501 cp1_tpm_irq_pins: cp1-tpm-irq-pins {
506 cp1_wake0_pins: cp1-wake0-pins {
511 cp1_wake1_pins: cp1-wake1-pins {
516 cp1_xmdio_pins: cp1-xmdio-pins {
524 polling-delay = <1000>;
527 cp1_active: trip-active {
534 cooling-maps {
537 cooling-device = <&fan THERMAL_NO_LIMIT 4>;
542 cooling-device = <&fan 4 5>;
547 /* USB-2.0 Host */
550 phy-names = "utmi";
577 compatible = "marvell,cp115-standalone-pinctrl";
579 com_10g_int2_pins: cp2-10g-int-pins {
584 cp2_rsvd0_pins: cp2-rsvd0-pins {
589 cp2_rsvd1_pins: cp2-rsvd1-pins {
594 cp2_rsvd2_pins: cp2-rsvd2-pins {
599 cp2_rsvd3_pins: cp2-rsvd3-pins {
604 cp2_rsvd4_pins: cp2-rsvd4-pins {
609 cp2_rsvd5_pins: cp2-rsvd5-pins {
614 cp2_rsvd7_pins: cp2-rsvd7-pins {
619 cp2_rsvd8_pins: cp2-rsvd8-pins {
624 cp2_rsvd9_pins: cp2-rsvd9-pins {
629 cp2_rsvd10_pins: cp2-rsvd10-pins {
634 cp2_rsvd11_pins: cp2-rsvd11-pins {
639 cp2_rsvd27_pins: cp2-rsvd27-pins {
644 cp2_rsvd31_pins: cp2-rsvd31-pins {
649 cp2_rsvd32_pins: cp2-rsvd32-pins {
654 cp2_rsvd55_pins: cp2-rsvd55-pins {
659 cp2_rsvd56_pins: cp2-rsvd56-pins {
664 cp2_xmdio_pins: cp2-xmdio-pins {
672 polling-delay = <1000>;
675 cp2_active: trip-active {
682 cooling-maps {
685 cooling-device = <&fan THERMAL_NO_LIMIT 4>;
690 cooling-device = <&fan 4 5>;
695 /* USB-2.0/3.0 Host */
698 phy-names = "utmi", "comphy";
709 pinctrl-0 = <&uart0_pins>;
710 pinctrl-names = "default";