Commit ecc6fb79 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

merged from rocko branch, updated rootfs flash partition size to 320MB

parent cedb06fe
/**/ /**/
/ { / {
chosen { chosen {
bootargs = "earlycon cma=336M root=ubi0:elphel393-rootfs rootwait rootfstype=ubifs ubi.mtd=4,512"; bootargs = "earlycon cma=336M root=ubi0:elphel393-rootfs rootwait rootfstype=ubifs ubi.mtd=4,2048";
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
}; };
/* welcome to elphel393 device tree */ /* elphel393 device tree */
/include/ "elphel393-zynq-base.dtsi"
/include/ "elphel393-bootargs.dtsi"
/ { / {
model = "Elphel 10393"; model = "Elphel 10393";
...@@ -114,41 +113,49 @@ ...@@ -114,41 +113,49 @@
device_type = "ethernet-phy"; device_type = "ethernet-phy";
/* rev0 - revB: reg = <0x3> */ /* rev0 - revB: reg = <0x3> */
/* revC: reg = <0x0> */ /* revC: reg = <0x0> */
reg = <0x3>; reg = <0x0>;
}; };
}; };
}; };
smcc: memory-controller@e000e000 { ps7_smcc_0: ps7-smcc@e000e000 {
nand0: flash@e1000000 { ps7_nand_0: ps7-nand@e1000000 {
partitions { compatible = "arm,pl353-nand-r2p1";
compatible = "fixed-partitions"; reg = < 0xe1000000 0x1000000 >;
#address-cells = <1>; /*arm,nand-clk-freq-hz = <0x5f5e100>;*/
#size-cells = <1>; arm,nand-width = <0x8>;
partition@0 { arm,nand-cycle-t0 = <0x4>;
label = "u-boot-spl"; arm,nand-cycle-t1 = <0x4>;
reg = <0x0 0x100000>;/*1MB for backup spl image(s)*/ arm,nand-cycle-t2 = <0x1>;
}; arm,nand-cycle-t3 = <0x2>;
partition@1 { arm,nand-cycle-t4 = <0x2>;
label = "u-boot"; arm,nand-cycle-t5 = <0x2>;
reg = <0x100000 0x400000>;/*4MB*/ arm,nand-cycle-t6 = <0x4>;
}; #address-cells = <0x1>;
partition@2 { #size-cells = <0x1>;
label = "device-tree"; partition@0 {
reg = <0x500000 0x100000>;/*1MB*/ label = "u-boot-spl";
}; reg = <0x0 0x100000>;/*1MB for backup spl image(s)*/
partition@3 {
label = "kernel";
reg = <0x600000 0x1000000>;/*16MB*/
};
partition@4 {
label = "rootfs";
/*reg = <0x1600000 0x10000000>;*/ /*256MB*/
reg = <0x1600000 0x14000000>; /*320MB*/
};
}; };
}; partition@1 {
}; label = "u-boot";
reg = <0x100000 0x400000>;/*4MB*/
};
partition@2 {
label = "device-tree";
reg = <0x500000 0x100000>;/*1MB*/
};
partition@3 {
label = "kernel";
reg = <0x600000 0x1000000>;/*16MB*/
};
partition@4 {
label = "rootfs";
/*reg = <0x1600000 0x10000000>;*/ /*256MB*/
reg = <0x1600000 0x14000000>; /*320MB*/
};
} ;
} ;
elphel_ahci: elphel-ahci@80000000 { elphel_ahci: elphel-ahci@80000000 {
compatible = "elphel,elphel-ahci"; compatible = "elphel,elphel-ahci";
......
/ {
ps7_axi_interconnect_0: amba@0 {
ps7_ethernet_0: ps7-ethernet@e000b000 {
local-mac-address = [00 0e 64 10 00 00];
phy-handle = <&phy3>;
phy-mode = "rgmii-id";
mdio {
#address-cells = <1>;
#size-cells = <0>;
phy3: phy@3 {
/* Atheros 8035 */
compatible = "ethernet-phy-id004d.d072";
/* compatible = "ethernet-phy-ieee802.3-c22";*/
device_type = "ethernet-phy";
/* rev0 - revB: reg = <0x3> */
/* revC: reg = <0x0> */
reg = <0x3>;
};
};
};
};
};
\ No newline at end of file
/ {
ps7_axi_interconnect_0: amba@0 {
ps7_ethernet_0: ps7-ethernet@e000b000 {
local-mac-address = [00 0e 64 10 00 00];
phy-handle = <&phy3>;
phy-mode = "rgmii-id";
mdio {
#address-cells = <1>;
#size-cells = <0>;
phy3: phy@3 {
/* Atheros 8035 */
compatible = "ethernet-phy-id004d.d072";
/* compatible = "ethernet-phy-ieee802.3-c22";*/
device_type = "ethernet-phy";
/* rev0 - revB: reg = <0x3> */
/* revC: reg = <0x0> */
reg = <0x0>;
};
};
};
};
};
\ No newline at end of file
...@@ -296,23 +296,24 @@ ...@@ -296,23 +296,24 @@
reg = <0xf8001000 0x1000>; reg = <0xf8001000 0x1000>;
} ; } ;
smcc: memory-controller@e000e000 { ps7_smcc_0: ps7-smcc@e000e000 {
#address-cells = <2>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
clock-names = "memclk", "apb_pclk"; clock-names = "memclk", "aclk";
clocks = <&clkc 11>, <&clkc 44>; clocks = <&clkc 11>, <&clkc 44>;
compatible = "arm,pl353-smc-r2p1", "arm,primecell"; compatible = "arm,pl353-smc-r2p1";
interrupt-parent = <&ps7_scugic_0>; interrupt-parent = <&ps7_scugic_0>;
interrupts = < 0 18 4 >; interrupts = < 0 18 4 >;
ranges = <0x0 0x0 0xe1000000 0x1000000 //Nand CS Region ranges ;
0x1 0x0 0xe2000000 0x2000000 //SRAM/NOR CS Region reg = < 0xe000e000 0x1000 >;
0x2 0x0 0xe4000000 0x2000000>; //SRAM/NOR CS Region arm,addr25 = <0x0>;
arm,nor-chip-sel0 = <0x0>;
reg = <0xe000e000 0x1000>; arm,nor-chip-sel1 = <0x0>;
nand0: flash@e1000000 { arm,sram-chip-sel0 = <0x0>;
arm,sram-chip-sel1 = <0x0>;
ps7_nand_0: ps7-nand@e1000000 {
compatible = "arm,pl353-nand-r2p1"; compatible = "arm,pl353-nand-r2p1";
reg = <0 0 0x1000000>; reg = < 0xe1000000 0x1000000 >;
nand-ecc-mode = "on-die";
/*arm,nand-clk-freq-hz = <0x5f5e100>;*/ /*arm,nand-clk-freq-hz = <0x5f5e100>;*/
arm,nand-width = <0x8>; arm,nand-width = <0x8>;
arm,nand-cycle-t0 = <0x4>; arm,nand-cycle-t0 = <0x4>;
......
This diff is collapsed.
/* elphel393 device tree */
/include/ "elphel393-zynq-base.dtsi"
/include/ "elphel393-bootargs.dtsi"
/include/ "elphel393-common.dtsi"
/include/ "elphel393-revision.dtsi"
/ {
elphel393_detect_sensors: elphel393-detect_sensors@0 {
compatible = "elphel,elphel393-detect_sensors-1.00";
elphel393-detect_sensors,port-mux = "none none none none"; /* "none", "detect" or "mux10359" */
elphel393-detect_sensors,sensors = "mt9f002", // Line per port, may contain up to 4 sensors (3 with 10359)
"mt9f002",
"mt9f002",
"mt9f002";
};
};
...@@ -117,36 +117,43 @@ ...@@ -117,36 +117,43 @@
}; };
}; };
smcc: memory-controller@e000e000 { ps7_smcc_0: ps7-smcc@e000e000 {
nand0: flash@e1000000 { ps7_nand_0: ps7-nand@e1000000 {
partitions { compatible = "arm,pl353-nand-r2p1";
compatible = "fixed-partitions"; reg = < 0xe1000000 0x1000000 >;
#address-cells = <1>; /*arm,nand-clk-freq-hz = <0x5f5e100>;*/
#size-cells = <1>; arm,nand-width = <0x8>;
partition@0 { arm,nand-cycle-t0 = <0x4>;
label = "u-boot-spl"; arm,nand-cycle-t1 = <0x4>;
reg = <0x0 0x100000>;/*1MB for backup spl image(s)*/ arm,nand-cycle-t2 = <0x1>;
}; arm,nand-cycle-t3 = <0x2>;
partition@1 { arm,nand-cycle-t4 = <0x2>;
label = "u-boot"; arm,nand-cycle-t5 = <0x2>;
reg = <0x100000 0x400000>;/*4MB*/ arm,nand-cycle-t6 = <0x4>;
}; #address-cells = <0x1>;
partition@2 { #size-cells = <0x1>;
label = "device-tree"; partition@0 {
reg = <0x500000 0x100000>;/*1MB*/ label = "u-boot-spl";
}; reg = <0x0 0x100000>;/*1MB for backup spl image(s)*/
partition@3 {
label = "kernel";
reg = <0x600000 0x1000000>;/*16MB*/
};
partition@4 {
label = "rootfs";
/*reg = <0x1600000 0x10000000>;*/ /*256MB*/
reg = <0x1600000 0x14000000>; /*320MB*/
};
}; };
}; partition@1 {
}; label = "u-boot";
reg = <0x100000 0x400000>;/*4MB*/
};
partition@2 {
label = "device-tree";
reg = <0x500000 0x100000>;/*1MB*/
};
partition@3 {
label = "kernel";
reg = <0x600000 0x1000000>;/*16MB*/
};
partition@4 {
label = "rootfs";
reg = <0x1600000 0x10000000>;/*256MB*/
};
} ;
} ;
elphel_ahci: elphel-ahci@80000000 { elphel_ahci: elphel-ahci@80000000 {
compatible = "elphel,elphel-ahci"; compatible = "elphel,elphel-ahci";
......
...@@ -117,36 +117,43 @@ ...@@ -117,36 +117,43 @@
}; };
}; };
smcc: memory-controller@e000e000 { ps7_smcc_0: ps7-smcc@e000e000 {
nand0: flash@e1000000 { ps7_nand_0: ps7-nand@e1000000 {
partitions { compatible = "arm,pl353-nand-r2p1";
compatible = "fixed-partitions"; reg = < 0xe1000000 0x1000000 >;
#address-cells = <1>; /*arm,nand-clk-freq-hz = <0x5f5e100>;*/
#size-cells = <1>; arm,nand-width = <0x8>;
partition@0 { arm,nand-cycle-t0 = <0x4>;
label = "u-boot-spl"; arm,nand-cycle-t1 = <0x4>;
reg = <0x0 0x100000>;/*1MB for backup spl image(s)*/ arm,nand-cycle-t2 = <0x1>;
}; arm,nand-cycle-t3 = <0x2>;
partition@1 { arm,nand-cycle-t4 = <0x2>;
label = "u-boot"; arm,nand-cycle-t5 = <0x2>;
reg = <0x100000 0x400000>;/*4MB*/ arm,nand-cycle-t6 = <0x4>;
}; #address-cells = <0x1>;
partition@2 { #size-cells = <0x1>;
label = "device-tree"; partition@0 {
reg = <0x500000 0x100000>;/*1MB*/ label = "u-boot-spl";
}; reg = <0x0 0x100000>;/*1MB for backup spl image(s)*/
partition@3 {
label = "kernel";
reg = <0x600000 0x1000000>;/*16MB*/
};
partition@4 {
label = "rootfs";
/*reg = <0x1600000 0x10000000>;*/ /*256MB*/
reg = <0x1600000 0x14000000>; /*320MB*/
};
}; };
}; partition@1 {
}; label = "u-boot";
reg = <0x100000 0x400000>;/*4MB*/
};
partition@2 {
label = "device-tree";
reg = <0x500000 0x100000>;/*1MB*/
};
partition@3 {
label = "kernel";
reg = <0x600000 0x1000000>;/*16MB*/
};
partition@4 {
label = "rootfs";
reg = <0x1600000 0x10000000>;/*256MB*/
};
} ;
} ;
elphel_ahci: elphel-ahci@80000000 { elphel_ahci: elphel-ahci@80000000 {
compatible = "elphel,elphel-ahci"; compatible = "elphel,elphel-ahci";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment