Keystone 2 DSP GPIO controller
Schema identifier ($id): "http://devicetree.org/schemas/gpio/ti,keystone-dsp-gpio.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Grygorii Strashko <grygorii.strashko@ti.com>"
HOST OS userland running on ARM can send interrupts to DSP cores using the DSP GPIO controller IP. It provides 28 IRQ signals per each DSP core. This is one of the component used by the IPC mechanism used on Keystone SOCs.
For example TCI6638K2K SoC has 8 DSP GPIO controllers: - 8 for C66x CorePacx CPUs 0-7
Keystone 2 DSP GPIO controller has specific features:
- each GPIO can be configured only as output pin;
- setting GPIO value to 1 causes IRQ generation on target DSP core;
- reading pin value returns 0 - if IRQ was handled or 1 - IRQ is still
pending.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ti,keystone-dsp-gpio"
reg — required here #
Maximum number of items (maxItems): 1
gpio-controller — required here #
true — No constraints added by this property rule.
#gpio-cells — required here #
Exact value (const): 2
gpio,syscon-dev — required here #
Phandle and offset of device's specific registers within the syscon state control registers
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to syscon
Item 2
register offset within state control registers
Required in this object (required): "compatible", "reg", "gpio-controller", "#gpio-cells", "gpio,syscon-dev"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
gpio@240 {
compatible = "ti,keystone-dsp-gpio";
reg = <0x240 0x4>;
gpio-controller;
#gpio-cells = <2>;
gpio,syscon-dev = <&devctrl 0x240>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)