From 84781cb6dc2004912cde1e2b37c91148c19a9ac4 Mon Sep 17 00:00:00 2001
From: Pavel Kubelun <be.dissent@gmail.com>
Date: Fri, 28 Oct 2016 00:26:19 +0300
Subject: [PATCH] ipq806x: add vlans during switch init into R7800 DT

Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
---
 .../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 43ee572ac6..560a487567 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@4 {
-- 
2.34.1