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
dir-300-b1 | \
dir-600-b1 | \
dir-600-b2 | \
dir-300-b1 | \
dir-600-b1 | \
dir-600-b2 | \
dir-615-d)
rt2x00_eeprom_extract "devdata" 16384 512
;;
dir-615-d)
rt2x00_eeprom_extract "devdata" 16384 512
;;
dcs-930 | \
dir-300-b7 | \
dir-320-b1 | \
dcs-930 | \
dir-300-b7 | \
dir-320-b1 | \
dir-615-h1 | \
dir-620-a1 | \
dir-620-d1 | \
dir-615-h1 | \
dir-620-a1 | \
dir-620-d1 | \
dir-645)
[ "$magic" != "5ea3a417" ] && {
echo "Invalid image type."
dir-645)
[ "$magic" != "5ea3a417" ] && {
echo "Invalid image type."
/ {
compatible = "DIR-610-A1", "ralink,rt5350-soc";
model = "D-Link DIR-610 A1";
/ {
compatible = "DIR-610-A1", "ralink,rt5350-soc";
model = "D-Link DIR-610 A1";
palmbus@10000000 {
spi@b00 {
status = "okay";
palmbus@10000000 {
spi@b00 {
status = "okay";
+ devdata: partition@30000 {
label = "devdata";
reg = <0x30000 0x10000>;
label = "devdata";
reg = <0x30000 0x10000>;
};
factory: partition@40000 {
};
factory: partition@40000 {
- ralink,portmap = <0x1f>;
- ralink,led-polarity = <0>;
+ status = "okay";
+ ralink,portmap = <0x2f>;
+ ralink,led_polarity = <0x17>;
+ };
- pinctrl-names = "default";
- pinctrl-0 = <&phy_led_pins>;
+ wmac@10180000 {
+ status = "okay";
+ ralink,led-polarity = <1>;
+ ralink,mtd-eeprom = <&devdata 16384>;
label = "d-link:green:status";
gpios = <&gpio0 9 1>;
};
label = "d-link:green:status";
gpios = <&gpio0 9 1>;
};
label = "d-link:green:wps";
gpios = <&gpio0 13 1>;
};
label = "d-link:green:wps";
gpios = <&gpio0 13 1>;
};
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;