blob: 7bfae1c42669e893595f51dc18e7d075a7e9e3fa [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
31 psci {
32 compatible = "arm,psci-1.0";
33 method = "smc";
34 };
35
36 soc: soc {
37 #address-cells = <1>;
38 #size-cells = <1>;
39 ranges = <0 0 0 0xffffffff>;
40 compatible = "simple-bus";
41
42 gcc: clock-controller@300000 {
43 compatible = "qcom,gcc-msm8996";
44 #clock-cells = <1>;
45 #reset-cells = <1>;
46 #power-domain-cells = <1>;
47 reg = <0x300000 0x90000>;
48 };
49
50 blsp2_uart1: serial@75b0000 {
51 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
52 reg = <0x75b0000 0x1000>;
53 };
54
55 sdhc2: sdhci@74a4900 {
56 compatible = "qcom,sdhci-msm-v4";
57 reg = <0x74a4900 0x314>, <0x74a4000 0x800>;
58 index = <0x0>;
59 bus-width = <4>;
60 clock = <&gcc 0>;
61 clock-frequency = <200000000>;
62 };
Jorge Ramirez-Ortiz35561612018-01-10 11:33:51 +010063
64 spmi@400f000 {
65 compatible = "qcom,spmi-pmic-arb";
66 reg = <0x400f800 0x200>,
67 <0x4400000 0x400000>,
68 <0x4c00000 0x400000>;
69 #address-cells = <0x1>;
70 #size-cells = <0x1>;
71
72 pmic0: pm8994@0 {
73 compatible = "qcom,spmi-pmic";
74 reg = <0x0 0x1>;
75 #address-cells = <0x1>;
76 #size-cells = <0x1>;
77
78 pm8994_pon: pm8994_pon@800 {
79 compatible = "qcom,pm8994-pwrkey";
80 reg = <0x800 0x96>;
81 #gpio-cells = <2>;
82 gpio-controller;
83 gpio-bank-name="pm8994_key.";
84 };
85
86 pm8994_gpios: pm8994_gpios@c000 {
87 compatible = "qcom,pm8994-gpio";
88 reg = <0xc000 0x400>;
89 gpio-controller;
90 gpio-count = <24>;
91 #gpio-cells = <2>;
92 gpio-bank-name="pm8994.";
93 };
94 };
95
96 pmic1: pm8994@1 {
97 compatible = "qcom,spmi-pmic";
98 reg = <0x1 0x1>;
99 #address-cells = <0x1>;
100 #size-cells = <0x1>;
101 };
102 };
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +0100103 };
Jorge Ramirez-Ortiz35561612018-01-10 11:33:51 +0100104
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +0100105};
Jorge Ramirez-Ortiz35561612018-01-10 11:33:51 +0100106
107#include "dragonboard820c-uboot.dtsi"