blob: 25aeac46b132f408a26590797ff21ad972140c75 [file] [log] [blame]
Mateusz Kulikowskiee5e70d2016-03-31 23:12:33 +02001/*
2 * Qualcomm APQ8016 based Dragonboard 410C board device tree source
3 *
4 * (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
5 *
6 * SPDX-License-Identifier: GPL-2.0+
7 */
8
9/dts-v1/;
10
11#include "skeleton64.dtsi"
12
13/ {
14 model = "Qualcomm Technologies, Inc. Dragonboard 410c";
15 compatible = "qcom,dragonboard", "qcom,apq8016-sbc";
16 qcom,msm-id = <0xce 0x0 0xf8 0x0 0xf9 0x0 0xfa 0x0 0xf7 0x0>;
17 qcom,board-id = <0x10018 0x0>;
18 #address-cells = <0x2>;
19 #size-cells = <0x2>;
20
21 memory {
22 device_type = "memory";
23 reg = <0 0x80000000 0 0x3da00000>;
24 };
25
26 chosen {
27 stdout-path = "/soc/serial@78b0000";
28 };
29
30
31 soc {
32 #address-cells = <0x1>;
33 #size-cells = <0x1>;
34 ranges = <0x0 0x0 0x0 0xffffffff>;
35 compatible = "simple-bus";
36
37 clkc: qcom,gcc@1800000 {
38 compatible = "qcom,gcc-apq8016";
39 reg = <0x1800000 0x80000>;
40 #address-cells = <0x1>;
41 #size-cells = <0x0>;
42 };
43
44 serial@78b0000 {
45 compatible = "qcom,msm-uartdm-v1.4";
46 reg = <0x78b0000 0x200>;
47 u-boot,dm-pre-reloc;
48 clock = <&clkc 4>;
49 };
50
51 restart@4ab000 {
52 compatible = "qcom,pshold";
53 reg = <0x4ab000 0x4>;
54 };
55
56 soc_gpios: pinctrl@1000000 {
57 compatible = "qcom,apq8016-pinctrl";
58 reg = <0x1000000 0x300000>;
59 gpio-controller;
60 gpio-count = <122>;
61 gpio-bank-name="soc";
62 #gpio-cells = <1>;
63 };
64
65 ehci@78d9000 {
66 compatible = "qcom,ehci-host";
67 reg = <0x78d9000 0x400>;
68 };
69
70 sdhci@07824000 {
71 compatible = "qcom,sdhci-msm-v4";
72 reg = <0x7824900 0x11c 0x7824000 0x800>;
73 bus-width = <0x8>;
74 index = <0x0>;
75 non-removable;
76 clock = <&clkc 0>;
77 clock-frequency = <100000000>;
78 };
79
80 sdhci@07864000 {
81 compatible = "qcom,sdhci-msm-v4";
82 reg = <0x7864900 0x11c 0x7864000 0x800>;
83 index = <0x1>;
84 bus-width = <0x4>;
85 clock = <&clkc 1>;
86 clock-frequency = <200000000>;
87 };
88
Jorge Ramirez-Ortiz2cd3db92018-01-10 11:34:35 +010089 wcnss {
90 bt {
91 compatible="qcom,wcnss-bt";
92 };
93
94 wifi {
95 compatible="qcom,wcnss-wlan";
96 };
97 };
98
Mateusz Kulikowskiee5e70d2016-03-31 23:12:33 +020099 spmi@200f000 {
100 compatible = "qcom,spmi-pmic-arb";
101 reg = <0x200f800 0x200 0x2400000 0x400000 0x2c00000 0x400000>;
102 #address-cells = <0x1>;
103 #size-cells = <0x1>;
104 pmic0: pm8916@0 {
105 compatible = "qcom,spmi-pmic";
106 reg = <0x0 0x1>;
107 #address-cells = <0x1>;
108 #size-cells = <0x1>;
109
110 pm8916_pon: pm8916_pon@800 {
111 compatible = "qcom,pm8916-pwrkey";
112 reg = <0x800 0x96>;
113 #gpio-cells = <2>;
114 gpio-controller;
115 };
116
117 pm8916_gpios: pm8916_gpios@c000 {
118 compatible = "qcom,pm8916-gpio";
119 reg = <0xc000 0x400>;
120 gpio-controller;
121 gpio-count = <4>;
122 #gpio-cells = <2>;
123 gpio-bank-name="pmic";
124 };
125 };
126
127 pmic1: pm8916@1 {
128 compatible = "qcom,spmi-pmic";
129 reg = <0x1 0x1>;
130 };
131 };
132 };
133
134 leds {
135 compatible = "gpio-leds";
136 user1 {
137 label = "green:user1";
138 gpios = <&soc_gpios 21 0>;
139 };
140
141 user2 {
142 label = "green:user2";
143 gpios = <&soc_gpios 120 0>;
144 };
145
146 user3 {
147 label = "green:user3";
148 gpios = <&pm8916_gpios 0 0>;
149 };
150
151 user4 {
152 label = "green:user4";
153 gpios = <&pm8916_gpios 1 0>;
154 };
155 };
156};
157
158#include "dragonboard410c-uboot.dtsi"