• Home
  • Raw
  • Download

Lines Matching +full:0 +full:- +full:9 +full:a +full:- +full:f

1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mfd/gateworks-gsc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 The Gateworks System Controller (GSC) is a device present across various
11 Gateworks product families that provides a set of system related features
14 - Watchdog Timer
15 - GPIO
16 - Pushbutton controller
17 - Hardware monitor with ADC's for temperature and voltage rails and
21 - Tim Harvey <tharvey@gateworks.com>
22 - Robert Jones <rjones@gateworks.com>
26 pattern: "gsc@[0-9a-f]{1,2}"
37 interrupt-controller: true
39 "#interrupt-cells":
42 "#address-cells":
45 "#size-cells":
46 const: 0
54 const: gw,gsc-adc
56 "#address-cells":
59 "#size-cells":
60 const: 0
63 "^channel@[0-9]+$":
66 Properties for a single ADC which can report cooked values
68 (i.e. voltage rail with a pre-scaling resistor divider).
81 0 - temperature, in C*10
82 1 - pre-scaled 24-bit voltage value
83 2 - scaled voltage based on an optional resistor divider
85 3 - pre-scaled 16-bit voltage value
87 enum: [0, 1, 2, 3]
89 gw,voltage-divider-ohms:
96 gw,voltage-offset-microvolt:
98 A positive voltage offset to apply to a raw ADC
99 (i.e. to compensate for a diode drop).
100 minimum: 0
104 - gw,mode
105 - reg
106 - label
109 - compatible
110 - "#address-cells"
111 - "#size-cells"
114 "^fan-controller@[0-9a-f]+$":
120 const: gw,gsc-fan
122 "#address-cells":
125 "#size-cells":
126 const: 0
133 - compatible
134 - reg
135 - "#address-cells"
136 - "#size-cells"
139 - compatible
140 - reg
141 - interrupts
142 - interrupt-controller
143 - "#interrupt-cells"
144 - "#address-cells"
145 - "#size-cells"
150 - |
151 #include <dt-bindings/gpio/gpio.h>
152 #include <dt-bindings/interrupt-controller/irq.h>
154 #address-cells = <1>;
155 #size-cells = <0>;
159 reg = <0x20>;
160 interrupt-parent = <&gpio1>;
162 interrupt-controller;
163 #interrupt-cells = <1>;
164 #address-cells = <1>;
165 #size-cells = <0>;
168 compatible = "gw,gsc-adc";
169 #address-cells = <1>;
170 #size-cells = <0>;
172 channel@0 { /* A0: Board Temperature */
173 reg = <0x00>;
175 gw,mode = <0>;
179 reg = <0x02>;
182 gw,voltage-divider-ohms = <22100 1000>;
183 gw,voltage-offset-microvolt = <800000>;
187 reg = <0x0b>;
193 fan-controller@2c {
194 #address-cells = <1>;
195 #size-cells = <0>;
196 compatible = "gw,gsc-fan";
197 reg = <0x2c>;