Lines Matching +full:regulator +full:- +full:poweroff
1 // SPDX-License-Identifier: GPL-2.0
9 * Based on netxbig_v2-setup.c,
14 #include <dt-bindings/leds/leds-netxbig.h>
16 #include "kirkwood-6281.dtsi"
21 stdout-path = &uart0;
33 #address-cells = <1>;
34 #size-cells = <1>;
35 compatible = "mxicy,mx25l4005a", "jedec,spi-nor";
37 spi-max-frequency = <20000000>;
42 label = "u-boot";
49 nr-ports = <2>;
54 gpio-keys {
55 compatible = "gpio-keys";
56 #address-cells = <1>;
57 #size-cells = <0>;
66 linux,input-type = <5>;
72 linux,input-type = <5>;
83 gpio-poweroff {
84 compatible = "gpio-poweroff";
90 compatible = "simple-bus";
91 #address-cells = <1>;
92 #size-cells = <0>;
93 pinctrl-names = "default";
95 regulator@1 {
96 compatible = "regulator-fixed";
98 regulator-name = "hdd0power";
99 regulator-min-microvolt = <5000000>;
100 regulator-max-microvolt = <5000000>;
101 enable-active-high;
102 regulator-always-on;
103 regulator-boot-on;
108 netxbig_gpio_ext: netxbig-gpio-ext {
109 compatible = "lacie,netxbig-gpio-ext";
111 addr-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH
114 data-gpios = <&gpio1 12 GPIO_ACTIVE_HIGH
117 enable-gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>;
120 netxbig-leds {
121 compatible = "lacie,netxbig-leds";
123 gpio-ext = <&netxbig_gpio_ext>;
128 blue-power {
130 mode-addr = <0>;
131 mode-val = <NETXBIG_LED_OFF 0
135 bright-addr = <1>;
136 max-brightness = <7>;
138 red-power {
140 mode-addr = <0>;
141 mode-val = <NETXBIG_LED_OFF 0
144 bright-addr = <1>;
145 max-brightness = <7>;
147 blue-sata0 {
149 mode-addr = <3>;
150 mode-val = <NETXBIG_LED_OFF 0
154 bright-addr = <2>;
155 max-brightness = <7>;
157 red-sata0 {
159 mode-addr = <3>;
160 mode-val = <NETXBIG_LED_OFF 0
163 bright-addr = <2>;
164 max-brightness = <7>;
166 blue-sata1 {
168 mode-addr = <4>;
169 mode-val = <NETXBIG_LED_OFF 0
173 bright-addr = <2>;
174 max-brightness = <7>;
176 red-sata1 {
178 mode-addr = <4>;
179 mode-val = <NETXBIG_LED_OFF 0
182 bright-addr = <2>;
183 max-brightness = <7>;
191 ethphy0: ethernet-phy@0 {
195 ethphy1: ethernet-phy@1 {
202 ethernet0-port@0 {
203 phy-handle = <ðphy0>;
208 pinctrl-names = "default";
210 pmx_button_function: pmx-button-function {
214 pmx_button_power_off: pmx-button-power-off {
218 pmx_button_power_on: pmx-button-power-on {