xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/fsl-ls2080a-rdb.dts (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2c66ec88fSEmmanuel Vadot/*
3c66ec88fSEmmanuel Vadot * Device Tree file for Freescale LS2080a RDB Board.
4c66ec88fSEmmanuel Vadot *
5c66ec88fSEmmanuel Vadot * Copyright 2016 Freescale Semiconductor, Inc.
6c66ec88fSEmmanuel Vadot * Copyright 2017 NXP
7c66ec88fSEmmanuel Vadot *
8c66ec88fSEmmanuel Vadot * Abhimanyu Saini <abhimanyu.saini@nxp.com>
9c66ec88fSEmmanuel Vadot * Bhupesh Sharma <bhupesh.sharma@freescale.com>
10c66ec88fSEmmanuel Vadot *
11c66ec88fSEmmanuel Vadot */
12c66ec88fSEmmanuel Vadot
13c66ec88fSEmmanuel Vadot/dts-v1/;
14c66ec88fSEmmanuel Vadot
15c66ec88fSEmmanuel Vadot#include "fsl-ls2080a.dtsi"
16c66ec88fSEmmanuel Vadot#include "fsl-ls208xa-rdb.dtsi"
17*7ef62cebSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
18c66ec88fSEmmanuel Vadot
19c66ec88fSEmmanuel Vadot/ {
20c66ec88fSEmmanuel Vadot	model = "Freescale Layerscape 2080a RDB Board";
21c66ec88fSEmmanuel Vadot	compatible = "fsl,ls2080a-rdb", "fsl,ls2080a";
22c66ec88fSEmmanuel Vadot
23c66ec88fSEmmanuel Vadot	chosen {
24c66ec88fSEmmanuel Vadot		stdout-path = "serial1:115200n8";
25c66ec88fSEmmanuel Vadot	};
26c66ec88fSEmmanuel Vadot};
27*7ef62cebSEmmanuel Vadot
28*7ef62cebSEmmanuel Vadot&dpmac5 {
29*7ef62cebSEmmanuel Vadot	phy-handle = <&mdio2_phy1>;
30*7ef62cebSEmmanuel Vadot	phy-connection-type = "10gbase-r";
31*7ef62cebSEmmanuel Vadot};
32*7ef62cebSEmmanuel Vadot
33*7ef62cebSEmmanuel Vadot&dpmac6 {
34*7ef62cebSEmmanuel Vadot	phy-handle = <&mdio2_phy2>;
35*7ef62cebSEmmanuel Vadot	phy-connection-type = "10gbase-r";
36*7ef62cebSEmmanuel Vadot};
37*7ef62cebSEmmanuel Vadot
38*7ef62cebSEmmanuel Vadot&dpmac7 {
39*7ef62cebSEmmanuel Vadot	phy-handle = <&mdio2_phy3>;
40*7ef62cebSEmmanuel Vadot	phy-connection-type = "10gbase-r";
41*7ef62cebSEmmanuel Vadot};
42*7ef62cebSEmmanuel Vadot
43*7ef62cebSEmmanuel Vadot&dpmac8 {
44*7ef62cebSEmmanuel Vadot	phy-handle = <&mdio2_phy4>;
45*7ef62cebSEmmanuel Vadot	phy-connection-type = "10gbase-r";
46*7ef62cebSEmmanuel Vadot};
47*7ef62cebSEmmanuel Vadot
48*7ef62cebSEmmanuel Vadot&emdio1 {
49*7ef62cebSEmmanuel Vadot	status = "disabled";
50*7ef62cebSEmmanuel Vadot
51*7ef62cebSEmmanuel Vadot	/* CS4340 PHYs */
52*7ef62cebSEmmanuel Vadot	mdio1_phy1: emdio1-phy@10 {
53*7ef62cebSEmmanuel Vadot		reg = <0x10>;
54*7ef62cebSEmmanuel Vadot	};
55*7ef62cebSEmmanuel Vadot
56*7ef62cebSEmmanuel Vadot	mdio1_phy2: emdio1-phy@11 {
57*7ef62cebSEmmanuel Vadot		reg = <0x11>;
58*7ef62cebSEmmanuel Vadot	};
59*7ef62cebSEmmanuel Vadot
60*7ef62cebSEmmanuel Vadot	mdio1_phy3: emdio1-phy@12 {
61*7ef62cebSEmmanuel Vadot		reg = <0x12>;
62*7ef62cebSEmmanuel Vadot	};
63*7ef62cebSEmmanuel Vadot
64*7ef62cebSEmmanuel Vadot	mdio1_phy4: emdio1-phy@13 {
65*7ef62cebSEmmanuel Vadot		reg = <0x13>;
66*7ef62cebSEmmanuel Vadot	};
67*7ef62cebSEmmanuel Vadot};
68*7ef62cebSEmmanuel Vadot
69*7ef62cebSEmmanuel Vadot&emdio2 {
70*7ef62cebSEmmanuel Vadot	/* AQR405 PHYs */
71*7ef62cebSEmmanuel Vadot	mdio2_phy1: emdio2-phy@0 {
72*7ef62cebSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c45";
73*7ef62cebSEmmanuel Vadot		interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
74*7ef62cebSEmmanuel Vadot		reg = <0x0>;
75*7ef62cebSEmmanuel Vadot	};
76*7ef62cebSEmmanuel Vadot
77*7ef62cebSEmmanuel Vadot	mdio2_phy2: emdio2-phy@1 {
78*7ef62cebSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c45";
79*7ef62cebSEmmanuel Vadot		interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
80*7ef62cebSEmmanuel Vadot		reg = <0x1>;
81*7ef62cebSEmmanuel Vadot	};
82*7ef62cebSEmmanuel Vadot
83*7ef62cebSEmmanuel Vadot	mdio2_phy3: emdio2-phy@2 {
84*7ef62cebSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c45";
85*7ef62cebSEmmanuel Vadot		interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
86*7ef62cebSEmmanuel Vadot		reg = <0x2>;
87*7ef62cebSEmmanuel Vadot	};
88*7ef62cebSEmmanuel Vadot
89*7ef62cebSEmmanuel Vadot	mdio2_phy4: emdio2-phy@3 {
90*7ef62cebSEmmanuel Vadot		compatible = "ethernet-phy-ieee802.3-c45";
91*7ef62cebSEmmanuel Vadot		interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
92*7ef62cebSEmmanuel Vadot		reg = <0x3>;
93*7ef62cebSEmmanuel Vadot	};
94*7ef62cebSEmmanuel Vadot};
95