mbox series

[v5,00/11] arm64: dts: layerscape: update MAC nodes with PHY information

Message ID 20201030113555.726487-1-ciorneiioana@gmail.com
Headers show
Series arm64: dts: layerscape: update MAC nodes with PHY information | expand

Message

Ioana Ciornei Oct. 30, 2020, 11:35 a.m. UTC
From: Ioana Ciornei <ioana.ciornei@nxp.com>

This patch set aims to add the necessary DTS nodes to complete the
MAC/PCS/PHY representation on DPAA2 devices. The external MDIO bus nodes
and the PHYs found on them are added, along with the PCS MDIO internal
buses and their PCS PHYs. Also, links to these PHYs are added from the
DPMAC node.

Changes in v2:
 - documented the dpmac node into a new yaml entry
 - dropped the '0x' from some unit addresses

Changes in v3:
 - renamed dpmac@x into ethernet@x
 - renamed the new documentation file to use the same name as the
   compatible
 - marked additionalProperties as false
 - added a reference to ethernet-controller.yaml
 - added a new patch to document 10gbase-r - 2/11

Changes in v4:
 - move the phy-connection-type attribute to the ethernet node in 7,8/11
 - remove the interrupts description from 8/11 since I plan to properly
   add all interrupt lines for all platforms

Changes in v5:
 - renamed all PHY nodes to ethernet-phy@x
 - added some empty lines between nodes
 - used the reg as the unit address

Ioana Ciornei (11):
  dt-bindings: net: add the DPAA2 MAC DTS definition
  dt-bindings: net: add the 10gbase-r connection type
  arm64: dts: ls1088a: add external MDIO device nodes
  arm64: dts: ls1088ardb: add QSGMII PHY nodes
  arm64: dts: ls1088ardb: add necessary DTS nodes for DPMAC2
  arm64: dts: ls208xa: add the external MDIO nodes
  arm64: dts: ls2088ardb: add PHY nodes for the CS4340 PHYs
  arm64: dts: ls2088ardb: add PHY nodes for the AQR405 PHYs
  arm64: dts: ls208xa: add PCS MDIO and PCS PHY nodes
  arm64: dts: lx2160a: add PCS MDIO and PCS PHY nodes
  arm64: dts: lx2160ardb: add nodes for the AQR107 PHYs

 .../bindings/net/ethernet-controller.yaml     |   1 +
 .../bindings/net/fsl,qoriq-mc-dpmac.yaml      |  60 ++++
 .../boot/dts/freescale/fsl-ls1088a-rdb.dts    | 119 ++++++++
 .../arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 101 +++++-
 .../boot/dts/freescale/fsl-ls2088a-rdb.dts    | 120 ++++++++
 .../arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 274 ++++++++++++++++-
 .../boot/dts/freescale/fsl-lx2160a-rdb.dts    |  32 ++
 .../arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 288 ++++++++++++++++--
 8 files changed, 951 insertions(+), 44 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml

Comments

Shawn Guo Nov. 2, 2020, 11:34 p.m. UTC | #1
On Fri, Oct 30, 2020 at 01:35:44PM +0200, Ioana Ciornei wrote:
> From: Ioana Ciornei <ioana.ciornei@nxp.com>
> 
> This patch set aims to add the necessary DTS nodes to complete the
> MAC/PCS/PHY representation on DPAA2 devices. The external MDIO bus nodes
> and the PHYs found on them are added, along with the PCS MDIO internal
> buses and their PCS PHYs. Also, links to these PHYs are added from the
> DPMAC node.
> 
> Changes in v2:
>  - documented the dpmac node into a new yaml entry
>  - dropped the '0x' from some unit addresses
> 
> Changes in v3:
>  - renamed dpmac@x into ethernet@x
>  - renamed the new documentation file to use the same name as the
>    compatible
>  - marked additionalProperties as false
>  - added a reference to ethernet-controller.yaml
>  - added a new patch to document 10gbase-r - 2/11
> 
> Changes in v4:
>  - move the phy-connection-type attribute to the ethernet node in 7,8/11
>  - remove the interrupts description from 8/11 since I plan to properly
>    add all interrupt lines for all platforms
> 
> Changes in v5:
>  - renamed all PHY nodes to ethernet-phy@x
>  - added some empty lines between nodes
>  - used the reg as the unit address
> 
> Ioana Ciornei (11):
>   dt-bindings: net: add the DPAA2 MAC DTS definition
>   dt-bindings: net: add the 10gbase-r connection type
>   arm64: dts: ls1088a: add external MDIO device nodes
>   arm64: dts: ls1088ardb: add QSGMII PHY nodes
>   arm64: dts: ls1088ardb: add necessary DTS nodes for DPMAC2
>   arm64: dts: ls208xa: add the external MDIO nodes
>   arm64: dts: ls2088ardb: add PHY nodes for the CS4340 PHYs
>   arm64: dts: ls2088ardb: add PHY nodes for the AQR405 PHYs
>   arm64: dts: ls208xa: add PCS MDIO and PCS PHY nodes
>   arm64: dts: lx2160a: add PCS MDIO and PCS PHY nodes
>   arm64: dts: lx2160ardb: add nodes for the AQR107 PHYs

Applied all, thanks.