[PATCHv4 1/3] dt-bindings: net: wireless: ath9k: add led bindings

From: Rosen Penev
Date: Tue Aug 26 2025 - 20:57:34 EST


The ath9k driver has various pin GPIO numbers for different chipsets
which are not always correct for every device.

Add bindings to specify the correct number and if it should be
active-high.

Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
---
.../bindings/net/wireless/qca,ath9k.yaml | 17 +++++++++++++++++
1 file changed, 17 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/wireless/qca,ath9k.yaml b/Documentation/devicetree/bindings/net/wireless/qca,ath9k.yaml
index d16ca8e0a25d..9318024831ad 100644
--- a/Documentation/devicetree/bindings/net/wireless/qca,ath9k.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/qca,ath9k.yaml
@@ -50,6 +50,19 @@ properties:

ieee80211-freq-limit: true

+ led:
+ type: object
+ $ref: /schemas/leds/common.yaml#
+ additionalProperties: false
+ properties:
+ reg:
+ maxItems: 1
+
+ led-active-high:
+ description:
+ LED is enabled without ground signal.
+ type: boolean
+
qca,no-eeprom:
$ref: /schemas/types.yaml#/definitions/flag
description:
@@ -102,5 +115,9 @@ examples:
compatible = "qca,ar9130-wifi";
reg = <0x180c0000 0x230000>;
interrupts = <2>;
+ led {
+ reg = <0>;
+ led-active-high;
+ };
};
};
--
2.50.1