diff options
author | Jonas Gorski <jogo@openwrt.org> | 2014-08-11 11:37:14 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2014-08-11 11:37:14 +0000 |
commit | 52b0935efe803609153bf0c040efbe7578695aff (patch) | |
tree | 1ddeb39ead6304d5ffe7629f62b75f71d0285e48 /target/linux/brcm63xx/dts | |
parent | 0aa242fe20960cd313fcea8408679adbcf6bdcfd (diff) | |
download | upstream-52b0935efe803609153bf0c040efbe7578695aff.tar.gz upstream-52b0935efe803609153bf0c040efbe7578695aff.tar.bz2 upstream-52b0935efe803609153bf0c040efbe7578695aff.zip |
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: 42126
Diffstat (limited to 'target/linux/brcm63xx/dts')
-rw-r--r-- | target/linux/brcm63xx/dts/hg556a-a.dts | 36 | ||||
-rw-r--r-- | target/linux/brcm63xx/dts/hg556a-b.dts | 36 | ||||
-rw-r--r-- | target/linux/brcm63xx/dts/hg556a-c.dts | 36 |
3 files changed, 108 insertions, 0 deletions
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>; + }; +}; |