xref: /linux/Documentation/devicetree/bindings/arm/hisilicon/low-pin-count.yaml (revision cbecf716ca618fd44feda6bd9a64a8179d031fc5)
1*6db13e10SZhen Lei# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*6db13e10SZhen Lei%YAML 1.2
3*6db13e10SZhen Lei---
4*6db13e10SZhen Lei$id: http://devicetree.org/schemas/arm/hisilicon/low-pin-count.yaml#
5*6db13e10SZhen Lei$schema: http://devicetree.org/meta-schemas/core.yaml#
6*6db13e10SZhen Lei
7*6db13e10SZhen Leititle: Hisilicon HiP06 Low Pin Count device
8*6db13e10SZhen Lei
9*6db13e10SZhen Leimaintainers:
10*6db13e10SZhen Lei  - Wei Xu <xuwei5@hisilicon.com>
11*6db13e10SZhen Lei
12*6db13e10SZhen Leidescription: |
13*6db13e10SZhen Lei  Hisilicon HiP06 SoCs implement a Low Pin Count (LPC) controller, which
14*6db13e10SZhen Lei  provides I/O access to some legacy ISA devices.
15*6db13e10SZhen Lei  HiP06 is based on arm64 architecture where there is no I/O space. So, the
16*6db13e10SZhen Lei  I/O ports here are not CPU addresses, and there is no 'ranges' property in
17*6db13e10SZhen Lei  LPC device node.
18*6db13e10SZhen Lei
19*6db13e10SZhen Leiproperties:
20*6db13e10SZhen Lei  $nodename:
21*6db13e10SZhen Lei    pattern: '^isa@[0-9a-f]+$'
22*6db13e10SZhen Lei    description: |
23*6db13e10SZhen Lei      The node name before '@' must be "isa" to represent the binding stick
24*6db13e10SZhen Lei      to the ISA/EISA binding specification.
25*6db13e10SZhen Lei
26*6db13e10SZhen Lei  compatible:
27*6db13e10SZhen Lei    enum:
28*6db13e10SZhen Lei      - hisilicon,hip06-lpc
29*6db13e10SZhen Lei      - hisilicon,hip07-lpc
30*6db13e10SZhen Lei
31*6db13e10SZhen Lei  reg:
32*6db13e10SZhen Lei    maxItems: 1
33*6db13e10SZhen Lei
34*6db13e10SZhen Lei  '#address-cells':
35*6db13e10SZhen Lei    const: 2
36*6db13e10SZhen Lei
37*6db13e10SZhen Lei  '#size-cells':
38*6db13e10SZhen Lei    const: 1
39*6db13e10SZhen Lei
40*6db13e10SZhen Leirequired:
41*6db13e10SZhen Lei  - compatible
42*6db13e10SZhen Lei  - reg
43*6db13e10SZhen Lei
44*6db13e10SZhen LeiadditionalProperties:
45*6db13e10SZhen Lei  type: object
46*6db13e10SZhen Lei
47*6db13e10SZhen Leiexamples:
48*6db13e10SZhen Lei  - |
49*6db13e10SZhen Lei    isa@a01b0000 {
50*6db13e10SZhen Lei        compatible = "hisilicon,hip06-lpc";
51*6db13e10SZhen Lei        #address-cells = <2>;
52*6db13e10SZhen Lei        #size-cells = <1>;
53*6db13e10SZhen Lei        reg = <0xa01b0000 0x1000>;
54*6db13e10SZhen Lei
55*6db13e10SZhen Lei        ipmi0: bt@e4 {
56*6db13e10SZhen Lei            compatible = "ipmi-bt";
57*6db13e10SZhen Lei            device_type = "ipmi";
58*6db13e10SZhen Lei            reg = <0x01 0xe4 0x04>;
59*6db13e10SZhen Lei        };
60*6db13e10SZhen Lei    };
61*6db13e10SZhen Lei...
62