From 08c62ad2d0bffc3700f977d372a14474d1ee6e53 Mon Sep 17 00:00:00 2001 From: hanwckf Date: Thu, 26 Oct 2023 00:19:59 +0800 Subject: [PATCH] mediatek: fix ct3003, jcg q30 hnat settings --- .../arm64/boot/dts/mediatek/mt7981-cetron-ct3003.dts | 9 +++++---- .../arch/arm64/boot/dts/mediatek/mt7981-jcg-q30.dts | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7981-cetron-ct3003.dts b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7981-cetron-ct3003.dts index cab6576348..ee4b5f6cc1 100644 --- a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7981-cetron-ct3003.dts +++ b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7981-cetron-ct3003.dts @@ -179,10 +179,11 @@ }; &hnat { - mtketh-wan = "eth1"; - mtketh-lan = "eth0"; - mtketh-max-gmac = <2>; - status = "okay"; + mtketh-wan = "eth0.2"; + mtketh-ppd = "eth0.1" + mtketh-lan = "eth0"; + mtketh-max-gmac = <1>; + status = "okay"; }; &spi0 { diff --git a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7981-jcg-q30.dts b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7981-jcg-q30.dts index 3461c73178..a43be8f1fa 100644 --- a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7981-jcg-q30.dts +++ b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7981-jcg-q30.dts @@ -174,10 +174,11 @@ }; &hnat { - mtketh-wan = "eth1"; - mtketh-lan = "eth0"; - mtketh-max-gmac = <2>; - status = "okay"; + mtketh-wan = "eth0.2"; + mtketh-ppd = "eth0.1" + mtketh-lan = "eth0"; + mtketh-max-gmac = <1>; + status = "okay"; }; &spi0 {