Lines Matching +full:power +full:- +full:gpio

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree common file for kirkwood-6281 based 2-Bay Buffalo Linkstation
10 #include "kirkwood-6281.dtsi"
11 #include "kirkwood-linkstation.dtsi"
15 pinctrl: pin-controller@10000 {
16 pmx_power_hdd0: pmx-power-hdd0 {
18 marvell,function = "gpio";
20 pmx_power_hdd1: pmx-power-hdd1 {
22 marvell,function = "gpio";
24 pmx_usb_vbus: pmx-usb-vbus {
26 marvell,function = "gpio";
28 pmx_led_alarm: pmx-led-alarm {
30 marvell,function = "gpio";
32 pmx_led_function_red: pmx-led-function-red {
34 marvell,function = "gpio";
36 pmx_led_function_blue: pmx-led-function-blue {
38 marvell,function = "gpio";
40 pmx_led_info: pmx-led-info {
42 marvell,function = "gpio";
44 pmx_led_power: pmx-led-power {
46 marvell,function = "gpio";
48 pmx_button_function: pmx-button-function {
50 marvell,function = "gpio";
52 pmx_power_switch: pmx-power-switch {
54 marvell,function = "gpio";
56 pmx_power_auto_switch: pmx-power-auto-switch {
58 marvell,function = "gpio";
63 nr-ports = <2>;
68 function-button {
72 power-on-switch {
76 power-auto-switch {
82 red-alarm-led {
87 red-function-led {
92 amber-info-led {
97 blue-function-led {
102 blue-power-led {
103 label = "linkstation:blue:power";
105 default-state = "keep";
110 pinctrl-0 = <&pmx_power_hdd0 &pmx_power_hdd1 &pmx_usb_vbus>;
113 gpio = <&gpio1 5 GPIO_ACTIVE_HIGH>;
117 gpio = <&gpio0 28 GPIO_ACTIVE_HIGH>;
121 compatible = "regulator-fixed";
123 regulator-name = "HDD1 Power";
124 regulator-min-microvolt = <5000000>;
125 regulator-max-microvolt = <5000000>;
126 enable-active-high;
127 regulator-always-on;
128 regulator-boot-on;
129 gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>;
137 ethphy1: ethernet-phy@8 {
138 device_type = "ethernet-phy";
146 ethernet1-port@0 {
147 phy-handle = <&ethphy1>;