Lines Matching +full:mdio +full:- +full:gpio0

1 // SPDX-License-Identifier: GPL-2.0
6 /dts-v1/;
9 #include <dt-bindings/input/input.h>
14 #address-cells = <1>;
15 #size-cells = <1>;
24 stdout-path = &uart0;
28 compatible = "gpio-keys";
30 button-setup {
31 debounce-interval = <100>;
32 wakeup-source;
36 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
41 compatible = "gpio-leds";
42 led-green-info {
44 gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>;
45 default-state = "on";
46 linux,default-trigger = "heartbeat";
48 led-green-usb {
50 gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
51 default-state = "off";
52 linux,default-trigger = "usb-host";
56 mdio0: mdio {
57 compatible = "virtual,mdio-gpio";
58 /* Uses MDC and MDIO */
59 gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */
60 <&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */
61 #address-cells = <1>;
62 #size-cells = <0>;
65 phy0: ethernet-phy@1 {
71 compatible = "spi-gpio";
72 #address-cells = <1>;
73 #size-cells = <0>;
75 sck-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
76 miso-gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>;
77 mosi-gpios = <&gpio1 29 GPIO_ACTIVE_HIGH>;
78 cs-gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>;
79 num-chipselects = <1>;
85 spi-max-frequency = <2500000>;
86 gpio-controller;
87 #gpio-cells = <2>;
90 #address-cells = <1>;
91 #size-cells = <0>;
113 phy-mode = "rgmii";
114 fixed-link {
116 full-duplex;
128 pinctrl-names = "enabled", "disabled";
129 pinctrl-0 = <&pflash_default_pins>;
130 pinctrl-1 = <&pflash_disabled_pins>;
135 compatible = "redboot-fis";
137 fis-index-block = <0x1fc>;
146 * gpio0hgrp cover line 21, 22 used by MDIO for Marvell PHY
149 gpio0_default_pins: pinctrl-gpio0 {
151 function = "gpio0";
160 gpio1_default_pins: pinctrl-gpio1 {
171 pflash_disabled_pins: pinctrl-pflash-disabled {
173 function = "gpio0";
178 pinctrl-gmii {
186 skew-delay = <0>;
190 skew-delay = <15>;
194 skew-delay = <7>;
198 skew-delay = <10>;
202 skew-delay = <7>;
206 skew-delay = <8>;
210 skew-delay = <7>;
214 skew-delay = <5>;
226 skew-delay = <7>;
231 drive-strength = <16>;
238 cortina,gemini-ata-muxmode = <0>;
239 cortina,gemini-enable-sata-bridge;
243 gpio0: gpio@4d000000 { label
244 pinctrl-names = "default";
245 pinctrl-0 = <&gpio0_default_pins>;
249 pinctrl-names = "default";
250 pinctrl-0 = <&gpio1_default_pins>;
260 ethernet-port@0 {
261 phy-mode = "rgmii";
262 phy-handle = <&phy0>;
264 ethernet-port@1 {
265 phy-mode = "rgmii";
266 fixed-link {
268 full-duplex;