db410c: replace reset driver with psci
[oweals/u-boot.git] / arch / arm / dts / dragonboard410c.dts
1 /*
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                 soc_gpios: pinctrl@1000000 {
52                         compatible = "qcom,apq8016-pinctrl";
53                         reg = <0x1000000 0x300000>;
54                         gpio-controller;
55                         gpio-count = <122>;
56                         gpio-bank-name="soc";
57                         #gpio-cells = <1>;
58                 };
59
60                 ehci@78d9000 {
61                         compatible = "qcom,ehci-host";
62                         reg = <0x78d9000 0x400>;
63                 };
64
65                 sdhci@07824000 {
66                         compatible = "qcom,sdhci-msm-v4";
67                         reg = <0x7824900 0x11c 0x7824000 0x800>;
68                         bus-width = <0x8>;
69                         index = <0x0>;
70                         non-removable;
71                         clock = <&clkc 0>;
72                         clock-frequency = <100000000>;
73                 };
74
75                 sdhci@07864000 {
76                         compatible = "qcom,sdhci-msm-v4";
77                         reg = <0x7864900 0x11c 0x7864000 0x800>;
78                         index = <0x1>;
79                         bus-width = <0x4>;
80                         clock = <&clkc 1>;
81                         clock-frequency = <200000000>;
82                 };
83
84                 wcnss {
85                         bt {
86                                 compatible="qcom,wcnss-bt";
87                         };
88
89                         wifi {
90                                 compatible="qcom,wcnss-wlan";
91                         };
92                 };
93
94                 spmi@200f000 {
95                         compatible = "qcom,spmi-pmic-arb";
96                         reg = <0x200f800 0x200 0x2400000 0x400000 0x2c00000 0x400000>;
97                         #address-cells = <0x1>;
98                         #size-cells = <0x1>;
99                         pmic0: pm8916@0 {
100                                 compatible = "qcom,spmi-pmic";
101                                 reg = <0x0 0x1>;
102                                 #address-cells = <0x1>;
103                                 #size-cells = <0x1>;
104
105                                 pm8916_pon: pm8916_pon@800 {
106                                         compatible = "qcom,pm8916-pwrkey";
107                                         reg = <0x800 0x96>;
108                                         #gpio-cells = <2>;
109                                         gpio-controller;
110                                 };
111
112                                 pm8916_gpios: pm8916_gpios@c000 {
113                                         compatible = "qcom,pm8916-gpio";
114                                         reg = <0xc000 0x400>;
115                                         gpio-controller;
116                                         gpio-count = <4>;
117                                         #gpio-cells = <2>;
118                                         gpio-bank-name="pmic";
119                                 };
120                         };
121
122                         pmic1: pm8916@1 {
123                                 compatible = "qcom,spmi-pmic";
124                                 reg = <0x1 0x1>;
125                         };
126                 };
127         };
128
129         leds {
130                 compatible = "gpio-leds";
131                 user1 {
132                         label = "green:user1";
133                         gpios = <&soc_gpios 21 0>;
134                 };
135
136                 user2 {
137                         label = "green:user2";
138                         gpios = <&soc_gpios 120 0>;
139                 };
140
141                 user3 {
142                         label = "green:user3";
143                         gpios = <&pm8916_gpios 0 0>;
144                 };
145
146                 user4 {
147                         label = "green:user4";
148                         gpios = <&pm8916_gpios 1 0>;
149                 };
150         };
151 };
152
153 #include "dragonboard410c-uboot.dtsi"