mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-26 17:54:07 +00:00
ralink: DIR610A1 Fix remaining issues
This patch fixes: - Ethernet and Wireless LEDs - Wireless MAC Address - Remove whitespaces from dts file Signed-off-by: Flavio Silveira <fggs@terra.com.br> SVN-Revision: 38321
This commit is contained in:
parent
5eacfc1c60
commit
420c62205b
@ -34,6 +34,7 @@ case "$FIRMWARE" in
|
|||||||
dir-300-b1 | \
|
dir-300-b1 | \
|
||||||
dir-600-b1 | \
|
dir-600-b1 | \
|
||||||
dir-600-b2 | \
|
dir-600-b2 | \
|
||||||
|
dir-610-a1 | \
|
||||||
dir-615-d)
|
dir-615-d)
|
||||||
rt2x00_eeprom_extract "devdata" 16384 512
|
rt2x00_eeprom_extract "devdata" 16384 512
|
||||||
;;
|
;;
|
||||||
@ -71,7 +72,6 @@ case "$FIRMWARE" in
|
|||||||
dcs-930 | \
|
dcs-930 | \
|
||||||
dir-300-b7 | \
|
dir-300-b7 | \
|
||||||
dir-320-b1 | \
|
dir-320-b1 | \
|
||||||
dir-610-a1 | \
|
|
||||||
dir-615-h1 | \
|
dir-615-h1 | \
|
||||||
dir-620-a1 | \
|
dir-620-a1 | \
|
||||||
dir-620-d1 | \
|
dir-620-d1 | \
|
||||||
|
@ -90,6 +90,7 @@ platform_check_image() {
|
|||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
dir-610-a1 |\
|
||||||
dir-645)
|
dir-645)
|
||||||
[ "$magic" != "5ea3a417" ] && {
|
[ "$magic" != "5ea3a417" ] && {
|
||||||
echo "Invalid image type."
|
echo "Invalid image type."
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
/ {
|
/ {
|
||||||
compatible = "DIR-610-A1", "ralink,rt5350-soc";
|
compatible = "DIR-610-A1", "ralink,rt5350-soc";
|
||||||
model = "D-Link DIR-610 A1";
|
model = "D-Link DIR-610 A1";
|
||||||
|
|
||||||
palmbus@10000000 {
|
palmbus@10000000 {
|
||||||
spi@b00 {
|
spi@b00 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
@ -23,10 +23,10 @@
|
|||||||
read-only;
|
read-only;
|
||||||
};
|
};
|
||||||
|
|
||||||
partition@30000 {
|
devdata: partition@30000 {
|
||||||
label = "devdata";
|
label = "devdata";
|
||||||
reg = <0x30000 0x10000>;
|
reg = <0x30000 0x10000>;
|
||||||
read-only;
|
read-only;
|
||||||
};
|
};
|
||||||
|
|
||||||
factory: partition@40000 {
|
factory: partition@40000 {
|
||||||
@ -53,11 +53,15 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
esw@10110000 {
|
esw@10110000 {
|
||||||
ralink,portmap = <0x1f>;
|
status = "okay";
|
||||||
ralink,led-polarity = <0>;
|
ralink,portmap = <0x2f>;
|
||||||
|
ralink,led_polarity = <0x17>;
|
||||||
|
};
|
||||||
|
|
||||||
pinctrl-names = "default";
|
wmac@10180000 {
|
||||||
pinctrl-0 = <&phy_led_pins>;
|
status = "okay";
|
||||||
|
ralink,led-polarity = <1>;
|
||||||
|
ralink,mtd-eeprom = <&devdata 16384>;
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio-leds {
|
gpio-leds {
|
||||||
@ -66,13 +70,13 @@
|
|||||||
label = "d-link:green:status";
|
label = "d-link:green:status";
|
||||||
gpios = <&gpio0 9 1>;
|
gpios = <&gpio0 9 1>;
|
||||||
};
|
};
|
||||||
wps {
|
wps {
|
||||||
label = "d-link:green:wps";
|
label = "d-link:green:wps";
|
||||||
gpios = <&gpio0 13 1>;
|
gpios = <&gpio0 13 1>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio-keys-polled {
|
gpio-keys-polled {
|
||||||
gpio-keys-polled {
|
gpio-keys-polled {
|
||||||
compatible = "gpio-keys-polled";
|
compatible = "gpio-keys-polled";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
|
Loading…
Reference in New Issue
Block a user