1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Qualcomm APQ8016 based Dragonboard 410C board device tree source 4 * 5 * (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com> 6 */ 7 8/dts-v1/; 9 10#include "skeleton64.dtsi" 11#include <dt-bindings/pinctrl/pinctrl-snapdragon.h> 12 13/ { 14 model = "Qualcomm Technologies, Inc. Dragonboard 410c"; 15 compatible = "qcom,dragonboard", "qcom,apq8016-sbc"; 16 qcom,msm-id = <0xce 0x0 0xf8 0x0 0xf9 0x0 0xfa 0x0 0xf7 0x0>; 17 qcom,board-id = <0x10018 0x0>; 18 #address-cells = <0x2>; 19 #size-cells = <0x2>; 20 21 aliases { 22 usb0 = "/soc/ehci@78d9000"; 23 }; 24 25 memory { 26 device_type = "memory"; 27 reg = <0 0x80000000 0 0x3da00000>; 28 }; 29 30 reserved-memory { 31 #address-cells = <2>; 32 #size-cells = <2>; 33 ranges; 34 35 smem_mem: smem_region@86300000 { 36 reg = <0x0 0x86300000 0x0 0x100000>; 37 no-map; 38 }; 39 }; 40 41 chosen { 42 stdout-path = "/soc/serial@78b0000"; 43 }; 44 45 smem { 46 compatible = "qcom,smem"; 47 memory-region = <&smem_mem>; 48 qcom,rpm-msg-ram = <&rpm_msg_ram>; 49 }; 50 51 soc { 52 #address-cells = <0x1>; 53 #size-cells = <0x1>; 54 ranges = <0x0 0x0 0x0 0xffffffff>; 55 compatible = "simple-bus"; 56 57 rpm_msg_ram: memory@60000 { 58 compatible = "qcom,rpm-msg-ram"; 59 reg = <0x60000 0x8000>; 60 }; 61 62 pinctrl: qcom,tlmm@1000000 { 63 compatible = "qcom,tlmm-apq8016"; 64 reg = <0x1000000 0x400000>; 65 66 blsp1_uart: uart { 67 function = "blsp1_uart"; 68 pins = "GPIO_4", "GPIO_5"; 69 drive-strength = <DRIVE_STRENGTH_8MA>; 70 bias-disable; 71 }; 72 }; 73 clkc: qcom,gcc@1800000 { 74 compatible = "qcom,gcc-apq8016"; 75 reg = <0x1800000 0x80000>; 76 #address-cells = <0x1>; 77 #size-cells = <0x0>; 78 }; 79 80 serial@78b0000 { 81 compatible = "qcom,msm-uartdm-v1.4"; 82 reg = <0x78b0000 0x200>; 83 clock = <&clkc 4>; 84 pinctrl-names = "uart"; 85 pinctrl-0 = <&blsp1_uart>; 86 }; 87 88 soc_gpios: pinctrl@1000000 { 89 compatible = "qcom,apq8016-pinctrl"; 90 reg = <0x1000000 0x300000>; 91 gpio-controller; 92 gpio-count = <122>; 93 gpio-bank-name="soc"; 94 #gpio-cells = <1>; 95 }; 96 97 ehci@78d9000 { 98 compatible = "qcom,ehci-host"; 99 reg = <0x78d9000 0x400>; 100 phys = <&ehci_phy>; 101 }; 102 103 ehci_phy: ehci_phy@78d9000 { 104 compatible = "qcom,apq8016-usbphy"; 105 reg = <0x78d9000 0x400>; 106 #phy-cells = <0>; 107 }; 108 109 sdhci@07824000 { 110 compatible = "qcom,sdhci-msm-v4"; 111 reg = <0x7824900 0x11c 0x7824000 0x800>; 112 bus-width = <0x8>; 113 index = <0x0>; 114 non-removable; 115 clock = <&clkc 0>; 116 clock-frequency = <100000000>; 117 }; 118 119 sdhci@07864000 { 120 compatible = "qcom,sdhci-msm-v4"; 121 reg = <0x7864900 0x11c 0x7864000 0x800>; 122 index = <0x1>; 123 bus-width = <0x4>; 124 clock = <&clkc 1>; 125 clock-frequency = <200000000>; 126 }; 127 128 wcnss { 129 bt { 130 compatible="qcom,wcnss-bt"; 131 }; 132 133 wifi { 134 compatible="qcom,wcnss-wlan"; 135 }; 136 }; 137 138 spmi@200f000 { 139 compatible = "qcom,spmi-pmic-arb"; 140 reg = <0x200f800 0x200 0x2400000 0x400000 0x2c00000 0x400000>; 141 #address-cells = <0x1>; 142 #size-cells = <0x1>; 143 pmic0: pm8916@0 { 144 compatible = "qcom,spmi-pmic"; 145 reg = <0x0 0x1>; 146 #address-cells = <0x1>; 147 #size-cells = <0x1>; 148 149 pm8916_pon: pm8916_pon@800 { 150 compatible = "qcom,pm8916-pwrkey"; 151 reg = <0x800 0x96>; 152 #gpio-cells = <2>; 153 gpio-controller; 154 }; 155 156 pm8916_gpios: pm8916_gpios@c000 { 157 compatible = "qcom,pm8916-gpio"; 158 reg = <0xc000 0x400>; 159 gpio-controller; 160 gpio-count = <4>; 161 #gpio-cells = <2>; 162 gpio-bank-name="pmic"; 163 }; 164 }; 165 166 pmic1: pm8916@1 { 167 compatible = "qcom,spmi-pmic"; 168 reg = <0x1 0x1>; 169 }; 170 }; 171 }; 172 173 leds { 174 compatible = "gpio-leds"; 175 user1 { 176 label = "green:user1"; 177 gpios = <&soc_gpios 21 0>; 178 }; 179 180 user2 { 181 label = "green:user2"; 182 gpios = <&soc_gpios 120 0>; 183 }; 184 185 user3 { 186 label = "green:user3"; 187 gpios = <&pm8916_gpios 0 0>; 188 }; 189 190 user4 { 191 label = "green:user4"; 192 gpios = <&pm8916_gpios 1 0>; 193 }; 194 }; 195}; 196 197#include "dragonboard410c-uboot.dtsi" 198