Lines Matching +full:phy +full:- +full:reset +full:- +full:gpios
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
9 #include "armada-8040.dtsi"
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/gpio/gpio.h>
16 compatible = "solidrun,clearfog-gt-8k", "marvell,armada8040",
17 "marvell,armada-ap806-quad", "marvell,armada-ap806";
20 stdout-path = "serial0:115200n8";
35 compatible = "pwm-fan";
37 cooling-levels = <0 51 102 153 204 255>;
38 #cooling-cells = <2>;
39 pinctrl-names = "default";
40 pinctrl-0 = <&cp0_fan_pwm_pins>;
44 v_3_3: regulator-3-3v {
45 compatible = "regulator-fixed";
46 regulator-name = "v_3_3";
47 regulator-min-microvolt = <3300000>;
48 regulator-max-microvolt = <3300000>;
49 regulator-always-on;
53 v_5v0_usb3_hst_vbus: regulator-usb3-vbus0 {
54 compatible = "regulator-fixed";
56 pinctrl-names = "default";
57 pinctrl-0 = <&cp0_xhci_vbus_pins>;
58 regulator-name = "v_5v0_usb3_hst_vbus";
59 regulator-min-microvolt = <5000000>;
60 regulator-max-microvolt = <5000000>;
64 sfp_cp0_eth0: sfp-cp0-eth0 {
66 i2c-bus = <&cp0_i2c1>;
67 mod-def0-gpios = <&cp0_gpio2 17 GPIO_ACTIVE_LOW>;
68 tx-disable-gpios = <&cp1_gpio1 29 GPIO_ACTIVE_HIGH>;
69 pinctrl-names = "default";
70 pinctrl-0 = <&cp0_sfp_present_pins &cp1_sfp_tx_disable_pins>;
71 maximum-power-milliwatt = <2000>;
75 compatible = "gpio-leds";
76 pinctrl-0 = <&cp0_led0_pins
78 pinctrl-names = "default";
81 label = "clearfog-gt-8k:green:led0";
82 gpios = <&cp0_gpio2 8 GPIO_ACTIVE_LOW>;
83 default-state = "on";
86 label = "clearfog-gt-8k:green:led1";
87 gpios = <&cp0_gpio2 9 GPIO_ACTIVE_LOW>;
88 default-state = "on";
93 compatible = "gpio-keys";
94 pinctrl-0 = <&cp0_gpio_reset_pins &cp1_wps_button_pins>;
95 pinctrl-names = "default";
97 button-0 {
100 gpios = <&cp0_gpio2 7 GPIO_ACTIVE_LOW>;
101 linux,can-disable;
105 button-1 {
108 gpios = <&cp1_gpio1 30 GPIO_ACTIVE_LOW>;
109 linux,can-disable;
116 polling-delay = <1000>; /* milliseconds */
118 ap_active: trip-active {
124 cooling-maps {
127 cooling-device = <&fan THERMAL_NO_LIMIT 4>;
131 cooling-device = <&fan 4 5>;
137 polling-delay = <1000>; /* milliseconds */
139 cp0_active0: trip-active0 {
144 cp0_active1: trip-active1 {
149 cp0_active2: trip-active2 {
154 cp0_active3: trip-active3 {
160 cooling-maps {
163 cooling-device = <&fan 0 1>;
167 cooling-device = <&fan 1 2>;
171 cooling-device = <&fan 2 3>;
175 cooling-device = <&fan 3 4>;
179 cooling-device = <&fan 4 5>;
185 polling-delay = <1000>; /* milliseconds */
187 cp1_active0: trip-active0 {
192 cp1_active1: trip-active1 {
197 cp1_active2: trip-active2 {
202 cp1_active3: trip-active3 {
208 cooling-maps {
211 cooling-device = <&fan 0 1>;
215 cooling-device = <&fan 1 2>;
219 cooling-device = <&fan 2 3>;
223 cooling-device = <&fan 3 4>;
227 cooling-device = <&fan 4 5>;
234 pinctrl-0 = <&uart0_pins>;
235 pinctrl-names = "default";
239 bus-width = <8>;
240 no-1-8-v;
241 no-sd;
242 no-sdio;
243 non-removable;
245 vqmmc-supply = <&v_3_3>;
249 clock-frequency = <100000>;
250 pinctrl-names = "default";
251 pinctrl-0 = <&cp0_i2c0_pins>;
256 clock-frequency = <100000>;
257 pinctrl-names = "default";
258 pinctrl-0 = <&cp0_i2c1_pins>;
265 * [0-31] = 0xff: Keep default CP0_shared_pins:
270 * [32, 33, 34] pci0/1/2 reset
271 * [35-38] CP0 I2C1 and I2C0
272 * [39] GPIO reset button
274 * [43] 1512 phy reset
282 * [54] NFC reset
284 * [56-61] Micro SD
287 cp0_pci0_reset_pins: pci0-reset-pins {
292 cp0_pci1_reset_pins: pci1-reset-pins {
297 cp0_pci2_reset_pins: pci2-reset-pins {
302 cp0_i2c1_pins: i2c1-pins {
307 cp0_i2c0_pins: i2c0-pins {
312 cp0_gpio_reset_pins: gpio-reset-pins {
317 cp0_led0_pins: led0-pins {
322 cp0_led1_pins: led1-pins {
327 cp0_copper_eth_phy_reset: copper-eth-phy-reset {
332 cp0_xhci_vbus_pins: xhci0-vbus-pins {
337 cp0_fan_pwm_pins: fan-pwm-pins {
342 cp0_sfp_present_pins: sfp-present-pins {
347 cp0_tpm_irq_pins: tpm-irq-pins {
352 cp0_wlan_disable_pins: wlan-disable-pins {
357 cp0_sdhci_pins: sdhci-pins {
365 pinctrl-names = "default";
366 pinctrl-0 = <&cp0_pci0_reset_pins &cp0_wlan_disable_pins>;
367 reset-gpios = <&cp0_gpio2 0 GPIO_ACTIVE_LOW>;
369 phy-names = "cp0-pcie0-x1-phy";
375 gpio-hog;
376 gpios = <1 GPIO_ACTIVE_HIGH>;
377 output-high;
381 gpio-hog;
382 gpios = <2 GPIO_ACTIVE_LOW>;
383 output-low;
387 gpio-hog;
388 gpios = <19 GPIO_ACTIVE_LOW>;
389 output-low;
393 gpio-hog;
394 gpios = <21 GPIO_ACTIVE_LOW>;
395 output-low;
406 phy-mode = "10gbase-r";
407 managed = "in-band-status";
413 broken-cd;
414 bus-width = <4>;
415 pinctrl-names = "default";
416 pinctrl-0 = <&cp0_sdhci_pins>;
418 vqmmc-supply = <&v_3_3>;
428 * [0-5] TDM
437 * [24] Topaz switch reset
446 cp1_spi1_pins: spi1-pins {
451 cp1_switch_reset_pins: switch-reset-pins {
456 cp1_ge_mdio_pins: ge-mdio-pins {
461 cp1_sfp_tx_disable_pins: sfp-tx-disable-pins {
466 cp1_wps_button_pins: wps-button-pins {
473 pinctrl-0 = <&cp0_pci1_reset_pins>;
476 sata-port@1 {
478 phy-names = "cp1-sata0-1-phy";
483 pinctrl-names = "default";
484 pinctrl-0 = <&cp1_ge_mdio_pins>;
487 ge_phy: ethernet-phy@0 {
488 /* LED0 - GB link
489 * LED1 - on: link, blink: activity
491 marvell,reg-init = <3 16 0 0x1017>;
493 pinctrl-names = "default";
494 pinctrl-0 = <&cp0_copper_eth_phy_reset>;
495 reset-gpios = <&cp0_gpio2 11 GPIO_ACTIVE_LOW>;
496 reset-assert-us = <10000>;
497 reset-deassert-us = <10000>;
500 switch0: ethernet-switch@4 {
503 pinctrl-names = "default";
504 pinctrl-0 = <&cp1_switch_reset_pins>;
505 reset-gpios = <&cp1_gpio1 24 GPIO_ACTIVE_LOW>;
507 ethernet-ports {
508 #address-cells = <1>;
509 #size-cells = <0>;
511 ethernet-port@1 {
514 phy-handle = <&switch0phy0>;
517 ethernet-port@2 {
520 phy-handle = <&switch0phy1>;
523 ethernet-port@3 {
526 phy-handle = <&switch0phy2>;
529 ethernet-port@4 {
532 phy-handle = <&switch0phy3>;
535 ethernet-port@5 {
539 phy-mode = "2500base-x";
540 managed = "in-band-status";
545 #address-cells = <1>;
546 #size-cells = <0>;
548 switch0phy0: ethernet-phy@11 {
552 switch0phy1: ethernet-phy@12 {
556 switch0phy2: ethernet-phy@13 {
560 switch0phy3: ethernet-phy@14 {
574 phy-mode = "sgmii";
575 phy = <&ge_phy>;
582 phy-mode = "2500base-x";
584 managed = "in-band-status";
588 pinctrl-names = "default";
589 pinctrl-0 = <&cp1_spi1_pins>;
594 spi-max-frequency = <50000000>;
601 compatible = "usb-a-connector";
602 phy-supply = <&v_5v0_usb3_hst_vbus>;
608 phy-names = "cp1-usb3h0-comphy";