mediatek: Add support for Xiaomi Redmi Router AX6S
[openwrt/staging/chunkeey.git] / target / linux / layerscape / patches-5.4 / 302-dts-0077-arm64-dts-ls1028a-Add-ethernet-property-for-l2switch.patch
1 From 51efcd436c30e7085b36264771edce03316013d1 Mon Sep 17 00:00:00 2001
2 From: Claudiu Manoil <claudiu.manoil@nxp.com>
3 Date: Thu, 1 Aug 2019 19:44:00 +0300
4 Subject: [PATCH] arm64: dts: ls1028a: Add ethernet property for l2switch CPU
5 port
6
7 This enables the CPU traffic for the l2 switch (aka the
8 CPU frame injection/ extraction feature).
9
10 Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
11 ---
12 arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 3 ++-
13 1 file changed, 2 insertions(+), 1 deletion(-)
14
15 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
16 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
17 @@ -812,6 +812,7 @@
18 };
19 port@5 {
20 reg = <5>;
21 + ethernet = <&enetc_port3>;
22 fixed-link {
23 speed = <1000>;
24 full-duplex;
25 @@ -819,7 +820,7 @@
26 };
27 };
28 };
29 - ethernet@0,6 {
30 + enetc_port3: ethernet@0,6 {
31 compatible = "fsl,enetc";
32 reg = <0x000600 0 0 0 0>;
33 fixed-link {