1# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2# Copyright (C) 2021 GE Inc.
3# Copyright (C) 2021 Collabora Ltd.
4%YAML 1.2
5---
6$id: http://devicetree.org/schemas/misc/ge-achc.yaml#
7$schema: http://devicetree.org/meta-schemas/core.yaml#
8
9title: GE Healthcare USB Management Controller
10
11description: |
12  A device which handles data acquisition from compatible USB based peripherals.
13  SPI is used for device management.
14
15  Note: This device does not expose the peripherals as USB devices.
16
17maintainers:
18  - Sebastian Reichel <sre@kernel.org>
19
20properties:
21  compatible:
22    items:
23      - const: ge,achc
24      - const: nxp,kinetis-k20
25
26  clocks:
27    maxItems: 1
28
29  vdd-supply:
30    description: Digital power supply regulator on VDD pin
31
32  vdda-supply:
33    description: Analog power supply regulator on VDDA pin
34
35  reg:
36    items:
37      - description: Control interface
38      - description: Firmware programming interface
39
40  reset-gpios:
41    description: GPIO used for hardware reset.
42    maxItems: 1
43
44required:
45  - compatible
46  - clocks
47  - reg
48  - reset-gpios
49
50additionalProperties: false
51
52examples:
53  - |
54    #include <dt-bindings/gpio/gpio.h>
55    spi {
56        #address-cells = <1>;
57        #size-cells = <0>;
58
59        spi@1 {
60            compatible = "ge,achc", "nxp,kinetis-k20";
61            reg = <1>, <0>;
62            clocks = <&achc_24M>;
63            reset-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
64        };
65    };
66