Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Jorge Ramirez-Ortiz | 9f2d1b2 | 2018-01-10 11:33:50 +0100 | [diff] [blame] | 2 | /* |
| 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-Ortiz | 9f2d1b2 | 2018-01-10 11:33:50 +0100 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | /dts-v1/; |
| 9 | |
| 10 | #include "skeleton64.dtsi" |
Ramon Fried | 095458f | 2019-01-12 11:47:28 +0200 | [diff] [blame] | 11 | #include <dt-bindings/pinctrl/pinctrl-snapdragon.h> |
Jorge Ramirez-Ortiz | 9f2d1b2 | 2018-01-10 11:33:50 +0100 | [diff] [blame] | 12 | |
| 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 Fried | 095458f | 2019-01-12 11:47:28 +0200 | [diff] [blame] | 20 | serial0 = &blsp2_uart2; |
Jorge Ramirez-Ortiz | 9f2d1b2 | 2018-01-10 11:33:50 +0100 | [diff] [blame] | 21 | }; |
| 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 Fried | e2673c7 | 2018-07-02 02:57:58 +0300 | [diff] [blame] | 32 | 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-Ortiz | 9f2d1b2 | 2018-01-10 11:33:50 +0100 | [diff] [blame] | 43 | psci { |
| 44 | compatible = "arm,psci-1.0"; |
| 45 | method = "smc"; |
| 46 | }; |
| 47 | |
Ramon Fried | e2673c7 | 2018-07-02 02:57:58 +0300 | [diff] [blame] | 48 | smem { |
| 49 | compatible = "qcom,smem"; |
| 50 | memory-region = <&smem_mem>; |
| 51 | }; |
| 52 | |
Jorge Ramirez-Ortiz | 9f2d1b2 | 2018-01-10 11:33:50 +0100 | [diff] [blame] | 53 | 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 | |
Sumit Garg | b7572e5 | 2022-07-27 13:52:04 +0530 | [diff] [blame^] | 67 | pinctrl: pinctrl@1010000 { |
| 68 | compatible = "qcom,msm8996-pinctrl"; |
Ramon Fried | 095458f | 2019-01-12 11:47:28 +0200 | [diff] [blame] | 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-Ortiz | 9f2d1b2 | 2018-01-10 11:33:50 +0100 | [diff] [blame] | 80 | compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; |
| 81 | reg = <0x75b0000 0x1000>; |
Ramon Fried | 4a9404e | 2018-05-29 00:30:45 +0300 | [diff] [blame] | 82 | clock = <&gcc 4>; |
Ramon Fried | 095458f | 2019-01-12 11:47:28 +0200 | [diff] [blame] | 83 | pinctrl-names = "uart"; |
| 84 | pinctrl-0 = <&blsp8_uart>; |
Jorge Ramirez-Ortiz | 9f2d1b2 | 2018-01-10 11:33:50 +0100 | [diff] [blame] | 85 | }; |
| 86 | |
| 87 | sdhc2: sdhci@74a4900 { |
Ramon Fried | 095458f | 2019-01-12 11:47:28 +0200 | [diff] [blame] | 88 | compatible = "qcom,sdhci-msm-v4"; |
| 89 | reg = <0x74a4900 0x314>, <0x74a4000 0x800>; |
| 90 | index = <0x0>; |
| 91 | bus-width = <4>; |
| 92 | clock = <&gcc 0>; |
Jorge Ramirez-Ortiz | 9f2d1b2 | 2018-01-10 11:33:50 +0100 | [diff] [blame] | 93 | clock-frequency = <200000000>; |
| 94 | }; |
Jorge Ramirez-Ortiz | 3556161 | 2018-01-10 11:33:51 +0100 | [diff] [blame] | 95 | |
Stephan Gerhold | fd331f3 | 2022-07-13 21:17:11 +0200 | [diff] [blame] | 96 | spmi_bus: spmi@400f000 { |
Jorge Ramirez-Ortiz | 3556161 | 2018-01-10 11:33:51 +0100 | [diff] [blame] | 97 | compatible = "qcom,spmi-pmic-arb"; |
Stephan Gerhold | fd331f3 | 2022-07-13 21:17:11 +0200 | [diff] [blame] | 98 | 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-Ortiz | 3556161 | 2018-01-10 11:33:51 +0100 | [diff] [blame] | 104 | #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-Ortiz | 9f2d1b2 | 2018-01-10 11:33:50 +0100 | [diff] [blame] | 138 | }; |
Jorge Ramirez-Ortiz | 3556161 | 2018-01-10 11:33:51 +0100 | [diff] [blame] | 139 | |
Jorge Ramirez-Ortiz | 9f2d1b2 | 2018-01-10 11:33:50 +0100 | [diff] [blame] | 140 | }; |
Jorge Ramirez-Ortiz | 3556161 | 2018-01-10 11:33:51 +0100 | [diff] [blame] | 141 | |
| 142 | #include "dragonboard820c-uboot.dtsi" |