Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e254460a authored by Baolin Wang's avatar Baolin Wang Committed by Arnd Bergmann
Browse files

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: default avatarBaolin Wang <baolin.wang@linaro.org>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 6c6fbbd1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
		serial1 = &uart1; /* UART console */
		serial2 = &uart2; /* Reserved */
		serial3 = &uart3; /* for GPS */
		spi0 = &adi_bus;
	};

	memory{
+9 −0
Original line number Diff line number Diff line
@@ -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>;