56 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/mfd/ene-kb3930.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: ENE KB3930 Embedded Controller8 9description: |10 This binding describes the ENE KB3930 Embedded Controller attached to an11 I2C bus.12 13maintainers:14 - Lubomir Rintel <lkundrak@v3.sk>15 16properties:17 compatible:18 items:19 - enum:20 - dell,wyse-ariel-ec # Dell Wyse Ariel board (3020)21 - const: ene,kb393022 reg:23 maxItems: 124 25 off-gpios:26 description: GPIO used with the shutdown protocol on Ariel27 maxItems: 228 29 system-power-controller: true30 31required:32 - compatible33 - reg34 35additionalProperties: false36 37examples:38 - |39 #include <dt-bindings/gpio/gpio.h>40 41 i2c {42 #address-cells = <1>;43 #size-cells = <0>;44 45 embedded-controller@58 {46 compatible = "dell,wyse-ariel-ec", "ene,kb3930";47 reg = <0x58>;48 system-power-controller;49 50 off-gpios = <&gpio 126 GPIO_ACTIVE_HIGH>,51 <&gpio 127 GPIO_ACTIVE_HIGH>;52 };53 };54 55...56