Intel Keem Bay pin controller
Schema identifier ($id): "http://devicetree.org/schemas/pinctrl/intel,pinctrl-keembay.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lakshmi Sowjanya D <lakshmi.sowjanya.d@intel.com>"
Intel Keem Bay SoC integrates a pin controller which enables control of pin directions, input/output values and configuration for a total of 80 pins.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "intel,keembay-pinctrl"
reg — required here #
Maximum number of items (maxItems): 2
gpio-controller — required here #
true — No constraints added by this property rule.
#gpio-cells — required here #
Exact value (const): 2
ngpios — required here #
The number of GPIOs exposed.
Exact value (const): 80
interrupts — required here #
Specifies the interrupt lines to be used by the controller. Each interrupt line is shared by up to 4 GPIO lines.
Maximum number of items (maxItems): 8
interrupt-controller — required here #
true — No constraints added by this property rule.
#interrupt-cells — required here #
Exact value (const): 2
Properties matching a name pattern (patternProperties) #
^gpio@[0-9a-f]*$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Child nodes can be specified to contain pin configuration information, which can then be utilized by pinctrl client devices. The following properties are supported.
Properties and child nodes (properties) #
pins — not listed as required here
The name(s) of the pins to be configured in the child node. Supported pin names are "GPIO0" up to "GPIO79".
bias-disable — not listed as required here
true — No constraints added by this property rule.
bias-pull-down — not listed as required here
true — No constraints added by this property rule.
bias-pull-up — not listed as required here
true — No constraints added by this property rule.
drive-strength — not listed as required here
IO pads drive strength in milli Ampere.
Allowed values (enum): 2, 4, 8, 12
bias-bus-hold — not listed as required here
Value type (type): "boolean"
input-schmitt-enable — not listed as required here
Value type (type): "boolean"
slew-rate — not listed as required here
GPIO slew rate control. 0 - Fast(~100MHz) 1 - Slow(~50MHz)
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "gpio-controller", "ngpios", "#gpio-cells", "interrupts", "interrupt-controller", "#interrupt-cells"
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
// Example 1
gpio@0 {
compatible = "intel,keembay-pinctrl";
reg = <0x600b0000 0x88>,
<0x600b0190 0x1ac>;
gpio-controller;
ngpios = <0x50>;
#gpio-cells = <0x2>;
interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller;
#interrupt-cells = <2>;
};
// Example 2
gpio@1 {
compatible = "intel,keembay-pinctrl";
reg = <0x600c0000 0x88>,
<0x600c0190 0x1ac>;
gpio-controller;
ngpios = <0x50>;
#gpio-cells = <0x2>;
interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller;
#interrupt-cells = <2>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)