1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2019 Bootlin
5 $id: "http://devicetree.org/schemas/gpio/xylon,logicvc-gpio.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: Xylon LogiCVC GPIO controller
11 - Paul Kocialkowski <paul.kocialkowski@bootlin.com>
14 The LogiCVC GPIO describes the GPIO block included in the LogiCVC display
15 controller. These are meant to be used for controlling display-related
18 The controller exposes GPIOs from the display and power control registers,
19 which are mapped by the driver as follows:
20 - GPIO[4:0] (display control) mapped to index 0-4
21 - EN_BLIGHT (power control) mapped to index 5
22 - EN_VDD (power control) mapped to index 6
23 - EN_VEE (power control) mapped to index 7
24 - V_EN (power control) mapped to index 8
28 pattern: "^gpio@[0-9a-f]+$"
32 - xylon,logicvc-3.02.a-gpio
54 logicvc: logicvc@43c00000 {
55 compatible = "xylon,logicvc-3.02.a", "syscon", "simple-mfd";
56 reg = <0x43c00000 0x6000>;
61 logicvc_gpio: gpio@40 {
62 compatible = "xylon,logicvc-3.02.a-gpio";
66 gpio-line-names = "GPIO0", "GPIO1", "GPIO2", "GPIO3", "GPIO4",
67 "EN_BLIGHT", "EN_VDD", "EN_VEE", "V_EN";