summaryrefslogtreecommitdiff
path: root/arch/arm/dts/dragonboard820c.dts
blob: 64249449af257747b8a72c292383c2461e406f93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
/*
 * Qualcomm APQ8096 based Dragonboard 820C board device tree source
 *
 * (C) Copyright 2017 Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

/dts-v1/;

#include "skeleton64.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. DB820c";
	compatible = "arrow,apq8096-db820c", "qcom,apq8096-sbc";
	#address-cells = <2>;
	#size-cells = <2>;

	aliases {
		serial0 = &blsp2_uart1;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};

	memory {
		device_type = "memory";
		reg = <0 0x80000000 0 0xc0000000>;
	};

	psci {
		compatible = "arm,psci-1.0";
		method = "smc";
	};

	soc: soc {
		#address-cells = <1>;
		#size-cells = <1>;
		ranges = <0 0 0 0xffffffff>;
		compatible = "simple-bus";

		gcc: clock-controller@300000 {
			compatible = "qcom,gcc-msm8996";
			#clock-cells = <1>;
			#reset-cells = <1>;
			#power-domain-cells = <1>;
			reg = <0x300000 0x90000>;
		};

		blsp2_uart1: serial@75b0000 {
			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
			reg = <0x75b0000 0x1000>;
		};

		sdhc2: sdhci@74a4900 {
			 compatible = "qcom,sdhci-msm-v4";
			 reg = <0x74a4900 0x314>, <0x74a4000 0x800>;
			 index = <0x0>;
			 bus-width = <4>;
			 clock = <&gcc 0>;
			clock-frequency = <200000000>;
		 };

		spmi@400f000 {
			compatible = "qcom,spmi-pmic-arb";
			reg = <0x400f800 0x200>,
			      <0x4400000 0x400000>,
			      <0x4c00000 0x400000>;
			#address-cells = <0x1>;
			#size-cells = <0x1>;

			pmic0: pm8994@0 {
				compatible = "qcom,spmi-pmic";
				reg = <0x0 0x1>;
				#address-cells = <0x1>;
				#size-cells = <0x1>;

				pm8994_pon: pm8994_pon@800 {
					compatible = "qcom,pm8994-pwrkey";
					reg = <0x800 0x96>;
					#gpio-cells = <2>;
					gpio-controller;
					gpio-bank-name="pm8994_key.";
				};

				pm8994_gpios: pm8994_gpios@c000 {
					compatible = "qcom,pm8994-gpio";
					reg = <0xc000 0x400>;
					gpio-controller;
					gpio-count = <24>;
					#gpio-cells = <2>;
					gpio-bank-name="pm8994.";
				};
			};

			pmic1: pm8994@1 {
				compatible = "qcom,spmi-pmic";
				reg = <0x1 0x1>;
				#address-cells = <0x1>;
				#size-cells = <0x1>;
			};
		};
	};

};

#include "dragonboard820c-uboot.dtsi"