0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/serio/arm,pl050.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Arm Ltd. PrimeCell PL050 PS/2 Keyboard/Mouse Interface
0008
0009 maintainers:
0010 - Andre Przywara <andre.przywara@arm.com>
0011
0012 description:
0013 The Arm PrimeCell PS2 Keyboard/Mouse Interface (KMI) is an AMBA compliant
0014 peripheral that can be used to implement a keyboard or mouse interface that
0015 is IBM PS2 or AT compatible.
0016
0017 # We need a select here so we don't match all nodes with 'arm,primecell'
0018 select:
0019 properties:
0020 compatible:
0021 contains:
0022 const: arm,pl050
0023 required:
0024 - compatible
0025
0026 properties:
0027 compatible:
0028 items:
0029 - const: arm,pl050
0030 - const: arm,primecell
0031
0032 reg:
0033 maxItems: 1
0034
0035 interrupts:
0036 maxItems: 1
0037
0038 clocks:
0039 items:
0040 - description: KMI reference clock, used to generate the bus timing
0041 - description: APB register access clock
0042
0043 clock-names:
0044 items:
0045 - const: KMIREFCLK
0046 - const: apb_pclk
0047
0048 required:
0049 - compatible
0050 - reg
0051 - interrupts
0052 - clocks
0053 - clock-names
0054
0055 additionalProperties: false
0056
0057 examples:
0058 - |
0059 serio@70000 {
0060 compatible = "arm,pl050", "arm,primecell";
0061 reg = <0x070000 0x1000>;
0062 interrupts = <8>;
0063 clocks = <&mb_clk24mhz>, <&soc_smc50mhz>;
0064 clock-names = "KMIREFCLK", "apb_pclk";
0065 };
0066
0067 ...