37 lines
1.2 KiB
Diff
37 lines
1.2 KiB
Diff
|
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts
|
||
|
index 2582b113..93af1282 100644
|
||
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts
|
||
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts
|
||
|
@@ -271,6 +271,31 @@
|
||
|
};
|
||
|
};
|
||
|
|
||
|
+&spi0 {
|
||
|
+ status = "okay";
|
||
|
+ spi-flash@0 {
|
||
|
+ #address-cells = <1>;
|
||
|
+ #size-cells = <0>;
|
||
|
+ compatible = "jedec,spi-nor";
|
||
|
+ reg = <0>; /* Chip select 0 */
|
||
|
+ spi-max-frequency = <10000000>;
|
||
|
+ status = "okay";
|
||
|
+ partitions {
|
||
|
+ compatible = "fixed-partitions";
|
||
|
+ #address-cells = <1>;
|
||
|
+ #size-cells = <1>;
|
||
|
+ partition@0 {
|
||
|
+ label = "uboot";
|
||
|
+ reg = <0x0 0x100000>;
|
||
|
+ };
|
||
|
+ partition@100000 {
|
||
|
+ label = "env";
|
||
|
+ reg = <0x100000 0x100000>;
|
||
|
+ };
|
||
|
+ };
|
||
|
+ };
|
||
|
+};
|
||
|
+
|
||
|
&uart0 {
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&uart0_pa_pins>;
|