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