Skip to content

Commit

Permalink
ayufan: dts: rockpro64: add spiflash
Browse files Browse the repository at this point in the history
Change-Id: I67ff3582271f162b3d8db4a677032440261cb7d2
  • Loading branch information
ayufan committed Mar 6, 2019
1 parent 514a041 commit c02ff12
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
Original file line number Diff line number Diff line change
Expand Up @@ -777,3 +777,39 @@
&vopl_mmu {
status = "okay";
};

&spi1 {
status = "okay";
max-freq = <10000000>;

spiflash: spi-flash@0 {
#address-cells = <0x1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0x0>;
spi-max-frequency = <10000000>;
status = "okay";
m25p,fast-read;

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

loader@8000 {
label = "loader";
reg = <0x0 0x3F8000>;
};

env@3f8000 {
label = "env";
reg = <0x3F8000 0x8000>;
};

vendor@7c0000 {
label = "vendor";
reg = <0x7C0000 0x40000>;
};
};
};
};

0 comments on commit c02ff12

Please sign in to comment.