Lines Matching +full:mdio +full:- +full:gpios

1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-ipq8064.dtsi"
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
7 model = "MikroTik RB3011UiAS-RM";
14 mdio-gpio0 = &mdio0;
15 mdio-gpio1 = &mdio1;
20 stdout-path = "serial0:115200n8";
23 gpio-keys {
24 compatible = "gpio-keys";
25 pinctrl-0 = <&buttons_pins>;
26 pinctrl-names = "default";
31 gpios = <&qcom_pinmux 66 GPIO_ACTIVE_LOW>;
32 linux,input-type = <1>;
33 debounce-interval = <60>;
38 compatible = "gpio-leds";
39 pinctrl-0 = <&leds_pins>;
40 pinctrl-names = "default";
42 led-0 {
45 gpios = <&qcom_pinmux 33 GPIO_ACTIVE_HIGH>;
46 default-state = "off";
55 mdio0: mdio-0 {
57 compatible = "virtual,mdio-gpio";
58 gpios = <&qcom_pinmux 1 GPIO_ACTIVE_HIGH>,
60 #address-cells = <1>;
61 #size-cells = <0>;
63 pinctrl-0 = <&mdio0_pins>;
64 pinctrl-names = "default";
71 pinctrl-0 = <&sw0_reset_pin>;
72 pinctrl-names = "default";
74 reset-gpios = <&qcom_pinmux 16 GPIO_ACTIVE_LOW>;
78 #address-cells = <1>;
79 #size-cells = <0>;
85 phy-mode = "rgmii-id";
86 fixed-link {
88 full-duplex;
97 #address-cells = <1>;
98 #size-cells = <0>;
104 default-state = "keep";
114 #address-cells = <1>;
115 #size-cells = <0>;
121 default-state = "keep";
131 #address-cells = <1>;
132 #size-cells = <0>;
138 default-state = "keep";
148 #address-cells = <1>;
149 #size-cells = <0>;
155 default-state = "keep";
165 #address-cells = <1>;
166 #size-cells = <0>;
172 default-state = "keep";
180 mdio1: mdio-1 {
182 compatible = "virtual,mdio-gpio";
183 gpios = <&qcom_pinmux 11 GPIO_ACTIVE_HIGH>,
185 #address-cells = <1>;
186 #size-cells = <0>;
188 pinctrl-0 = <&mdio1_pins>;
189 pinctrl-names = "default";
196 pinctrl-0 = <&sw1_reset_pin>;
197 pinctrl-names = "default";
199 reset-gpios = <&qcom_pinmux 17 GPIO_ACTIVE_LOW>;
203 #address-cells = <1>;
204 #size-cells = <0>;
210 phy-mode = "sgmii";
211 fixed-link {
213 full-duplex;
222 #address-cells = <1>;
223 #size-cells = <0>;
229 default-state = "keep";
239 #address-cells = <1>;
240 #size-cells = <0>;
246 default-state = "keep";
256 #address-cells = <1>;
257 #size-cells = <0>;
263 default-state = "keep";
273 #address-cells = <1>;
274 #size-cells = <0>;
280 default-state = "keep";
290 #address-cells = <1>;
291 #size-cells = <0>;
297 default-state = "keep";
313 pinctrl-0 = <&spi_pins>;
314 pinctrl-names = "default";
316 cs-gpios = <&qcom_pinmux 20 GPIO_ACTIVE_HIGH>;
319 compatible = "jedec,spi-nor";
320 #address-cells = <1>;
321 #size-cells = <1>;
322 spi-max-frequency = <50000000>;
342 phy-mode = "rgmii";
344 phy-handle = <&switch0cpu>;
346 fixed-link {
348 full-duplex;
355 phy-mode = "sgmii";
357 phy-handle = <&switch1cpu>;
359 fixed-link {
361 full-duplex;
384 nand-ecc-strength = <4>;
385 nand-bus-width = <8>;
386 nand-ecc-step-size = <512>;
389 compatible = "fixed-partitions";
390 #address-cells = <1>;
391 #size-cells = <1>;
410 drive-strength = <16>;
411 bias-disable;
418 drive-strength = <16>;
419 bias-disable;
427 drive-strength = <8>;
428 bias-disable;
435 drive-strength = <16>;
437 bias-disable;
438 input-disable;
445 drive-strength = <16>;
447 bias-disable;
448 input-disable;
456 drive-strength = <16>;
457 bias-disable;
458 output-high;
468 pinctrl-0 = <&usb1_pwr_en_pins>;
469 pinctrl-names = "default";