brcm63xx: use dtb board detection for HW556
This requires individual images for each board version for now. Linux partition was shrunk to ensure writing thewrong image won't erase wifi calibration data. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42126v19.07.3_mercusys_ac12_duma
parent
0aa242fe20
commit
52b0935efe
@ -0,0 +1,36 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "bcm6358.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Huawei EchoLife HG556a (version A)";
|
||||
compatible = "huawei,hg556a-a", "brcm,bcm6358";
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
linux,part-probe = "bcm63xxpart";
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x020000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@20000 {
|
||||
label = "linux";
|
||||
reg = <0x020000 0xec0000>;
|
||||
};
|
||||
|
||||
caldata@ee0000 {
|
||||
label = "caldata";
|
||||
reg = <0xee0000 0x100000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
nvram@fe0000 {
|
||||
label = "nvram";
|
||||
reg = <0xfe0000 0x020000>;
|
||||
};
|
||||
};
|
@ -0,0 +1,36 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "bcm6358.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Huawei EchoLife HG556a (version B)";
|
||||
compatible = "huawei,hg556a-b", "brcm,bcm6358";
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
linux,part-probe = "bcm63xxpart";
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x020000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@20000 {
|
||||
label = "linux";
|
||||
reg = <0x020000 0xec0000>;
|
||||
};
|
||||
|
||||
caldata@ee0000 {
|
||||
label = "caldata";
|
||||
reg = <0xee0000 0x100000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
nvram@fe0000 {
|
||||
label = "nvram";
|
||||
reg = <0xfe0000 0x020000>;
|
||||
};
|
||||
};
|
@ -0,0 +1,36 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "bcm6358.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Huawei EchoLife HG556a (version C)";
|
||||
compatible = "huawei,hg556a-c", "brcm,bcm6358";
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
linux,part-probe = "bcm63xxpart";
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x020000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@20000 {
|
||||
label = "linux";
|
||||
reg = <0x020000 0xec0000>;
|
||||
};
|
||||
|
||||
caldata@ee0000 {
|
||||
label = "caldata";
|
||||
reg = <0xee0000 0x100000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
nvram@fe0000 {
|
||||
label = "nvram";
|
||||
reg = <0xfe0000 0x020000>;
|
||||
};
|
||||
};
|
Loading…
Reference in New Issue