# Copyright (c) 2023, Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0

description: Nordic nPM1300

compatible: "nordic,npm1300"

include: i2c-device.yaml

properties:
  reg:
    required: true

  host-int-gpios:
    type: phandle-array
    description: Host pin for interrupt input

  pmic-int-pin:
    type: int
    description: Pmic pin number for interrupt output

  ship-to-active-time-ms:
    type: int
    description: |
      Press duration required to wake from ship / hibernate in ms.
      The default is the device powerup value.
    enum:
    - 16
    - 32
    - 64
    - 96
    - 304
    - 608
    - 1008
    - 3008
    default: 96

  long-press-reset:
    type: string
    description: Long press reset configuration
    enum:
    - "one-button"
    - "disabled"
    - "two-button"
