1// SPDX-License-Identifier: GPL-2.0 2// Copyright (c) 2018, Linaro Limited 3 4#include "qcs404.dtsi" 5#include "pms405.dtsi" 6 7/ { 8 aliases { 9 serial0 = &blsp1_uart2; 10 serial1 = &blsp1_uart3; 11 }; 12 13 chosen { 14 stdout-path = "serial0"; 15 }; 16 17 vph_pwr: vph-pwr-regulator { 18 compatible = "regulator-fixed"; 19 regulator-name = "vph_pwr"; 20 regulator-always-on; 21 regulator-boot-on; 22 }; 23 24 vdd_ch0_3p3: 25 vdd_esmps3_3p3: vdd-esmps3-3p3-regulator { 26 compatible = "regulator-fixed"; 27 regulator-name = "eSMPS3_3P3"; 28 29 regulator-min-microvolt = <3300000>; 30 regulator-max-microvolt = <3300000>; 31 regulator-always-on; 32 }; 33}; 34 35&blsp1_uart3 { 36 status = "okay"; 37 38 bluetooth { 39 compatible = "qcom,wcn3990-bt"; 40 vddio-supply = <&vreg_l6_1p8>; 41 vddxo-supply = <&vreg_l5_1p8>; 42 vddrf-supply = <&vreg_l1_1p3>; 43 vddch0-supply = <&vdd_ch0_3p3>; 44 45 local-bd-address = [ 02 00 00 00 5a ad ]; 46 47 max-speed = <3200000>; 48 }; 49}; 50 51&blsp1_dma { 52 qcom,controlled-remotely; 53}; 54 55&blsp2_dma { 56 qcom,controlled-remotely; 57}; 58 59&pms405_spmi_regulators { 60 vdd_s3-supply = <&pms405_s3>; 61 62 pms405_s3: s3 { 63 regulator-always-on; 64 regulator-boot-on; 65 regulator-name = "vdd_apc"; 66 regulator-min-microvolt = <1048000>; 67 regulator-max-microvolt = <1352000>; 68 }; 69}; 70 71&remoteproc_adsp { 72 status = "ok"; 73}; 74 75&remoteproc_cdsp { 76 status = "ok"; 77}; 78 79&remoteproc_wcss { 80 status = "ok"; 81}; 82 83&rpm_requests { 84 pms405-regulators { 85 compatible = "qcom,rpm-pms405-regulators"; 86 87 vdd_s1-supply = <&vph_pwr>; 88 vdd_s2-supply = <&vph_pwr>; 89 vdd_s3-supply = <&vph_pwr>; 90 vdd_s4-supply = <&vph_pwr>; 91 vdd_s5-supply = <&vph_pwr>; 92 vdd_l1_l2-supply = <&vreg_s5_1p35>; 93 vdd_l3_l8-supply = <&vreg_s5_1p35>; 94 vdd_l4-supply = <&vreg_s5_1p35>; 95 vdd_l5_l6-supply = <&vreg_s4_1p8>; 96 vdd_l7-supply = <&vph_pwr>; 97 vdd_l9-supply = <&vreg_s5_1p35>; 98 vdd_l10_l11_l12_l13-supply = <&vph_pwr>; 99 100 vreg_s4_1p8: s4 { 101 regulator-min-microvolt = <1728000>; 102 regulator-max-microvolt = <1920000>; 103 }; 104 105 vreg_s5_1p35: s5 { 106 regulator-min-microvolt = <1352000>; 107 regulator-max-microvolt = <1352000>; 108 }; 109 110 vreg_l1_1p3: l1 { 111 regulator-min-microvolt = <1240000>; 112 regulator-max-microvolt = <1352000>; 113 }; 114 115 vreg_l2_1p275: l2 { 116 regulator-min-microvolt = <1048000>; 117 regulator-max-microvolt = <1280000>; 118 }; 119 120 vreg_l3_1p05: l3 { 121 regulator-min-microvolt = <1050000>; 122 regulator-max-microvolt = <1160000>; 123 }; 124 125 vreg_l4_1p2: l4 { 126 regulator-min-microvolt = <1144000>; 127 regulator-max-microvolt = <1256000>; 128 }; 129 130 vreg_l5_1p8: l5 { 131 regulator-min-microvolt = <1800000>; 132 regulator-max-microvolt = <1800000>; 133 }; 134 135 vreg_l6_1p8: l6 { 136 regulator-min-microvolt = <1800000>; 137 regulator-max-microvolt = <1800000>; 138 regulator-always-on; 139 }; 140 141 vreg_l7_1p8: l7 { 142 regulator-min-microvolt = <1616000>; 143 regulator-max-microvolt = <3000000>; 144 }; 145 146 vreg_l8_1p2: l8 { 147 regulator-min-microvolt = <1136000>; 148 regulator-max-microvolt = <1352000>; 149 }; 150 151 vreg_l10_3p3: l10 { 152 regulator-min-microvolt = <2936000>; 153 regulator-max-microvolt = <3088000>; 154 }; 155 156 vreg_l11_sdc2: l11 { 157 regulator-min-microvolt = <2696000>; 158 regulator-max-microvolt = <3304000>; 159 }; 160 161 vreg_l12_3p3: l12 { 162 regulator-min-microvolt = <2968000>; 163 regulator-max-microvolt = <3300000>; 164 }; 165 166 vreg_l13_3p3: l13 { 167 regulator-min-microvolt = <3000000>; 168 regulator-max-microvolt = <3300000>; 169 }; 170 }; 171}; 172 173&sdcc1 { 174 status = "ok"; 175 176 mmc-ddr-1_8v; 177 mmc-hs400-1_8v; 178 bus-width = <8>; 179 non-removable; 180 181 pinctrl-names = "default", "sleep"; 182 pinctrl-0 = <&sdc1_on>; 183 pinctrl-1 = <&sdc1_off>; 184}; 185 186&tlmm { 187 sdc1_on: sdc1-on { 188 clk { 189 pins = "sdc1_clk"; 190 bias-disable; 191 drive-strength = <16>; 192 }; 193 194 cmd { 195 pins = "sdc1_cmd"; 196 bias-pull-up; 197 drive-strength = <10>; 198 }; 199 200 data { 201 pins = "sdc1_data"; 202 bias-pull-up; 203 dreive-strength = <10>; 204 }; 205 206 rclk { 207 pins = "sdc1_rclk"; 208 bias-pull-down; 209 }; 210 }; 211 212 sdc1_off: sdc1-off { 213 clk { 214 pins = "sdc1_clk"; 215 bias-disable; 216 drive-strength = <2>; 217 }; 218 219 cmd { 220 pins = "sdc1_cmd"; 221 bias-pull-up; 222 drive-strength = <2>; 223 }; 224 225 data { 226 pins = "sdc1_data"; 227 bias-pull-up; 228 dreive-strength = <2>; 229 }; 230 231 rclk { 232 pins = "sdc1_rclk"; 233 bias-pull-down; 234 }; 235 }; 236}; 237 238&wifi { 239 status = "okay"; 240}; 241 242/* PINCTRL - additions to nodes defined in qcs404.dtsi */ 243 244&blsp1_uart2_default { 245 rx { 246 drive-strength = <2>; 247 bias-disable; 248 }; 249 250 tx { 251 drive-strength = <2>; 252 bias-disable; 253 }; 254}; 255 256&blsp1_uart3_default { 257 cts { 258 pins = "gpio84"; 259 bias-disable; 260 }; 261 262 rts-tx { 263 pins = "gpio85", "gpio82"; 264 drive-strength = <2>; 265 bias-disable; 266 }; 267 268 rx { 269 pins = "gpio83"; 270 bias-pull-up; 271 }; 272}; 273