Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1710069

[PATCH 2/2] arm64: allwinner: pine64: Enable spi0/spi1

From Stefan Brüns <stefan.bruens@rwth-aachen.de>
Newsgroups linux.kernel
Subject [PATCH 2/2] arm64: allwinner: pine64: Enable spi0/spi1
Date 2017-08-12 00:30 +0200
Message-ID <udqBl-Ku-31@gated-at.bofh.it> (permalink)
References <udqBk-Ku-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The two spi channels/controllers are available on the PI-2 resp. Euler
connector, enable both. Contrary to the Pi, the A64 SOC only supports
one chip select, so the second chipselect is not available (though
it can be emulated using gpio chipselect).

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
---
 arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
index 08cda24ea194..f795d4074a3a 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
@@ -123,6 +123,14 @@
 	status = "okay";
 };
 
+&spi0 {
+	status = "okay";
+};
+
+&spi1 {
+	status = "okay";
+};
+
 /* On Exp and Euler connectors */
 &uart0 {
 	pinctrl-names = "default";
-- 
2.13.3

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 2/2] arm64: allwinner: pine64: Enable spi0/spi1 Stefan Brüns <stefan.bruens@rwth-aachen.de> - 2017-08-12 00:30 +0200

csiph-web