From 52b0935efe803609153bf0c040efbe7578695aff Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Mon, 11 Aug 2014 11:37:14 +0000 Subject: 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 SVN-Revision: 42126 --- target/linux/brcm63xx/dts/hg556a-a.dts | 36 ++++++++++++++++++++++++++++++++++ target/linux/brcm63xx/dts/hg556a-b.dts | 36 ++++++++++++++++++++++++++++++++++ target/linux/brcm63xx/dts/hg556a-c.dts | 36 ++++++++++++++++++++++++++++++++++ 3 files changed, 108 insertions(+) create mode 100644 target/linux/brcm63xx/dts/hg556a-a.dts create mode 100644 target/linux/brcm63xx/dts/hg556a-b.dts create mode 100644 target/linux/brcm63xx/dts/hg556a-c.dts (limited to 'target/linux/brcm63xx/dts') diff --git a/target/linux/brcm63xx/dts/hg556a-a.dts b/target/linux/brcm63xx/dts/hg556a-a.dts new file mode 100644 index 0000000000..89e2698ed9 --- /dev/null +++ b/target/linux/brcm63xx/dts/hg556a-a.dts @@ -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>; + }; +}; diff --git a/target/linux/brcm63xx/dts/hg556a-b.dts b/target/linux/brcm63xx/dts/hg556a-b.dts new file mode 100644 index 0000000000..855dcd1f65 --- /dev/null +++ b/target/linux/brcm63xx/dts/hg556a-b.dts @@ -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>; + }; +}; diff --git a/target/linux/brcm63xx/dts/hg556a-c.dts b/target/linux/brcm63xx/dts/hg556a-c.dts new file mode 100644 index 0000000000..43e578d018 --- /dev/null +++ b/target/linux/brcm63xx/dts/hg556a-c.dts @@ -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>; + }; +}; -- cgit v1.2.3