aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorThomas Vincent-Cross <me@tvc.id.au>2019-02-17 23:00:59 +1100
committerChristian Lamparter <chunkeey@gmail.com>2019-02-28 11:26:10 +0100
commit25c0b41901448f1191f3c9d7f6fabd05fbf7396f (patch)
treec2d6c0492d3410c4dd46ec139953fedceff44431 /target/linux/ramips
parent2e9b92da1f0d410ecc122581f2e0736cab033b02 (diff)
downloadupstream-25c0b41901448f1191f3c9d7f6fabd05fbf7396f.tar.gz
upstream-25c0b41901448f1191f3c9d7f6fabd05fbf7396f.tar.bz2
upstream-25c0b41901448f1191f3c9d7f6fabd05fbf7396f.zip
ramips: various Wavlink WL-WN575A3 fixes
* assign pinmux groups to gpio function for LEDs/buttons * rename flash node to be more generic in line with other device nodes * remove useless/incorrect eeprom property from wmac node * correct base mac address for embedded switch Signed-off-by: Thomas Vincent-Cross <me@tvc.id.au>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/dts/WL-WN575A3.dts7
1 files changed, 3 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/WL-WN575A3.dts b/target/linux/ramips/dts/WL-WN575A3.dts
index f18ae891c0..76923d5cf6 100644
--- a/target/linux/ramips/dts/WL-WN575A3.dts
+++ b/target/linux/ramips/dts/WL-WN575A3.dts
@@ -62,7 +62,7 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
- ralink,group = "i2c", "wled_an";
+ ralink,group = "i2c", "wled_an", "gpio", "refclk", "wdt", "p0led_an";
ralink,function = "gpio";
};
};
@@ -83,7 +83,7 @@
&spi0 {
status = "okay";
- m25p80@0 {
+ flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
@@ -122,10 +122,9 @@
&wmac {
status = "okay";
- ralink,mtd-eeprom = <&factory 0x4>;
};
&ethernet {
- mtd-mac-address = <&factory 0x2e>;
+ mtd-mac-address = <&factory 0x28>;
mediatek,portmap = "llllw";
};