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 authored and sigmaris committed Oct 15, 2019
1 parent 769a1a8 commit 1b0d718
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
Expand Up @@ -648,11 +648,37 @@

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

flash@0 {
spiflash: spi-flash@0 {
#address-cells = <0x1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
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>;
};
};
};
};

Expand Down

0 comments on commit 1b0d718

Please sign in to comment.