From 58eccdac4fb6b384dde8723876e69dafb8bf2368 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 3 Apr 2014 14:26:24 +0000 Subject: lantiq: fix vr9 ubi handling Signed-off-by: John Crispin SVN-Revision: 40364 --- target/linux/lantiq/dts/FRITZ3370.dts | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) (limited to 'target/linux/lantiq/dts') diff --git a/target/linux/lantiq/dts/FRITZ3370.dts b/target/linux/lantiq/dts/FRITZ3370.dts index 0017ddedf1..c0202bab0f 100644 --- a/target/linux/lantiq/dts/FRITZ3370.dts +++ b/target/linux/lantiq/dts/FRITZ3370.dts @@ -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"; -- cgit v1.2.3