Skip to content

Commit d41116f

Browse files
eghidoliBartosz Golaszewski
authored andcommitted
dt-bindings: gpio: add fcs,fxl6408
Add Fairchild FXL6408 8-bit I2C-controlled GPIO expander. Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
1 parent 27a80bd commit d41116f

1 file changed

Lines changed: 58 additions & 0 deletions

File tree

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/gpio/fcs,fxl6408.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Fairchild FXL6408 I2C GPIO Expander
8+
9+
maintainers:
10+
- Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
11+
12+
properties:
13+
compatible:
14+
enum:
15+
- fcs,fxl6408
16+
17+
reg:
18+
maxItems: 1
19+
20+
"#gpio-cells":
21+
const: 2
22+
23+
gpio-controller: true
24+
25+
gpio-line-names:
26+
minItems: 1
27+
maxItems: 8
28+
29+
patternProperties:
30+
"^(hog-[0-9]+|.+-hog(-[0-9]+)?)$":
31+
required:
32+
- gpio-hog
33+
34+
required:
35+
- compatible
36+
- reg
37+
- gpio-controller
38+
- "#gpio-cells"
39+
40+
additionalProperties: false
41+
42+
examples:
43+
- |
44+
i2c {
45+
#address-cells = <1>;
46+
#size-cells = <0>;
47+
48+
gpio_expander_43: gpio-expander@43 {
49+
compatible = "fcs,fxl6408";
50+
reg = <0x43>;
51+
gpio-controller;
52+
#gpio-cells = <2>;
53+
gpio-line-names = "Wi-Fi_W_DISABLE", "Wi-Fi_WKUP_WLAN",
54+
"PWR_EN_+V3.3_WiFi_N", "PCIe_REF_CLK_EN",
55+
"USB_RESET_N", "USB_BYPASS_N", "Wi-Fi_PDn",
56+
"Wi-Fi_WKUP_BT";
57+
};
58+
};

0 commit comments

Comments
 (0)