Add devicetree bindings for the BeagleBoard.org BeagleConnect Freedom, a wireless-enabled board based on the TI CC1352P7. The board exposes an MCU that can be attached to a host over USB, UART, SPI or I2C, and is described as a child node of the corresponding bus.
Acked-by: Conor Dooley conor.dooley@microchip.com Signed-off-by: Ayush Singh ayush@beagleboard.org --- .../beagle/beagle,beagleconnect-freedom.yaml | 62 ++++++++++++++++++++++ MAINTAINERS | 6 +++ 2 files changed, 68 insertions(+)
diff --git a/Documentation/devicetree/bindings/beagle/beagle,beagleconnect-freedom.yaml b/Documentation/devicetree/bindings/beagle/beagle,beagleconnect-freedom.yaml new file mode 100644 index 000000000000..81dfdace33e2 --- /dev/null +++ b/Documentation/devicetree/bindings/beagle/beagle,beagleconnect-freedom.yaml @@ -0,0 +1,62 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/beagle/beagle,beagleconnect-freedom.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: BeagleBoard.org BeagleConnect Freedom + +description: + The BeagleBoard.org BeagleConnect Freedom board connected over USB, UART, SPI or I2C. + +maintainers: + - Ayush Singh ayush@beagleboard.org + +properties: + compatible: + const: beagle,beagleconnect-freedom + + reg: + maxItems: 1 + + vbat-supply: true + +required: + - compatible + +allOf: + - if: + required: + - reg + then: + $ref: /schemas/spi/spi-peripheral-props.yaml# + else: + $ref: /schemas/serial/serial-peripheral-props.yaml# + + properties: + current-speed: + default: 115200 + +unevaluatedProperties: false + +examples: + - | + serial { + mcu { + compatible = "beagle,beagleconnect-freedom"; + vbat-supply = <&vbat>; + }; + }; + + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + mcu@0 { + compatible = "beagle,beagleconnect-freedom"; + reg = <0>; + spi-max-frequency = <1000000>; + vbat-supply = <&vbat>; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index c9126dc205db..521bc6c67979 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11522,6 +11522,12 @@ L: greybus-dev@lists.linaro.org (moderated for non-subscribers) S: Maintained F: drivers/greybus/gb_softsvc.rs
+GREYBUS UART NODE DRIVERS +M: Ayush Singh ayush@beagleboard.org +L: greybus-dev@lists.linaro.org (moderated for non-subscribers) +S: Maintained +F: Documentation/devicetree/bindings/beagle/beagle,beagleconnect-freedom.yaml + GREYBUS SUBSYSTEM M: Johan Hovold johan@kernel.org M: Alex Elder elder@kernel.org