mirror of https://github.com/hak5/openwrt.git
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>openwrt-19.07
parent
2e9b92da1f
commit
25c0b41901
|
@ -62,7 +62,7 @@
|
||||||
&pinctrl {
|
&pinctrl {
|
||||||
state_default: pinctrl0 {
|
state_default: pinctrl0 {
|
||||||
gpio {
|
gpio {
|
||||||
ralink,group = "i2c", "wled_an";
|
ralink,group = "i2c", "wled_an", "gpio", "refclk", "wdt", "p0led_an";
|
||||||
ralink,function = "gpio";
|
ralink,function = "gpio";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -83,7 +83,7 @@
|
||||||
&spi0 {
|
&spi0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
m25p80@0 {
|
flash@0 {
|
||||||
compatible = "jedec,spi-nor";
|
compatible = "jedec,spi-nor";
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
spi-max-frequency = <10000000>;
|
spi-max-frequency = <10000000>;
|
||||||
|
@ -122,10 +122,9 @@
|
||||||
|
|
||||||
&wmac {
|
&wmac {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
ralink,mtd-eeprom = <&factory 0x4>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
ðernet {
|
ðernet {
|
||||||
mtd-mac-address = <&factory 0x2e>;
|
mtd-mac-address = <&factory 0x28>;
|
||||||
mediatek,portmap = "llllw";
|
mediatek,portmap = "llllw";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue