Lines Matching +full:shutdown +full:- +full:gpios
1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2024 Josua Mayer <josua@solid-run.com>
9 /dts-v1/;
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/leds/common.h>
15 #include "cn9130-sr-som.dtsi"
16 #include "cn9130-cf.dtsi"
20 compatible = "solidrun,cn9130-clearfog-base",
21 "solidrun,cn9130-sr-som", "marvell,cn9130";
23 gpio-keys {
24 compatible = "gpio-keys";
25 pinctrl-0 = <&rear_button_pins>;
26 pinctrl-names = "default";
28 button-0 {
31 gpios = <&cp0_gpio1 31 GPIO_ACTIVE_LOW>;
32 linux,can-disable;
37 rfkill-m2-gnss {
38 compatible = "rfkill-gpio";
40 radio-type = "gps";
41 /* rfkill-gpio inverts internally */
42 shutdown-gpios = <&expander0 9 GPIO_ACTIVE_HIGH>;
45 /* M.2 is B-keyed, so w-disable is for WWAN */
46 rfkill-m2-wwan {
47 compatible = "rfkill-gpio";
49 radio-type = "wwan";
50 /* rfkill-gpio inverts internally */
51 shutdown-gpios = <&expander0 8 GPIO_ACTIVE_HIGH>;
55 /* SRDS #3 - SGMII 1GE */
59 phy-mode = "sgmii";
66 * - LED[0]: link/activity: On/blink (green)
67 * - LED[1]: link is 100/1000Mbps: On (yellow)
68 * - LED[2]: high impedance (floating)
70 marvell,reg-init = <3 16 0xf000 0x0a61>;
73 #address-cells = <1>;
74 #size-cells = <0>;
80 default-state = "keep";
87 default-state = "keep";
93 sim-select-hog {
94 gpio-hog;
95 gpios = <27 GPIO_ACTIVE_HIGH>;
96 output-high;
97 line-name = "sim-select";
102 phy1: ethernet-phy@1 {
106 * - LED[0]: link/activity: On/blink (green)
107 * - LED[1]: link is 100/1000Mbps: On (yellow)
108 * - LED[2]: high impedance (floating)
111 * - on-state: low
112 * - off-state: high (not hi-z, to avoid residual glow)
114 marvell,reg-init = <3 16 0xf000 0x0a61>,
118 #address-cells = <1>;
119 #size-cells = <0>;
125 default-state = "keep";
132 default-state = "keep";
139 pinctrl-0 = <&sim_select_pins>;
140 pintrl-names = "default";
142 rear_button_pins: cp0-rear-button-pins {
147 sim_select_pins: cp0-sim-select-pins {
154 * SRDS #4 - USB 3.0 host on M.2 connector
155 * USB-2.0 Host on Type-A connector
159 phy-names = "comphy", "utmi";
165 m2-full-card-power-off-hog {
166 gpio-hog;
167 gpios = <2 GPIO_ACTIVE_LOW>;
168 output-low;
169 line-name = "m2-full-card-power-off";
172 m2-reset-hog {
173 gpio-hog;
174 gpios = <10 GPIO_ACTIVE_LOW>;
175 output-low;
176 line-name = "m2-reset";