diff options
author | Tobias Diedrich <ranma+openwrt@tdiedrich.de> | 2016-07-04 13:28:19 +0200 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2016-07-04 13:28:19 +0200 |
commit | 5fa16053e35ec41e57a62fec70cf07e057d3d9dc (patch) | |
tree | 302ff47986e9625c8ecd768f8441363cc82f6462 /target/linux/ramips/dts | |
parent | 64032d56b37cbf54a09c7a98153570c194bd0178 (diff) | |
download | master-187ad058-5fa16053e35ec41e57a62fec70cf07e057d3d9dc.tar.gz master-187ad058-5fa16053e35ec41e57a62fec70cf07e057d3d9dc.tar.bz2 master-187ad058-5fa16053e35ec41e57a62fec70cf07e057d3d9dc.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.dts | 7 |
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>; /* |