1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/mfd/ene-kb3 4 $id: http://devicetree.org/schemas/mfd/ene-kb3930.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: ENE KB3930 Embedded Controller 7 title: ENE KB3930 Embedded Controller 8 8 9 description: | 9 description: | 10 This binding describes the ENE KB3930 Embedd 10 This binding describes the ENE KB3930 Embedded Controller attached to an 11 I2C bus. 11 I2C bus. 12 12 13 maintainers: 13 maintainers: 14 - Lubomir Rintel <lkundrak@v3.sk> 14 - Lubomir Rintel <lkundrak@v3.sk> 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 items: 18 items: 19 - enum: 19 - enum: 20 - dell,wyse-ariel-ec # Dell Wyse Ar 20 - dell,wyse-ariel-ec # Dell Wyse Ariel board (3020) 21 - const: ene,kb3930 21 - const: ene,kb3930 22 reg: 22 reg: 23 maxItems: 1 23 maxItems: 1 24 24 25 off-gpios: 25 off-gpios: 26 description: GPIO used with the shutdown p 26 description: GPIO used with the shutdown protocol on Ariel 27 maxItems: 2 27 maxItems: 2 28 28 29 system-power-controller: true 29 system-power-controller: true 30 30 31 required: 31 required: 32 - compatible 32 - compatible 33 - reg 33 - reg 34 34 35 additionalProperties: false 35 additionalProperties: false 36 36 37 examples: 37 examples: 38 - | 38 - | 39 #include <dt-bindings/gpio/gpio.h> 39 #include <dt-bindings/gpio/gpio.h> 40 40 41 i2c { 41 i2c { 42 #address-cells = <1>; 42 #address-cells = <1>; 43 #size-cells = <0>; 43 #size-cells = <0>; 44 44 45 embedded-controller@58 { 45 embedded-controller@58 { 46 compatible = "dell,wyse-ariel-ec", "en 46 compatible = "dell,wyse-ariel-ec", "ene,kb3930"; 47 reg = <0x58>; 47 reg = <0x58>; 48 system-power-controller; 48 system-power-controller; 49 49 50 off-gpios = <&gpio 126 GPIO_ACTIVE_HIG 50 off-gpios = <&gpio 126 GPIO_ACTIVE_HIGH>, 51 <&gpio 127 GPIO_ACTIVE_HIG 51 <&gpio 127 GPIO_ACTIVE_HIGH>; 52 }; 52 }; 53 }; 53 }; 54 54 55 ... 55 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.