aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-05-26 23:11:17 +0200
committerJohn Crispin <john@phrozen.org>2016-05-27 15:50:17 +0200
commitdb66b157db0379ed7dd0dece537135d4c6df9eba (patch)
treed3eb4bf016aa735fc7422c8539db4b05308a88f7 /target/linux/lantiq
parent4d5db712e3618a37e85e383da82d131df37ba3e9 (diff)
downloadupstream-db66b157db0379ed7dd0dece537135d4c6df9eba.tar.gz
upstream-db66b157db0379ed7dd0dece537135d4c6df9eba.tar.bz2
upstream-db66b157db0379ed7dd0dece537135d4c6df9eba.zip
lantiq: VGV7510KW22 - enable the IP101A phy
The RJ45 WAN port is used for xDSL as well as the IP101A. The pins 1,2,3,6 of the RJ45 are connected to the IP101A and the pins 4,5 are connected to the xdsl chip. Drop the ip101a-rst node. It can't be controlled and is not required at all. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq')
-rw-r--r--target/linux/lantiq/dts/VGV7510KW22.dtsi27
-rw-r--r--target/linux/lantiq/xrx200/config-default1
2 files changed, 23 insertions, 5 deletions
diff --git a/target/linux/lantiq/dts/VGV7510KW22.dtsi b/target/linux/lantiq/dts/VGV7510KW22.dtsi
index ed3a6e8d78..1abdc20b1d 100644
--- a/target/linux/lantiq/dts/VGV7510KW22.dtsi
+++ b/target/linux/lantiq/dts/VGV7510KW22.dtsi
@@ -49,11 +49,6 @@
pinctrl-0 = <&state_default>;
state_default: pinmux {
- ip101a-rst {
- lantiq,pins = "io46";
- lantiq,output = <0>;
- lantiq,pull = <1>;
- };
gphy-leds {
lantiq,groups = "gphy0 led0", "gphy0 led1",
"gphy1 led0", "gphy1 led1";
@@ -213,11 +208,33 @@
};
};
+ wan: interface@1 {
+ compatible = "lantiq,xrx200-pdi";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <1>;
+ mtd-mac-address = <&boardconfig 0x16>;
+ mtd-mac-address-increment = <2>;
+ lantiq,wan;
+
+ ethernet@0 {
+ compatible = "lantiq,xrx200-pdi-port";
+ reg = <0>;
+ phy-mode = "mii";
+ phy-handle = <&phy1>;
+ };
+ };
+
mdio@0 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "lantiq,xrx200-mdio";
+ phy1: ethernet-phy@1 {
+ reg = <0x1>;
+ compatible = "ethernet-phy-id0243.0c54", "ethernet-phy-ieee802.3-c22";
+ };
+
phy11: ethernet-phy@11 {
reg = <0x11>;
compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
diff --git a/target/linux/lantiq/xrx200/config-default b/target/linux/lantiq/xrx200/config-default
index 1c9f5ccb13..745a9ff10d 100644
--- a/target/linux/lantiq/xrx200/config-default
+++ b/target/linux/lantiq/xrx200/config-default
@@ -23,6 +23,7 @@ CONFIG_HAVE_DEBUG_STACKOVERFLOW=y
CONFIG_HAVE_DMA_CONTIGUOUS=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
CONFIG_HZ_PERIODIC=y
+CONFIG_ICPLUS_PHY=y
CONFIG_INPUT=y
CONFIG_INPUT_EVDEV=y
CONFIG_INPUT_POLLDEV=y