/ {
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ /* the power led can't be controlled, use the wps led instead */
+ boot = &wps;
+ failsafe = &wps;
+
+ dsl = &dsl;
+ internet = &internet;
+ usb = &usb0;
+ usb2 = &usb2;
+ };
};
memory@0 {
interrupt-parent = <&icu0>;
interrupts = <22 23 24>;
#address-cells = <1>;
+ #size-cells = <1>;
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
- reg = <3>;
- spi-max-frequency = <20000000>;
+ reg = <3 0>;
+ spi-max-frequency = <33250000>;
+ m25p,fast-read;
partition@0 {
reg = <0x0 0x20000>;
ath,mac-offset = <0xf100>;
ath,mac-increment;
ath,led-pin = <0>;
+ ath,disable-5ghz;
+ ath,led-active-high;
};
gpio-keys-polled {
gpio-leds {
compatible = "gpio-leds";
- dsl {
+ dsl: dsl {
label = "dsl";
gpios = <&gpio 4 0>;
};
- internet {
+ internet: internet {
label = "internet";
gpios = <&gpio 5 0>;
};
- usb0 {
+ usb0: usb0 {
label = "usb";
gpios = <&gpio 19 0>;
};
- usb2 {
+ usb2: usb2 {
label = "usb2";
gpios = <&gpio 20 0>;
};
- wps {
+ wps: wps {
label = "wps";
gpios = <&gpio 37 0>;
};