Allwinner A10 PS2 Host Controller

Schema identifier ($id): "http://devicetree.org/schemas/serio/allwinner,sun4i-a10-ps2.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

A20 PS2 is dual role controller (PS2 host and PS2 device). These bindings for PS2 A10/A20 host controller. IBM compliant IBM PS2 and AT-compatible keyboard and mouse can be connected.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "allwinner,sun4i-a10-ps2"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/sun7i-a20-ccu.h>

ps20: ps2@1c2a000 {
    compatible = "allwinner,sun4i-a10-ps2";
    reg = <0x01c2a000 0x400>;
    interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&ccu CLK_APB1_PS20>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page