:orphan: .. raw:: html .. dtcompatible:: atmel-xplained-pro-header .. _dtbinding_atmel_xplained_pro_header: atmel-xplained-pro-header ######################### Vendor: :ref:`Generic or vendor-independent ` Description *********** .. code-block:: none GPIO pins exposed on Atmel Xplained Pro headers. The Xplained Pro layout provide a standard 20 pin header. A board can have one or more headers and can share pins. The extension headers are given names EXTn where n ϵ [1…7], n is determined by which ID pin is connected to the embedded debugger. A header with ID7 signal from the embedded debugger connected should be called EXT7. PWR, EXT1, EXT2 and EXT3 are standard extension headers that have a predefined position according to the list below: * PWR is right angled at the top right hand side of the board. This header must always be implemented. * EXT1 is right angled at the top right hand side of the board, located below the PWR header. This header must always be present. * EXT2 is right angled and at the bottom right hand side of the board. This header is mandatory for medium and large boards and should not be implemented on small boards. * EXT3 is right angled pointing downwards All MCU boards have to implement at least PWR, EXT1, EXT2 (on medium and large boards), and EXT3. EXT4 to EXT7 can be placed differently depending on the board design. EXT4 to EXT7 can either be standard extension headers or application specific headers. Documentation: * https://www.microchip.com/development-tools/xplained-boards * http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-42091-Atmel-Xplained-Pro-Hardware-Development-Kit_User%20Guide.pdf This binding provides a nexus mapping for 20 pins where pins are disposed to have a even and odd column: Connector Bind Pin Name Pin Pin Pin Name Bind ID 1 2 GND 0 ADC(+) 3 4 ADC(-) 1 2 UART(RTS)/GPIO1 5 6 UART(CTS)/GPIO2 3 4 PWM(+) 7 8 PWM(-) 5 6 IRQ/GPIO3 9 10 SPI(CS1)/GPIO4 7 8 I2C(SDA) 11 12 I2C(SCL) 9 10 UART(RX) 13 14 UART(TX) 11 12 SPI(CS0) 15 16 SPI(MOSI) 13 14 SPI(MISO) 17 18 SPI(SCK) 15 GND 19 20 VDD(+3.3V) Properties ********** .. tabs:: .. group-tab:: Node specific properties Properties not inherited from the base binding file. .. list-table:: :widths: 1 1 4 :header-rows: 1 * - Name - Type - Details * - ``gpio-map`` - ``compound`` - This property is **required**. * - ``gpio-map-mask`` - ``compound`` - * - ``gpio-map-pass-thru`` - ``compound`` - * - ``#gpio-cells`` - ``int`` - .. code-block:: none Number of items to expect in a GPIO specifier This property is **required**. .. group-tab:: Deprecated node specific properties Deprecated properties not inherited from the base binding file. (None) .. group-tab:: Base properties Properties inherited from the base binding file, which defines common properties that may be set on many nodes. Not all of these may apply to the "atmel-xplained-pro-header" compatible. .. list-table:: :widths: 1 1 4 :header-rows: 1 * - Name - Type - Details * - ``status`` - ``string`` - .. code-block:: none indicates the operational status of a device Legal values: ``'ok'``, ``'okay'``, ``'disabled'``, ``'reserved'``, ``'fail'``, ``'fail-sss'`` See :ref:`dt-important-props` for more information. * - ``compatible`` - ``string-array`` - .. code-block:: none compatible strings This property is **required**. See :ref:`dt-important-props` for more information. * - ``reg`` - ``array`` - .. code-block:: none register space See :ref:`dt-important-props` for more information. * - ``reg-names`` - ``string-array`` - .. code-block:: none name of each register space * - ``interrupts`` - ``array`` - .. code-block:: none interrupts for device See :ref:`dt-important-props` for more information. * - ``interrupts-extended`` - ``compound`` - .. code-block:: none extended interrupt specifier for device * - ``interrupt-names`` - ``string-array`` - .. code-block:: none name of each interrupt * - ``interrupt-parent`` - ``phandle`` - .. code-block:: none phandle to interrupt controller node * - ``label`` - ``string`` - .. code-block:: none Human readable string describing the device (used as device_get_binding() argument) See :ref:`dt-important-props` for more information. * - ``clocks`` - ``phandle-array`` - .. code-block:: none Clock gate information * - ``clock-names`` - ``string-array`` - .. code-block:: none name of each clock * - ``#address-cells`` - ``int`` - .. code-block:: none number of address cells in reg property * - ``#size-cells`` - ``int`` - .. code-block:: none number of size cells in reg property * - ``dmas`` - ``phandle-array`` - .. code-block:: none DMA channels specifiers * - ``dma-names`` - ``string-array`` - .. code-block:: none Provided names of DMA channel specifiers * - ``io-channels`` - ``phandle-array`` - .. code-block:: none IO channels specifiers * - ``io-channel-names`` - ``string-array`` - .. code-block:: none Provided names of IO channel specifiers * - ``mboxes`` - ``phandle-array`` - .. code-block:: none mailbox / IPM channels specifiers * - ``mbox-names`` - ``string-array`` - .. code-block:: none Provided names of mailbox / IPM channel specifiers * - ``wakeup-source`` - ``boolean`` - .. code-block:: none Property to identify that a device can be used as wake up source. When this property is provided a specific flag is set into the device that tells the system that the device is capable of wake up the system. Wake up capable devices are disabled (interruptions will not wake up the system) by default but they can be enabled at runtime if necessary. * - ``power-domain`` - ``phandle`` - .. code-block:: none Power domain the device belongs to. The device will be notified when the power domain it belongs to is either suspended or resumed.