Lines Matching +full:gpio +full:- +full:poweroff

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/gpio/gpio.h>
12 #include "armada-xp-mv78230.dtsi"
16 …compatible = "netgear,readynas-2120", "marvell,armadaxp-mv78230", "marvell,armadaxp", "marvell,arm…
19 stdout-path = "serial0:115200n8";
33 internal-regs {
41 clock-frequency = <400000>;
45 * MGT4012XB-O20, 8000RPM) near eSATA port */
84 wakeup-source;
98 pinctrl-0 = <&ge0_rgmii_pins>;
99 pinctrl-names = "default";
103 phy-mode = "rgmii-id";
107 pinctrl-0 = <&ge1_rgmii_pins>;
108 pinctrl-names = "default";
112 phy-mode = "rgmii-id";
117 nr-ports = <2>;
124 g762_clk: g762-oscillator {
125 compatible = "fixed-clock";
126 #clock-cells = <0>;
127 clock-frequency = <32768>;
131 gpio-leds {
132 compatible = "gpio-leds";
133 pinctrl-0 = <&sata1_led_pin &sata2_led_pin &err_led_pin
135 pinctrl-names = "default";
137 red-sata1-led {
140 default-state = "off";
143 red-sata2-led {
146 default-state = "off";
149 red-sata3-led {
152 default-state = "off";
155 red-sata4-led {
158 default-state = "off";
161 red-err-led {
164 default-state = "off";
168 gpio-keys {
169 compatible = "gpio-keys";
170 pinctrl-0 = <&power_button_pin &reset_button_pin>;
171 pinctrl-names = "default";
173 power-button {
179 reset-button {
186 gpio-poweroff {
187 compatible = "gpio-poweroff";
188 pinctrl-0 = <&poweroff>;
189 pinctrl-names = "default";
217 phy0: ethernet-phy@0 { /* Marvell 88E1318 */
221 phy1: ethernet-phy@1 { /* Marvell 88E1318 */
228 poweroff: poweroff { label
230 marvell,function = "gpio";
233 power_button_pin: power-button-pin {
235 marvell,function = "gpio";
238 reset_button_pin: reset-button-pin {
240 marvell,function = "gpio";
243 sata1_led_pin: sata1-led-pin {
245 marvell,function = "gpio";
248 sata2_led_pin: sata2-led-pin {
250 marvell,function = "gpio";
253 sata3_led_pin: sata3-led-pin {
255 marvell,function = "gpio";
258 sata4_led_pin: sata4-led-pin {
260 marvell,function = "gpio";
263 sata1_power_pin: sata1-power-pin {
265 marvell,function = "gpio";
268 sata2_power_pin: sata2-power-pin {
270 marvell,function = "gpio";
273 sata3_power_pin: sata3-power-pin {
275 marvell,function = "gpio";
278 sata4_power_pin: sata4-power-pin {
280 marvell,function = "gpio";
283 sata1_pres_pin: sata1-pres-pin {
285 marvell,function = "gpio";
288 sata2_pres_pin: sata2-pres-pin {
290 marvell,function = "gpio";
293 sata3_pres_pin: sata3-pres-pin {
295 marvell,function = "gpio";
298 sata4_pres_pin: sata4-pres-pin {
300 marvell,function = "gpio";
303 err_led_pin: err-led-pin {
305 marvell,function = "gpio";
314 label = "pxa3xx_nand-0";
315 nand-rb = <0>;
316 marvell,nand-keep-config;
317 nand-on-flash-bbt;
320 nand-ecc-strength = <4>;
321 nand-ecc-step-size = <512>;
324 compatible = "fixed-partitions";
325 #address-cells = <1>;
326 #size-cells = <1>;
329 label = "u-boot";
331 read-only;
335 label = "u-boot-env";
337 read-only;