1
0
Fork 0

LF-881: arm64: dts: add a dts file for dpdk

A new device tree file fsl-ls1028a-rdb-dpdk.dts is added
for user space networking.

Signed-off-by: Gagandeep Singh <g.singh@nxp.com>
Reviewed-by: Alex Marginean <alexandru.marginean@nxp.com>
Reviewed-by: Li Yang <leoyang.li@nxp.com>
(cherry picked from commit 5c1ec7a8a42de9b144ee87177c016270a3334492)
5.4-rM2-2.2.x-imx-squashed
Gagandeep Singh 2020-02-06 13:01:10 +00:00 committed by Jason Liu
parent 50f8a1a77b
commit ae43adb972
2 changed files with 90 additions and 0 deletions

View File

@ -23,6 +23,7 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-qds-85bb.dtb
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-qds-899b.dtb
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-qds-9999.dtb
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-rdb.dtb
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-rdb-dpdk.dtb
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-qds.dtb
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-qds-sdk.dtb
dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-rdb.dtb

View File

@ -0,0 +1,89 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* NXP LS1028A RDB Board device tree file for DPDK
*
* Copyright 2018-2020 NXP
*/
/dts-v1/;
#include "fsl-ls1028a-rdb.dts"
&enetc_port0 {
status = "okay";
/delete-property/ phy-handle;
/delete-property/ phy-connection-type;
/delete-node/ mdio;
fixed-link {
speed = <1000>;
full-duplex;
};
};
/delete-node/ &enetc_mdio_pf3;
/* l2switch ports */
&mscc_felix_ports {
port@0 {
status = "okay";
phy-mode = "qsgmii";
/delete-property/ managed;
/delete-property/ phy-handle;
fixed-link {
speed = <1000>;
full-duplex;
};
};
port@1 {
status = "okay";
phy-mode = "qsgmii";
/delete-property/ managed;
/delete-property/ phy-handle;
fixed-link {
speed = <1000>;
full-duplex;
};
};
port@2 {
status = "okay";
phy-mode = "qsgmii";
/delete-property/ managed;
/delete-property/ phy-handle;
fixed-link {
speed = <1000>;
full-duplex;
};
};
port@3 {
status = "okay";
phy-mode = "qsgmii";
/delete-property/ managed;
/delete-property/ phy-handle;
fixed-link {
speed = <1000>;
full-duplex;
};
};
port@5 {
status = "okay";
/delete-property/ managed;
/delete-property/ phy-handle;
fixed-link {
speed = <1000>;
full-duplex;
};
};
};
&enetc_port3 {
status = "okay";
};