forked from pool/u-boot
Guillaume GARDET
111c122751
- Add qemu-riscv64spl Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2021.01 * Patches added: 0031-efi_loader-Avoid-emitting-efi_var_b.patch - Drop pcm051rev3 for Phytec Wega board - Fix binary extension for sunxi based boards - Add Pinephone - Fix documentation location Update to v2021.01. Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2021.01 * Patches dropped: 0028-usb-xhci-xhci_bulk_tx-Don-t-BUG-whe.patch 0029-Revert-Fix-data-abort-caused-by-mis.patch 0030-usb-xhci-pci-Add-DM_FLAG_OS_PREPARE.patch 0031-pci-brcmstb-Cleanup-controller-stat.patch * Patches added: 0028-usb-xhci-pci-Add-DM_FLAG_OS_PREPARE.patch 0029-pci-brcmstb-Cleanup-controller-stat.patch 0030-fs-btrfs-Select-SHA256-in-Kconfig.patch OBS-URL: https://build.opensuse.org/request/show/872955 OBS-URL: https://build.opensuse.org/package/show/hardware:boot/u-boot?expand=0&rev=127
43 lines
1.3 KiB
Diff
43 lines
1.3 KiB
Diff
From 96d142c3738348da1ea98e39a8bbaf5c4a640692 Mon Sep 17 00:00:00 2001
|
|
From: Michal Suchanek <msuchanek@suse.de>
|
|
Date: Tue, 29 Sep 2020 10:13:33 +0200
|
|
Subject: [PATCH] sunxi: dts: OrangePi Zero: Add SPI aliases to make bus usable
|
|
with u-boot.
|
|
|
|
The u-boot code relies on aliases to assign bus number.
|
|
|
|
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
|
|
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
|
|
---
|
|
arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts | 1 +
|
|
arch/arm/dts/sunxi-spi-u-boot.dtsi | 8 ++++++++
|
|
2 files changed, 9 insertions(+)
|
|
create mode 100644 arch/arm/dts/sunxi-spi-u-boot.dtsi
|
|
|
|
diff --git a/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts
|
|
index f19ed981da..3f0d0281ba 100644
|
|
--- a/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts
|
|
+++ b/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts
|
|
@@ -46,6 +46,7 @@
|
|
/dts-v1/;
|
|
#include "sun8i-h3.dtsi"
|
|
#include "sunxi-common-regulators.dtsi"
|
|
+#include "sunxi-spi-u-boot.dtsi"
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include <dt-bindings/input/input.h>
|
|
diff --git a/arch/arm/dts/sunxi-spi-u-boot.dtsi b/arch/arm/dts/sunxi-spi-u-boot.dtsi
|
|
new file mode 100644
|
|
index 0000000000..df89d02ff2
|
|
--- /dev/null
|
|
+++ b/arch/arm/dts/sunxi-spi-u-boot.dtsi
|
|
@@ -0,0 +1,8 @@
|
|
+// SPDX-License-Identifier: GPL-2.0+
|
|
+/ {
|
|
+
|
|
+ aliases {
|
|
+ spi0 = &spi0;
|
|
+ spi1 = &spi1;
|
|
+ };
|
|
+};
|