Lines Matching +full:mdio +full:- +full:gpios
1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree file for Wiliboard WBD-222
6 /dts-v1/;
9 #include <dt-bindings/input/input.h>
12 model = "Wiliboard WBD-222";
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 5 GPIO_ACTIVE_LOW>;
41 compatible = "gpio-leds";
43 led-red-l3 {
46 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
47 default-state = "off";
49 led-green-l4 {
52 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
53 default-state = "off";
55 led-red-l4 {
58 gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
59 default-state = "off";
61 led-green-l3 {
64 gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
65 default-state = "on";
66 linux,default-trigger = "heartbeat";
70 mdio0: mdio {
71 compatible = "virtual,mdio-gpio";
72 gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */
73 <&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */
74 #address-cells = <1>;
75 #size-cells = <0>;
77 phy0: ethernet-phy@1 {
79 device_type = "ethernet-phy";
82 phy1: ethernet-phy@3 {
84 device_type = "ethernet-phy";
95 compatible = "redboot-fis";
97 fis-index-block = <0x3f>;
104 * gpio0agrp cover line 0-4
107 gpio0_default_pins: pinctrl-gpio0 {
114 pinctrl-gmii {
125 pinctrl-names = "default";
126 pinctrl-0 = <&gpio0_default_pins>;
136 ethernet-port@0 {
137 phy-mode = "rgmii";
138 phy-handle = <&phy0>;
140 ethernet-port@1 {
141 phy-mode = "rgmii";
142 phy-handle = <&phy1>;