Skip to content

Commit b95494b

Browse files
committed
ayufan: dts: rockpro64 add spiflash
Change-Id: I67ff3582271f162b3d8db4a677032440261cb7d2
1 parent 8f0ad94 commit b95494b

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,3 +783,37 @@
783783
&vopl_mmu {
784784
status = "okay";
785785
};
786+
787+
&spi1 {
788+
status = "okay";
789+
790+
spiflash: spi-flash@0 {
791+
#address-cells = <0x1>;
792+
#size-cells = <1>;
793+
compatible = "spi-flash";
794+
reg = <0x0>;
795+
spi-max-frequency = <25000000>;
796+
status = "okay";
797+
798+
partitions {
799+
compatible = "fixed-partitions";
800+
#address-cells = <1>;
801+
#size-cells = <1>;
802+
803+
loader@8000 {
804+
label = "loader";
805+
reg = <0x0 0x400000>;
806+
};
807+
808+
env@3f8000 {
809+
label = "env";
810+
reg = <0x3F8000 0x8000>;
811+
};
812+
813+
vendor@7c0000 {
814+
label = "vendor";
815+
reg = <0x7C0000 0x40000>;
816+
};
817+
};
818+
};
819+
};

0 commit comments

Comments
 (0)