summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/emul/cros,ps8xxx-emul.yaml
blob: e2d45ca52ff2c039475c71e7dd8d46537383666f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

description: Zephyr PS8xxx emulator

compatible: "cros,ps8xxx-emul"

include: base.yaml

properties:
    tcpci-i2c:
      type: phandle
      required: true
      description:
        Base TCPCI emulator. Has to be sibling of PS8xxx emulator.

    p0-i2c-addr:
      type: int
      required: true
      description:
        First hidden I2C address (PS8xxx emulator will register device with
        that address)

    p1-i2c-addr:
      type: int
      required: true
      description:
        Second hidden I2C address (PS8xxx emulator will register device with
        that address)

    gpio-i2c-addr:
      type: int
      required: false
      default: 0
      description:
        GPIO I2C address. When set to zero GPIO I2C device is not registered
        by PS8xxx emulator.