Lines Matching +full:mdc +full:- +full:gpios

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-reset {
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>;
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";
129 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
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>;
190 ethernet-switch {
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>;
207 ethernet-ports {
208 #address-cells = <1>;
209 #size-cells = <0>;
211 ethernet-port@0 {
214 phy-handle = <&phy0>;
216 ethernet-port@1 {
219 phy-handle = <&phy1>;
221 ethernet-port@2 {
224 phy-handle = <&phy2>;
226 ethernet-port@3 {
229 phy-handle = <&phy3>;
231 ethernet-port@4 {
234 phy-handle = <&phy4>;
236 rtl8366rb_cpu_port: ethernet-port@5 {
240 phy-mode = "rgmii";
241 fixed-link {
243 full-duplex;
251 compatible = "realtek,smi-mdio";
252 #address-cells = <1>;
253 #size-cells = <0>;
255 phy0: ethernet-phy@0 {
257 interrupt-parent = <&switch_intc>;
260 phy1: ethernet-phy@1 {
262 interrupt-parent = <&switch_intc>;
265 phy2: ethernet-phy@2 {
267 interrupt-parent = <&switch_intc>;
270 phy3: ethernet-phy@3 {
272 interrupt-parent = <&switch_intc>;
275 phy4: ethernet-phy@4 {
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;
362 gpio0_default_pins: pinctrl-gpio0 {
377 gpio1_default_pins: pinctrl-gpio1 {
388 pflash_disabled_pins: pinctrl-pflash-disabled {
395 pinctrl-gmii {
413 skew-delay = <7>;
418 drive-strength = <16>;
425 cortina,gemini-ata-muxmode = <0>;
426 cortina,gemini-enable-sata-bridge;
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>;