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

2  * Device Tree file for D-Link DIR-685 Xtreme N Storage Router
5 /dts-v1/;
8 #include <dt-bindings/input/input.h>
11 model = "D-Link DIR-685 Xtreme N Storage Router";
12 compatible = "dlink,dir-685", "cortina,gemini";
13 #address-cells = <1>;
14 #size-cells = <1>;
17 /* 128 MB SDRAM in 2 x Hynix HY5DU121622DTP-D43 */
24 stdout-path = "uart0:19200n8";
28 compatible = "gpio-keys";
30 button-esc {
31 debounce-interval = <100>;
32 wakeup-source;
36 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
38 button-eject {
39 debounce-interval = <100>;
40 wakeup-source;
44 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
49 compatible = "regulator-fixed";
50 regulator-name = "display-power";
51 regulator-min-microvolt = <3600000>;
52 regulator-max-microvolt = <3600000>;
54 gpio = <&gpio0 16 GPIO_ACTIVE_HIGH>;
55 enable-active-high;
59 compatible = "spi-gpio";
60 #address-cells = <1>;
61 #size-cells = <0>;
64 sck-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
65 miso-gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
66 mosi-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
67 cs-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
68 num-chipselects = <1>;
71 compatible = "dlink,dir-685-panel", "ilitek,ili9322";
74 spi-max-frequency = <20000000>;
75 vcc-supply = <&vdisp>;
76 iovcc-supply = <&vdisp>;
77 vci-supply = <&vdisp>;
81 remote-endpoint = <&display_out>;
88 compatible = "gpio-leds";
89 led-wps {
92 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
93 default-state = "on";
94 linux,default-trigger = "heartbeat";
104 led-blue-hd {
107 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
108 default-state = "off";
109 linux,default-trigger = "disk-read";
111 led-orange-hd {
114 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
115 default-state = "off";
116 linux,default-trigger = "disk-write";
121 * This is a Sunon Maglev GM0502PFV2-8 cooling fan @10000 RPM.
126 fan0: gpio-fan {
127 compatible = "gpio-fan";
130 gpio-fan,speed-map = <0 0>, <10000 1>;
131 #cooling-cells = <2>;
134 thermal-zones {
135 chassis-thermal {
137 polling-delay = <20000>;
139 polling-delay-passive = <2000>;
141 thermal-sensors = <&drive0>;
145 alert: chassis-alert {
151 crit: chassis-crit {
159 cooling-maps {
162 cooling-device = <&fan0 1 1>;
169 * The touchpad input is connected to a GPIO bit-banged
173 compatible = "i2c-gpio";
175 sda-gpios = <&gpio0 5 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
176 scl-gpios = <&gpio0 6 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
177 #address-cells = <1>;
178 #size-cells = <0>;
181 compatible = "dlink,dir685-touchkeys";
183 interrupt-parent = <&gpio0>;
192 /* 22 = MDIO (has input reads), 21 = MDC (clock, output only) */
193 mdc-gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>;
194 mdio-gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
195 reset-gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
196 realtek,disable-leds;
198 switch_intc: interrupt-controller {
200 interrupt-parent = <&gpio0>;
202 interrupt-controller;
203 #address-cells = <0>;
204 #interrupt-cells = <1>;
208 #address-cells = <1>;
209 #size-cells = <0>;
214 phy-handle = <&phy0>;
219 phy-handle = <&phy1>;
224 phy-handle = <&phy2>;
229 phy-handle = <&phy3>;
234 phy-handle = <&phy4>;
240 phy-mode = "rgmii";
241 fixed-link {
243 full-duplex;
250 mdio {
251 compatible = "realtek,smi-mdio";
252 #address-cells = <1>;
253 #size-cells = <0>;
257 interrupt-parent = <&switch_intc>;
262 interrupt-parent = <&switch_intc>;
267 interrupt-parent = <&switch_intc>;
272 interrupt-parent = <&switch_intc>;
277 interrupt-parent = <&switch_intc>;
294 pinctrl-names = "enabled", "disabled";
295 pinctrl-0 = <&pflash_default_pins>;
296 pinctrl-1 = <&pflash_disabled_pins>;
302 compatible = "fixed-partitions";
303 #address-cells = <1>;
304 #size-cells = <1>;
312 read-only;
322 read-only;
328 read-only;
338 read-only;
343 read-only;
360 * gpio0hgrp cover line 21,22 used by RTL8366RB MDIO
362 gpio0_default_pins: pinctrl-gpio0 {
364 function = "gpio0";
377 gpio1_default_pins: pinctrl-gpio1 {
388 pflash_disabled_pins: pinctrl-pflash-disabled {
390 function = "gpio0";
395 pinctrl-gmii {
413 skew-delay = <7>;
418 drive-strength = <16>;
425 cortina,gemini-ata-muxmode = <0>;
426 cortina,gemini-enable-sata-bridge;
430 gpio0: gpio@4d000000 { label
431 pinctrl-names = "default";
432 pinctrl-0 = <&gpio0_default_pins>;
436 pinctrl-names = "default";
437 pinctrl-0 = <&gpio1_default_pins>;
447 ethernet-port@0 {
448 phy-mode = "rgmii";
449 fixed-link {
451 full-duplex;
455 ethernet-port@1 {
468 drive0: ide-port@0 {
470 #thermal-sensor-cells = <0>;
474 display-controller@6a000000 {
479 remote-endpoint = <&panel_in>;