Srinivas Kandagatla | 973747f | 2016-04-12 10:33:53 +0100 | [diff] [blame] | 1 | #include "qcom-apq8064-v2.0.dtsi" |
Srinivas Kandagatla | 226355fb | 2016-04-12 10:33:55 +0100 | [diff] [blame] | 2 | #include "qcom-apq8064-arrow-db600c-pins.dtsi" |
| 3 | #include <dt-bindings/gpio/gpio.h> |
Srinivas Kandagatla | 973747f | 2016-04-12 10:33:53 +0100 | [diff] [blame] | 4 | |
| 5 | / { |
| 6 | model = "Arrow Electronics, APQ8064 DB600c"; |
| 7 | compatible = "arrow,db600c", "qcom,apq8064"; |
| 8 | |
| 9 | aliases { |
| 10 | serial0 = &gsbi7_serial; |
| 11 | serial1 = &gsbi1_serial; |
| 12 | }; |
| 13 | |
Srinivas Kandagatla | 696a8a1 | 2016-04-12 10:33:54 +0100 | [diff] [blame] | 14 | regulators { |
| 15 | compatible = "simple-bus"; |
| 16 | vph: regulator-fixed@1 { |
| 17 | compatible = "regulator-fixed"; |
| 18 | regulator-min-microvolt = <4500000>; |
| 19 | regulator-max-microvolt = <4500000>; |
| 20 | regulator-name = "VPH"; |
| 21 | regulator-type = "voltage"; |
| 22 | regulator-boot-on; |
| 23 | }; |
Srinivas Kandagatla | c228478 | 2016-04-12 10:33:57 +0100 | [diff] [blame] | 24 | |
| 25 | /* on board fixed 3.3v supply */ |
| 26 | vcc3v3: vcc3v3 { |
| 27 | compatible = "regulator-fixed"; |
| 28 | regulator-name = "VCC3V3"; |
| 29 | regulator-min-microvolt = <3300000>; |
| 30 | regulator-max-microvolt = <3300000>; |
| 31 | regulator-always-on; |
| 32 | }; |
| 33 | |
Srinivas Kandagatla | 696a8a1 | 2016-04-12 10:33:54 +0100 | [diff] [blame] | 34 | }; |
| 35 | |
Srinivas Kandagatla | 973747f | 2016-04-12 10:33:53 +0100 | [diff] [blame] | 36 | soc { |
Srinivas Kandagatla | 696a8a1 | 2016-04-12 10:33:54 +0100 | [diff] [blame] | 37 | rpm@108000 { |
| 38 | regulators { |
| 39 | vdd_s1-supply = <&vph>; |
| 40 | vdd_s2-supply = <&vph>; |
| 41 | vdd_s3-supply = <&vph>; |
| 42 | vdd_s4-supply = <&vph>; |
| 43 | vdd_s5-supply = <&vph>; |
| 44 | vdd_s6-supply = <&vph>; |
| 45 | vdd_s7-supply = <&vph>; |
| 46 | vdd_l1_l2_l12_l18-supply = <&pm8921_s4>; |
| 47 | vdd_l3_l15_l17-supply = <&vph>; |
| 48 | vdd_l4_l14-supply = <&vph>; |
| 49 | vdd_l5_l8_l16-supply = <&vph>; |
| 50 | vdd_l6_l7-supply = <&vph>; |
| 51 | vdd_l9_l11-supply = <&vph>; |
| 52 | vdd_l10_l22-supply = <&vph>; |
| 53 | vdd_l21_l23_l29-supply = <&vph>; |
| 54 | vdd_l24-supply = <&pm8921_s1>; |
| 55 | vdd_l25-supply = <&pm8921_s1>; |
| 56 | vdd_l26-supply = <&pm8921_s7>; |
| 57 | vdd_l27-supply = <&pm8921_s7>; |
| 58 | vdd_l28-supply = <&pm8921_s7>; |
| 59 | vin_lvs1_3_6-supply = <&pm8921_s4>; |
| 60 | vin_lvs2-supply = <&pm8921_s1>; |
| 61 | vin_lvs4_5_7-supply = <&pm8921_s4>; |
| 62 | |
| 63 | s1 { |
| 64 | regulator-always-on; |
| 65 | regulator-min-microvolt = <1225000>; |
| 66 | regulator-max-microvolt = <1225000>; |
| 67 | qcom,switch-mode-frequency = <3200000>; |
| 68 | bias-pull-down; |
| 69 | }; |
| 70 | |
Srinivas Kandagatla | f43a927 | 2016-04-12 10:33:56 +0100 | [diff] [blame] | 71 | s3 { |
| 72 | regulator-min-microvolt = <1000000>; |
| 73 | regulator-max-microvolt = <1400000>; |
| 74 | qcom,switch-mode-frequency = <4800000>; |
| 75 | }; |
| 76 | |
Srinivas Kandagatla | 696a8a1 | 2016-04-12 10:33:54 +0100 | [diff] [blame] | 77 | s4 { |
| 78 | regulator-min-microvolt = <1800000>; |
| 79 | regulator-max-microvolt = <1800000>; |
| 80 | qcom,switch-mode-frequency = <3200000>; |
| 81 | bias-pull-down; |
| 82 | regulator-always-on; |
| 83 | }; |
| 84 | |
| 85 | s7 { |
| 86 | regulator-min-microvolt = <1300000>; |
| 87 | regulator-max-microvolt = <1300000>; |
| 88 | qcom,switch-mode-frequency = <3200000>; |
| 89 | }; |
Srinivas Kandagatla | 226355fb | 2016-04-12 10:33:55 +0100 | [diff] [blame] | 90 | |
Srinivas Kandagatla | f43a927 | 2016-04-12 10:33:56 +0100 | [diff] [blame] | 91 | l3 { |
| 92 | regulator-min-microvolt = <3050000>; |
| 93 | regulator-max-microvolt = <3300000>; |
| 94 | bias-pull-down; |
| 95 | }; |
| 96 | |
| 97 | l4 { |
| 98 | regulator-min-microvolt = <1000000>; |
| 99 | regulator-max-microvolt = <1800000>; |
| 100 | bias-pull-down; |
| 101 | }; |
| 102 | |
Srinivas Kandagatla | 226355fb | 2016-04-12 10:33:55 +0100 | [diff] [blame] | 103 | l5 { |
| 104 | regulator-min-microvolt = <2750000>; |
| 105 | regulator-max-microvolt = <3000000>; |
| 106 | bias-pull-down; |
| 107 | regulator-boot-on; |
| 108 | regulator-always-on; |
| 109 | }; |
| 110 | |
| 111 | l6 { |
| 112 | regulator-min-microvolt = <2950000>; |
| 113 | regulator-max-microvolt = <2950000>; |
| 114 | bias-pull-down; |
| 115 | }; |
Srinivas Kandagatla | f43a927 | 2016-04-12 10:33:56 +0100 | [diff] [blame] | 116 | |
| 117 | l23 { |
| 118 | regulator-min-microvolt = <1700000>; |
| 119 | regulator-max-microvolt = <1900000>; |
| 120 | bias-pull-down; |
| 121 | }; |
Srinivas Kandagatla | c228478 | 2016-04-12 10:33:57 +0100 | [diff] [blame] | 122 | |
| 123 | lvs6 { |
| 124 | bias-pull-down; |
| 125 | }; |
Srinivas Kandagatla | 2ce3622 | 2016-04-12 10:33:58 +0100 | [diff] [blame^] | 126 | |
| 127 | lvs7 { |
| 128 | bias-pull-down; |
| 129 | }; |
Srinivas Kandagatla | 696a8a1 | 2016-04-12 10:33:54 +0100 | [diff] [blame] | 130 | }; |
| 131 | }; |
| 132 | |
Srinivas Kandagatla | 973747f | 2016-04-12 10:33:53 +0100 | [diff] [blame] | 133 | gsbi@12440000 { |
| 134 | status = "okay"; |
| 135 | qcom,mode = <GSBI_PROT_UART_W_FC>; |
| 136 | serial@12450000 { |
| 137 | label = "LS-UART1"; |
| 138 | status = "okay"; |
| 139 | pinctrl-names = "default"; |
| 140 | pinctrl-0 = <&gsbi1_uart_4pins>; |
| 141 | }; |
| 142 | }; |
| 143 | |
| 144 | /* DEBUG UART */ |
| 145 | gsbi@16600000 { |
| 146 | status = "okay"; |
| 147 | qcom,mode = <GSBI_PROT_I2C_UART>; |
| 148 | serial@16640000 { |
| 149 | label = "LS-UART0"; |
| 150 | status = "okay"; |
| 151 | pinctrl-names = "default"; |
| 152 | pinctrl-0 = <&gsbi7_uart_2pins>; |
| 153 | }; |
| 154 | }; |
Srinivas Kandagatla | 226355fb | 2016-04-12 10:33:55 +0100 | [diff] [blame] | 155 | |
Srinivas Kandagatla | c228478 | 2016-04-12 10:33:57 +0100 | [diff] [blame] | 156 | pci@1b500000 { |
| 157 | status = "okay"; |
| 158 | vdda-supply = <&pm8921_s3>; |
| 159 | vdda_phy-supply = <&pm8921_lvs6>; |
| 160 | vdda_refclk-supply = <&vcc3v3>; |
| 161 | pinctrl-0 = <&pcie_pins>; |
| 162 | pinctrl-names = "default"; |
| 163 | perst-gpio = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>; |
| 164 | }; |
| 165 | |
Srinivas Kandagatla | 2ce3622 | 2016-04-12 10:33:58 +0100 | [diff] [blame^] | 166 | phy@1b400000 { |
| 167 | status = "okay"; |
| 168 | }; |
| 169 | |
| 170 | sata@29000000 { |
| 171 | status = "okay"; |
| 172 | target-supply = <&pm8921_lvs7>; |
| 173 | }; |
| 174 | |
Srinivas Kandagatla | f43a927 | 2016-04-12 10:33:56 +0100 | [diff] [blame] | 175 | /* OTG */ |
| 176 | phy@12500000 { |
| 177 | status = "okay"; |
| 178 | dr_mode = "peripheral"; |
| 179 | vddcx-supply = <&pm8921_s3>; |
| 180 | v3p3-supply = <&pm8921_l3>; |
| 181 | v1p8-supply = <&pm8921_l4>; |
| 182 | }; |
| 183 | |
| 184 | phy@12520000 { |
| 185 | status = "okay"; |
| 186 | vddcx-supply = <&pm8921_s3>; |
| 187 | v3p3-supply = <&pm8921_l3>; |
| 188 | v1p8-supply = <&pm8921_l23>; |
| 189 | }; |
| 190 | |
| 191 | phy@12530000 { |
| 192 | status = "okay"; |
| 193 | vddcx-supply = <&pm8921_s3>; |
| 194 | v3p3-supply = <&pm8921_l3>; |
| 195 | v1p8-supply = <&pm8921_l23>; |
| 196 | }; |
| 197 | |
| 198 | gadget@12500000 { |
| 199 | status = "okay"; |
| 200 | }; |
| 201 | |
| 202 | /* OTG */ |
| 203 | usb@12500000 { |
| 204 | status = "okay"; |
| 205 | }; |
| 206 | |
| 207 | usb@12520000 { |
| 208 | status = "okay"; |
| 209 | }; |
| 210 | |
| 211 | usb@12530000 { |
| 212 | status = "okay"; |
| 213 | }; |
| 214 | |
Srinivas Kandagatla | 226355fb | 2016-04-12 10:33:55 +0100 | [diff] [blame] | 215 | amba { |
| 216 | /* eMMC */ |
| 217 | sdcc@12400000 { |
| 218 | status = "okay"; |
| 219 | vmmc-supply = <&pm8921_l5>; |
| 220 | vqmmc-supply = <&pm8921_s4>; |
| 221 | }; |
| 222 | |
| 223 | /* External micro SD card */ |
| 224 | sdcc@12180000 { |
| 225 | status = "okay"; |
| 226 | vmmc-supply = <&pm8921_l6>; |
| 227 | pinctrl-names = "default"; |
| 228 | pinctrl-0 = <&card_detect>; |
| 229 | cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_HIGH>; |
| 230 | }; |
| 231 | }; |
Srinivas Kandagatla | 973747f | 2016-04-12 10:33:53 +0100 | [diff] [blame] | 232 | }; |
| 233 | }; |