blob: ad201d48749c4da6f517a60630dbf716a1e1f31b [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Jorge Ramirez-Ortiz4b684a62018-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-Ortiz4b684a62018-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 Friedfbf41522019-01-12 11:47:28 +020019 serial0 = &blsp2_uart2;
Jorge Ramirez-Ortiz4b684a62018-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 Fried6621bed2018-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-Ortiz4b684a62018-01-10 11:33:50 +010042 psci {
43 compatible = "arm,psci-1.0";
44 method = "smc";
45 };
46
Ramon Fried6621bed2018-07-02 02:57:58 +030047 smem {
48 compatible = "qcom,smem";
49 memory-region = <&smem_mem>;
50 };
51
Jorge Ramirez-Ortiz4b684a62018-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 Garg0ddabb62022-07-27 13:52:04 +053066 pinctrl: pinctrl@1010000 {
67 compatible = "qcom,msm8996-pinctrl";
Ramon Friedfbf41522019-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 Garg56443282023-02-01 19:28:52 +053073 drive-strength = <8>;
Ramon Friedfbf41522019-01-12 11:47:28 +020074 bias-disable;
75 };
76 };
77
78 blsp2_uart2: serial@75b0000 {
Jorge Ramirez-Ortiz4b684a62018-01-10 11:33:50 +010079 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
80 reg = <0x75b0000 0x1000>;
Ramon Friede9a1b652018-05-29 00:30:45 +030081 clock = <&gcc 4>;
Ramon Friedfbf41522019-01-12 11:47:28 +020082 pinctrl-names = "uart";
83 pinctrl-0 = <&blsp8_uart>;
Jorge Ramirez-Ortiz4b684a62018-01-10 11:33:50 +010084 };
85
86 sdhc2: sdhci@74a4900 {
Ramon Friedfbf41522019-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-Ortiz4b684a62018-01-10 11:33:50 +010092 clock-frequency = <200000000>;
93 };
Jorge Ramirez-Ortize0cc0b62018-01-10 11:33:51 +010094
Stephan Gerholdafc13332022-07-13 21:17:11 +020095 spmi_bus: spmi@400f000 {
Jorge Ramirez-Ortize0cc0b62018-01-10 11:33:51 +010096 compatible = "qcom,spmi-pmic-arb";
Stephan Gerholdafc13332022-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-Ortize0cc0b62018-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
112 pm8994_pon: pm8994_pon@800 {
113 compatible = "qcom,pm8994-pwrkey";
114 reg = <0x800 0x96>;
115 #gpio-cells = <2>;
116 gpio-controller;
117 gpio-bank-name="pm8994_key.";
118 };
119
120 pm8994_gpios: pm8994_gpios@c000 {
121 compatible = "qcom,pm8994-gpio";
122 reg = <0xc000 0x400>;
123 gpio-controller;
124 gpio-count = <24>;
125 #gpio-cells = <2>;
126 gpio-bank-name="pm8994.";
127 };
128 };
129
130 pmic1: pm8994@1 {
131 compatible = "qcom,spmi-pmic";
132 reg = <0x1 0x1>;
133 #address-cells = <0x1>;
134 #size-cells = <0x1>;
135 };
136 };
Jorge Ramirez-Ortiz4b684a62018-01-10 11:33:50 +0100137 };
Jorge Ramirez-Ortize0cc0b62018-01-10 11:33:51 +0100138
Jorge Ramirez-Ortiz4b684a62018-01-10 11:33:50 +0100139};
Jorge Ramirez-Ortize0cc0b62018-01-10 11:33:51 +0100140
141#include "dragonboard820c-uboot.dtsi"