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 }; 11 12 chosen { 13 stdout-path = "serial0"; 14 }; 15 16 vph_pwr: vph-pwr-regulator { 17 compatible = "regulator-fixed"; 18 regulator-name = "vph_pwr"; 19 regulator-always-on; 20 regulator-boot-on; 21 }; 22}; 23 24&remoteproc_adsp { 25 status = "ok"; 26}; 27 28&remoteproc_cdsp { 29 status = "ok"; 30}; 31 32&remoteproc_wcss { 33 status = "ok"; 34}; 35 36&rpm_requests { 37 pms405-regulators { 38 compatible = "qcom,rpm-pms405-regulators"; 39 40 vdd-s1-supply = <&vph_pwr>; 41 vdd-s2-supply = <&vph_pwr>; 42 vdd-s3-supply = <&vph_pwr>; 43 vdd-s4-supply = <&vph_pwr>; 44 vdd-s5-supply = <&vph_pwr>; 45 vdd-l1-l2-supply = <&vreg_s5_1p35>; 46 vdd-l3-l8-supply = <&vreg_s5_1p35>; 47 vdd-l4-supply = <&vreg_s5_1p35>; 48 vdd-l5-l6-supply = <&vreg_s4_1p8>; 49 vdd-l7-supply = <&vph_pwr>; 50 vdd-l9-supply = <&vreg_s5_1p35>; 51 vdd-l10-l11-l12-l13-supply = <&vph_pwr>; 52 53 vreg_s4_1p8: s4 { 54 regulator-min-microvolt = <1728000>; 55 regulator-max-microvolt = <1920000>; 56 }; 57 58 vreg_s5_1p35: s5 { 59 regulator-min-microvolt = <>; 60 regulator-max-microvolt = <>; 61 }; 62 63 vreg_l1_1p3: l1 { 64 regulator-min-microvolt = <1240000>; 65 regulator-max-microvolt = <1352000>; 66 }; 67 68 vreg_l2_1p275: l2 { 69 regulator-min-microvolt = <1048000>; 70 regulator-max-microvolt = <1280000>; 71 }; 72 73 vreg_l3_1p05: l3 { 74 regulator-min-microvolt = <976000>; 75 regulator-max-microvolt = <1160000>; 76 }; 77 78 vreg_l4_1p2: l4 { 79 regulator-min-microvolt = <1144000>; 80 regulator-max-microvolt = <1256000>; 81 }; 82 83 vreg_l5_1p8: l5 { 84 regulator-min-microvolt = <1800000>; 85 regulator-max-microvolt = <1800000>; 86 }; 87 88 vreg_l6_1p8: l6 { 89 regulator-min-microvolt = <1800000>; 90 regulator-max-microvolt = <1800000>; 91 regulator-always-on; 92 }; 93 94 vreg_l7_1p8: l7 { 95 regulator-min-microvolt = <1616000>; 96 regulator-max-microvolt = <3000000>; 97 }; 98 99 vreg_l8_1p2: l8 { 100 regulator-min-microvolt = <1136000>; 101 regulator-max-microvolt = <1352000>; 102 }; 103 104 vreg_l10_3p3: l10 { 105 regulator-min-microvolt = <2936000>; 106 regulator-max-microvolt = <3088000>; 107 }; 108 109 vreg_l11_sdc2: l11 { 110 regulator-min-microvolt = <2696000>; 111 regulator-max-microvolt = <3304000>; 112 }; 113 114 vreg_l12_3p3: l12 { 115 regulator-min-microvolt = <2968000>; 116 regulator-max-microvolt = <3300000>; 117 }; 118 119 vreg_l13_3p3: l13 { 120 regulator-min-microvolt = <3000000>; 121 regulator-max-microvolt = <3300000>; 122 }; 123 }; 124}; 125 126&sdcc1 { 127 status = "ok"; 128 129 mmc-ddr-1_8v; 130 bus-width = <8>; 131 non-removable; 132 133 pinctrl-names = "default", "sleep"; 134 pinctrl-0 = <&sdc1_on>; 135 pinctrl-1 = <&sdc1_off>; 136}; 137 138&tlmm { 139 sdc1_on: sdc1-on { 140 clk { 141 pins = "sdc1_clk"; 142 bias-disable; 143 drive-strength = <16>; 144 }; 145 146 cmd { 147 pins = "sdc1_cmd"; 148 bias-pull-up; 149 drive-strength = <10>; 150 }; 151 152 data { 153 pins = "sdc1_data"; 154 bias-pull-up; 155 dreive-strength = <10>; 156 }; 157 158 rclk { 159 pins = "sdc1_rclk"; 160 bias-pull-down; 161 }; 162 }; 163 164 sdc1_off: sdc1-off { 165 clk { 166 pins = "sdc1_clk"; 167 bias-disable; 168 drive-strength = <2>; 169 }; 170 171 cmd { 172 pins = "sdc1_cmd"; 173 bias-pull-up; 174 drive-strength = <2>; 175 }; 176 177 data { 178 pins = "sdc1_data"; 179 bias-pull-up; 180 dreive-strength = <2>; 181 }; 182 183 rclk { 184 pins = "sdc1_rclk"; 185 bias-pull-down; 186 }; 187 }; 188}; 189