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 Jul 4, 2018
1 parent 8f0ad94 commit c8f33bb
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
Original file line number Diff line number Diff line change
Expand Up @@ -783,3 +783,37 @@
&vopl_mmu {
status = "okay";
};

&spi1 {
status = "okay";

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

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 c8f33bb

Please sign in to comment.