49 lines
1.2 KiB
Diff
49 lines
1.2 KiB
Diff
From 3c24aaab5a1bba313ba14066379d6d8901159fe2 Mon Sep 17 00:00:00 2001
|
|
From: Lee Seungcheol <john.lee@hardkernel.com>
|
|
Date: Thu, 6 May 2021 12:08:50 +0900
|
|
Subject: [PATCH 106/109] ODROID-N2: arm64/dts: add SPI0 device entry to
|
|
'ODROID-N2'
|
|
|
|
Change-Id: I80b42b32def5579dd267989263d1dbd6698eab1c
|
|
---
|
|
.../boot/dts/amlogic/meson-g12b-odroid-n2.dts | 16 ++++++++++++++++
|
|
1 file changed, 16 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts
|
|
index 50c05f1674fe..09f8ce342edd 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts
|
|
@@ -20,6 +20,7 @@ aliases {
|
|
serial0 = &uart_AO;
|
|
serial1 = &uart_A;
|
|
serial2 = &uart_B;
|
|
+ spi0 = &spicc0;
|
|
};
|
|
|
|
dioo2133: audio-amplifier-0 {
|
|
@@ -734,6 +735,21 @@ &toddr_c {
|
|
status = "okay";
|
|
};
|
|
|
|
+&spicc0 {
|
|
+ status = "disabled";
|
|
+
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&spicc0_x_pins>;
|
|
+
|
|
+ spidev@0 {
|
|
+ status = "okay";
|
|
+
|
|
+ compatible = "linux,spidev";
|
|
+ reg = <0>;
|
|
+ spi-max-frequency = <100000000>;
|
|
+ };
|
|
+};
|
|
+
|
|
&uart_A {
|
|
status = "disabled";
|
|
pinctrl-names = "default";
|
|
--
|
|
2.25.1
|
|
|