- cirrus,ep9301-pinctrl
- cirrus,ep9307-pinctrl
- cirrus,ep9312-pinctrl
- regmap:
- description: phandle to syscon
patternProperties:
- '^pinctrl-':
+ '^pins-':
type: object
description: pin node
$ref: pinmux-node.yaml#
properties:
function:
- enum: [ spi, ac97, i2s, pwm, keypad, pata, lcd, gpio1, gpio2, gpio3,
- gpio4, gpio6, gpio7 ]
+ enum: [ spi, ac97, i2s, pwm, keypad, pata, lcd, gpio ]
groups:
minItems: 1
maxItems: 2
required:
- compatible
- - regmap
additionalProperties: false
examples:
- |
- syscon: syscon@80930000 {
- compatible = "cirrus,ep9301-syscon",
- "syscon", "simple-mfd";
- reg = <0x80930000 0x1000>;
- #clock-cells = <1>;
- #reset-cells = <1>;
- pinctrl: pinctrl {
- compatible = "cirrus,ep9312-pinctrl";
- regmap = <&syscon>;
- spi_default_pins: pinctrl-spi {
- function = "spi";
- groups = "ssp";
- };
+ syscon@80930000 {
+ compatible = "cirrus,ep9301-syscon",
+ "syscon", "simple-mfd";
+ reg = <0x80930000 0x1000>;
+ #clock-cells = <1>;
+ #reset-cells = <1>;
+ pinctrl {
+ compatible = "cirrus,ep9312-pinctrl";
+ spi_default_pins: pinctrl-spi {
+ function = "spi";
+ groups = "ssp";
};
+ };
};