1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 2 %YAML 1.2 3 --- 4 $id: http://devicetree.org/schemas/net/rfkill- 5 $schema: http://devicetree.org/meta-schemas/co 6 7 title: GPIO controlled rfkill switch 8 9 maintainers: 10 - Johannes Berg <johannes@sipsolutions.net> 11 - Philipp Zabel <p.zabel@pengutronix.de> 12 13 properties: 14 compatible: 15 const: rfkill-gpio 16 17 label: 18 description: rfkill switch name, defaults 19 20 radio-type: 21 description: rfkill radio type 22 enum: 23 - bluetooth 24 - fm 25 - gps 26 - nfc 27 - ultrawideband 28 - wimax 29 - wlan 30 - wwan 31 32 shutdown-gpios: 33 maxItems: 1 34 35 required: 36 - compatible 37 - radio-type 38 - shutdown-gpios 39 40 additionalProperties: false 41 42 examples: 43 - | 44 #include <dt-bindings/gpio/gpio.h> 45 46 rfkill { 47 compatible = "rfkill-gpio"; 48 label = "rfkill-pcie-wlan"; 49 radio-type = "wlan"; 50 shutdown-gpios = <&gpio2 25 GPIO_ACTIV 51 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.