summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/sprd
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linaro.org>2018-02-28 18:47:05 +0800
committerArnd Bergmann <arnd@arndb.de>2018-03-07 15:26:36 +0100
commite254460a8988a44040e905234fae0fb32cfa3450 (patch)
tree4befdb3cded4c75be3821fd70e549cca866c6c60 /arch/arm64/boot/dts/sprd
parent6c6fbbd1ab9136dda91fa7f2648d09158759b605 (diff)
arm64: dts: Add ADI device node for Spreadtrum SC9860
We will access the PMIC through ADI controller, thus this patch adds the ADI device node for Spreadtrum SC9860 platform. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm64/boot/dts/sprd')
-rw-r--r--arch/arm64/boot/dts/sprd/sp9860g-1h10.dts1
-rw-r--r--arch/arm64/boot/dts/sprd/whale2.dtsi9
2 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts b/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts
index ae0b28ce6319..d124833e7835 100644
--- a/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts
+++ b/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts
@@ -20,6 +20,7 @@
serial1 = &uart1; /* UART console */
serial2 = &uart2; /* Reserved */
serial3 = &uart3; /* for GPS */
+ spi0 = &adi_bus;
};
memory{
diff --git a/arch/arm64/boot/dts/sprd/whale2.dtsi b/arch/arm64/boot/dts/sprd/whale2.dtsi
index b9cc0fb575a7..63fe89ecad1c 100644
--- a/arch/arm64/boot/dts/sprd/whale2.dtsi
+++ b/arch/arm64/boot/dts/sprd/whale2.dtsi
@@ -113,6 +113,15 @@
#size-cells = <2>;
ranges;
+ adi_bus: spi@40030000 {
+ compatible = "sprd,sc9860-adi";
+ reg = <0 0x40030000 0 0x10000>;
+ hwlocks = <&hwlock 0>;
+ hwlock-names = "adi";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+
hwlock: hwspinlock@40500000 {
compatible = "sprd,hwspinlock-r3p0";
reg = <0 0x40500000 0 0x1000>;