bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
leds {
- boot = &power;
- failsafe = &power2;
- running = &power;
+ boot = &power_green;
+ failsafe = &power_red;
+ running = &power_green;
dsl = &dsl;
internet = &online;
#address-cells = <1>;
#size-cells = <1>;
- partition@0 {
- label = "uboot";
- reg = <0x00000 0x40000>;
- read-only;
- };
-
- partition@40000 {
- label = "uboot_env";
- reg = <0x40000 0x20000>;
- read-only;
- };
-
- partition@60000 {
- label = "firmware";
- reg = <0x60000 0xfa0000>;
+ 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>;
+ read-only;
+ };
+
+ partition@60000 {
+ label = "firmware";
+ reg = <0x60000 0xfa0000>;
+ };
};
};
};
gpio-leds {
compatible = "gpio-leds";
- power: power {
- label = "power";
+ power_green: power {
+ label = "p2601hnfx:green:power";
gpios = <&stp 11 1>;
default-state = "keep";
};
- power2: power2 {
- label = "power2";
+ power_red: power2 {
+ label = "p2601hnfx:red:power";
gpios = <&gpio 29 1>;
};
online: online {
- label = "online";
+ label = "p2601hnfx:green:internet";
gpios = <&stp 13 1>;
};
online2 {
- label = "online2";
+ label = "p2601hnfx:red:internet";
gpios = <&stp 12 1>;
};
dsl: dsl {
- label = "dsl";
+ label = "p2601hnfx:green:dsl";
gpios = <&stp 14 1>;
};
phone {
- label = "phone";
+ label = "p2601hnfx:green:phone";
gpios = <&stp 9 1>;
};
phone2 {
- label = "phone2";
+ label = "p2601hnfx:orange:phone";
gpios = <&stp 8 1>;
};
wifi: wifi {
- label = "wifi";
+ label = "p2601hnfx:green:wireless";
gpios = <&stp 15 1>;
};
wifi2 {
- label = "wifi2";
+ label = "p2601hnfx:orange:wireless";
gpios = <&stp 10 1>;
};
};