lantiq: fix vr9 ubi handling

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40364
This commit is contained in:
John Crispin
2014-04-03 14:26:24 +00:00
parent 78a3f697a5
commit 58eccdac4f
7 changed files with 66 additions and 24 deletions

View File

@@ -6,7 +6,7 @@
model = "FRITZ3370 - Fritz!Box WLAN 3370";
chosen {
bootargs = "console=ttyLTQ0,115200";
bootargs = "console=ttyLTQ0,115200 ubi.mtd=1,512 root=/dev/mtdblock9";
};
memory@0 {
@@ -23,8 +23,13 @@
#size-cells = <1>;
partition@0 {
label = "firmware";
reg = <0x00000 0x3400000>;
label = "kernel";
reg = <0x0 0x400000>;
};
partition@400000 {
label = "rootfs_ubi";
reg = <0x400000 0x3000000>;
};
partition@3400000 {
@@ -55,23 +60,16 @@
lantiq,groups = "spi", "spi_cs4";
lantiq,function = "gpio";
};
nand_out {
lantiq,groups = "nand cle", "nand ale", "nand rd", "ebu a23", "ebu a24";
lantiq,function = "ebu";
lantiq,direction = <1>;
lantiq,pull = <0>;
};
nand_in {
lantiq,groups = "nand rdy";
lantiq,function = "ebu";
lantiq,direction = <0>;
lantiq,open-drain = <1>;
lantiq,pull = <2>;
};
mdio {
lantiq,groups = "mdio";
lantiq,function = "mdio";
};
nand {
lantiq,groups = "nand cle", "nand ale",
"nand rd", "nand cs1", "nand rdy";
lantiq,function = "ebu";
lantiq,pull = <1>;
};
phy-rst {
lantiq,pins = "io37", "io44";
lantiq,pull = <0>;
@@ -104,6 +102,7 @@
#size-cells = <0>;
reg = <0>;
mac-address = [ 00 11 22 33 44 55 ];
lantiq,switch;
ethernet@0 {
compatible = "lantiq,xrx200-pdi-port";