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