1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/mfd/kontron,sl28cpld.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Kontron's sl28cpld board management controller
10 - Michael Walle <michael@walle.cc>
13 The board management controller may contain different IP blocks like
14 watchdog, fan monitoring, PWM controller, interrupt controller and a
19 const: kontron,sl28cpld
38 interrupt-controller: true
41 "^gpio(@[0-9a-f]+)?$":
42 $ref: ../gpio/kontron,sl28cpld-gpio.yaml
44 "^hwmon(@[0-9a-f]+)?$":
45 $ref: ../hwmon/kontron,sl28cpld-hwmon.yaml
47 "^interrupt-controller(@[0-9a-f]+)?$":
48 $ref: ../interrupt-controller/kontron,sl28cpld-intc.yaml
51 $ref: ../pwm/kontron,sl28cpld-pwm.yaml
53 "^watchdog(@[0-9a-f]+)?$":
54 $ref: ../watchdog/kontron,sl28cpld-wdt.yaml
62 additionalProperties: false
66 #include <dt-bindings/interrupt-controller/irq.h>
72 compatible = "kontron,sl28cpld";
78 compatible = "kontron,sl28cpld-wdt";
80 kontron,assert-wdt-timeout-pin;
84 compatible = "kontron,sl28cpld-fan";
89 compatible = "kontron,sl28cpld-pwm";
95 compatible = "kontron,sl28cpld-pwm";
101 compatible = "kontron,sl28cpld-gpio";
103 interrupts-extended = <&gpio2 6
104 IRQ_TYPE_EDGE_FALLING>;
108 gpio-line-names = "a", "b", "c";
110 interrupt-controller;
111 #interrupt-cells = <2>;
115 compatible = "kontron,sl28cpld-gpio";
117 interrupts-extended = <&gpio2 6
118 IRQ_TYPE_EDGE_FALLING>;
123 interrupt-controller;
124 #interrupt-cells = <2>;
128 compatible = "kontron,sl28cpld-gpo";
136 compatible = "kontron,sl28cpld-gpi";
143 interrupt-controller@1c {
144 compatible = "kontron,sl28cpld-intc";
146 interrupts-extended = <&gpio2 6
147 IRQ_TYPE_EDGE_FALLING>;
149 interrupt-controller;
150 #interrupt-cells = <2>;