@@ -42,4 +42,54 @@ properties:
This property can be set either globally for the pin controller or in
child nodes for individual pin group control.
+ pins:
+ type: object
+
+ properties:
+ '#address-cells':
+ const: 1
+
+ '#size-cells':
+ const: 0
+
+ patternProperties:
+ "^pin@[0-9a-z]+$":
+ type: object
+
+ properties:
+ reg:
+ description: Pin number
+
+ label:
+ description: Pin name
+ $ref: /schemas/types.yaml#/definitions/string
+
+ additionalProperties: false
+
+ groups:
+ type: object
+
+ patternProperties:
+ "^.*$":
+ type: object
+ description: Group identified by node name
+
+ properties:
+ pins:
+ $ref: /schemas/types.yaml#/definitions/uint32-array
+ description: Array of pins belonging to this group
+
+ functions:
+ type: object
+
+ patternProperties:
+ "^.*$":
+ type: object
+ description: Function identified by node name
+
+ properties:
+ groups:
+ $ref: /schemas/types.yaml#/definitions/phandle-array
+ description: Array of pins groups used by this function
+
additionalProperties: true