blob: ffad8e0e0ab2cc3cf3f2de74a55dcbb8229e80dd [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +01002/*
3 * Qualcomm APQ8096 based Dragonboard 820C board device tree source
4 *
5 * (C) Copyright 2017 Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +01006 */
7
8/dts-v1/;
9
10#include "skeleton64.dtsi"
11
12/ {
13 model = "Qualcomm Technologies, Inc. DB820c";
14 compatible = "arrow,apq8096-db820c", "qcom,apq8096-sbc";
15 #address-cells = <2>;
16 #size-cells = <2>;
17
18 aliases {
19 serial0 = &blsp2_uart1;
20 };
21
22 chosen {
23 stdout-path = "serial0:115200n8";
24 };
25
26 memory {
27 device_type = "memory";
28 reg = <0 0x80000000 0 0xc0000000>;
29 };
30
Ramon Friede2673c72018-07-02 02:57:58 +030031 reserved-memory {
32 #address-cells = <2>;
33 #size-cells = <2>;
34 ranges;
35
36 smem_mem: smem_region@86300000 {
37 reg = <0x0 0x86300000 0x0 0x200000>;
38 no-map;
39 };
40 };
41
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +010042 psci {
43 compatible = "arm,psci-1.0";
44 method = "smc";
45 };
46
Ramon Friede2673c72018-07-02 02:57:58 +030047 smem {
48 compatible = "qcom,smem";
49 memory-region = <&smem_mem>;
50 };
51
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +010052 soc: soc {
53 #address-cells = <1>;
54 #size-cells = <1>;
55 ranges = <0 0 0 0xffffffff>;
56 compatible = "simple-bus";
57
58 gcc: clock-controller@300000 {
59 compatible = "qcom,gcc-msm8996";
60 #clock-cells = <1>;
61 #reset-cells = <1>;
62 #power-domain-cells = <1>;
63 reg = <0x300000 0x90000>;
64 };
65
66 blsp2_uart1: serial@75b0000 {
67 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
68 reg = <0x75b0000 0x1000>;
Ramon Fried4a9404e2018-05-29 00:30:45 +030069 clock = <&gcc 4>;
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +010070 };
71
72 sdhc2: sdhci@74a4900 {
73 compatible = "qcom,sdhci-msm-v4";
74 reg = <0x74a4900 0x314>, <0x74a4000 0x800>;
75 index = <0x0>;
76 bus-width = <4>;
77 clock = <&gcc 0>;
78 clock-frequency = <200000000>;
79 };
Jorge Ramirez-Ortiz35561612018-01-10 11:33:51 +010080
81 spmi@400f000 {
82 compatible = "qcom,spmi-pmic-arb";
83 reg = <0x400f800 0x200>,
84 <0x4400000 0x400000>,
85 <0x4c00000 0x400000>;
86 #address-cells = <0x1>;
87 #size-cells = <0x1>;
88
89 pmic0: pm8994@0 {
90 compatible = "qcom,spmi-pmic";
91 reg = <0x0 0x1>;
92 #address-cells = <0x1>;
93 #size-cells = <0x1>;
94
95 pm8994_pon: pm8994_pon@800 {
96 compatible = "qcom,pm8994-pwrkey";
97 reg = <0x800 0x96>;
98 #gpio-cells = <2>;
99 gpio-controller;
100 gpio-bank-name="pm8994_key.";
101 };
102
103 pm8994_gpios: pm8994_gpios@c000 {
104 compatible = "qcom,pm8994-gpio";
105 reg = <0xc000 0x400>;
106 gpio-controller;
107 gpio-count = <24>;
108 #gpio-cells = <2>;
109 gpio-bank-name="pm8994.";
110 };
111 };
112
113 pmic1: pm8994@1 {
114 compatible = "qcom,spmi-pmic";
115 reg = <0x1 0x1>;
116 #address-cells = <0x1>;
117 #size-cells = <0x1>;
118 };
119 };
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +0100120 };
Jorge Ramirez-Ortiz35561612018-01-10 11:33:51 +0100121
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +0100122};
Jorge Ramirez-Ortiz35561612018-01-10 11:33:51 +0100123
124#include "dragonboard820c-uboot.dtsi"