chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ boot = &power;
+ failsafe = &power2;
+ running = &power;
+
+ dsl = &dsl;
+ internet = &online;
+ wifi = &wifi;
+ };
};
memory@0 {
#address-cells = <1>;
#size-cells = <1>;
- partition@0 {
- label = "uboot";
- reg = <0x00000 0x40000>;
- read-only;
- };
-
- partition@40000 {
- label = "uboot_env";
- reg = <0x40000 0x20000>;
- };
-
- partition@60000 {
- label = "firmware";
- reg = <0x60000 0xf80000>;
- };
-
- partition@fe0000 {
- label = "board_config";
- reg = <0xfe0000 0x20000>;
- read-only;
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ label = "uboot";
+ reg = <0x00000 0x40000>;
+ read-only;
+ };
+
+ partition@40000 {
+ label = "uboot_env";
+ reg = <0x40000 0x20000>;
+ };
+
+ partition@60000 {
+ label = "firmware";
+ reg = <0x60000 0xf80000>;
+ };
+
+ partition@fe0000 {
+ label = "board_config";
+ reg = <0xfe0000 0x20000>;
+ read-only;
+ };
};
};
lantiq,external-clock;
gpio-reset = <&gpio 21 0>;
req-mask = <0xf>;
- };
+ };
};
ralink_eep {
gpio-leds {
compatible = "gpio-leds";
- power {
+ power: power {
label = "power";
gpios = <&gpio 2 1>;
- default-state = "off";
+ default-state = "keep";
};
- power2 {
+ power2: power2 {
label = "power2";
gpios = <&gpio 14 1>;
};
- online {
+ online: online {
label = "online";
gpios = <&gpio 3 1>;
};
label = "online2";
gpios = <&gpio 30 1>;
};
- wifi {
+ wifi: wifi {
label = "wifi";
gpios = <&gpio 12 1>;
};
label = "wps3";
gpios = <&gpio 23 1>;
};
- dsl {
+ dsl: dsl {
label = "dsl";
gpios = <&gpio 4 1>;
};