mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-23 07:11:26 +00:00
40 lines
1.4 KiB
Diff
40 lines
1.4 KiB
Diff
diff --git a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
|
|
index e94f196b..9967fa66 100644
|
|
--- a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
|
|
+++ b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
|
|
@@ -144,6 +144,35 @@
|
|
status = "okay";
|
|
};
|
|
|
|
+&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>;
|
|
+ };
|
|
+ partition@200000 {
|
|
+ label = "data";
|
|
+ reg = <0x200000 0x200000>;
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+};
|
|
+
|
|
&uart0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart0_pins_a>;
|