소스 검색

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 <[email protected]>
Thomas Vincent-Cross 6 년 전
부모
커밋
25c0b41901
1개의 변경된 파일3개의 추가작업 그리고 4개의 파일을 삭제
  1. 3 4
      target/linux/ramips/dts/WL-WN575A3.dts

+ 3 - 4
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";
 };