2014-10-10 08:56:43 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
2016-05-09 06:32:52 +00:00
|
|
|
#include "WT1520.dtsi"
|
2014-10-10 08:56:43 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
&spi0 {
|
|
|
|
status = "okay";
|
2015-08-17 05:57:18 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
m25p80@0 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "jedec,spi-nor";
|
|
|
|
reg = <0 0>;
|
|
|
|
linux,modalias = "m25p80", "s25fl064k";
|
|
|
|
spi-max-frequency = <10000000>;
|
2014-10-10 08:56:43 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
partition@0 {
|
|
|
|
label = "u-boot";
|
|
|
|
reg = <0x0 0x30000>;
|
|
|
|
read-only;
|
|
|
|
};
|
2014-10-10 08:56:43 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
partition@30000 {
|
|
|
|
label = "u-boot-env";
|
|
|
|
reg = <0x30000 0x10000>;
|
|
|
|
read-only;
|
|
|
|
};
|
2014-10-10 08:56:43 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
factory: partition@40000 {
|
|
|
|
label = "factory";
|
|
|
|
reg = <0x40000 0x10000>;
|
|
|
|
read-only;
|
|
|
|
};
|
2014-10-10 08:56:43 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
partition@50000 {
|
|
|
|
label = "firmware";
|
|
|
|
reg = <0x50000 0x3b0000>;
|
2014-10-10 08:56:43 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|