:orphan: .. raw:: html .. dtcompatible:: nxp,netc-switch .. _dtbinding_nxp_netc_switch: nxp,netc-switch ############### Vendor: :ref:`NXP Semiconductors N.V. ` .. note:: An implementation of a driver matching this compatible is available in :zephyr_file:`drivers/ethernet/nxp_imx_netc/dsa_nxp_imx_netc.c`. Description *********** .. code-block:: none NXP NETC ethernet switch Properties ********** Top level properties ==================== No top-level properties. Child node properties ===================== .. list-table:: :widths: 1 1 4 :header-rows: 1 * - Name - Type - Details * - ``ethernet`` - ``phandle`` - .. code-block:: none A phandle to a valid Ethernet device node. This host device is what the switch port is connected to. * - ``pinctrl-0`` - ``phandles`` - .. code-block:: none Pin configuration/s for the first state. Content is specific to the selected pin controller driver implementation. * - ``pinctrl-1`` - ``phandles`` - .. code-block:: none Pin configuration/s for the second state. See pinctrl-0. * - ``pinctrl-2`` - ``phandles`` - .. code-block:: none Pin configuration/s for the third state. See pinctrl-0. * - ``pinctrl-3`` - ``phandles`` - .. code-block:: none Pin configuration/s for the fourth state. See pinctrl-0. * - ``pinctrl-4`` - ``phandles`` - .. code-block:: none Pin configuration/s for the fifth state. See pinctrl-0. * - ``pinctrl-names`` - ``string-array`` - .. code-block:: none Names for the provided states. The number of names needs to match the number of states. * - ``local-mac-address`` - ``uint8-array`` - .. code-block:: none Specifies the MAC address that was assigned to the network device * - ``phy-handle`` - ``phandle`` - .. code-block:: none Specifies a reference to a node representing a PHY device. * - ``phy-connection-type`` - ``string`` - .. code-block:: none Specifies the interface connection type between ethernet MAC and PHY. Legal values: ``'mii'``, ``'rmii'``, ``'gmii'``, ``'rgmii'``, ``'internal'`` * - ``reg`` - ``array`` - .. code-block:: none Information used to address the device. The value is specific to the device (i.e. is different depending on the compatible property). The "reg" property is typically a sequence of (address, length) pairs. Each pair is called a "register block". Values are conventionally written in hex. For details, see "2.3.6 reg" in Devicetree Specification v0.4. See :ref:`zephyr:dt-important-props` for more information.