* GPIO controlled RFKILL devices | |
Required properties: | |
- compatible : Must be "rfkill-gpio". | |
- rfkill-name : Name of RFKILL device | |
- rfkill-type : Type of RFKILL device: 1 for WiFi, 2 for BlueTooth | |
- shutdown-gpios : Shutdown GPIO phandle | |
- reset-gpios : Reset GPIO phandle | |
Note: Shutdown or reset, or both, must be valid. | |
Example: | |
bt-rfkill: rfkill@0 { | |
compatible = "rfkill-gpio"; | |
rfkill-name = "bluetooth"; | |
rfkill-type = <2>; | |
shutdown-gpios = <&gpio 0 GPIO_ACTIVE_HIGH> | |
reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW> | |
}; |