blob: b72a2471cfa1810cc3e604960ac7d1bb843760d1 [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"
Ramon Fried095458f2019-01-12 11:47:28 +020011#include <dt-bindings/pinctrl/pinctrl-snapdragon.h>
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +010012
13/ {
14 model = "Qualcomm Technologies, Inc. DB820c";
15 compatible = "arrow,apq8096-db820c", "qcom,apq8096-sbc";
16 #address-cells = <2>;
17 #size-cells = <2>;
18
19 aliases {
Ramon Fried095458f2019-01-12 11:47:28 +020020 serial0 = &blsp2_uart2;
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +010021 };
22
23 chosen {
24 stdout-path = "serial0:115200n8";
25 };
26
27 memory {
28 device_type = "memory";
29 reg = <0 0x80000000 0 0xc0000000>;
30 };
31
Ramon Friede2673c72018-07-02 02:57:58 +030032 reserved-memory {
33 #address-cells = <2>;
34 #size-cells = <2>;
35 ranges;
36
37 smem_mem: smem_region@86300000 {
38 reg = <0x0 0x86300000 0x0 0x200000>;
39 no-map;
40 };
41 };
42
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +010043 psci {
44 compatible = "arm,psci-1.0";
45 method = "smc";
46 };
47
Ramon Friede2673c72018-07-02 02:57:58 +030048 smem {
49 compatible = "qcom,smem";
50 memory-region = <&smem_mem>;
51 };
52
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +010053 soc: soc {
54 #address-cells = <1>;
55 #size-cells = <1>;
56 ranges = <0 0 0 0xffffffff>;
57 compatible = "simple-bus";
58
59 gcc: clock-controller@300000 {
60 compatible = "qcom,gcc-msm8996";
61 #clock-cells = <1>;
62 #reset-cells = <1>;
63 #power-domain-cells = <1>;
64 reg = <0x300000 0x90000>;
65 };
66
Ramon Fried095458f2019-01-12 11:47:28 +020067 pinctrl: qcom,tlmm@1010000 {
68 compatible = "qcom,tlmm-apq8096";
69 reg = <0x1010000 0x400000>;
70
71 blsp8_uart: uart {
72 function = "blsp_uart8";
73 pins = "GPIO_4", "GPIO_5";
74 drive-strength = <DRIVE_STRENGTH_8MA>;
75 bias-disable;
76 };
77 };
78
79 blsp2_uart2: serial@75b0000 {
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +010080 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
81 reg = <0x75b0000 0x1000>;
Ramon Fried4a9404e2018-05-29 00:30:45 +030082 clock = <&gcc 4>;
Ramon Fried095458f2019-01-12 11:47:28 +020083 pinctrl-names = "uart";
84 pinctrl-0 = <&blsp8_uart>;
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +010085 };
86
87 sdhc2: sdhci@74a4900 {
Ramon Fried095458f2019-01-12 11:47:28 +020088 compatible = "qcom,sdhci-msm-v4";
89 reg = <0x74a4900 0x314>, <0x74a4000 0x800>;
90 index = <0x0>;
91 bus-width = <4>;
92 clock = <&gcc 0>;
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +010093 clock-frequency = <200000000>;
94 };
Jorge Ramirez-Ortiz35561612018-01-10 11:33:51 +010095
Stephan Gerholdfd331f32022-07-13 21:17:11 +020096 spmi_bus: spmi@400f000 {
Jorge Ramirez-Ortiz35561612018-01-10 11:33:51 +010097 compatible = "qcom,spmi-pmic-arb";
Stephan Gerholdfd331f32022-07-13 21:17:11 +020098 reg = <0x0400f000 0x1000>,
99 <0x04400000 0x800000>,
100 <0x04c00000 0x800000>,
101 <0x05800000 0x200000>,
102 <0x0400a000 0x002100>;
103 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
Jorge Ramirez-Ortiz35561612018-01-10 11:33:51 +0100104 #address-cells = <0x1>;
105 #size-cells = <0x1>;
106
107 pmic0: pm8994@0 {
108 compatible = "qcom,spmi-pmic";
109 reg = <0x0 0x1>;
110 #address-cells = <0x1>;
111 #size-cells = <0x1>;
112
113 pm8994_pon: pm8994_pon@800 {
114 compatible = "qcom,pm8994-pwrkey";
115 reg = <0x800 0x96>;
116 #gpio-cells = <2>;
117 gpio-controller;
118 gpio-bank-name="pm8994_key.";
119 };
120
121 pm8994_gpios: pm8994_gpios@c000 {
122 compatible = "qcom,pm8994-gpio";
123 reg = <0xc000 0x400>;
124 gpio-controller;
125 gpio-count = <24>;
126 #gpio-cells = <2>;
127 gpio-bank-name="pm8994.";
128 };
129 };
130
131 pmic1: pm8994@1 {
132 compatible = "qcom,spmi-pmic";
133 reg = <0x1 0x1>;
134 #address-cells = <0x1>;
135 #size-cells = <0x1>;
136 };
137 };
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +0100138 };
Jorge Ramirez-Ortiz35561612018-01-10 11:33:51 +0100139
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +0100140};
Jorge Ramirez-Ortiz35561612018-01-10 11:33:51 +0100141
142#include "dragonboard820c-uboot.dtsi"