aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2016-06-29 15:09:09 +0200
committerJohn Crispin <john@phrozen.org>2016-07-03 08:00:26 +0200
commitd09f0045ea2f7fb142e23d8f5cdd45e48a3dcc26 (patch)
tree289551e88ed176e420e75d9c180705bb6ce38b0b /target/linux/ramips/dts
parente892472b1eb1dc5529c2c1b14173446be9704508 (diff)
downloadupstream-d09f0045ea2f7fb142e23d8f5cdd45e48a3dcc26.tar.gz
upstream-d09f0045ea2f7fb142e23d8f5cdd45e48a3dcc26.tar.bz2
upstream-d09f0045ea2f7fb142e23d8f5cdd45e48a3dcc26.zip
ramips: fix up switch settings for Sitecom WL-351 v1 002
Pinmux for rgmii needs to be set to rgmii, not gpio. Hide the ESW switch on boot (using new rgmii esw devicetree attribute). Also add a Sitecom-specific profile, since the image needs to include the rtl8366 kernel driver. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/WL-351.dts7
1 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/WL-351.dts b/target/linux/ramips/dts/WL-351.dts
index ecda696732..541f8cef99 100644
--- a/target/linux/ramips/dts/WL-351.dts
+++ b/target/linux/ramips/dts/WL-351.dts
@@ -86,9 +86,13 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
- ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+ ralink,group = "spi", "i2c", "jtag", "mdio", "uartf";
ralink,function = "gpio";
};
+ rgmii {
+ ralink,group = "rgmii";
+ ralink,function = "rgmii";
+ };
};
};
@@ -97,6 +101,7 @@
};
&esw {
+ ralink,rgmii = <1>;
mediatek,portmap = <0x3f>;
ralink,fct2 = <0x0002500c>;
/*