1# Copyright (c) 2024, Nordic Semiconductor ASA 2# SPDX-License-Identifier: Apache-2.0 3 4description: Nordic nPM2100 5 6compatible: "nordic,npm2100" 7 8include: i2c-device.yaml 9 10properties: 11 reg: 12 required: true 13 14 host-int-gpios: 15 type: phandle-array 16 description: Host pin for interrupt input 17 18 host-int-type: 19 type: string 20 enum: 21 - "edge" 22 - "level" 23 default: "edge" 24 description: | 25 Using interrupt level triggering instead of edge triggering 26 can reduce power consumption on some platforms at the expense of irq latency. 27 28 pmic-int-pin: 29 type: int 30 enum: 31 - 0 32 - 1 33 description: Pmic pin number for interrupt output 34 35 pmic-int-flags: 36 type: int 37 description: | 38 GPIO flags for PMIC interrupt output 39 40 shiphold-flags: 41 type: int 42 description: | 43 GPIO flags for shiphold button. 44 Defaults to active low with pull-up enabled. 45 46 shiphold-hibernate-wakeup: 47 type: boolean 48 description: | 49 Enable shiphold button to trigger wakeup from hibernate state 50 51 shiphold-longpress: 52 type: string 53 enum: 54 - "ship" 55 - "disable" 56 - "reset" 57 description: | 58 Configure behaviour of shiphold button. 59 ship: Enter ship mode if SHPHLD is pressed for 2 seconds 60 disable: SHPHLD button press has no effect 61 reset: Reset PMIC if SHPHLD is pressed for 10 seconds 62 63 shiphold-current: 64 type: string 65 enum: 66 - "disable" 67 - "weak" 68 - "low" 69 - "moderate" 70 - "high" 71 description: | 72 Configure behaviour of shiphold pull-up current 73