mirror of https://github.com/hak5/openwrt.git
ramips: fix Argus ATP-52B board and image names
The following patch: * changes board name from "argus-atp52b" to "atp-52b" * changes dts filename * fixes LED names in dts file and base-files scripts * removes manufacturer name from image filename for Argus ATP-52B device. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46621lede-17.01
parent
f38d42b8e4
commit
102073ca17
|
@ -161,7 +161,7 @@ ramips_setup_interfaces()
|
||||||
|
|
||||||
awm002-evb | \
|
awm002-evb | \
|
||||||
awm003-evb | \
|
awm003-evb | \
|
||||||
argus-atp52b | \
|
atp-52b | \
|
||||||
dir-645 | \
|
dir-645 | \
|
||||||
dir-860l-b1 | \
|
dir-860l-b1 | \
|
||||||
f5d8235-v1 | \
|
f5d8235-v1 | \
|
||||||
|
|
|
@ -27,8 +27,8 @@ get_status_led() {
|
||||||
awapn2403)
|
awapn2403)
|
||||||
status_led="asiarf:green:wps"
|
status_led="asiarf:green:wps"
|
||||||
;;
|
;;
|
||||||
argus-atp52b)
|
atp-52b)
|
||||||
status_led="argus-atp52b:green:run"
|
status_led="atp-52b:green:run"
|
||||||
;;
|
;;
|
||||||
asl26555)
|
asl26555)
|
||||||
status_led="asl26555:green:power"
|
status_led="asl26555:green:power"
|
||||||
|
|
|
@ -62,7 +62,7 @@ ramips_board_detect() {
|
||||||
name="c20i"
|
name="c20i"
|
||||||
;;
|
;;
|
||||||
*"Argus ATP-52B")
|
*"Argus ATP-52B")
|
||||||
name="argus-atp52b"
|
name="atp-52b"
|
||||||
;;
|
;;
|
||||||
*"AsiaRF AWM002 EVB")
|
*"AsiaRF AWM002 EVB")
|
||||||
name="awm002-evb"
|
name="awm002-evb"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
/include/ "rt3050.dtsi"
|
/include/ "rt3050.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
compatible = "ARGUS_ATP52B", "ralink,rt3052-soc";
|
compatible = "ATP-52B", "ralink,rt3052-soc";
|
||||||
model = "Argus ATP-52B";
|
model = "Argus ATP-52B";
|
||||||
|
|
||||||
pinctrl {
|
pinctrl {
|
||||||
|
@ -49,12 +49,12 @@
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
run {
|
run {
|
||||||
label = "argus-atp52b:green:run";
|
label = "atp-52b:green:run";
|
||||||
gpios = <&gpio0 9 1>;
|
gpios = <&gpio0 9 1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
net {
|
net {
|
||||||
label = "argus-atp52b:amber:net";
|
label = "atp-52b:amber:net";
|
||||||
gpios = <&gpio0 13 1>;
|
gpios = <&gpio0 13 1>;
|
||||||
};
|
};
|
||||||
};
|
};
|
|
@ -442,7 +442,7 @@ Image/Build/Profile/ALL5002=$(call BuildFirmware/CustomFlash/$(1),$(1),all5002,A
|
||||||
Image/Build/Profile/ALL5003=$(call BuildFirmware/CustomFlash/$(1),$(1),all5003,ALL5003,$(allnet_all5002_mtd_size))
|
Image/Build/Profile/ALL5003=$(call BuildFirmware/CustomFlash/$(1),$(1),all5003,ALL5003,$(allnet_all5002_mtd_size))
|
||||||
|
|
||||||
argus_atp52b_mtd_size=7995392
|
argus_atp52b_mtd_size=7995392
|
||||||
Image/Build/Profile/ARGUS_ATP52B=$(call BuildFirmware/CustomFlash/$(1),$(1),argus_atp52b,ARGUS_ATP52B,$(argus_atp52b_mtd_size))
|
Image/Build/Profile/ATP-52B=$(call BuildFirmware/CustomFlash/$(1),$(1),atp-52b,ATP-52B,$(argus_atp52b_mtd_size))
|
||||||
|
|
||||||
asl26555_8mb_mtd_size=7929856
|
asl26555_8mb_mtd_size=7929856
|
||||||
asl26555_16mb_mtd_size=16252928
|
asl26555_16mb_mtd_size=16252928
|
||||||
|
@ -699,8 +699,8 @@ define Image/Build/Profile/Default
|
||||||
$(call Image/Build/Profile/ALL0256N,$(1))
|
$(call Image/Build/Profile/ALL0256N,$(1))
|
||||||
$(call Image/Build/Profile/ALL5002,$(1))
|
$(call Image/Build/Profile/ALL5002,$(1))
|
||||||
$(call Image/Build/Profile/ALL5003,$(1))
|
$(call Image/Build/Profile/ALL5003,$(1))
|
||||||
$(call Image/Build/Profile/ARGUS_ATP52B,$(1))
|
|
||||||
$(call Image/Build/Profile/ASL26555,$(1))
|
$(call Image/Build/Profile/ASL26555,$(1))
|
||||||
|
$(call Image/Build/Profile/ATP-52B,$(1))
|
||||||
$(call Image/Build/Profile/AWM002EVB,$(1))
|
$(call Image/Build/Profile/AWM002EVB,$(1))
|
||||||
$(call Image/Build/Profile/AWAPN2403,$(1))
|
$(call Image/Build/Profile/AWAPN2403,$(1))
|
||||||
$(call Image/Build/Profile/BC2,$(1))
|
$(call Image/Build/Profile/BC2,$(1))
|
||||||
|
|
Loading…
Reference in New Issue