Lines Matching +full:reset +full:- +full:gpio

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";
34 v_3_3: regulator-3-3v {
35 compatible = "regulator-fixed";
36 regulator-name = "v_3_3";
37 regulator-min-microvolt = <3300000>;
38 regulator-max-microvolt = <3300000>;
39 regulator-always-on;
43 v_5v0_usb3_hst_vbus: regulator-usb3-vbus0 {
44 compatible = "regulator-fixed";
45 gpio = <&cp0_gpio2 15 GPIO_ACTIVE_LOW>;
46 pinctrl-names = "default";
47 pinctrl-0 = <&cp0_xhci_vbus_pins>;
48 regulator-name = "v_5v0_usb3_hst_vbus";
49 regulator-min-microvolt = <5000000>;
50 regulator-max-microvolt = <5000000>;
54 sfp_cp0_eth0: sfp-cp0-eth0 {
56 i2c-bus = <&cp0_i2c1>;
57 mod-def0-gpio = <&cp0_gpio2 17 GPIO_ACTIVE_LOW>;
58 tx-disable-gpio = <&cp1_gpio1 29 GPIO_ACTIVE_HIGH>;
59 pinctrl-names = "default";
60 pinctrl-0 = <&cp0_sfp_present_pins &cp1_sfp_tx_disable_pins>;
61 maximum-power-milliwatt = <2000>;
65 compatible = "gpio-leds";
66 pinctrl-0 = <&cp0_led0_pins
68 pinctrl-names = "default";
71 label = "clearfog-gt-8k:green:led0";
73 default-state = "on";
76 label = "clearfog-gt-8k:green:led1";
78 default-state = "on";
83 compatible = "gpio-keys";
84 pinctrl-0 = <&cp0_gpio_reset_pins &cp1_wps_button_pins>;
85 pinctrl-names = "default";
91 linux,can-disable;
99 linux,can-disable;
107 pinctrl-0 = <&uart0_pins>;
108 pinctrl-names = "default";
112 bus-width = <8>;
113 no-1-8-v;
114 no-sd;
115 no-sdio;
116 non-removable;
118 vqmmc-supply = <&v_3_3>;
122 clock-frequency = <100000>;
123 pinctrl-names = "default";
124 pinctrl-0 = <&cp0_i2c0_pins>;
129 clock-frequency = <100000>;
130 pinctrl-names = "default";
131 pinctrl-0 = <&cp0_i2c1_pins>;
138 * [0-31] = 0xff: Keep default CP0_shared_pins:
143 * [32, 33, 34] pci0/1/2 reset
144 * [35-38] CP0 I2C1 and I2C0
145 * [39] GPIO reset button
147 * [43] 1512 phy reset
155 * [54] NFC reset
157 * [56-61] Micro SD
160 cp0_pci0_reset_pins: pci0-reset-pins {
162 marvell,function = "gpio";
165 cp0_pci1_reset_pins: pci1-reset-pins {
167 marvell,function = "gpio";
170 cp0_pci2_reset_pins: pci2-reset-pins {
172 marvell,function = "gpio";
175 cp0_i2c1_pins: i2c1-pins {
180 cp0_i2c0_pins: i2c0-pins {
185 cp0_gpio_reset_pins: gpio-reset-pins {
187 marvell,function = "gpio";
190 cp0_led0_pins: led0-pins {
192 marvell,function = "gpio";
195 cp0_led1_pins: led1-pins {
197 marvell,function = "gpio";
200 cp0_copper_eth_phy_reset: copper-eth-phy-reset {
202 marvell,function = "gpio";
205 cp0_xhci_vbus_pins: xhci0-vbus-pins {
207 marvell,function = "gpio";
210 cp0_fan_pwm_pins: fan-pwm-pins {
212 marvell,function = "gpio";
215 cp0_sfp_present_pins: sfp-present-pins {
217 marvell,function = "gpio";
220 cp0_tpm_irq_pins: tpm-irq-pins {
222 marvell,function = "gpio";
225 cp0_wlan_disable_pins: wlan-disable-pins {
227 marvell,function = "gpio";
230 cp0_sdhci_pins: sdhci-pins {
238 pinctrl-names = "default";
239 pinctrl-0 = <&cp0_pci0_reset_pins &cp0_wlan_disable_pins>;
240 reset-gpios = <&cp0_gpio2 0 GPIO_ACTIVE_LOW>;
242 phy-names = "cp0-pcie0-x1-phy";
248 gpio-hog;
250 output-high;
254 gpio-hog;
256 output-low;
260 gpio-hog;
262 output-low;
266 gpio-hog;
268 output-low;
279 phy-mode = "10gbase-r";
280 managed = "in-band-status";
286 broken-cd;
287 bus-width = <4>;
288 pinctrl-names = "default";
289 pinctrl-0 = <&cp0_sdhci_pins>;
291 vqmmc-supply = <&v_3_3>;
301 * [0-5] TDM
310 * [24] Topaz switch reset
319 cp1_spi1_pins: spi1-pins {
324 cp1_switch_reset_pins: switch-reset-pins {
326 marvell,function = "gpio";
329 cp1_ge_mdio_pins: ge-mdio-pins {
334 cp1_sfp_tx_disable_pins: sfp-tx-disable-pins {
336 marvell,function = "gpio";
339 cp1_wps_button_pins: wps-button-pins {
341 marvell,function = "gpio";
346 pinctrl-0 = <&cp0_pci1_reset_pins>;
349 sata-port@1 {
351 phy-names = "cp1-sata0-1-phy";
356 pinctrl-names = "default";
357 pinctrl-0 = <&cp1_ge_mdio_pins>;
360 ge_phy: ethernet-phy@0 {
361 /* LED0 - GB link
362 * LED1 - on: link, blink: activity
364 marvell,reg-init = <3 16 0 0x1017>;
366 pinctrl-names = "default";
367 pinctrl-0 = <&cp0_copper_eth_phy_reset>;
368 reset-gpios = <&cp0_gpio2 11 GPIO_ACTIVE_LOW>;
369 reset-assert-us = <10000>;
370 reset-deassert-us = <10000>;
376 pinctrl-names = "default";
377 pinctrl-0 = <&cp1_switch_reset_pins>;
378 reset-gpios = <&cp1_gpio1 24 GPIO_ACTIVE_LOW>;
381 #address-cells = <1>;
382 #size-cells = <0>;
387 phy-handle = <&switch0phy0>;
393 phy-handle = <&switch0phy1>;
399 phy-handle = <&switch0phy2>;
405 phy-handle = <&switch0phy3>;
412 phy-mode = "2500base-x";
413 managed = "in-band-status";
418 #address-cells = <1>;
419 #size-cells = <0>;
447 phy-mode = "sgmii";
455 phy-mode = "2500base-x";
457 managed = "in-band-status";
461 pinctrl-names = "default";
462 pinctrl-0 = <&cp1_spi1_pins>;
465 spi-flash@0 {
467 spi-max-frequency = <50000000>;
474 compatible = "usb-a-connector";
475 phy-supply = <&v_5v0_usb3_hst_vbus>;
481 phy-names = "cp1-usb3h0-comphy";