Commit | Line | Data |
---|---|---|
e443631d VP |
1 | * Device tree bindings for Allwinner A10, A20 PS2 host controller |
2 | ||
3 | A20 PS2 is dual role controller (PS2 host and PS2 device). These bindings are | |
4 | for PS2 A10/A20 host controller. IBM compliant IBM PS2 and AT-compatible keyboard | |
5 | and mouse can be connected. | |
6 | ||
7 | Required properties: | |
8 | ||
9 | - reg : Offset and length of the register set for the device. | |
10 | - compatible : Should be as of the following: | |
11 | - "allwinner,sun4i-a10-ps2" | |
12 | - interrupts : The interrupt line connected to the PS2. | |
13 | - clocks : The gate clk connected to the PS2. | |
14 | ||
15 | ||
16 | Example: | |
17 | ps20: ps2@0x01c2a000 { | |
18 | compatible = "allwinner,sun4i-a10-ps2"; | |
19 | reg = <0x01c2a000 0x400>; | |
20 | interrupts = <0 62 4>; | |
21 | clocks = <&apb1_gates 6>; | |
22 | status = "disabled"; | |
23 | }; |