@ -178,15 +178,15 @@
&spi0 {
&spi0 {
status = "okay";
status = "okay";
num-cs = <1>;
num-cs = <1>;
spi0_flash0: spi0_flash0@0 {
spi0_flash0: flash@0 {
compatible = "m25p80";
#address-cells = <1>;
#address-cells = <1>;
#size-cells = <1>;
#size-cells = <1>;
compatible = "sst,sst25wf080", "jedec,spi-nor";
spi-max-frequency = <50000000>;
spi-max-frequency = <50000000>;
reg = <0>;
reg = <0>;
spi0_flash0 @0 {
partition @0 {
label = "spi0_flash0 ";
label = "data ";
reg = <0x0 0x100000>;
reg = <0x0 0x100000>;
};
};
};
};
@ -195,15 +195,15 @@
&spi1 {
&spi1 {
status = "okay";
status = "okay";
num-cs = <1>;
num-cs = <1>;
spi1_flash0: spi1_flash0@0 {
spi1_flash0: flash@0 {
compatible = "mtd_dataflash";
#address-cells = <1>;
#address-cells = <1>;
#size-cells = <1>;
#size-cells = <1>;
compatible = "atmel,at45db041e", "atmel,at45", "atmel,dataflash";
spi-max-frequency = <20000000>;
spi-max-frequency = <20000000>;
reg = <0>;
reg = <0>;
spi1_flash0 @0 {
partition @0 {
label = "spi1_flash0 ";
label = "data ";
reg = <0x0 0x84000>;
reg = <0x0 0x84000>;
};
};
};
};