[PATCH v5 1/2] dt-bindings: embedded-controller: add Traverse Ten64 board controller
Frank Li
Frank.li at nxp.com
Thu Sep 18 09:47:51 PDT 2025
On Thu, Sep 18, 2025 at 04:14:40PM +1000, Mathew McBride wrote:
> Add device tree binding for the board (micro)controller on Ten64 family
> boards[1].
>
> The schema is simple and is (presently) only consumed by U-Boot, but it
> is possible nvmem, watchdog and other features could be described in
> the future, as well as extension to future Traverse boards.
>
> [1] https://ten64doc.traverse.com.au/hardware/microcontroller/
>
> Signed-off-by: Mathew McBride <matt at traverse.com.au>
> ---
> Changes from v3:
> - 'reg' property was changed to a constant (instead of array/maxItems:1),
> reflecting that the I2C endpoint is on a fixed address which cannot be
> changed.
> - Redundant paragraph describing functionality of the device removed
>
> Due to these small, but substantive changes, I have not carried the
> Reviewed-By: tag given to v3.
>
> .../traverse,ten64-controller.yaml | 40 +++++++++++++++++++
> 1 file changed, 40 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/embedded-controller/traverse,ten64-controller.yaml
>
> diff --git a/Documentation/devicetree/bindings/embedded-controller/traverse,ten64-controller.yaml b/Documentation/devicetree/bindings/embedded-controller/traverse,ten64-controller.yaml
> new file mode 100644
> index 0000000000000..08d02c4df8732
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/embedded-controller/traverse,ten64-controller.yaml
> @@ -0,0 +1,40 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/embedded-controller/traverse,ten64-controller.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Traverse Ten64 board microcontroller
> +
> +maintainers:
> + - Mathew McBride <matt at traverse.com.au>
> +
> +description: |
needn't |
> + The board microcontroller on the Ten64 board family is responsible for
> + management of power sources on the board, as well as signalling the SoC
> + to power on and reset.
> +
> +properties:
> + compatible:
> + const: traverse,ten64-controller
> +
> + reg:
> + const: 0x7e
> +
only have reg properties, can you put to
Documentation/devicetree/bindings/trivial-devices.yaml
Frank
> +required:
> + - compatible
> + - reg
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + board-controller at 7e {
> + compatible = "traverse,ten64-controller";
> + reg = <0x7e>;
> + };
> + };
> --
> 2.45.1
>
More information about the linux-arm-kernel
mailing list