blob: 146a0af8aafe024fd80c936018b032da0e240788 [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 {
Ramon Fried095458f2019-01-12 11:47:28 +020019 serial0 = &blsp2_uart2;
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +010020 };
21
22 chosen {
23 stdout-path = "serial0:115200n8";
24 };
25
26 memory {
27 device_type = "memory";
28 reg = <0 0x80000000 0 0xc0000000>;
29 };
30
Ramon Friede2673c72018-07-02 02:57:58 +030031 reserved-memory {
32 #address-cells = <2>;
33 #size-cells = <2>;
34 ranges;
35
36 smem_mem: smem_region@86300000 {
37 reg = <0x0 0x86300000 0x0 0x200000>;
38 no-map;
39 };
40 };
41
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +010042 psci {
43 compatible = "arm,psci-1.0";
44 method = "smc";
45 };
46
Ramon Friede2673c72018-07-02 02:57:58 +030047 smem {
48 compatible = "qcom,smem";
49 memory-region = <&smem_mem>;
50 };
51
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +010052 soc: soc {
53 #address-cells = <1>;
54 #size-cells = <1>;
55 ranges = <0 0 0 0xffffffff>;
56 compatible = "simple-bus";
57
58 gcc: clock-controller@300000 {
59 compatible = "qcom,gcc-msm8996";
60 #clock-cells = <1>;
61 #reset-cells = <1>;
62 #power-domain-cells = <1>;
63 reg = <0x300000 0x90000>;
64 };
65
Sumit Gargb7572e52022-07-27 13:52:04 +053066 pinctrl: pinctrl@1010000 {
67 compatible = "qcom,msm8996-pinctrl";
Ramon Fried095458f2019-01-12 11:47:28 +020068 reg = <0x1010000 0x400000>;
69
70 blsp8_uart: uart {
71 function = "blsp_uart8";
72 pins = "GPIO_4", "GPIO_5";
Sumit Gargfd1ad932023-02-01 19:28:52 +053073 drive-strength = <8>;
Ramon Fried095458f2019-01-12 11:47:28 +020074 bias-disable;
75 };
76 };
77
78 blsp2_uart2: serial@75b0000 {
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +010079 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
80 reg = <0x75b0000 0x1000>;
Ramon Fried4a9404e2018-05-29 00:30:45 +030081 clock = <&gcc 4>;
Ramon Fried095458f2019-01-12 11:47:28 +020082 pinctrl-names = "uart";
83 pinctrl-0 = <&blsp8_uart>;
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +010084 };
85
86 sdhc2: sdhci@74a4900 {
Ramon Fried095458f2019-01-12 11:47:28 +020087 compatible = "qcom,sdhci-msm-v4";
88 reg = <0x74a4900 0x314>, <0x74a4000 0x800>;
89 index = <0x0>;
90 bus-width = <4>;
91 clock = <&gcc 0>;
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +010092 clock-frequency = <200000000>;
93 };
Jorge Ramirez-Ortiz35561612018-01-10 11:33:51 +010094
Stephan Gerholdfd331f32022-07-13 21:17:11 +020095 spmi_bus: spmi@400f000 {
Jorge Ramirez-Ortiz35561612018-01-10 11:33:51 +010096 compatible = "qcom,spmi-pmic-arb";
Stephan Gerholdfd331f32022-07-13 21:17:11 +020097 reg = <0x0400f000 0x1000>,
98 <0x04400000 0x800000>,
99 <0x04c00000 0x800000>,
100 <0x05800000 0x200000>,
101 <0x0400a000 0x002100>;
102 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
Jorge Ramirez-Ortiz35561612018-01-10 11:33:51 +0100103 #address-cells = <0x1>;
104 #size-cells = <0x1>;
105
106 pmic0: pm8994@0 {
107 compatible = "qcom,spmi-pmic";
108 reg = <0x0 0x1>;
109 #address-cells = <0x1>;
110 #size-cells = <0x1>;
111
Caleb Connolly89a90d02023-12-05 13:46:48 +0000112 pm8994_pon: pon@800 {
113 compatible = "qcom,pm8916-pon";
114 reg = <0x800 0x100>;
115 mode-bootloader = <0x2>;
116 mode-recovery = <0x1>;
117
118 pwrkey {
119 compatible = "qcom,pm8941-pwrkey";
120 debounce = <15625>;
121 bias-pull-up;
122 };
123
124 pm8994_resin: resin {
125 compatible = "qcom,pm8941-resin";
126 debounce = <15625>;
127 bias-pull-up;
128 };
Jorge Ramirez-Ortiz35561612018-01-10 11:33:51 +0100129 };
130
131 pm8994_gpios: pm8994_gpios@c000 {
132 compatible = "qcom,pm8994-gpio";
133 reg = <0xc000 0x400>;
134 gpio-controller;
Caleb Connollya80d68e2023-12-05 13:46:51 +0000135 gpio-ranges = <&pm8994_gpios 0 0 22>;
Jorge Ramirez-Ortiz35561612018-01-10 11:33:51 +0100136 #gpio-cells = <2>;
Jorge Ramirez-Ortiz35561612018-01-10 11:33:51 +0100137 };
138 };
139
140 pmic1: pm8994@1 {
141 compatible = "qcom,spmi-pmic";
142 reg = <0x1 0x1>;
143 #address-cells = <0x1>;
144 #size-cells = <0x1>;
145 };
146 };
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +0100147 };
Jorge Ramirez-Ortiz35561612018-01-10 11:33:51 +0100148
Jorge Ramirez-Ortiz9f2d1b22018-01-10 11:33:50 +0100149};
Jorge Ramirez-Ortiz35561612018-01-10 11:33:51 +0100150
151#include "dragonboard820c-uboot.dtsi"