Path: blob/master/Documentation/devicetree/bindings/connector/gocontroll,moduline-module-slot.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/connector/gocontroll,moduline-module-slot.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: GOcontroll Moduline Module slot78maintainers:9- Maud Spierings <maudspierings@gocontroll.com>1011description:12The GOcontroll Moduline module slot represents a connector that fullfills the13Moduline slot specification, and can thus house any IO module that is also14built to this spec.1516properties:17compatible:18const: gocontroll,moduline-module-slot1920reg:21maxItems: 12223interrupts:24description: indicates readiness, high means busy.25maxItems: 126reset-gpios:27description: resets the module, active low.28maxItems: 129sync-gpios:30description: sync line between all module slots.31maxItems: 13233vdd-supply:34description: low power 3v3 supply generally for the microcontroller.35vddp-supply:36description: medium power 5v0 supply for on module low power peripherals.37vddhpp-supply:38description: high power 6v-8v supply for on module high power peripherals.39power-supply:40description: high power 6v-30v supply for high power module circuits.4142i2c-bus:43description: i2c bus shared between module slots and the SoC44$ref: /schemas/types.yaml#/definitions/phandle4546slot-number:47description:48The number of the module slot representing the location of on the pcb.49This enables access to the modules based on slot location.50$ref: /schemas/types.yaml#/definitions/uint325152spi-max-frequency: true5354required:55- compatible56- reg57- reset-gpios58- interrupts59- sync-gpios60- i2c-bus61- slot-number6263additionalProperties: false6465examples:66- |67#include <dt-bindings/gpio/gpio.h>68#include <dt-bindings/interrupt-controller/irq.h>6970spi {71#address-cells = <1>;72#size-cells = <0>;7374connector@0 {75reg = <0>;76compatible = "gocontroll,moduline-module-slot";77reset-gpios = <&gpio5 10 GPIO_ACTIVE_LOW>;78sync-gpios = <&gpio4 16 GPIO_ACTIVE_HIGH>;79interrupt-parent = <&gpio4>;80interrupts = <5 IRQ_TYPE_EDGE_FALLING>;81vdd-supply = <®_3v3_per>;82vddp-supply = <®_5v0>;83vddhpp-supply = <®_6v4>;84i2c-bus = <&i2c2>;85slot-number = <1>;86};87};888990