diff options
author | Mathias Kresin <dev@kresin.me> | 2016-09-10 11:05:56 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-03-11 13:45:00 +0100 |
commit | cd8b20931ee40a5cdf008e6087b35e7770fc51a1 (patch) | |
tree | 6e8c86a9a7ad6a87791950e3da10a40569e4e83a /target/linux/lantiq/dts/BTHOMEHUBV5A.dts | |
parent | 0f01253b257b8e832bea8b63115d4a4280375ccb (diff) | |
download | upstream-cd8b20931ee40a5cdf008e6087b35e7770fc51a1.tar.gz upstream-cd8b20931ee40a5cdf008e6087b35e7770fc51a1.tar.bz2 upstream-cd8b20931ee40a5cdf008e6087b35e7770fc51a1.zip |
lantiq: xrx200: use vlan for ethernet wan port
Using the lantiq,wan device tree property for one interface node and
the lantiq,switch device tree property for another interface node at
the same time was never intended/isn't supported at the moment.
The property is meant to be used in two phy operation mode where one
phy is assigned to an interface without lantiq,* device tree property
and the other phy is assigned to an interface with the lantiq,wan
device property to have two netdevs.
If both properties are used at the same time, the lantiq,wan interface
is shown as independent netdev but not able to operate independent. The
port needs to be managed via swconfig. These dependency is not obvious
and fooled already a lot of users.
Add a default WAN vlan for xrx200 devices having an ethernet WAN port
and remove the lantiq,wan device tree property. Leave it up to the user
to set the ethernet WAN port as default WAN interface or to use this
port as additional LAN port.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq/dts/BTHOMEHUBV5A.dts')
-rw-r--r-- | target/linux/lantiq/dts/BTHOMEHUBV5A.dts | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts index 7f19e5291f..59b6cee9b8 100644 --- a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts +++ b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts @@ -244,15 +244,6 @@ phy-mode = "gmii"; phy-handle = <&phy13>; }; - }; - - wan: interface@1 { - compatible = "lantiq,xrx200-pdi"; - #address-cells = <1>; - #size-cells = <0>; - reg = <1>; - lantiq,wan; - ethernet@5 { compatible = "lantiq,xrx200-pdi-port"; reg = <5>; |