brintos

brintos / linux-shallow public Read only

0
0
Text · 976 B · 9630c84 Raw
52 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/net/rfkill-gpio.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: GPIO controlled rfkill switch8 9maintainers:10  - Johannes Berg <johannes@sipsolutions.net>11  - Philipp Zabel <p.zabel@pengutronix.de>12 13properties:14  compatible:15    const: rfkill-gpio16 17  label:18    description: rfkill switch name, defaults to node name19 20  radio-type:21    description: rfkill radio type22    enum:23      - bluetooth24      - fm25      - gps26      - nfc27      - ultrawideband28      - wimax29      - wlan30      - wwan31 32  shutdown-gpios:33    maxItems: 134 35required:36  - compatible37  - radio-type38  - shutdown-gpios39 40additionalProperties: false41 42examples: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_ACTIVE_HIGH>;51    };52