[source] ipq806x: add vlans during switch init into R7800 DT

LEDE Commits lede-commits at lists.infradead.org
Wed Nov 16 02:11:08 PST 2016


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/84781cb6dc2004912cde1e2b37c91148c19a9ac4

commit 84781cb6dc2004912cde1e2b37c91148c19a9ac4
Author: Pavel Kubelun <be.dissent at gmail.com>
AuthorDate: Fri Oct 28 00:26:19 2016 +0300

    ipq806x: add vlans during switch init into R7800 DT
    
    Signed-off-by: Pavel Kubelun <be.dissent at gmail.com>
---
 target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-r7800.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-r7800.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-r7800.dts
index 43ee572..560a487 100644
--- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-r7800.dts
+++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-r7800.dts
@@ -306,6 +306,10 @@
 					0x009a0 0x1e864443  /* QM_PORT6_CTRL0 */
 					0x009a4 0x000001c6  /* QM_PORT6_CTRL1 */
 					>;
+				qca,ar8327-vlans = <
+					0x1	0x5e	    /* VLAN1 Ports 1/2/3/4/6 */
+					0x2	0x21	    /* VLAN2 Ports 0/5 */
+				>;
 			};
 
 			phy4: ethernet-phy at 4 {



More information about the lede-commits mailing list