mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
* The initial state of a series of patches for sunxi-5.17 tag orange-pi-5.17-20220323-1423 * DEBUG for sunxi-5.17 * Add Armbian patches to 5.17 * Fix duplicate nodes for sun50i-h5-orangepi-pc2 * Fix reg_ahci_5v to status okay for bananapro board * Remove an unused patch for an unsupported sun50i-h6-tanix-tx6 board
50 lines
1.7 KiB
Diff
50 lines
1.7 KiB
Diff
From 494726be286d25bb95eba2ef9198abf2a567a71b Mon Sep 17 00:00:00 2001
|
|
From: The-going <48602507+The-going@users.noreply.github.com>
|
|
Date: Tue, 25 Jan 2022 19:10:06 +0300
|
|
Subject: [PATCH 099/101] arm64:dts: sun50i-a64-pine64 add spi0
|
|
|
|
---
|
|
.../boot/dts/allwinner/sun50i-a64-pine64.dts | 29 +++++++++++++++++++
|
|
1 file changed, 29 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
|
|
index cba8ae875..fc0f7975c 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
|
|
@@ -350,3 +350,32 @@ &usb_otg {
|
|
&usbphy {
|
|
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 = "disabled";
|
|
+ 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>;
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+};
|
|
--
|
|
2.31.1
|
|
|