summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/dts
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-04-03 14:26:24 +0000
committerJohn Crispin <john@openwrt.org>2014-04-03 14:26:24 +0000
commit58eccdac4fb6b384dde8723876e69dafb8bf2368 (patch)
tree1cb6aa214bd126850734c1580add7a2c6aa28e36 /target/linux/lantiq/dts
parent78a3f697a53b9d7582d1f750ad30bfaa815808d7 (diff)
downloadmtk-20170518-58eccdac4fb6b384dde8723876e69dafb8bf2368.zip
mtk-20170518-58eccdac4fb6b384dde8723876e69dafb8bf2368.tar.gz
mtk-20170518-58eccdac4fb6b384dde8723876e69dafb8bf2368.tar.bz2
lantiq: fix vr9 ubi handling
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 40364
Diffstat (limited to 'target/linux/lantiq/dts')
-rw-r--r--target/linux/lantiq/dts/FRITZ3370.dts31
1 files changed, 15 insertions, 16 deletions
diff --git a/target/linux/lantiq/dts/FRITZ3370.dts b/target/linux/lantiq/dts/FRITZ3370.dts
index 0017dde..c0202ba 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";