#address-cells = <1>;
#size-cells = <1>;
- partition@0 {
- label = "uboot";
- reg = <0x00000 0x20000>;
- read-only;
- };
-
- partition@20000 {
- label = "uboot_env";
- reg = <0x20000 0x10000>;
- read-only;
- };
-
- partition@30000 {
- label = "firmware";
- reg = <0x30000 0x7d0000>;
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ label = "uboot";
+ reg = <0x00000 0x20000>;
+ read-only;
+ };
+
+ partition@20000 {
+ label = "uboot_env";
+ reg = <0x20000 0x10000>;
+ read-only;
+ };
+
+ partition@30000 {
+ label = "firmware";
+ reg = <0x30000 0x7d0000>;
+ };
};
};
};
compatible = "gpio-leds";
power_green: power {
- label = "power";
+ label = "h201l:green:power";
gpios = <&gpio 19 1>;
default-state = "keep";
};
online: online {
- label = "online";
+ label = "h201l:green:internet";
gpios = <&gpio 37 1>;
};
dsl: dsl {
- label = "dsl";
+ label = "h201l:green:dsl";
gpios = <&gpio 4 1>;
};
phone {
- label = "phone";
+ label = "h201l:green:phone";
gpios = <&gpio 39 1>;
};
wps {
- label = "wps";
+ label = "h201l:green:wps";
gpios = <&gpio 22 1>;
};
wifi: wifi {
- label = "wifi";
+ label = "h201l:green:wlan";
gpios = <&gpio 6 1>;
};
usb: usb {
- label = "usb";
+ label = "h201l:green:usb";
gpios = <&gpio 14 1>;
};
};