On Wed, 04 Nov 2015 23:25:05 +0100, Luka Perkov <luka.per...@sartura.hr> wrote:

<snip>

--- a/Documentation/devicetree/bindings/arm/marvell,kirkwood.txt
+++ b/Documentation/devicetree/bindings/arm/marvell,kirkwood.txt
@@ -49,6 +49,7 @@ board. Currently known boards are:
 "lacie,netspace_max_v2"
 "lacie,netspace_mini_v2"
 "lacie,netspace_v2"
+"linksys,ea4500"
 "marvell,db-88f6281-bp"
 "marvell,db-88f6282-bp"
 "marvell,mv88f6281gtw-ge"

The same device was sold as the ea4200v2 as well. Please use the engineering name "viper" instead, as discussed at http://lists.infradead.org/pipermail/linux-arm-kernel/2015-January/319590.html

--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -124,6 +124,7 @@ lantiq      Lantiq Semiconductor
 lenovo Lenovo Group Ltd.
 lg     LG Corporation
 linux  Linux-specific binding
+linksys        Belkin International, Inc.
 lsi    LSI Corp. (LSI Logic)
 lltc   Linear Technology Corporation
 marvell        Marvell Technology Group Ltd.

Although Linksys is a subsidiary of Belkin, I think linksys should stay Linksys here ;)

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index bb8fa02..a16c04b 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -168,6 +168,7 @@ dtb-$(CONFIG_MACH_KIRKWOOD) += \
        kirkwood-ds411.dtb \
        kirkwood-ds411j.dtb \
        kirkwood-ds411slim.dtb \
+       kirkwood-ea4500.dtb \
        kirkwood-goflexnet.dtb \
        kirkwood-guruplug-server-plus.dtb \
        kirkwood-ib62x0.dtb \

"kirkwood-viper.dtb"

--- /dev/null
+++ b/arch/arm/boot/dts/kirkwood-ea4500.dts
@@ -0,0 +1,156 @@

<snip>

+       model = "Linksys EA4500";
+ compatible = "linksys,ea4500", "marvell,kirkwood-88f6282", "marvell,kirkwood";

model = "Linksys EA4200v2 / EA4500"
compatible = "linksys,viper", "marvell,kirkwood-88f6282", "marvell,kirkwood";

<snip>

+&nand {
+       status = "okay";
+       pinctrl-0 = <&pmx_nand>;
+       pinctrl-names = "default";
+
+       partition@0 {
+               label = "u-boot";
+               reg = <0x0000000 0x80000>;
+       };
+
+       partition@80000 {
+               label = "u-boot environment";
+               reg = <0x80000 0x20000>;
+       };
+
+       partition@200000 {
+               label = "kernel";
+               reg = <0x200000 0x200000>;
+       };
+
+       partition@400000 {
+               label = "root";
+               reg = <0x400000 0x1c00000>;
+       };
+};

Please use the factory partitions instead.


Imre
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to