xref: /freebsd/sys/contrib/device-tree/Bindings/serio/arm,pl050.yaml (revision d5b0e70f7e04d971691517ce1304d86a1e367e2e)
1*d5b0e70fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*d5b0e70fSEmmanuel Vadot%YAML 1.2
3*d5b0e70fSEmmanuel Vadot---
4*d5b0e70fSEmmanuel Vadot$id: http://devicetree.org/schemas/serio/arm,pl050.yaml#
5*d5b0e70fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*d5b0e70fSEmmanuel Vadot
7*d5b0e70fSEmmanuel Vadottitle: Arm Ltd. PrimeCell PL050 PS/2 Keyboard/Mouse Interface
8*d5b0e70fSEmmanuel Vadot
9*d5b0e70fSEmmanuel Vadotmaintainers:
10*d5b0e70fSEmmanuel Vadot  - Andre Przywara <andre.przywara@arm.com>
11*d5b0e70fSEmmanuel Vadot
12*d5b0e70fSEmmanuel Vadotdescription:
13*d5b0e70fSEmmanuel Vadot  The Arm PrimeCell PS2 Keyboard/Mouse Interface (KMI) is an AMBA compliant
14*d5b0e70fSEmmanuel Vadot  peripheral that can be used to implement a keyboard or mouse interface that
15*d5b0e70fSEmmanuel Vadot  is IBM PS2 or AT compatible.
16*d5b0e70fSEmmanuel Vadot
17*d5b0e70fSEmmanuel Vadot# We need a select here so we don't match all nodes with 'arm,primecell'
18*d5b0e70fSEmmanuel Vadotselect:
19*d5b0e70fSEmmanuel Vadot  properties:
20*d5b0e70fSEmmanuel Vadot    compatible:
21*d5b0e70fSEmmanuel Vadot      contains:
22*d5b0e70fSEmmanuel Vadot        const: arm,pl050
23*d5b0e70fSEmmanuel Vadot  required:
24*d5b0e70fSEmmanuel Vadot    - compatible
25*d5b0e70fSEmmanuel Vadot
26*d5b0e70fSEmmanuel Vadotproperties:
27*d5b0e70fSEmmanuel Vadot  compatible:
28*d5b0e70fSEmmanuel Vadot    items:
29*d5b0e70fSEmmanuel Vadot      - const: arm,pl050
30*d5b0e70fSEmmanuel Vadot      - const: arm,primecell
31*d5b0e70fSEmmanuel Vadot
32*d5b0e70fSEmmanuel Vadot  reg:
33*d5b0e70fSEmmanuel Vadot    maxItems: 1
34*d5b0e70fSEmmanuel Vadot
35*d5b0e70fSEmmanuel Vadot  interrupts:
36*d5b0e70fSEmmanuel Vadot    maxItems: 1
37*d5b0e70fSEmmanuel Vadot
38*d5b0e70fSEmmanuel Vadot  clocks:
39*d5b0e70fSEmmanuel Vadot    items:
40*d5b0e70fSEmmanuel Vadot      - description: KMI reference clock, used to generate the bus timing
41*d5b0e70fSEmmanuel Vadot      - description: APB register access clock
42*d5b0e70fSEmmanuel Vadot
43*d5b0e70fSEmmanuel Vadot  clock-names:
44*d5b0e70fSEmmanuel Vadot    items:
45*d5b0e70fSEmmanuel Vadot      - const: KMIREFCLK
46*d5b0e70fSEmmanuel Vadot      - const: apb_pclk
47*d5b0e70fSEmmanuel Vadot
48*d5b0e70fSEmmanuel Vadotrequired:
49*d5b0e70fSEmmanuel Vadot  - compatible
50*d5b0e70fSEmmanuel Vadot  - reg
51*d5b0e70fSEmmanuel Vadot  - interrupts
52*d5b0e70fSEmmanuel Vadot  - clocks
53*d5b0e70fSEmmanuel Vadot  - clock-names
54*d5b0e70fSEmmanuel Vadot
55*d5b0e70fSEmmanuel VadotadditionalProperties: false
56*d5b0e70fSEmmanuel Vadot
57*d5b0e70fSEmmanuel Vadotexamples:
58*d5b0e70fSEmmanuel Vadot  - |
59*d5b0e70fSEmmanuel Vadot    serio@70000 {
60*d5b0e70fSEmmanuel Vadot        compatible = "arm,pl050", "arm,primecell";
61*d5b0e70fSEmmanuel Vadot        reg = <0x070000 0x1000>;
62*d5b0e70fSEmmanuel Vadot        interrupts = <8>;
63*d5b0e70fSEmmanuel Vadot        clocks = <&mb_clk24mhz>, <&soc_smc50mhz>;
64*d5b0e70fSEmmanuel Vadot        clock-names = "KMIREFCLK", "apb_pclk";
65*d5b0e70fSEmmanuel Vadot    };
66*d5b0e70fSEmmanuel Vadot
67*d5b0e70fSEmmanuel Vadot...
68