From 3dd93e8336995450f57ddf818f4d4a2235cbd862 Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Tue, 16 Sep 2014 14:53:01 +0000
Subject: [PATCH] lantiq: move the lantiq,switch property into the interface
 node

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42574
---
 target/linux/lantiq/dts/TDW8970.dts  | 2 +-
 target/linux/lantiq/dts/VG3503J.dtsi | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/target/linux/lantiq/dts/TDW8970.dts b/target/linux/lantiq/dts/TDW8970.dts
index a312a9fbb4..51972a07c8 100644
--- a/target/linux/lantiq/dts/TDW8970.dts
+++ b/target/linux/lantiq/dts/TDW8970.dts
@@ -65,7 +65,6 @@
 			>;
 			interrupt-parent = <&icu0>;
 			interrupts = <73 72>;
-			lantiq,switch;
 
 			lan: interface@0 {
 				compatible = "lantiq,xrx200-pdi";
@@ -73,6 +72,7 @@
 				#size-cells = <0>;
 				reg = <0>;
 				mtd-mac-address = <&ath9k_cal 0xf100>;
+				lantiq,switch;
 
 				ethernet@0 {
 					compatible = "lantiq,xrx200-pdi-port";
diff --git a/target/linux/lantiq/dts/VG3503J.dtsi b/target/linux/lantiq/dts/VG3503J.dtsi
index b228a0f9c0..3e6bab5dd3 100644
--- a/target/linux/lantiq/dts/VG3503J.dtsi
+++ b/target/linux/lantiq/dts/VG3503J.dtsi
@@ -102,6 +102,7 @@
 				#size-cells = <0>;
 				reg = <0>;
 				mac-address = [ 00 11 22 33 44 55 ];
+				lantiq,switch;
 				ethernet@2 {
 					compatible = "lantiq,xrx200-pdi-port";
 					reg = <2>;
-- 
2.30.2