Lines Matching +full:alarm +full:- +full:gpios
3 * Copyright (C) 2014 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4 * Based on the board file arch/arm/mach-orion5x/lsmini-setup.c,
7 * This file is dual-licensed: you can use it either under the terms
46 /dts-v1/;
48 #include <dt-bindings/gpio/gpio.h>
49 #include <dt-bindings/input/input.h>
50 #include <dt-bindings/interrupt-controller/irq.h>
51 #include "orion5x-mv88f5182.dtsi"
54 model = "Buffalo Linkstation Mini (LS-WSGL)";
55 compatible = "buffalo,lswsgl", "marvell,orion5x-88f5182", "marvell,orion5x";
64 stdout-path = &uart0;
73 gpio-keys {
74 compatible = "gpio-keys";
75 pinctrl-0 = <&pmx_buttons>;
76 pinctrl-names = "default";
78 key-func {
81 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
84 key-power {
85 label = "Power-on Switch";
86 linux,input-type = <5>; /* EV_SW */
88 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
91 key-autopower {
92 label = "Power-auto Switch";
93 linux,input-type = <5>; /* EV_SW */
95 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
99 gpio-leds {
100 compatible = "gpio-leds";
101 pinctrl-0 = <&pmx_led_alarm &pmx_led_info &pmx_led_func
103 pinctrl-names = "default";
105 led-alarm {
106 label = "lswsgl:alarm:red";
107 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
110 led-info {
112 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
115 led-func {
117 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
120 led-power {
122 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
123 default-state = "on";
128 compatible = "restart-poweroff";
132 compatible = "simple-bus";
133 #address-cells = <1>;
134 #size-cells = <0>;
135 pinctrl-0 = <&pmx_sata0_power &pmx_sata1_power &pmx_usb_power>;
136 pinctrl-names = "default";
139 compatible = "regulator-fixed";
141 regulator-name = "SATA0 Power";
142 regulator-min-microvolt = <5000000>;
143 regulator-max-microvolt = <5000000>;
144 enable-active-high;
145 regulator-always-on;
146 regulator-boot-on;
151 compatible = "regulator-fixed";
153 regulator-name = "SATA1 Power";
154 regulator-min-microvolt = <5000000>;
155 regulator-max-microvolt = <5000000>;
156 enable-active-high;
157 regulator-always-on;
158 regulator-boot-on;
163 compatible = "regulator-fixed";
165 regulator-name = "USB Power";
166 regulator-min-microvolt = <5000000>;
167 regulator-max-microvolt = <5000000>;
168 enable-active-high;
169 regulator-always-on;
170 regulator-boot-on;
179 devbus,keep-config;
182 compatible = "cfi-flash";
184 bank-width = <1>;
185 #address-cells = <1>;
186 #size-cells = <1>;
191 read-only;
199 ethphy: ethernet-phy {
211 ethernet-port@0 {
212 phy-handle = <ðphy>;
218 clock-frequency = <100000>;
219 #address-cells = <1>;
228 pmx_buttons: pmx-buttons {
233 pmx_led_alarm: pmx-leds {
238 pmx_led_info: pmx-leds {
243 pmx_led_func: pmx-leds {
248 pmx_led_power: pmx-leds {
253 pmx_sata0_power: pmx-sata0-power {
258 pmx_sata1_power: pmx-sata1-power {
263 pmx_usb_power: pmx-usb-power {
271 nr-ports = <2>;