Lines Matching +full:init +full:- +full:gpios

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 * Copyright 2020-2022 Pawel Dembicki <paweldembicki@gmail.com>
5 * Copyright (c) 2015-2021, Tony Dinh <mibodhi@gmail.com>
6 * Copyright (c) 2014, Adam Baker <linux@baker-net.org.uk>
9 /dts-v1/;
12 #include "kirkwood-6281.dtsi"
13 #include <dt-bindings/leds/common.h>
17 compatible = "zyxel,nsa310s", "marvell,kirkwood-88f6702", "marvell,kirkwood";
26 stdout-path = &uart0;
30 compatible = "gpio-poweroff";
31 pinctrl-0 = <&pmx_pwr_off>;
32 pinctrl-names = "default";
33 gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>;
37 compatible = "gpio-keys";
38 pinctrl-0 = <&pmx_buttons>;
39 pinctrl-names = "default";
41 button-power {
44 gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>;
47 button-copy {
50 gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
53 button-reset {
56 gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
61 compatible = "gpio-leds";
62 pinctrl-0 = <&pmx_leds>;
63 pinctrl-names = "default";
65 led-1 {
68 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
71 led-2 {
74 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
75 linux,default-trigger = "usb-host";
78 led-3 {
81 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
82 linux,default-trigger = "ata1";
85 led-4 {
88 gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
91 led-5 {
94 gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>;
97 led-6 {
100 gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
101 linux,default-trigger = "default-on";
104 led-7 {
107 gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
112 compatible = "regulator-fixed";
113 regulator-name = "USB Power";
115 regulator-min-microvolt = <5000000>;
116 regulator-max-microvolt = <5000000>;
117 regulator-always-on;
118 regulator-boot-on;
123 compatible = "regulator-fixed";
124 regulator-name = "SATA1 Power";
126 regulator-min-microvolt = <5000000>;
127 regulator-max-microvolt = <5000000>;
128 regulator-always-on;
129 regulator-boot-on;
133 thermal-zones {
134 disk-thermal {
135 polling-delay = <20000>;
136 polling-delay-passive = <2000>;
138 thermal-sensors = <&hdd_temp>;
141 disk_alert: disk-alert {
146 disk_crit: disk-crit {
160 ethernet0-port@0 {
161 phy-handle = <&ethphy0>;
177 ethphy0: ethernet-phy@1 {
179 phy-mode = "rgmii-id";
180 marvell,reg-init = <0x1 0x16 0x0 0x3>,
189 chip-delay = <35>;
194 read-only;
215 pinctrl-names = "default";
217 pmx_buttons: pmx-buttons {
222 pmx_leds: pmx-leds {
228 pmx_power: pmx-power {
233 pmx_pwr_off: pmx-pwr-off {
245 nr-ports = <1>;
246 #address-cells = <1>;
247 #size-cells = <0>;
249 hdd_temp: sata-port@0 {
251 #thermal-sensor-cells = <0>;