model = "BTHOMEHUBV2B - BT Home Hub 2B"; /* SoC: Lantiq Danube-S PSB 50712 @ 333MHz V1.3/1.5 */
chosen {
- bootargs = "console=ttyLTQ0,115200 init=/etc/preinit rootfstype=squashfs,jffs2";
+ bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+ leds {
+ boot = &power_orange;
+ failsafe = &power_red;
+ running = &power_blue;
+
+ internet = &broadband_blue;
+ wifi = &wireless_blue;
+ };
};
memory@0 { /* RAM: Samsung K4H511638F-LC 64MB */
#address-cells = <1>;
#size-cells = <1>;
- partition@0 {
- label = "uboot";
- reg = <0x00000 0x40000>; /* 256KB */
- };
-
- partition@40000 {
- label = "uboot_env";
- reg = <0x40000 0x10000>; /* 64KB */
- };
-
- partition@50000 {
- label = "rg_conf_1";
- reg = <0x50000 0x10000>;
- };
-
- partition@60000 {
- label = "rg_conf_2";
- reg = <0x60000 0x10000>;
- };
-
- partition@70000 {
- label = "rg_conf_factory";
- reg = <0x70000 0x10000>;
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ label = "uboot";
+ reg = <0x00000 0x40000>; /* 256KB */
+ };
+
+ partition@40000 {
+ label = "uboot_env";
+ reg = <0x40000 0x10000>; /* 64KB */
+ };
+
+ partition@50000 {
+ label = "rg_conf_1";
+ reg = <0x50000 0x10000>;
+ };
+
+ partition@60000 {
+ label = "rg_conf_2";
+ reg = <0x60000 0x10000>;
+ };
+
+ partition@70000 {
+ label = "rg_conf_factory";
+ reg = <0x70000 0x10000>;
+ };
};
};
#size-cells = <1>;
req-mask = <0x1>; /* PCI request lines to mask during NAND access */
- ath9k_cal: partition@0 {
- label = "art"; /* Atheros 9160 wifi b/g/n radio EEPROM */
- reg = <0x00000 0x4000>;
- read-only;
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ ath9k_cal: partition@0 {
+ label = "art"; /* Atheros 9160 wifi b/g/n radio EEPROM */
+ reg = <0x00000 0x4000>;
+ read-only;
+ };
+
+ partition@4000 {
+ label = "kernel";
+ reg = <0x4000 0x200000>;
+ };
+
+ partition@164000 {
+ label = "ubi";
+ reg = <0x204000 0x1DFC000>;
+ };
};
-
- partition@4000 {
- label = "firmware";
- reg = <0x4000 0x1FFC000>;
- };
-
};
compatible = "gpio-leds";
upgrading-orange {
- label = "soc:orange:upgrading";
+ label = "bthomehubv2b:orange:upgrading";
gpios = <&stp0 5 0>;
};
phone-orange {
- label = "soc:orange:phone";
+ label = "bthomehubv2b:orange:phone";
gpios = <&stp0 6 0>;
};
phone-blue {
- label = "soc:blue:phone";
+ label = "bthomehubv2b:blue:phone";
gpios = <&stp0 7 0>;
};
wireless-orange {
- label = "soc:orange:wireless";
+ label = "bthomehubv2b:orange:wireless";
gpios = <&stp0 8 0>;
};
- wireless-blue {
- label = "soc:blue:wireless";
+ wireless_blue: wireless-blue {
+ label = "bthomehubv2b:blue:wireless";
gpios = <&stp0 9 0>;
};
broadband-red {
- label = "soc:red:broadband";
+ label = "bthomehubv2b:red:broadband";
gpios = <&stp0 10 0>;
};
broadband-orange {
- label = "soc:orange:broadband";
+ label = "bthomehubv2b:orange:broadband";
gpios = <&stp0 11 0>;
};
- broadband-blue {
- label = "soc:blue:broadband";
+ broadband_blue: broadband-blue {
+ label = "bthomehubv2b:blue:broadband";
gpios = <&stp0 12 0>;
};
- power-red {
- label = "soc:red:power";
+ power_red: power-red {
+ label = "bthomehubv2b:red:power";
gpios = <&stp0 13 0>;
};
- power-orange {
- label = "soc:orange:power";
+ power_orange: power-orange {
+ label = "bthomehubv2b:orange:power";
gpios = <&stp0 14 0>;
+ default-state = "keep";
};
- power-blue {
- label = "soc:blue:power";
+ power_blue: power-blue {
+ label = "bthomehubv2b:blue:power";
gpios = <&stp0 15 0>;
};
};
-
};