[PATCH 06/12] dt-bindings: pinctrl: airoha: describe all AN7583 GPIO mux groups
From: Zhengping Zhang
Date: Tue Nov 10 2026 - 06:01:48 EST
Expand the GPIO mux groups from GPIO39-52 to GPIO0-52 to describe
explicit GPIO mode selection across the controller's GPIO range.
Allow multiple GPIO groups in a single mux state.
Add spi to the supported SPI groups alongside spi_quad and spi_cs1,
and increase maxItems to allow all three groups in a single mux
state.
The corresponding driver support is added in subsequent patches.
Signed-off-by: Zhengping Zhang <zhengping.zhang@xxxxxxxxxx>
---
.../pinctrl/airoha,an7583-pinctrl.yaml | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/Documentation/devicetree/bindings/pinctrl/airoha,an7583-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/airoha,an7583-pinctrl.yaml
index aad2e9880ec6c..1a24c01eb4102 100644
--- a/Documentation/devicetree/bindings/pinctrl/airoha,an7583-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/airoha,an7583-pinctrl.yaml
@@ -157,8 +157,8 @@ patternProperties:
properties:
groups:
items:
- enum: [spi_quad, spi_cs1]
- maxItems: 2
+ enum: [spi, spi_quad, spi_cs1]
+ maxItems: 3
- if:
properties:
function:
@@ -192,9 +192,17 @@ patternProperties:
then:
properties:
groups:
- enum: [gpio39, gpio40, gpio41, gpio42, gpio43, gpio44,
- gpio45, gpio46, gpio47, gpio48, gpio49, gpio50,
- gpio51, gpio52]
+ items:
+ enum: [gpio0, gpio1, gpio2, gpio3, gpio4, gpio5, gpio6,
+ gpio7, gpio8, gpio9, gpio10, gpio11, gpio12, gpio13,
+ gpio14, gpio15, gpio16, gpio17, gpio18, gpio19, gpio20,
+ gpio21, gpio22, gpio23, gpio24, gpio25, gpio26, gpio27,
+ gpio28, gpio29, gpio30, gpio31, gpio32, gpio33, gpio34,
+ gpio35, gpio36, gpio37, gpio38, gpio39, gpio40, gpio41,
+ gpio42, gpio43, gpio44, gpio45, gpio46, gpio47, gpio48,
+ gpio49, gpio50, gpio51, gpio52]
+ minItems: 1
+ maxItems: 53
- if:
properties:
function:
--
2.43.0