Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'qcom-dts-for-6.2-2' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into soc/dt

More Qualcomm DTS updates for 6.2

This introduces support for the OnePlus One, on MSM8974Pro, and properly
marks other Pro devices as compatible thereof. Also on MSM8974, the
description of USB devices and their PHYs are cleaned up.

On the binding side compatibles for recently added ARM and ARM64 boards
are added.

* tag 'qcom-dts-for-6.2-2' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux: (102 commits)
dt-bindings: arm: qcom: Add zombie
ARM: dts: qcom: msm8974: Add OnePlus One
dt-bindings: arm: qcom: Document oneplus,bacon device
ARM: dts: qcom: msm8974: clean up USB nodes
arm: dts: qcom: use qcom,msm8974pro for pro devices
dt-bindings: arm: qcom: split MSM8974 Pro and MSM8974
ARM: dts: qcom: align LED node names with dtschema
dt-bindings: arm: qcom: Document additional sa8540p device
dt-bindings: arm: qcom: Add Xperia 5 IV (PDX224)
dt-bindings: arm: qcom: Document msm8956 and msm8976 SoC and devices
dt-bindings: arm: add xiaomi,sagit board based on msm8998 chip
dt-bindings: arm: qcom: add sdm670 and pixel 3a compatible
dt-bindings: arm: cpus: add qcom kryo 360 compatible
ARM: dts: qcom-msm8960-cdp: align TLMM pin configuration with DT schema
ARM: dts: qcom-msm8960: use define for interrupt constants
dt-bindings: arm: qcom: Document SM6375 & Xperia 10 IV
ARM: dts: qcom-apq8060: align TLMM pin configuration with DT schema
ARM: dts: qcom: msm8226: Add MMCC node
dt-bindings: arm: qcom: Separate LTE/WIFI SKU for sc7280-evoker
dt-bindings: arm: qcom: Document QDU1000/QRU1000 SoCs and boards
...

Link: https://lore.kernel.org/r/20221207153201.3233015-1-andersson@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+3976 -2752
+1
Documentation/devicetree/bindings/arm/cpus.yaml
··· 178 178 - qcom,kryo250 179 179 - qcom,kryo260 180 180 - qcom,kryo280 181 + - qcom,kryo360 181 182 - qcom,kryo385 182 183 - qcom,kryo468 183 184 - qcom,kryo485
+79 -3
Documentation/devicetree/bindings/arm/qcom.yaml
··· 29 29 apq8074 30 30 apq8084 31 31 apq8096 32 + ipq4018 32 33 ipq6018 33 34 ipq8074 34 35 mdm9615 35 36 msm8226 36 37 msm8916 38 + msm8956 37 39 msm8974 40 + msm8976 38 41 msm8992 39 42 msm8994 40 43 msm8996 41 44 msm8998 42 45 qcs404 46 + qdu1000 47 + qru1000 43 48 sa8155p 44 49 sa8540p 45 50 sc7180 ··· 56 51 sdm632 57 52 sdm636 58 53 sdm660 54 + sdm670 59 55 sdm845 60 56 sdx55 61 57 sdx65 ··· 64 58 sm6115 65 59 sm6125 66 60 sm6350 61 + sm6375 67 62 sm7225 68 63 sm8150 69 64 sm8250 ··· 85 78 mtp 86 79 qrd 87 80 sbc 81 + x100 88 82 89 83 The 'soc_version' and 'board_version' elements take the form of v<Major>.<Minor> 90 84 where the minor number may be omitted when it's zero, i.e. v1.0 is the same ··· 124 116 - items: 125 117 - enum: 126 118 - asus,sparrow 119 + - huawei,sturgeon 127 120 - lg,lenok 121 + - samsung,matisse-wifi 128 122 - const: qcom,apq8026 129 123 130 124 - items: ··· 162 152 163 153 - items: 164 154 - enum: 155 + - sony,kugo-row 156 + - sony,suzu-row 157 + - const: qcom,msm8956 158 + 159 + - items: 160 + - enum: 165 161 - qcom,msm8960-cdp 166 162 - const: qcom,msm8960 167 163 168 164 - items: 169 165 - enum: 170 - - fairphone,fp2 171 166 - lge,hammerhead 172 - - samsung,klte 173 167 - sony,xperia-amami 174 - - sony,xperia-castor 175 168 - sony,xperia-honami 169 + - const: qcom,msm8974 170 + 171 + - items: 172 + - enum: 173 + - fairphone,fp2 174 + - oneplus,bacon 175 + - samsung,klte 176 + - sony,xperia-castor 177 + - const: qcom,msm8974pro 176 178 - const: qcom,msm8974 177 179 178 180 - items: ··· 273 251 - sony,xperia-lilac 274 252 - sony,xperia-maple 275 253 - sony,xperia-poplar 254 + - xiaomi,sagit 276 255 - const: qcom,msm8998 256 + 257 + - items: 258 + - enum: 259 + - 8dev,jalapeno 260 + - alfa-network,ap120c-ac 261 + - const: qcom,ipq4018 277 262 278 263 - items: 279 264 - enum: ··· 293 264 294 265 - items: 295 266 - enum: 267 + - mikrotik,rb3011 296 268 - qcom,ipq8064-ap148 297 269 - const: qcom,ipq8064 298 270 ··· 303 273 - qcom,ipq8074-hk10-c1 304 274 - qcom,ipq8074-hk10-c2 305 275 - const: qcom,ipq8074 276 + 277 + - description: Sierra Wireless MangOH Green with WP8548 Module 278 + items: 279 + - const: swir,mangoh-green-wp8548 280 + - const: swir,wp8548 281 + - const: qcom,mdm9615 282 + 283 + - description: Qualcomm Technologies, Inc. Distributed Unit 1000 platform 284 + items: 285 + - enum: 286 + - qcom,qdu1000-idp 287 + - qcom,qdu1000-x100 288 + - const: qcom,qdu1000 289 + 290 + - description: Qualcomm Technologies, Inc. Radio Unit 1000 platform 291 + items: 292 + - enum: 293 + - qcom,qru1000-idp 294 + - const: qcom,qru1000 306 295 307 296 - description: Qualcomm Technologies, Inc. SC7180 IDP 308 297 items: ··· 644 595 - const: google,evoker 645 596 - const: qcom,sc7280 646 597 598 + - description: Google Evoker with LTE (newest rev) 599 + items: 600 + - const: google,evoker-sku512 601 + - const: qcom,sc7280 602 + 647 603 - description: Google Herobrine (newest rev) 648 604 items: 649 605 - const: google,herobrine ··· 667 613 - description: Google Villager with LTE (newest rev) 668 614 items: 669 615 - const: google,villager-sku512 616 + - const: qcom,sc7280 617 + 618 + - description: Google Zombie (newest rev) 619 + items: 620 + - const: google,zombie 621 + - const: qcom,sc7280 622 + 623 + - description: Google Zombie with LTE (newest rev) 624 + items: 625 + - const: google,zombie-sku512 670 626 - const: qcom,sc7280 671 627 672 628 - items: ··· 723 659 724 660 - items: 725 661 - enum: 662 + - google,sargo 663 + - const: qcom,sdm670 664 + 665 + - items: 666 + - enum: 726 667 - qcom,sdx55-mtp 727 668 - qcom,sdx55-telit-fn980-tlb 728 669 - qcom,sdx55-t55 ··· 759 690 - items: 760 691 - enum: 761 692 - qcom,sa8295p-adp 693 + - qcom,sa8540p-ride 762 694 - const: qcom,sa8540p 763 695 764 696 - items: ··· 802 732 803 733 - items: 804 734 - enum: 735 + - sony,pdx225 736 + - const: qcom,sm6375 737 + 738 + - items: 739 + - enum: 805 740 - fairphone,fp4 806 741 - const: qcom,sm7225 807 742 ··· 842 767 - qcom,sm8450-hdk 843 768 - qcom,sm8450-qrd 844 769 - sony,pdx223 770 + - sony,pdx224 845 771 - const: qcom,sm8450 846 772 847 773 additionalProperties: true
-12
Documentation/devicetree/bindings/arm/swir.txt
··· 1 - Sierra Wireless Modules device tree bindings 2 - -------------------------------------------- 3 - 4 - Supported Modules : 5 - - WP8548 : Includes MDM9615 and PM8018 in a module 6 - 7 - Sierra Wireless modules shall have the following properties : 8 - Required root node property 9 - - compatible: "swir,wp8548" for the WP8548 CF3 Module 10 - 11 - Board compatible values: 12 - - "swir,mangoh-green-wp8548" for the mangOH green board with the WP8548 module
+1
Documentation/devicetree/bindings/sram/qcom,imem.yaml
··· 25 25 - qcom,sdm630-imem 26 26 - qcom,sdm845-imem 27 27 - qcom,sdx55-imem 28 + - qcom,sdx65-imem 28 29 - const: syscon 29 30 - const: simple-mfd 30 31
+2
Documentation/devicetree/bindings/vendor-prefixes.yaml
··· 69 69 description: Annapurna Labs 70 70 "^alcatel,.*": 71 71 description: Alcatel 72 + "^alfa-network,.*": 73 + description: ALFA Network Inc. 72 74 "^allegro,.*": 73 75 description: Allegro DVT 74 76 "^allo,.*":
+3
arch/arm/boot/dts/Makefile
··· 1033 1033 dtb-$(CONFIG_ARCH_QCOM) += \ 1034 1034 qcom-apq8016-sbc.dtb \ 1035 1035 qcom-apq8026-asus-sparrow.dtb \ 1036 + qcom-apq8026-huawei-sturgeon.dtb \ 1036 1037 qcom-apq8026-lg-lenok.dtb \ 1038 + qcom-apq8026-samsung-matisse-wifi.dtb \ 1037 1039 qcom-apq8060-dragonboard.dtb \ 1038 1040 qcom-apq8064-cm-qs600.dtb \ 1039 1041 qcom-apq8064-ifc6410.dtb \ ··· 1065 1063 qcom-msm8974-sony-xperia-rhine-amami.dtb \ 1066 1064 qcom-msm8974-sony-xperia-rhine-honami.dtb \ 1067 1065 qcom-msm8974pro-fairphone-fp2.dtb \ 1066 + qcom-msm8974pro-oneplus-bacon.dtb \ 1068 1067 qcom-msm8974pro-samsung-klte.dtb \ 1069 1068 qcom-msm8974pro-sony-xperia-shinano-castor.dtb \ 1070 1069 qcom-mdm9615-wp8548-mangoh-green.dtb \
+1 -1
arch/arm/boot/dts/qcom-apq8026-asus-sparrow.dts
··· 87 87 }; 88 88 89 89 &rpm_requests { 90 - pm8226-regulators { 90 + regulators { 91 91 compatible = "qcom,rpm-pm8226-regulators"; 92 92 93 93 pm8226_s3: s3 {
+376
arch/arm/boot/dts/qcom-apq8026-huawei-sturgeon.dts
··· 1 + // SPDX-License-Identifier: BSD-3-Clause 2 + /* 3 + * Copyright (c) 2022, Luca Weiss <luca@z3ntu.xyz> 4 + */ 5 + 6 + /dts-v1/; 7 + 8 + #include "qcom-msm8226.dtsi" 9 + #include "qcom-pm8226.dtsi" 10 + 11 + /delete-node/ &adsp_region; 12 + 13 + / { 14 + model = "Huawei Watch"; 15 + compatible = "huawei,sturgeon", "qcom,apq8026"; 16 + chassis-type = "watch"; 17 + qcom,msm-id = <199 0x20000>; 18 + qcom,board-id = <8 4>; 19 + 20 + reserved-memory { 21 + sbl_region: sbl@2f00000 { 22 + reg = <0x02f00000 0x100000>; 23 + no-map; 24 + }; 25 + 26 + external_image_region: external-image@3100000 { 27 + reg = <0x3100000 0x200000>; 28 + no-map; 29 + }; 30 + 31 + peripheral_region: peripheral@3300000 { 32 + reg = <0x3300000 0x600000>; 33 + no-map; 34 + }; 35 + 36 + adsp_region: adsp@3900000 { 37 + reg = <0x3900000 0x1400000>; 38 + no-map; 39 + }; 40 + 41 + modem_region: modem@4d00000 { 42 + reg = <0x4d00000 0x1b00000>; 43 + no-map; 44 + }; 45 + 46 + modem_efs_region: modem-efs@7f00000 { 47 + reg = <0x7f00000 0x100000>; 48 + no-map; 49 + }; 50 + }; 51 + 52 + vreg_wlan: wlan-regulator { 53 + compatible = "regulator-fixed"; 54 + 55 + regulator-name = "wl-reg"; 56 + regulator-min-microvolt = <2950000>; 57 + regulator-max-microvolt = <2950000>; 58 + 59 + gpio = <&tlmm 110 GPIO_ACTIVE_HIGH>; 60 + enable-active-high; 61 + 62 + pinctrl-names = "default"; 63 + pinctrl-0 = <&wlan_regulator_default_state>; 64 + }; 65 + }; 66 + 67 + &adsp { 68 + status = "okay"; 69 + }; 70 + 71 + &blsp1_i2c5 { 72 + clock-frequency = <384000>; 73 + 74 + status = "okay"; 75 + 76 + touchscreen@20 { 77 + compatible = "syna,rmi4-i2c"; 78 + reg = <0x20>; 79 + 80 + interrupts-extended = <&tlmm 17 IRQ_TYPE_EDGE_FALLING>; 81 + vdd-supply = <&pm8226_l19>; 82 + vio-supply = <&pm8226_lvs1>; 83 + 84 + pinctrl-names = "default"; 85 + pinctrl-0 = <&touch_default_state>; 86 + 87 + syna,startup-delay-ms = <160>; 88 + 89 + #address-cells = <1>; 90 + #size-cells = <0>; 91 + 92 + rmi4-f01@1 { 93 + reg = <0x1>; 94 + syna,nosleep-mode = <1>; 95 + }; 96 + 97 + rmi4-f12@12 { 98 + reg = <0x12>; 99 + syna,sensor-type = <1>; 100 + }; 101 + }; 102 + }; 103 + 104 + &blsp1_uart4 { 105 + pinctrl-names = "default"; 106 + pinctrl-0 = <&blsp1_uart4_default_state>; 107 + 108 + status = "okay"; 109 + 110 + bluetooth { 111 + compatible = "brcm,bcm43430a0-bt"; 112 + max-speed = <3000000>; 113 + 114 + pinctrl-names = "default"; 115 + pinctrl-0 = <&bluetooth_default_state>; 116 + 117 + host-wakeup-gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>; 118 + device-wakeup-gpios = <&tlmm 63 GPIO_ACTIVE_HIGH>; 119 + shutdown-gpios = <&tlmm 67 GPIO_ACTIVE_HIGH>; 120 + }; 121 + }; 122 + 123 + &rpm_requests { 124 + regulators { 125 + compatible = "qcom,rpm-pm8226-regulators"; 126 + 127 + pm8226_s3: s3 { 128 + regulator-min-microvolt = <1200000>; 129 + regulator-max-microvolt = <1300000>; 130 + }; 131 + 132 + pm8226_s4: s4 { 133 + regulator-min-microvolt = <1800000>; 134 + regulator-max-microvolt = <2200000>; 135 + }; 136 + 137 + pm8226_s5: s5 { 138 + regulator-min-microvolt = <1150000>; 139 + regulator-max-microvolt = <1150000>; 140 + }; 141 + 142 + pm8226_l1: l1 { 143 + regulator-min-microvolt = <1225000>; 144 + regulator-max-microvolt = <1225000>; 145 + }; 146 + 147 + pm8226_l2: l2 { 148 + regulator-min-microvolt = <1200000>; 149 + regulator-max-microvolt = <1200000>; 150 + }; 151 + 152 + pm8226_l3: l3 { 153 + regulator-min-microvolt = <750000>; 154 + regulator-max-microvolt = <1337500>; 155 + }; 156 + 157 + pm8226_l4: l4 { 158 + regulator-min-microvolt = <1200000>; 159 + regulator-max-microvolt = <1200000>; 160 + }; 161 + 162 + pm8226_l5: l5 { 163 + regulator-min-microvolt = <1200000>; 164 + regulator-max-microvolt = <1200000>; 165 + }; 166 + 167 + pm8226_l6: l6 { 168 + regulator-min-microvolt = <1800000>; 169 + regulator-max-microvolt = <1800000>; 170 + }; 171 + 172 + pm8226_l7: l7 { 173 + regulator-min-microvolt = <1850000>; 174 + regulator-max-microvolt = <1850000>; 175 + }; 176 + 177 + pm8226_l8: l8 { 178 + regulator-min-microvolt = <1800000>; 179 + regulator-max-microvolt = <1800000>; 180 + }; 181 + 182 + pm8226_l9: l9 { 183 + regulator-min-microvolt = <2050000>; 184 + regulator-max-microvolt = <2050000>; 185 + }; 186 + 187 + pm8226_l10: l10 { 188 + regulator-min-microvolt = <1800000>; 189 + regulator-max-microvolt = <1800000>; 190 + }; 191 + 192 + pm8226_l12: l12 { 193 + regulator-min-microvolt = <1800000>; 194 + regulator-max-microvolt = <1800000>; 195 + }; 196 + 197 + pm8226_l14: l14 { 198 + regulator-min-microvolt = <2750000>; 199 + regulator-max-microvolt = <2750000>; 200 + }; 201 + 202 + pm8226_l15: l15 { 203 + regulator-min-microvolt = <2800000>; 204 + regulator-max-microvolt = <2800000>; 205 + }; 206 + 207 + pm8226_l16: l16 { 208 + regulator-min-microvolt = <3000000>; 209 + regulator-max-microvolt = <3350000>; 210 + }; 211 + 212 + pm8226_l17: l17 { 213 + regulator-min-microvolt = <2950000>; 214 + regulator-max-microvolt = <2950000>; 215 + }; 216 + 217 + pm8226_l18: l18 { 218 + regulator-min-microvolt = <2950000>; 219 + regulator-max-microvolt = <2950000>; 220 + }; 221 + 222 + pm8226_l19: l19 { 223 + regulator-min-microvolt = <2850000>; 224 + regulator-max-microvolt = <2850000>; 225 + }; 226 + 227 + pm8226_l20: l20 { 228 + regulator-min-microvolt = <3075000>; 229 + regulator-max-microvolt = <3075000>; 230 + }; 231 + 232 + pm8226_l21: l21 { 233 + regulator-min-microvolt = <1800000>; 234 + regulator-max-microvolt = <2950000>; 235 + }; 236 + 237 + pm8226_l22: l22 { 238 + regulator-min-microvolt = <1800000>; 239 + regulator-max-microvolt = <2950000>; 240 + }; 241 + 242 + pm8226_l23: l23 { 243 + regulator-min-microvolt = <1800000>; 244 + regulator-max-microvolt = <2950000>; 245 + }; 246 + 247 + pm8226_l24: l24 { 248 + regulator-min-microvolt = <1300000>; 249 + regulator-max-microvolt = <1350000>; 250 + }; 251 + 252 + pm8226_l25: l25 { 253 + regulator-min-microvolt = <1775000>; 254 + regulator-max-microvolt = <2125000>; 255 + }; 256 + 257 + pm8226_l26: l26 { 258 + regulator-min-microvolt = <1225000>; 259 + regulator-max-microvolt = <1225000>; 260 + }; 261 + 262 + pm8226_l27: l27 { 263 + regulator-min-microvolt = <2050000>; 264 + regulator-max-microvolt = <2050000>; 265 + }; 266 + 267 + pm8226_l28: l28 { 268 + regulator-min-microvolt = <1800000>; 269 + regulator-max-microvolt = <2950000>; 270 + }; 271 + 272 + pm8226_lvs1: lvs1 {}; 273 + }; 274 + }; 275 + 276 + &sdhc_1 { 277 + vmmc-supply = <&pm8226_l17>; 278 + vqmmc-supply = <&pm8226_l6>; 279 + 280 + bus-width = <8>; 281 + non-removable; 282 + 283 + status = "okay"; 284 + }; 285 + 286 + &sdhc_3 { 287 + max-frequency = <100000000>; 288 + non-removable; 289 + 290 + vmmc-supply = <&vreg_wlan>; 291 + vqmmc-supply = <&pm8226_l6>; 292 + 293 + #address-cells = <1>; 294 + #size-cells = <0>; 295 + 296 + status = "okay"; 297 + 298 + wifi@1 { 299 + compatible = "brcm,bcm43430a0-fmac", "brcm,bcm4329-fmac"; 300 + reg = <1>; 301 + 302 + interrupts-extended = <&tlmm 66 IRQ_TYPE_EDGE_FALLING>; 303 + interrupt-names = "host-wake"; 304 + 305 + pinctrl-names = "default"; 306 + pinctrl-0 = <&wlan_hostwake_default_state>; 307 + }; 308 + }; 309 + 310 + &smbb { 311 + qcom,fast-charge-safe-voltage = <4370000>; 312 + qcom,fast-charge-high-threshold-voltage = <4350000>; 313 + qcom,minimum-input-voltage = <4350000>; 314 + qcom,fast-charge-current-limit = <300000>; 315 + qcom,fast-charge-safe-current = <600000>; 316 + qcom,auto-recharge-threshold-voltage = <4240000>; 317 + }; 318 + 319 + &tlmm { 320 + blsp1_uart4_default_state: blsp1-uart4-default-state { 321 + pins = "gpio12", "gpio13", "gpio14", "gpio15"; 322 + function = "blsp_uart4"; 323 + drive-strength = <8>; 324 + bias-disable; 325 + }; 326 + 327 + bluetooth_default_state: bluetooth-default-state { 328 + pins = "gpio63", "gpio64"; 329 + function = "gpio"; 330 + drive-strength = <2>; 331 + bias-pull-down; 332 + }; 333 + 334 + touch_default_state: touch-default-state { 335 + irq-pins { 336 + pins = "gpio17"; 337 + function = "gpio"; 338 + drive-strength = <8>; 339 + bias-pull-up; 340 + }; 341 + 342 + reset-pins { 343 + pins = "gpio16"; 344 + function = "gpio"; 345 + drive-strength = <6>; 346 + bias-pull-up; 347 + }; 348 + }; 349 + 350 + wlan_hostwake_default_state: wlan-hostwake-default-state { 351 + pins = "gpio66"; 352 + function = "gpio"; 353 + drive-strength = <2>; 354 + bias-disable; 355 + input-enable; 356 + }; 357 + 358 + wlan_regulator_default_state: wlan-regulator-default-state { 359 + pins = "gpio110"; 360 + function = "gpio"; 361 + drive-strength = <2>; 362 + bias-pull-down; 363 + }; 364 + }; 365 + 366 + &usb { 367 + extcon = <&smbb>; 368 + dr_mode = "peripheral"; 369 + status = "okay"; 370 + }; 371 + 372 + &usb_hs_phy { 373 + extcon = <&smbb>; 374 + v1p8-supply = <&pm8226_l10>; 375 + v3p3-supply = <&pm8226_l20>; 376 + };
+5 -4
arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts
··· 13 13 / { 14 14 model = "LG G Watch R"; 15 15 compatible = "lg,lenok", "qcom,apq8026"; 16 + chassis-type = "watch"; 16 17 qcom,board-id = <132 0x0a>; 17 18 qcom,msm-id = <199 0x20000>; 18 19 ··· 116 115 }; 117 116 118 117 &rpm_requests { 119 - pm8226-regulators { 118 + regulators { 120 119 compatible = "qcom,rpm-pm8226-regulators"; 121 120 122 121 pm8226_s3: s3 { ··· 300 299 input-enable; 301 300 }; 302 301 303 - touch_pins: touch { 304 - irq { 302 + touch_pins: touch-state { 303 + irq-pins { 305 304 pins = "gpio17"; 306 305 function = "gpio"; 307 306 ··· 310 309 input-enable; 311 310 }; 312 311 313 - reset { 312 + reset-pins { 314 313 pins = "gpio16"; 315 314 function = "gpio"; 316 315
+453
arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts
··· 1 + // SPDX-License-Identifier: BSD-3-Clause 2 + /* 3 + * Copyright (c) 2022, Matti Lehtimäki <matti.lehtimaki@gmail.com> 4 + */ 5 + 6 + /dts-v1/; 7 + 8 + #include <dt-bindings/input/input.h> 9 + #include "qcom-msm8226.dtsi" 10 + #include "qcom-pm8226.dtsi" 11 + 12 + / { 13 + model = "Samsung Galaxy Tab 4 10.1"; 14 + compatible = "samsung,matisse-wifi", "qcom,apq8026"; 15 + chassis-type = "tablet"; 16 + 17 + aliases { 18 + mmc0 = &sdhc_1; /* SDC1 eMMC slot */ 19 + mmc1 = &sdhc_2; /* SDC2 SD card slot */ 20 + display0 = &framebuffer0; 21 + }; 22 + 23 + chosen { 24 + #address-cells = <1>; 25 + #size-cells = <1>; 26 + ranges; 27 + 28 + stdout-path = "display0"; 29 + 30 + framebuffer0: framebuffer@3200000 { 31 + compatible = "simple-framebuffer"; 32 + reg = <0x03200000 0x800000>; 33 + width = <1280>; 34 + height = <800>; 35 + stride = <(1280 * 3)>; 36 + format = "r8g8b8"; 37 + }; 38 + }; 39 + 40 + gpio-hall-sensor { 41 + compatible = "gpio-keys"; 42 + 43 + event-hall-sensor { 44 + label = "Hall Effect Sensor"; 45 + gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>; 46 + interrupts = <&tlmm 110 IRQ_TYPE_EDGE_FALLING>; 47 + linux,input-type = <EV_SW>; 48 + linux,code = <SW_LID>; 49 + debounce-interval = <15>; 50 + wakeup-source; 51 + }; 52 + }; 53 + 54 + gpio-keys { 55 + compatible = "gpio-keys"; 56 + autorepeat; 57 + 58 + key-home { 59 + label = "Home"; 60 + gpios = <&tlmm 108 GPIO_ACTIVE_LOW>; 61 + linux,code = <KEY_HOMEPAGE>; 62 + debounce-interval = <15>; 63 + }; 64 + 65 + key-volume-down { 66 + label = "Volume Down"; 67 + gpios = <&tlmm 107 GPIO_ACTIVE_LOW>; 68 + linux,code = <KEY_VOLUMEDOWN>; 69 + debounce-interval = <15>; 70 + }; 71 + 72 + key-volume-up { 73 + label = "Volume Up"; 74 + gpios = <&tlmm 106 GPIO_ACTIVE_LOW>; 75 + linux,code = <KEY_VOLUMEUP>; 76 + debounce-interval = <15>; 77 + }; 78 + }; 79 + 80 + reg_tsp_1p8v: regulator-tsp-1p8v { 81 + compatible = "regulator-fixed"; 82 + regulator-name = "tsp_1p8v"; 83 + regulator-min-microvolt = <1800000>; 84 + regulator-max-microvolt = <1800000>; 85 + 86 + gpio = <&tlmm 31 GPIO_ACTIVE_HIGH>; 87 + enable-active-high; 88 + 89 + pinctrl-names = "default"; 90 + pinctrl-0 = <&tsp_en_default_state>; 91 + }; 92 + 93 + reg_tsp_3p3v: regulator-tsp-3p3v { 94 + compatible = "regulator-fixed"; 95 + regulator-name = "tsp_3p3v"; 96 + regulator-min-microvolt = <3300000>; 97 + regulator-max-microvolt = <3300000>; 98 + 99 + gpio = <&tlmm 73 GPIO_ACTIVE_HIGH>; 100 + enable-active-high; 101 + 102 + pinctrl-names = "default"; 103 + pinctrl-0 = <&tsp_en1_default_state>; 104 + }; 105 + 106 + reserved-memory { 107 + #address-cells = <1>; 108 + #size-cells = <1>; 109 + ranges; 110 + 111 + framebuffer@3200000 { 112 + reg = <0x03200000 0x800000>; 113 + no-map; 114 + }; 115 + 116 + mpss@8400000 { 117 + reg = <0x08400000 0x1f00000>; 118 + no-map; 119 + }; 120 + 121 + mba@a300000 { 122 + reg = <0x0a300000 0x100000>; 123 + no-map; 124 + }; 125 + 126 + reserved@cb00000 { 127 + reg = <0x0cb00000 0x700000>; 128 + no-map; 129 + }; 130 + 131 + wcnss@d200000 { 132 + reg = <0x0d200000 0x700000>; 133 + no-map; 134 + }; 135 + 136 + adsp@d900000 { 137 + reg = <0x0d900000 0x1800000>; 138 + no-map; 139 + }; 140 + 141 + venus@f100000 { 142 + reg = <0x0f100000 0x500000>; 143 + no-map; 144 + }; 145 + 146 + /delete-node/ smem@3000000; 147 + smem_region: smem@fa00000 { 148 + reg = <0x0fa00000 0x100000>; 149 + no-map; 150 + }; 151 + 152 + reserved@fb00000 { 153 + reg = <0x0fb00000 0x260000>; 154 + no-map; 155 + }; 156 + 157 + rfsa@fd60000 { 158 + reg = <0x0fd60000 0x20000>; 159 + no-map; 160 + }; 161 + 162 + rmtfs@fd80000 { 163 + compatible = "qcom,rmtfs-mem"; 164 + reg = <0x0fd80000 0x180000>; 165 + no-map; 166 + 167 + qcom,client-id = <1>; 168 + }; 169 + }; 170 + }; 171 + 172 + &blsp1_i2c2 { 173 + status = "okay"; 174 + 175 + accelerometer@1d { 176 + compatible = "st,lis2hh12"; 177 + reg = <0x1d>; 178 + 179 + interrupt-parent = <&tlmm>; 180 + interrupts = <54 IRQ_TYPE_LEVEL_HIGH>; 181 + 182 + pinctrl-names = "default"; 183 + pinctrl-0 = <&accel_int_default_state>; 184 + 185 + st,drdy-int-pin = <1>; 186 + 187 + vdd-supply = <&pm8226_l19>; 188 + vddio-supply = <&pm8226_lvs1>; 189 + }; 190 + }; 191 + 192 + &blsp1_i2c4 { 193 + status = "okay"; 194 + 195 + muic: usb-switch@25 { 196 + compatible = "siliconmitus,sm5502-muic"; 197 + reg = <0x25>; 198 + 199 + interrupt-parent = <&tlmm>; 200 + interrupts = <67 IRQ_TYPE_EDGE_FALLING>; 201 + 202 + pinctrl-names = "default"; 203 + pinctrl-0 = <&muic_int_default_state>; 204 + }; 205 + }; 206 + 207 + &blsp1_i2c5 { 208 + status = "okay"; 209 + 210 + touchscreen@4a { 211 + compatible = "atmel,maxtouch"; 212 + reg = <0x4a>; 213 + 214 + interrupt-parent = <&tlmm>; 215 + interrupts = <17 IRQ_TYPE_LEVEL_LOW>; 216 + 217 + pinctrl-names = "default"; 218 + pinctrl-0 = <&tsp_int_rst_default_state>; 219 + 220 + reset-gpios = <&pm8226_gpios 6 GPIO_ACTIVE_LOW>; 221 + 222 + vdd-supply = <&reg_tsp_1p8v>; 223 + vdda-supply = <&reg_tsp_3p3v>; 224 + }; 225 + }; 226 + 227 + &rpm_requests { 228 + regulators { 229 + compatible = "qcom,rpm-pm8226-regulators"; 230 + 231 + pm8226_s3: s3 { 232 + regulator-min-microvolt = <1200000>; 233 + regulator-max-microvolt = <1300000>; 234 + }; 235 + 236 + pm8226_s4: s4 { 237 + regulator-min-microvolt = <1800000>; 238 + regulator-max-microvolt = <1800000>; 239 + }; 240 + 241 + pm8226_s5: s5 { 242 + regulator-min-microvolt = <1150000>; 243 + regulator-max-microvolt = <1150000>; 244 + }; 245 + 246 + pm8226_l1: l1 { 247 + regulator-min-microvolt = <1225000>; 248 + regulator-max-microvolt = <1225000>; 249 + }; 250 + 251 + pm8226_l2: l2 { 252 + regulator-min-microvolt = <1200000>; 253 + regulator-max-microvolt = <1200000>; 254 + }; 255 + 256 + pm8226_l3: l3 { 257 + regulator-min-microvolt = <750000>; 258 + regulator-max-microvolt = <1337500>; 259 + regulator-always-on; 260 + }; 261 + 262 + pm8226_l4: l4 { 263 + regulator-min-microvolt = <1200000>; 264 + regulator-max-microvolt = <1200000>; 265 + }; 266 + 267 + pm8226_l5: l5 { 268 + regulator-min-microvolt = <1200000>; 269 + regulator-max-microvolt = <1200000>; 270 + }; 271 + 272 + pm8226_l6: l6 { 273 + regulator-min-microvolt = <1800000>; 274 + regulator-max-microvolt = <1800000>; 275 + regulator-always-on; 276 + }; 277 + 278 + pm8226_l7: l7 { 279 + regulator-min-microvolt = <1850000>; 280 + regulator-max-microvolt = <1850000>; 281 + }; 282 + 283 + pm8226_l8: l8 { 284 + regulator-min-microvolt = <1800000>; 285 + regulator-max-microvolt = <1800000>; 286 + regulator-always-on; 287 + }; 288 + 289 + pm8226_l9: l9 { 290 + regulator-min-microvolt = <2050000>; 291 + regulator-max-microvolt = <2050000>; 292 + }; 293 + 294 + pm8226_l10: l10 { 295 + regulator-min-microvolt = <1800000>; 296 + regulator-max-microvolt = <1800000>; 297 + }; 298 + 299 + pm8226_l12: l12 { 300 + regulator-min-microvolt = <1800000>; 301 + regulator-max-microvolt = <1800000>; 302 + }; 303 + 304 + pm8226_l14: l14 { 305 + regulator-min-microvolt = <2750000>; 306 + regulator-max-microvolt = <2750000>; 307 + }; 308 + 309 + pm8226_l15: l15 { 310 + regulator-min-microvolt = <1800000>; 311 + regulator-max-microvolt = <3300000>; 312 + }; 313 + 314 + pm8226_l16: l16 { 315 + regulator-min-microvolt = <3000000>; 316 + regulator-max-microvolt = <3350000>; 317 + }; 318 + 319 + pm8226_l17: l17 { 320 + regulator-min-microvolt = <2950000>; 321 + regulator-max-microvolt = <2950000>; 322 + 323 + regulator-system-load = <200000>; 324 + regulator-allow-set-load; 325 + regulator-always-on; 326 + }; 327 + 328 + pm8226_l18: l18 { 329 + regulator-min-microvolt = <2950000>; 330 + regulator-max-microvolt = <2950000>; 331 + }; 332 + 333 + pm8226_l19: l19 { 334 + regulator-min-microvolt = <2850000>; 335 + regulator-max-microvolt = <3000000>; 336 + }; 337 + 338 + pm8226_l20: l20 { 339 + regulator-min-microvolt = <3075000>; 340 + regulator-max-microvolt = <3075000>; 341 + }; 342 + 343 + pm8226_l21: l21 { 344 + regulator-min-microvolt = <1800000>; 345 + regulator-max-microvolt = <2950000>; 346 + }; 347 + 348 + pm8226_l22: l22 { 349 + regulator-min-microvolt = <1800000>; 350 + regulator-max-microvolt = <3000000>; 351 + }; 352 + 353 + pm8226_l23: l23 { 354 + regulator-min-microvolt = <1800000>; 355 + regulator-max-microvolt = <3300000>; 356 + }; 357 + 358 + pm8226_l24: l24 { 359 + regulator-min-microvolt = <1300000>; 360 + regulator-max-microvolt = <1350000>; 361 + }; 362 + 363 + pm8226_l25: l25 { 364 + regulator-min-microvolt = <1775000>; 365 + regulator-max-microvolt = <2125000>; 366 + }; 367 + 368 + pm8226_l26: l26 { 369 + regulator-min-microvolt = <1225000>; 370 + regulator-max-microvolt = <1300000>; 371 + }; 372 + 373 + pm8226_l27: l27 { 374 + regulator-min-microvolt = <1800000>; 375 + regulator-max-microvolt = <1800000>; 376 + }; 377 + 378 + pm8226_l28: l28 { 379 + regulator-min-microvolt = <1800000>; 380 + regulator-max-microvolt = <2950000>; 381 + }; 382 + 383 + pm8226_lvs1: lvs1 {}; 384 + }; 385 + }; 386 + 387 + &sdhc_1 { 388 + vmmc-supply = <&pm8226_l17>; 389 + vqmmc-supply = <&pm8226_l6>; 390 + 391 + bus-width = <8>; 392 + non-removable; 393 + 394 + status = "okay"; 395 + }; 396 + 397 + &sdhc_2 { 398 + vmmc-supply = <&pm8226_l18>; 399 + vqmmc-supply = <&pm8226_l21>; 400 + 401 + bus-width = <4>; 402 + cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; 403 + 404 + status = "okay"; 405 + }; 406 + 407 + &tlmm { 408 + accel_int_default_state: accel-int-default-state { 409 + pins = "gpio54"; 410 + function = "gpio"; 411 + drive-strength = <2>; 412 + bias-disable; 413 + }; 414 + 415 + muic_int_default_state: muic-int-default-state { 416 + pins = "gpio67"; 417 + function = "gpio"; 418 + drive-strength = <2>; 419 + bias-disable; 420 + }; 421 + 422 + tsp_en_default_state: tsp-en-default-state { 423 + pins = "gpio31"; 424 + function = "gpio"; 425 + drive-strength = <2>; 426 + bias-disable; 427 + }; 428 + 429 + tsp_en1_default_state: tsp-en1-default-state { 430 + pins = "gpio73"; 431 + function = "gpio"; 432 + drive-strength = <2>; 433 + bias-disable; 434 + }; 435 + 436 + tsp_int_rst_default_state: tsp-int-rst-default-state { 437 + pins = "gpio17"; 438 + function = "gpio"; 439 + drive-strength = <10>; 440 + bias-pull-up; 441 + }; 442 + }; 443 + 444 + &usb { 445 + extcon = <&muic>, <&muic>; 446 + status = "okay"; 447 + }; 448 + 449 + &usb_hs_phy { 450 + extcon = <&muic>; 451 + v1p8-supply = <&pm8226_l10>; 452 + v3p3-supply = <&pm8226_l20>; 453 + };
+859 -891
arch/arm/boot/dts/qcom-apq8060-dragonboard.dts
··· 81 81 pinctrl-names = "default"; 82 82 pinctrl-0 = <&dragon_cm3605_gpios>, <&dragon_cm3605_mpps>; 83 83 }; 84 + }; 84 85 85 - soc { 86 - pinctrl@800000 { 87 - /* eMMC pins, all 8 data lines connected */ 88 - dragon_sdcc1_pins: sdcc1 { 89 - mux { 90 - pins = "gpio159", "gpio160", "gpio161", 91 - "gpio162", "gpio163", "gpio164", 92 - "gpio165", "gpio166", "gpio167", 93 - "gpio168"; 94 - function = "sdc1"; 95 - }; 96 - clk { 97 - pins = "gpio167"; /* SDC1 CLK */ 98 - drive-strength = <16>; 99 - bias-disable; 100 - }; 101 - cmd { 102 - pins = "gpio168"; /* SDC1 CMD */ 103 - drive-strength = <10>; 104 - bias-pull-up; 105 - }; 106 - data { 107 - /* SDC1 D0 to D7 */ 108 - pins = "gpio159", "gpio160", "gpio161", "gpio162", 109 - "gpio163", "gpio164", "gpio165", "gpio166"; 110 - drive-strength = <10>; 111 - bias-pull-up; 112 - }; 113 - }; 86 + &ebi2 { 87 + /* The EBI2 will instantiate first, then populate its children */ 88 + pinctrl-names = "default"; 89 + pinctrl-0 = <&dragon_ebi2_pins>; 90 + status = "okay"; 114 91 115 - /* 116 - * The SDCC3 pins are hardcoded (non-muxable) but need some pin 117 - * configuration. 118 - */ 119 - dragon_sdcc3_pins: sdcc3 { 120 - clk { 121 - pins = "sdc3_clk"; 122 - drive-strength = <8>; 123 - bias-disable; 124 - }; 125 - cmd { 126 - pins = "sdc3_cmd"; 127 - drive-strength = <8>; 128 - bias-pull-up; 129 - }; 130 - data { 131 - pins = "sdc3_data"; 132 - drive-strength = <8>; 133 - bias-pull-up; 134 - }; 135 - }; 92 + /* 93 + * An on-board SMSC LAN9221 chip for "debug ethernet", 94 + * which is actually just an ordinary ethernet on the 95 + * EBI2. This has a 25MHz chrystal next to it, so no 96 + * clocking is needed. 97 + */ 98 + ethernet@2,0 { 99 + compatible = "smsc,lan9221", "smsc,lan9115"; 100 + reg = <2 0x0 0x100>; 101 + /* 102 + * The second interrupt is the PME interrupt 103 + * for network wakeup, connected to the TLMM. 104 + */ 105 + interrupts-extended = <&pm8058_gpio 7 IRQ_TYPE_EDGE_FALLING>, 106 + <&tlmm 29 IRQ_TYPE_EDGE_RISING>; 107 + reset-gpios = <&tlmm 30 GPIO_ACTIVE_LOW>; 108 + vdd33a-supply = <&dragon_veth>; 109 + vddvario-supply = <&dragon_vario>; 110 + pinctrl-names = "default"; 111 + pinctrl-0 = <&dragon_ethernet_gpios>; 112 + phy-mode = "mii"; 113 + reg-io-width = <2>; 114 + smsc,force-external-phy; 115 + smsc,irq-push-pull; 136 116 137 - /* Second SD card slot pins */ 138 - dragon_sdcc5_pins: sdcc5 { 139 - mux { 140 - pins = "gpio95", "gpio96", "gpio97", 141 - "gpio98", "gpio99", "gpio100"; 142 - function = "sdc5"; 143 - }; 144 - clk { 145 - pins = "gpio97"; /* SDC5 CLK */ 146 - drive-strength = <16>; 147 - bias-disable; 148 - }; 149 - cmd { 150 - pins = "gpio95"; /* SDC5 CMD */ 151 - drive-strength = <10>; 152 - bias-pull-up; 153 - }; 154 - data { 155 - /* SDC5 D0 to D3 */ 156 - pins = "gpio96", "gpio98", "gpio99", "gpio100"; 157 - drive-strength = <10>; 158 - bias-pull-up; 159 - }; 160 - }; 117 + /* 118 + * SLOW chipselect config 119 + * Delay 9 cycles (140ns@64MHz) between SMSC 120 + * LAN9221 Ethernet controller reads and writes 121 + * on CS2. 122 + */ 123 + qcom,xmem-recovery-cycles = <0>; 124 + qcom,xmem-write-hold-cycles = <3>; 125 + qcom,xmem-write-delta-cycles = <31>; 126 + qcom,xmem-read-delta-cycles = <28>; 127 + qcom,xmem-write-wait-cycles = <9>; 128 + qcom,xmem-read-wait-cycles = <9>; 129 + }; 130 + }; 161 131 162 - dragon_gsbi3_i2c_pins: gsbi3_i2c { 163 - mux { 164 - pins = "gpio43", "gpio44"; 165 - function = "gsbi3"; 166 - }; 167 - pinconf { 168 - pins = "gpio43", "gpio44"; 169 - drive-strength = <8>; 170 - /* These have external pull-up 2.2kOhm to 1.8V */ 171 - bias-disable; 172 - }; 173 - }; 132 + &gsbi3 { 133 + qcom,mode = <GSBI_PROT_I2C>; 134 + status = "okay"; 135 + }; 174 136 175 - dragon_gsbi8_i2c_pins: gsbi8_i2c { 176 - mux { 177 - pins = "gpio64", "gpio65"; 178 - function = "gsbi8"; 179 - }; 180 - pinconf { 181 - pins = "gpio64", "gpio65"; 182 - drive-strength = <16>; 183 - /* These have external pull-up 2.2kOhm to 1.8V */ 184 - bias-disable; 185 - }; 186 - }; 137 + &gsbi3_i2c { 138 + pinctrl-names = "default"; 139 + pinctrl-0 = <&dragon_gsbi3_i2c_pins>; 140 + status = "okay"; 187 141 188 - dragon_gsbi12_i2c_pins: gsbi12_i2c { 189 - mux { 190 - pins = "gpio115", "gpio116"; 191 - function = "gsbi12"; 192 - }; 193 - pinconf { 194 - pins = "gpio115", "gpio116"; 195 - drive-strength = <16>; 196 - /* These have external pull-up 4.7kOhm to 1.8V */ 197 - bias-disable; 198 - }; 199 - }; 142 + touchscreen@24 { 143 + compatible = "cypress,cy8ctma340"; 144 + reg = <0x24>; 145 + /* Certainly we can do at least 400 kHz */ 146 + clock-frequency = <400000>; 147 + /* IRQ on GPIO61 called /CTP_INT */ 148 + interrupt-parent = <&tlmm>; 149 + interrupts = <61 IRQ_TYPE_EDGE_FALLING>; 150 + /* 151 + * The I2C bus is using a PCA9306 level translator from L16A 152 + * to L2B so these two voltages are needed and L16A is 153 + * kind of the IO voltage, however L16Aisn't really fed to 154 + * the TMA340, which relies entirely on L2B (PM8901 L2). 155 + */ 156 + vcpin-supply = <&pm8058_l16>; 157 + vdd-supply = <&pm8901_l2>; 158 + /* GPIO58, called WAKE_CTP */ 159 + reset-gpios = <&tlmm 58 GPIO_ACTIVE_LOW>; 160 + touchscreen-size-x = <480>; 161 + touchscreen-size-y = <800>; 162 + active-interval-ms = <0>; 163 + touch-timeout-ms = <255>; 164 + lowpower-interval-ms = <10>; 165 + bootloader-key = /bits/ 8 <0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07>; 166 + pinctrl-names = "default"; 167 + pinctrl-0 = <&dragon_tma340_gpios>; 168 + }; 169 + }; 200 170 201 - /* Primary serial port uart 0 pins */ 202 - dragon_gsbi12_serial_pins: gsbi12_serial { 203 - mux { 204 - pins = "gpio117", "gpio118"; 205 - function = "gsbi12"; 206 - }; 207 - tx { 208 - pins = "gpio117"; 209 - drive-strength = <8>; 210 - bias-disable; 211 - }; 212 - rx { 213 - pins = "gpio118"; 214 - drive-strength = <2>; 215 - bias-pull-up; 216 - }; 217 - }; 171 + &gsbi8 { 172 + qcom,mode = <GSBI_PROT_I2C>; 173 + status = "okay"; 174 + }; 218 175 219 - dragon_ebi2_pins: ebi2 { 220 - /* 221 - * Pins used by EBI2 on the Dragonboard, actually only 222 - * CS2 is used by a real peripheral. CS0 is just 223 - * routed to a test point. 224 - */ 225 - mux0 { 226 - pins = 227 - /* "gpio39", CS1A_N this is not good to mux */ 228 - "gpio40", /* CS2A_N */ 229 - "gpio134"; /* CS0_N testpoint TP29 */ 230 - function = "ebi2cs"; 231 - }; 232 - mux1 { 233 - pins = 234 - /* EBI2_ADDR_7 downto EBI2_ADDR_0 address bus */ 235 - "gpio123", "gpio124", "gpio125", "gpio126", 236 - "gpio127", "gpio128", "gpio129", "gpio130", 237 - /* EBI2_DATA_15 downto EBI2_DATA_0 data bus */ 238 - "gpio135", "gpio136", "gpio137", "gpio138", 239 - "gpio139", "gpio140", "gpio141", "gpio142", 240 - "gpio143", "gpio144", "gpio145", "gpio146", 241 - "gpio147", "gpio148", "gpio149", "gpio150", 242 - "gpio151", /* EBI2_OE_N */ 243 - "gpio153", /* EBI2_ADV */ 244 - "gpio157"; /* EBI2_WE_N */ 245 - function = "ebi2"; 246 - }; 247 - }; 176 + &gsbi8_i2c { 177 + pinctrl-names = "default"; 178 + pinctrl-0 = <&dragon_gsbi8_i2c_pins>; 179 + status = "okay"; 248 180 249 - /* Interrupt line for the KXSD9 accelerometer */ 250 - dragon_kxsd9_gpios: kxsd9 { 251 - irq { 252 - pins = "gpio57"; /* IRQ line */ 253 - bias-pull-up; 254 - }; 255 - }; 181 + eeprom@52 { 182 + /* A 16KiB Platform ID EEPROM on the CPU carrier board */ 183 + compatible = "atmel,24c128"; 184 + reg = <0x52>; 185 + vcc-supply = <&pm8058_s3>; 186 + pagesize = <64>; 187 + }; 188 + wm8903: wm8903@1a { 189 + /* This Woolfson Micro device has an unrouted interrupt line */ 190 + compatible = "wlf,wm8903"; 191 + reg = <0x1a>; 256 192 257 - dragon_tma340_gpios: tma340 { 258 - reset { 259 - /* RESET line, TS_ATTN, WAKE_CTP */ 260 - pins = "gpio58"; 261 - function = "gpio"; 262 - drive-strength = <6>; 263 - bias-disable; 264 - }; 265 - irq { 266 - pins = "gpio61"; /* IRQ line */ 267 - function = "gpio"; 268 - drive-strength = <2>; 269 - bias-pull-up; 270 - }; 193 + AVDD-supply = <&pm8058_l16>; 194 + CPVDD-supply = <&pm8058_l16>; 195 + DBVDD-supply = <&pm8058_s3>; 196 + DCVDD-supply = <&pm8058_l0>; 197 + 198 + gpio-controller; 199 + #gpio-cells = <2>; 200 + 201 + micdet-cfg = <0>; 202 + micdet-delay = <100>; 203 + gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>; 204 + }; 205 + }; 206 + 207 + &gsbi12 { 208 + qcom,mode = <GSBI_PROT_I2C_UART>; 209 + status = "okay"; 210 + }; 211 + 212 + &gsbi12_serial { 213 + pinctrl-names = "default"; 214 + pinctrl-0 = <&dragon_gsbi12_serial_pins>; 215 + status = "okay"; 216 + }; 217 + 218 + &gsbi12_i2c { 219 + pinctrl-names = "default"; 220 + pinctrl-0 = <&dragon_gsbi12_i2c_pins>; 221 + status = "okay"; 222 + 223 + ak8975@c { 224 + compatible = "asahi-kasei,ak8975"; 225 + reg = <0x0c>; 226 + interrupt-parent = <&pm8058_gpio>; 227 + interrupts = <33 IRQ_TYPE_EDGE_RISING>; 228 + pinctrl-names = "default"; 229 + pinctrl-0 = <&dragon_ak8975_gpios>; 230 + vid-supply = <&pm8058_lvs0>; // 1.8V 231 + vdd-supply = <&pm8058_l14>; // 2.85V 232 + }; 233 + bmp085@77 { 234 + compatible = "bosch,bmp085"; 235 + reg = <0x77>; 236 + interrupt-parent = <&pm8058_gpio>; 237 + interrupts = <16 IRQ_TYPE_EDGE_RISING>; 238 + reset-gpios = <&tlmm 86 GPIO_ACTIVE_LOW>; 239 + pinctrl-names = "default"; 240 + pinctrl-0 = <&dragon_bmp085_gpios>; 241 + vddd-supply = <&pm8058_lvs0>; // 1.8V 242 + vdda-supply = <&pm8058_l14>; // 2.85V 243 + }; 244 + mpu3050@68 { 245 + compatible = "invensense,mpu3050"; 246 + reg = <0x68>; 247 + /* 248 + * GPIO17 is pulled high by a 10k 249 + * resistor to VLOGIC so needs to be 250 + * active low/falling edge. 251 + */ 252 + interrupts-extended = <&pm8058_gpio 17 IRQ_TYPE_EDGE_FALLING>; 253 + pinctrl-names = "default"; 254 + pinctrl-0 = <&dragon_mpu3050_gpios>; 255 + vlogic-supply = <&pm8058_lvs0>; // 1.8V 256 + vdd-supply = <&pm8058_l14>; // 2.85V 257 + 258 + /* 259 + * The MPU-3050 acts as a hub for the 260 + * accelerometer. 261 + */ 262 + i2c-gate { 263 + #address-cells = <1>; 264 + #size-cells = <0>; 265 + 266 + kxsd9@18 { 267 + compatible = "kionix,kxsd9"; 268 + reg = <0x18>; 269 + interrupt-parent = <&tlmm>; 270 + interrupts = <57 IRQ_TYPE_EDGE_FALLING>; 271 + pinctrl-names = "default"; 272 + pinctrl-0 = <&dragon_kxsd9_gpios>; 273 + iovdd-supply = <&pm8058_lvs0>; // 1.8V 274 + vdd-supply = <&pm8058_l14>; // 2.85V 271 275 }; 272 276 }; 277 + }; 278 + }; 273 279 274 - qcom,ssbi@500000 { 275 - pmic@0 { 276 - keypad@148 { 277 - linux,keymap = < 278 - MATRIX_KEY(0, 0, KEY_MENU) 279 - MATRIX_KEY(0, 2, KEY_1) 280 - MATRIX_KEY(0, 3, KEY_4) 281 - MATRIX_KEY(0, 4, KEY_7) 282 - MATRIX_KEY(1, 0, KEY_UP) 283 - MATRIX_KEY(1, 1, KEY_LEFT) 284 - MATRIX_KEY(1, 2, KEY_DOWN) 285 - MATRIX_KEY(1, 3, KEY_5) 286 - MATRIX_KEY(1, 3, KEY_8) 287 - MATRIX_KEY(2, 0, KEY_HOME) 288 - MATRIX_KEY(2, 1, KEY_REPLY) 289 - MATRIX_KEY(2, 2, KEY_2) 290 - MATRIX_KEY(2, 3, KEY_6) 291 - MATRIX_KEY(3, 0, KEY_VOLUMEUP) 292 - MATRIX_KEY(3, 1, KEY_RIGHT) 293 - MATRIX_KEY(3, 2, KEY_3) 294 - MATRIX_KEY(3, 3, KEY_9) 295 - MATRIX_KEY(3, 4, KEY_SWITCHVIDEOMODE) 296 - MATRIX_KEY(4, 0, KEY_VOLUMEDOWN) 297 - MATRIX_KEY(4, 1, KEY_BACK) 298 - MATRIX_KEY(4, 2, KEY_CAMERA) 299 - MATRIX_KEY(4, 3, KEY_KBDILLUMTOGGLE) 300 - >; 301 - keypad,num-rows = <6>; 302 - keypad,num-columns = <5>; 303 - }; 280 + &pm8058_gpio { 281 + dragon_ethernet_gpios: ethernet-state { 282 + pinconf { 283 + pins = "gpio7"; 284 + function = "normal"; 285 + input-enable; 286 + bias-disable; 287 + power-source = <PM8058_GPIO_S3>; 288 + }; 289 + }; 290 + dragon_bmp085_gpios: bmp085-state { 291 + pinconf { 292 + pins = "gpio16"; 293 + function = "normal"; 294 + input-enable; 295 + bias-disable; 296 + power-source = <PM8058_GPIO_S3>; 297 + }; 298 + }; 299 + dragon_mpu3050_gpios: mpu3050-state { 300 + pinconf { 301 + pins = "gpio17"; 302 + function = "normal"; 303 + input-enable; 304 + bias-disable; 305 + power-source = <PM8058_GPIO_S3>; 306 + }; 307 + }; 308 + dragon_sdcc3_gpios: sdcc3-state { 309 + pinconf { 310 + pins = "gpio22"; 311 + function = "normal"; 312 + input-enable; 313 + bias-disable; 314 + power-source = <PM8058_GPIO_S3>; 315 + }; 316 + }; 317 + dragon_sdcc5_gpios: sdcc5-state { 318 + pinconf { 319 + pins = "gpio26"; 320 + function = "normal"; 321 + input-enable; 322 + bias-pull-up; 323 + qcom,pull-up-strength = <PMIC_GPIO_PULL_UP_30>; 324 + power-source = <PM8058_GPIO_S3>; 325 + }; 326 + }; 327 + dragon_ak8975_gpios: ak8975-state { 328 + pinconf { 329 + pins = "gpio33"; 330 + function = "normal"; 331 + input-enable; 332 + bias-disable; 333 + power-source = <PM8058_GPIO_S3>; 334 + }; 335 + }; 336 + dragon_cm3605_gpios: cm3605-state { 337 + /* Pin 34 connected to the proxy IRQ */ 338 + gpio34-pins { 339 + pins = "gpio34"; 340 + function = "normal"; 341 + input-enable; 342 + bias-disable; 343 + power-source = <PM8058_GPIO_S3>; 344 + }; 345 + /* Pin 35 connected to ASET */ 346 + gpio35-pins { 347 + pins = "gpio35"; 348 + function = "normal"; 349 + output-high; 350 + bias-disable; 351 + power-source = <PM8058_GPIO_S3>; 352 + }; 353 + }; 354 + dragon_veth_gpios: veth-state { 355 + pinconf { 356 + pins = "gpio40"; 357 + function = "normal"; 358 + bias-disable; 359 + drive-push-pull; 360 + }; 361 + }; 362 + }; 304 363 305 - gpio@150 { 306 - dragon_ethernet_gpios: ethernet-state { 307 - pinconf { 308 - pins = "gpio7"; 309 - function = "normal"; 310 - input-enable; 311 - bias-disable; 312 - power-source = <PM8058_GPIO_S3>; 313 - }; 314 - }; 315 - dragon_bmp085_gpios: bmp085-state { 316 - pinconf { 317 - pins = "gpio16"; 318 - function = "normal"; 319 - input-enable; 320 - bias-disable; 321 - power-source = <PM8058_GPIO_S3>; 322 - }; 323 - }; 324 - dragon_mpu3050_gpios: mpu3050-state { 325 - pinconf { 326 - pins = "gpio17"; 327 - function = "normal"; 328 - input-enable; 329 - bias-disable; 330 - power-source = <PM8058_GPIO_S3>; 331 - }; 332 - }; 333 - dragon_sdcc3_gpios: sdcc3-state { 334 - pinconf { 335 - pins = "gpio22"; 336 - function = "normal"; 337 - input-enable; 338 - bias-disable; 339 - power-source = <PM8058_GPIO_S3>; 340 - }; 341 - }; 342 - dragon_sdcc5_gpios: sdcc5-state { 343 - pinconf { 344 - pins = "gpio26"; 345 - function = "normal"; 346 - input-enable; 347 - bias-pull-up; 348 - qcom,pull-up-strength = <PMIC_GPIO_PULL_UP_30>; 349 - power-source = <PM8058_GPIO_S3>; 350 - }; 351 - }; 352 - dragon_ak8975_gpios: ak8975-state { 353 - pinconf { 354 - pins = "gpio33"; 355 - function = "normal"; 356 - input-enable; 357 - bias-disable; 358 - power-source = <PM8058_GPIO_S3>; 359 - }; 360 - }; 361 - dragon_cm3605_gpios: cm3605-state { 362 - /* Pin 34 connected to the proxy IRQ */ 363 - gpio34-pins { 364 - pins = "gpio34"; 365 - function = "normal"; 366 - input-enable; 367 - bias-disable; 368 - power-source = <PM8058_GPIO_S3>; 369 - }; 370 - /* Pin 35 connected to ASET */ 371 - gpio35-pins { 372 - pins = "gpio35"; 373 - function = "normal"; 374 - output-high; 375 - bias-disable; 376 - power-source = <PM8058_GPIO_S3>; 377 - }; 378 - }; 379 - dragon_veth_gpios: veth-state { 380 - pinconf { 381 - pins = "gpio40"; 382 - function = "normal"; 383 - bias-disable; 384 - drive-push-pull; 385 - }; 386 - }; 387 - }; 364 + &pm8058_keypad { 365 + linux,keymap = < 366 + MATRIX_KEY(0, 0, KEY_MENU) 367 + MATRIX_KEY(0, 2, KEY_1) 368 + MATRIX_KEY(0, 3, KEY_4) 369 + MATRIX_KEY(0, 4, KEY_7) 370 + MATRIX_KEY(1, 0, KEY_UP) 371 + MATRIX_KEY(1, 1, KEY_LEFT) 372 + MATRIX_KEY(1, 2, KEY_DOWN) 373 + MATRIX_KEY(1, 3, KEY_5) 374 + MATRIX_KEY(1, 3, KEY_8) 375 + MATRIX_KEY(2, 0, KEY_HOME) 376 + MATRIX_KEY(2, 1, KEY_REPLY) 377 + MATRIX_KEY(2, 2, KEY_2) 378 + MATRIX_KEY(2, 3, KEY_6) 379 + MATRIX_KEY(3, 0, KEY_VOLUMEUP) 380 + MATRIX_KEY(3, 1, KEY_RIGHT) 381 + MATRIX_KEY(3, 2, KEY_3) 382 + MATRIX_KEY(3, 3, KEY_9) 383 + MATRIX_KEY(3, 4, KEY_SWITCHVIDEOMODE) 384 + MATRIX_KEY(4, 0, KEY_VOLUMEDOWN) 385 + MATRIX_KEY(4, 1, KEY_BACK) 386 + MATRIX_KEY(4, 2, KEY_CAMERA) 387 + MATRIX_KEY(4, 3, KEY_KBDILLUMTOGGLE) 388 + >; 389 + keypad,num-rows = <6>; 390 + keypad,num-columns = <5>; 391 + }; 388 392 389 - mpps@50 { 390 - dragon_cm3605_mpps: cm3605-mpps-state { 391 - mpp5 { 392 - pins = "mpp5"; 393 - function = "analog"; 394 - input-enable; 395 - bias-high-impedance; 396 - /* Let's use channel 5 */ 397 - qcom,amux-route = <PMIC_MPP_AMUX_ROUTE_CH5>; 398 - power-source = <PM8058_GPIO_S3>; 399 - }; 400 - }; 401 - }; 393 + &pm8058_led48 { 394 + /* 395 + * The keypad LED @0x48 is routed to 396 + * the sensor board where it is 397 + * connected to an infrared LED 398 + * SFH4650 (60mW, @850nm) next to the 399 + * ambient light and proximity sensor 400 + * Capella Microsystems CM3605. 401 + */ 402 + label = "pm8058:infrared:proximitysensor"; 403 + default-state = "off"; 404 + linux,default-trigger = "cm3605"; 405 + status = "okay"; 406 + }; 402 407 403 - xoadc@197 { 404 - /* Reference voltage 2.2 V */ 405 - xoadc-ref-supply = <&pm8058_l18>; 408 + &pm8058_led131 { 409 + label = "pm8058:red"; 410 + color = <LED_COLOR_ID_RED>; 411 + default-state = "off"; 412 + status = "okay"; 413 + }; 406 414 407 - /* Board-specific channels */ 408 - mpp5@5 { 409 - /* Connected to AOUT of ALS sensor */ 410 - reg = <0x00 0x05>; 411 - }; 412 - mpp6@6 { 413 - /* Connected to test point TP43 */ 414 - reg = <0x00 0x06>; 415 - }; 416 - mpp7@7 { 417 - /* Connected to battery thermistor */ 418 - reg = <0x00 0x07>; 419 - }; 420 - mpp8@8 { 421 - /* Connected to battery ID detector */ 422 - reg = <0x00 0x08>; 423 - }; 424 - mpp9@9 { 425 - /* Connected to XO thermistor */ 426 - reg = <0x00 0x09>; 427 - }; 428 - }; 415 + &pm8058_led132 { 416 + /* 417 + * This is actually green too on my 418 + * board, but documented as yellow. 419 + */ 420 + label = "pm8058:yellow"; 421 + color = <LED_COLOR_ID_YELLOW>; 422 + default-state = "off"; 423 + linux,default-trigger = "mmc0"; 424 + status = "okay"; 425 + }; 429 426 430 - led@48 { 431 - /* 432 - * The keypad LED @0x48 is routed to 433 - * the sensor board where it is 434 - * connected to an infrared LED 435 - * SFH4650 (60mW, @850nm) next to the 436 - * ambient light and proximity sensor 437 - * Capella Microsystems CM3605. 438 - */ 439 - compatible = "qcom,pm8058-keypad-led"; 440 - reg = <0x48>; 441 - label = "pm8058:infrared:proximitysensor"; 442 - default-state = "off"; 443 - linux,default-trigger = "cm3605"; 444 - }; 445 - led@131 { 446 - compatible = "qcom,pm8058-led"; 447 - reg = <0x131>; 448 - label = "pm8058:red"; 449 - color = <LED_COLOR_ID_RED>; 450 - default-state = "off"; 451 - }; 452 - led@132 { 453 - /* 454 - * This is actually green too on my 455 - * board, but documented as yellow. 456 - */ 457 - compatible = "qcom,pm8058-led"; 458 - reg = <0x132>; 459 - label = "pm8058:yellow"; 460 - color = <LED_COLOR_ID_YELLOW>; 461 - default-state = "off"; 462 - linux,default-trigger = "mmc0"; 463 - }; 464 - led@133 { 465 - compatible = "qcom,pm8058-led"; 466 - reg = <0x133>; 467 - label = "pm8058:green"; 468 - function = LED_FUNCTION_HEARTBEAT; 469 - color = <LED_COLOR_ID_GREEN>; 470 - default-state = "on"; 471 - linux,default-trigger = "heartbeat"; 472 - }; 473 - }; 427 + &pm8058_led133 { 428 + label = "pm8058:green"; 429 + function = LED_FUNCTION_HEARTBEAT; 430 + color = <LED_COLOR_ID_GREEN>; 431 + default-state = "on"; 432 + linux,default-trigger = "heartbeat"; 433 + status = "okay"; 434 + }; 435 + 436 + &pm8058_mpps { 437 + dragon_cm3605_mpps: cm3605-mpps-state { 438 + mpp5 { 439 + pins = "mpp5"; 440 + function = "analog"; 441 + input-enable; 442 + bias-high-impedance; 443 + /* Let's use channel 5 */ 444 + qcom,amux-route = <PMIC_MPP_AMUX_ROUTE_CH5>; 445 + power-source = <PM8058_GPIO_S3>; 446 + }; 447 + }; 448 + }; 449 + 450 + &rpm { 451 + /* 452 + * Set up of the PMIC RPM regulators for this board 453 + * PM8901 supplies "preliminary regulators" whatever 454 + * that means 455 + */ 456 + pm8901-regulators { 457 + vdd_l0-supply = <&pm8901_s4>; 458 + vdd_l1-supply = <&vph>; 459 + vdd_l2-supply = <&vph>; 460 + vdd_l3-supply = <&vph>; 461 + vdd_l4-supply = <&vph>; 462 + vdd_l5-supply = <&vph>; 463 + vdd_l6-supply = <&vph>; 464 + /* vdd_s0-supply, vdd_s1-supply: SAW regulators */ 465 + vdd_s2-supply = <&vph>; 466 + vdd_s3-supply = <&vph>; 467 + vdd_s4-supply = <&vph>; 468 + lvs0_in-supply = <&pm8058_s3>; 469 + lvs1_in-supply = <&pm8901_s4>; 470 + lvs2_in-supply = <&pm8058_l0>; 471 + lvs3_in-supply = <&pm8058_s2>; 472 + mvs_in-supply = <&pm8058_s3>; 473 + 474 + l0 { 475 + regulator-min-microvolt = <1200000>; 476 + regulator-max-microvolt = <1200000>; 477 + bias-pull-down; 478 + }; 479 + l1 { 480 + regulator-min-microvolt = <3300000>; 481 + regulator-max-microvolt = <3300000>; 482 + bias-pull-down; 483 + }; 484 + l2 { 485 + /* TMA340 requires strictly 3.3V */ 486 + regulator-min-microvolt = <3300000>; 487 + regulator-max-microvolt = <3300000>; 488 + bias-pull-down; 489 + }; 490 + l3 { 491 + regulator-min-microvolt = <3300000>; 492 + regulator-max-microvolt = <3300000>; 493 + bias-pull-down; 494 + }; 495 + l4 { 496 + regulator-min-microvolt = <2600000>; 497 + regulator-max-microvolt = <2600000>; 498 + bias-pull-down; 499 + }; 500 + l5 { 501 + regulator-min-microvolt = <2850000>; 502 + regulator-max-microvolt = <2850000>; 503 + bias-pull-down; 504 + }; 505 + l6 { 506 + regulator-min-microvolt = <2200000>; 507 + regulator-max-microvolt = <2200000>; 508 + bias-pull-down; 474 509 }; 475 510 476 - gsbi@16200000 { 477 - qcom,mode = <GSBI_PROT_I2C>; 478 - status = "okay"; 479 - 480 - gsbi3_i2c: i2c@16280000 { 481 - pinctrl-names = "default"; 482 - pinctrl-0 = <&dragon_gsbi3_i2c_pins>; 483 - status = "okay"; 484 - 485 - touchscreen@24 { 486 - compatible = "cypress,cy8ctma340"; 487 - reg = <0x24>; 488 - /* Certainly we can do at least 400 kHz */ 489 - clock-frequency = <400000>; 490 - /* IRQ on GPIO61 called /CTP_INT */ 491 - interrupt-parent = <&tlmm>; 492 - interrupts = <61 IRQ_TYPE_EDGE_FALLING>; 493 - /* 494 - * The I2C bus is using a PCA9306 level translator from L16A 495 - * to L2B so these two voltages are needed and L16A is 496 - * kind of the IO voltage, however L16Aisn't really fed to 497 - * the TMA340, which relies entirely on L2B (PM8901 L2). 498 - */ 499 - vcpin-supply = <&pm8058_l16>; 500 - vdd-supply = <&pm8901_l2>; 501 - /* GPIO58, called WAKE_CTP */ 502 - reset-gpios = <&tlmm 58 GPIO_ACTIVE_LOW>; 503 - touchscreen-size-x = <480>; 504 - touchscreen-size-y = <800>; 505 - active-interval-ms = <0>; 506 - touch-timeout-ms = <255>; 507 - lowpower-interval-ms = <10>; 508 - bootloader-key = /bits/ 8 <0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07>; 509 - pinctrl-names = "default"; 510 - pinctrl-0 = <&dragon_tma340_gpios>; 511 - }; 512 - }; 511 + /* s0 and s1 are SAW regulators controlled over SPM */ 512 + s2 { 513 + regulator-min-microvolt = <1300000>; 514 + regulator-max-microvolt = <1300000>; 515 + qcom,switch-mode-frequency = <1600000>; 516 + bias-pull-down; 517 + }; 518 + s3 { 519 + regulator-min-microvolt = <1100000>; 520 + regulator-max-microvolt = <1100000>; 521 + qcom,switch-mode-frequency = <1600000>; 522 + bias-pull-down; 523 + }; 524 + s4 { 525 + regulator-min-microvolt = <1225000>; 526 + regulator-max-microvolt = <1225000>; 527 + qcom,switch-mode-frequency = <1600000>; 528 + bias-pull-down; 513 529 }; 514 530 515 - gsbi@19800000 { 516 - status = "okay"; 517 - qcom,mode = <GSBI_PROT_I2C>; 531 + /* LVS0 thru 3 and mvs are just switches */ 532 + lvs0 { 533 + regulator-always-on; 534 + }; 535 + lvs1 { }; 536 + lvs2 { }; 537 + lvs3 { }; 538 + mvs { }; 518 539 519 - i2c@19880000 { 520 - status = "okay"; 521 - pinctrl-names = "default"; 522 - pinctrl-0 = <&dragon_gsbi8_i2c_pins>; 540 + }; 523 541 524 - eeprom@52 { 525 - /* A 16KiB Platform ID EEPROM on the CPU carrier board */ 526 - compatible = "atmel,24c128"; 527 - reg = <0x52>; 528 - vcc-supply = <&pm8058_s3>; 529 - pagesize = <64>; 530 - }; 531 - wm8903: wm8903@1a { 532 - /* This Woolfson Micro device has an unrouted interrupt line */ 533 - compatible = "wlf,wm8903"; 534 - reg = <0x1a>; 542 + pm8058-regulators { 543 + vdd_l0_l1_lvs-supply = <&pm8058_s3>; 544 + vdd_l2_l11_l12-supply = <&vph>; 545 + vdd_l3_l4_l5-supply = <&vph>; 546 + vdd_l6_l7-supply = <&vph>; 547 + vdd_l8-supply = <&vph>; 548 + vdd_l9-supply = <&vph>; 549 + vdd_l10-supply = <&vph>; 550 + vdd_l13_l16-supply = <&pm8058_s4>; 551 + vdd_l14_l15-supply = <&vph>; 552 + vdd_l17_l18-supply = <&vph>; 553 + vdd_l19_l20-supply = <&vph>; 554 + vdd_l21-supply = <&pm8058_s3>; 555 + vdd_l22-supply = <&pm8058_s3>; 556 + vdd_l23_l24_l25-supply = <&pm8058_s3>; 557 + vdd_s0-supply = <&vph>; 558 + vdd_s1-supply = <&vph>; 559 + vdd_s2-supply = <&vph>; 560 + vdd_s3-supply = <&vph>; 561 + vdd_s4-supply = <&vph>; 562 + vdd_ncp-supply = <&vph>; 535 563 536 - AVDD-supply = <&pm8058_l16>; 537 - CPVDD-supply = <&pm8058_l16>; 538 - DBVDD-supply = <&pm8058_s3>; 539 - DCVDD-supply = <&pm8058_l0>; 540 - 541 - gpio-controller; 542 - #gpio-cells = <2>; 543 - 544 - micdet-cfg = <0>; 545 - micdet-delay = <100>; 546 - gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>; 547 - }; 548 - }; 564 + l0 { 565 + regulator-min-microvolt = <1200000>; 566 + regulator-max-microvolt = <1200000>; 567 + bias-pull-down; 568 + }; 569 + l1 { 570 + regulator-min-microvolt = <1200000>; 571 + regulator-max-microvolt = <1200000>; 572 + bias-pull-down; 573 + }; 574 + l2 { 575 + regulator-min-microvolt = <1800000>; 576 + regulator-max-microvolt = <2600000>; 577 + bias-pull-down; 578 + }; 579 + l3 { 580 + regulator-min-microvolt = <1800000>; 581 + regulator-max-microvolt = <1800000>; 582 + bias-pull-down; 583 + }; 584 + l4 { 585 + regulator-min-microvolt = <2850000>; 586 + regulator-max-microvolt = <2850000>; 587 + bias-pull-down; 588 + }; 589 + l5 { 590 + regulator-min-microvolt = <2850000>; 591 + regulator-max-microvolt = <2850000>; 592 + bias-pull-down; 593 + }; 594 + l6 { 595 + regulator-min-microvolt = <3000000>; 596 + regulator-max-microvolt = <3600000>; 597 + bias-pull-down; 598 + }; 599 + l7 { 600 + regulator-min-microvolt = <1800000>; 601 + regulator-max-microvolt = <1800000>; 602 + bias-pull-down; 603 + }; 604 + l8 { 605 + regulator-min-microvolt = <2900000>; 606 + regulator-max-microvolt = <3050000>; 607 + bias-pull-down; 608 + }; 609 + l9 { 610 + regulator-min-microvolt = <1800000>; 611 + regulator-max-microvolt = <1800000>; 612 + bias-pull-down; 613 + }; 614 + l10 { 615 + regulator-min-microvolt = <2600000>; 616 + regulator-max-microvolt = <2600000>; 617 + bias-pull-down; 618 + }; 619 + l11 { 620 + regulator-min-microvolt = <1500000>; 621 + regulator-max-microvolt = <1500000>; 622 + bias-pull-down; 623 + }; 624 + l12 { 625 + regulator-min-microvolt = <2900000>; 626 + regulator-max-microvolt = <2900000>; 627 + bias-pull-down; 628 + }; 629 + l13 { 630 + regulator-min-microvolt = <2050000>; 631 + regulator-max-microvolt = <2050000>; 632 + bias-pull-down; 633 + }; 634 + l14 { 635 + regulator-min-microvolt = <2850000>; 636 + regulator-max-microvolt = <2850000>; 637 + }; 638 + l15 { 639 + regulator-min-microvolt = <2850000>; 640 + regulator-max-microvolt = <2850000>; 641 + bias-pull-down; 642 + }; 643 + l16 { 644 + regulator-min-microvolt = <1800000>; 645 + regulator-max-microvolt = <1800000>; 646 + bias-pull-down; 647 + regulator-always-on; 648 + }; 649 + l17 { 650 + // 1.5V according to schematic 651 + regulator-min-microvolt = <2600000>; 652 + regulator-max-microvolt = <2600000>; 653 + bias-pull-down; 654 + }; 655 + l18 { 656 + regulator-min-microvolt = <2200000>; 657 + regulator-max-microvolt = <2200000>; 658 + bias-pull-down; 659 + }; 660 + l19 { 661 + regulator-min-microvolt = <2500000>; 662 + regulator-max-microvolt = <2500000>; 663 + bias-pull-down; 664 + }; 665 + l20 { 666 + regulator-min-microvolt = <1800000>; 667 + regulator-max-microvolt = <1800000>; 668 + bias-pull-down; 669 + }; 670 + l21 { 671 + // 1.1 V according to schematic 672 + regulator-min-microvolt = <1200000>; 673 + regulator-max-microvolt = <1200000>; 674 + bias-pull-down; 675 + regulator-always-on; 676 + }; 677 + l22 { 678 + // 1.2 V according to schematic 679 + regulator-min-microvolt = <1150000>; 680 + regulator-max-microvolt = <1150000>; 681 + bias-pull-down; 682 + }; 683 + l23 { 684 + // Unused 685 + regulator-min-microvolt = <1200000>; 686 + regulator-max-microvolt = <1200000>; 687 + bias-pull-down; 688 + }; 689 + l24 { 690 + // Unused 691 + regulator-min-microvolt = <1200000>; 692 + regulator-max-microvolt = <1200000>; 693 + bias-pull-down; 694 + }; 695 + l25 { 696 + regulator-min-microvolt = <1200000>; 697 + regulator-max-microvolt = <1200000>; 698 + bias-pull-down; 549 699 }; 550 700 551 - gsbi@19c00000 { 552 - status = "okay"; 553 - qcom,mode = <GSBI_PROT_I2C_UART>; 554 - 555 - serial@19c40000 { 556 - status = "okay"; 557 - pinctrl-names = "default"; 558 - pinctrl-0 = <&dragon_gsbi12_serial_pins>; 559 - }; 560 - 561 - i2c@19c80000 { 562 - status = "okay"; 563 - pinctrl-names = "default"; 564 - pinctrl-0 = <&dragon_gsbi12_i2c_pins>; 565 - 566 - ak8975@c { 567 - compatible = "asahi-kasei,ak8975"; 568 - reg = <0x0c>; 569 - interrupt-parent = <&pm8058_gpio>; 570 - interrupts = <33 IRQ_TYPE_EDGE_RISING>; 571 - pinctrl-names = "default"; 572 - pinctrl-0 = <&dragon_ak8975_gpios>; 573 - vid-supply = <&pm8058_lvs0>; // 1.8V 574 - vdd-supply = <&pm8058_l14>; // 2.85V 575 - }; 576 - bmp085@77 { 577 - compatible = "bosch,bmp085"; 578 - reg = <0x77>; 579 - interrupt-parent = <&pm8058_gpio>; 580 - interrupts = <16 IRQ_TYPE_EDGE_RISING>; 581 - reset-gpios = <&tlmm 86 GPIO_ACTIVE_LOW>; 582 - pinctrl-names = "default"; 583 - pinctrl-0 = <&dragon_bmp085_gpios>; 584 - vddd-supply = <&pm8058_lvs0>; // 1.8V 585 - vdda-supply = <&pm8058_l14>; // 2.85V 586 - }; 587 - mpu3050@68 { 588 - compatible = "invensense,mpu3050"; 589 - reg = <0x68>; 590 - /* 591 - * GPIO17 is pulled high by a 10k 592 - * resistor to VLOGIC so needs to be 593 - * active low/falling edge. 594 - */ 595 - interrupts-extended = <&pm8058_gpio 17 IRQ_TYPE_EDGE_FALLING>; 596 - pinctrl-names = "default"; 597 - pinctrl-0 = <&dragon_mpu3050_gpios>; 598 - vlogic-supply = <&pm8058_lvs0>; // 1.8V 599 - vdd-supply = <&pm8058_l14>; // 2.85V 600 - 601 - /* 602 - * The MPU-3050 acts as a hub for the 603 - * accelerometer. 604 - */ 605 - i2c-gate { 606 - #address-cells = <1>; 607 - #size-cells = <0>; 608 - 609 - kxsd9@18 { 610 - compatible = "kionix,kxsd9"; 611 - reg = <0x18>; 612 - interrupt-parent = <&tlmm>; 613 - interrupts = <57 IRQ_TYPE_EDGE_FALLING>; 614 - pinctrl-names = "default"; 615 - pinctrl-0 = <&dragon_kxsd9_gpios>; 616 - iovdd-supply = <&pm8058_lvs0>; // 1.8V 617 - vdd-supply = <&pm8058_l14>; // 2.85V 618 - }; 619 - }; 620 - }; 621 - }; 701 + s0 { 702 + // regulator-min-microvolt = <500000>; 703 + // regulator-max-microvolt = <1325000>; 704 + regulator-min-microvolt = <1100000>; 705 + regulator-max-microvolt = <1100000>; 706 + qcom,switch-mode-frequency = <1600000>; 707 + bias-pull-down; 708 + }; 709 + s1 { 710 + // regulator-min-microvolt = <500000>; 711 + // regulator-max-microvolt = <1250000>; 712 + regulator-min-microvolt = <1100000>; 713 + regulator-max-microvolt = <1100000>; 714 + qcom,switch-mode-frequency = <1600000>; 715 + bias-pull-down; 716 + }; 717 + s2 { 718 + // 1.3 V according to schematic 719 + regulator-min-microvolt = <1200000>; 720 + regulator-max-microvolt = <1400000>; 721 + qcom,switch-mode-frequency = <1600000>; 722 + bias-pull-down; 723 + }; 724 + s3 { 725 + regulator-min-microvolt = <1800000>; 726 + regulator-max-microvolt = <1800000>; 727 + qcom,switch-mode-frequency = <1600000>; 728 + regulator-always-on; 729 + bias-pull-down; 730 + }; 731 + s4 { 732 + regulator-min-microvolt = <2200000>; 733 + regulator-max-microvolt = <2200000>; 734 + qcom,switch-mode-frequency = <1600000>; 735 + regulator-always-on; 736 + bias-pull-down; 622 737 }; 623 738 624 - external-bus@1a100000 { 625 - /* The EBI2 will instantiate first, then populate its children */ 626 - status = "okay"; 627 - pinctrl-names = "default"; 628 - pinctrl-0 = <&dragon_ebi2_pins>; 629 - 630 - /* 631 - * An on-board SMSC LAN9221 chip for "debug ethernet", 632 - * which is actually just an ordinary ethernet on the 633 - * EBI2. This has a 25MHz chrystal next to it, so no 634 - * clocking is needed. 635 - */ 636 - ethernet@2,0 { 637 - compatible = "smsc,lan9221", "smsc,lan9115"; 638 - reg = <2 0x0 0x100>; 639 - /* 640 - * The second interrupt is the PME interrupt 641 - * for network wakeup, connected to the TLMM. 642 - */ 643 - interrupts-extended = <&pm8058_gpio 7 IRQ_TYPE_EDGE_FALLING>, 644 - <&tlmm 29 IRQ_TYPE_EDGE_RISING>; 645 - reset-gpios = <&tlmm 30 GPIO_ACTIVE_LOW>; 646 - vdd33a-supply = <&dragon_veth>; 647 - vddvario-supply = <&dragon_vario>; 648 - pinctrl-names = "default"; 649 - pinctrl-0 = <&dragon_ethernet_gpios>; 650 - phy-mode = "mii"; 651 - reg-io-width = <2>; 652 - smsc,force-external-phy; 653 - smsc,irq-push-pull; 654 - 655 - /* 656 - * SLOW chipselect config 657 - * Delay 9 cycles (140ns@64MHz) between SMSC 658 - * LAN9221 Ethernet controller reads and writes 659 - * on CS2. 660 - */ 661 - qcom,xmem-recovery-cycles = <0>; 662 - qcom,xmem-write-hold-cycles = <3>; 663 - qcom,xmem-write-delta-cycles = <31>; 664 - qcom,xmem-read-delta-cycles = <28>; 665 - qcom,xmem-write-wait-cycles = <9>; 666 - qcom,xmem-read-wait-cycles = <9>; 667 - }; 739 + /* LVS0 and LVS1 are just switches */ 740 + lvs0 { 741 + bias-pull-down; 742 + }; 743 + lvs1 { 744 + bias-pull-down; 668 745 }; 669 746 670 - rpm@104000 { 671 - /* 672 - * Set up of the PMIC RPM regulators for this board 673 - * PM8901 supplies "preliminary regulators" whatever 674 - * that means 675 - */ 676 - pm8901-regulators { 677 - vdd_l0-supply = <&pm8901_s4>; 678 - vdd_l1-supply = <&vph>; 679 - vdd_l2-supply = <&vph>; 680 - vdd_l3-supply = <&vph>; 681 - vdd_l4-supply = <&vph>; 682 - vdd_l5-supply = <&vph>; 683 - vdd_l6-supply = <&vph>; 684 - /* vdd_s0-supply, vdd_s1-supply: SAW regulators */ 685 - vdd_s2-supply = <&vph>; 686 - vdd_s3-supply = <&vph>; 687 - vdd_s4-supply = <&vph>; 688 - lvs0_in-supply = <&pm8058_s3>; 689 - lvs1_in-supply = <&pm8901_s4>; 690 - lvs2_in-supply = <&pm8058_l0>; 691 - lvs3_in-supply = <&pm8058_s2>; 692 - mvs_in-supply = <&pm8058_s3>; 693 - 694 - l0 { 695 - regulator-min-microvolt = <1200000>; 696 - regulator-max-microvolt = <1200000>; 697 - bias-pull-down; 698 - }; 699 - l1 { 700 - regulator-min-microvolt = <3300000>; 701 - regulator-max-microvolt = <3300000>; 702 - bias-pull-down; 703 - }; 704 - l2 { 705 - /* TMA340 requires strictly 3.3V */ 706 - regulator-min-microvolt = <3300000>; 707 - regulator-max-microvolt = <3300000>; 708 - bias-pull-down; 709 - }; 710 - l3 { 711 - regulator-min-microvolt = <3300000>; 712 - regulator-max-microvolt = <3300000>; 713 - bias-pull-down; 714 - }; 715 - l4 { 716 - regulator-min-microvolt = <2600000>; 717 - regulator-max-microvolt = <2600000>; 718 - bias-pull-down; 719 - }; 720 - l5 { 721 - regulator-min-microvolt = <2850000>; 722 - regulator-max-microvolt = <2850000>; 723 - bias-pull-down; 724 - }; 725 - l6 { 726 - regulator-min-microvolt = <2200000>; 727 - regulator-max-microvolt = <2200000>; 728 - bias-pull-down; 729 - }; 730 - 731 - /* s0 and s1 are SAW regulators controlled over SPM */ 732 - s2 { 733 - regulator-min-microvolt = <1300000>; 734 - regulator-max-microvolt = <1300000>; 735 - qcom,switch-mode-frequency = <1600000>; 736 - bias-pull-down; 737 - }; 738 - s3 { 739 - regulator-min-microvolt = <1100000>; 740 - regulator-max-microvolt = <1100000>; 741 - qcom,switch-mode-frequency = <1600000>; 742 - bias-pull-down; 743 - }; 744 - s4 { 745 - regulator-min-microvolt = <1225000>; 746 - regulator-max-microvolt = <1225000>; 747 - qcom,switch-mode-frequency = <1600000>; 748 - bias-pull-down; 749 - }; 750 - 751 - /* LVS0 thru 3 and mvs are just switches */ 752 - lvs0 { 753 - regulator-always-on; 754 - }; 755 - lvs1 { }; 756 - lvs2 { }; 757 - lvs3 { }; 758 - mvs { }; 759 - 760 - }; 761 - 762 - pm8058-regulators { 763 - vdd_l0_l1_lvs-supply = <&pm8058_s3>; 764 - vdd_l2_l11_l12-supply = <&vph>; 765 - vdd_l3_l4_l5-supply = <&vph>; 766 - vdd_l6_l7-supply = <&vph>; 767 - vdd_l8-supply = <&vph>; 768 - vdd_l9-supply = <&vph>; 769 - vdd_l10-supply = <&vph>; 770 - vdd_l13_l16-supply = <&pm8058_s4>; 771 - vdd_l14_l15-supply = <&vph>; 772 - vdd_l17_l18-supply = <&vph>; 773 - vdd_l19_l20-supply = <&vph>; 774 - vdd_l21-supply = <&pm8058_s3>; 775 - vdd_l22-supply = <&pm8058_s3>; 776 - vdd_l23_l24_l25-supply = <&pm8058_s3>; 777 - vdd_s0-supply = <&vph>; 778 - vdd_s1-supply = <&vph>; 779 - vdd_s2-supply = <&vph>; 780 - vdd_s3-supply = <&vph>; 781 - vdd_s4-supply = <&vph>; 782 - vdd_ncp-supply = <&vph>; 783 - 784 - l0 { 785 - regulator-min-microvolt = <1200000>; 786 - regulator-max-microvolt = <1200000>; 787 - bias-pull-down; 788 - }; 789 - l1 { 790 - regulator-min-microvolt = <1200000>; 791 - regulator-max-microvolt = <1200000>; 792 - bias-pull-down; 793 - }; 794 - l2 { 795 - regulator-min-microvolt = <1800000>; 796 - regulator-max-microvolt = <2600000>; 797 - bias-pull-down; 798 - }; 799 - l3 { 800 - regulator-min-microvolt = <1800000>; 801 - regulator-max-microvolt = <1800000>; 802 - bias-pull-down; 803 - }; 804 - l4 { 805 - regulator-min-microvolt = <2850000>; 806 - regulator-max-microvolt = <2850000>; 807 - bias-pull-down; 808 - }; 809 - l5 { 810 - regulator-min-microvolt = <2850000>; 811 - regulator-max-microvolt = <2850000>; 812 - bias-pull-down; 813 - }; 814 - l6 { 815 - regulator-min-microvolt = <3000000>; 816 - regulator-max-microvolt = <3600000>; 817 - bias-pull-down; 818 - }; 819 - l7 { 820 - regulator-min-microvolt = <1800000>; 821 - regulator-max-microvolt = <1800000>; 822 - bias-pull-down; 823 - }; 824 - l8 { 825 - regulator-min-microvolt = <2900000>; 826 - regulator-max-microvolt = <3050000>; 827 - bias-pull-down; 828 - }; 829 - l9 { 830 - regulator-min-microvolt = <1800000>; 831 - regulator-max-microvolt = <1800000>; 832 - bias-pull-down; 833 - }; 834 - l10 { 835 - regulator-min-microvolt = <2600000>; 836 - regulator-max-microvolt = <2600000>; 837 - bias-pull-down; 838 - }; 839 - l11 { 840 - regulator-min-microvolt = <1500000>; 841 - regulator-max-microvolt = <1500000>; 842 - bias-pull-down; 843 - }; 844 - l12 { 845 - regulator-min-microvolt = <2900000>; 846 - regulator-max-microvolt = <2900000>; 847 - bias-pull-down; 848 - }; 849 - l13 { 850 - regulator-min-microvolt = <2050000>; 851 - regulator-max-microvolt = <2050000>; 852 - bias-pull-down; 853 - }; 854 - l14 { 855 - regulator-min-microvolt = <2850000>; 856 - regulator-max-microvolt = <2850000>; 857 - }; 858 - l15 { 859 - regulator-min-microvolt = <2850000>; 860 - regulator-max-microvolt = <2850000>; 861 - bias-pull-down; 862 - }; 863 - l16 { 864 - regulator-min-microvolt = <1800000>; 865 - regulator-max-microvolt = <1800000>; 866 - bias-pull-down; 867 - regulator-always-on; 868 - }; 869 - l17 { 870 - // 1.5V according to schematic 871 - regulator-min-microvolt = <2600000>; 872 - regulator-max-microvolt = <2600000>; 873 - bias-pull-down; 874 - }; 875 - l18 { 876 - regulator-min-microvolt = <2200000>; 877 - regulator-max-microvolt = <2200000>; 878 - bias-pull-down; 879 - }; 880 - l19 { 881 - regulator-min-microvolt = <2500000>; 882 - regulator-max-microvolt = <2500000>; 883 - bias-pull-down; 884 - }; 885 - l20 { 886 - regulator-min-microvolt = <1800000>; 887 - regulator-max-microvolt = <1800000>; 888 - bias-pull-down; 889 - }; 890 - l21 { 891 - // 1.1 V according to schematic 892 - regulator-min-microvolt = <1200000>; 893 - regulator-max-microvolt = <1200000>; 894 - bias-pull-down; 895 - regulator-always-on; 896 - }; 897 - l22 { 898 - // 1.2 V according to schematic 899 - regulator-min-microvolt = <1150000>; 900 - regulator-max-microvolt = <1150000>; 901 - bias-pull-down; 902 - }; 903 - l23 { 904 - // Unused 905 - regulator-min-microvolt = <1200000>; 906 - regulator-max-microvolt = <1200000>; 907 - bias-pull-down; 908 - }; 909 - l24 { 910 - // Unused 911 - regulator-min-microvolt = <1200000>; 912 - regulator-max-microvolt = <1200000>; 913 - bias-pull-down; 914 - }; 915 - l25 { 916 - regulator-min-microvolt = <1200000>; 917 - regulator-max-microvolt = <1200000>; 918 - bias-pull-down; 919 - }; 920 - 921 - s0 { 922 - // regulator-min-microvolt = <500000>; 923 - // regulator-max-microvolt = <1325000>; 924 - regulator-min-microvolt = <1100000>; 925 - regulator-max-microvolt = <1100000>; 926 - qcom,switch-mode-frequency = <1600000>; 927 - bias-pull-down; 928 - }; 929 - s1 { 930 - // regulator-min-microvolt = <500000>; 931 - // regulator-max-microvolt = <1250000>; 932 - regulator-min-microvolt = <1100000>; 933 - regulator-max-microvolt = <1100000>; 934 - qcom,switch-mode-frequency = <1600000>; 935 - bias-pull-down; 936 - }; 937 - s2 { 938 - // 1.3 V according to schematic 939 - regulator-min-microvolt = <1200000>; 940 - regulator-max-microvolt = <1400000>; 941 - qcom,switch-mode-frequency = <1600000>; 942 - bias-pull-down; 943 - }; 944 - s3 { 945 - regulator-min-microvolt = <1800000>; 946 - regulator-max-microvolt = <1800000>; 947 - qcom,switch-mode-frequency = <1600000>; 948 - regulator-always-on; 949 - bias-pull-down; 950 - }; 951 - s4 { 952 - regulator-min-microvolt = <2200000>; 953 - regulator-max-microvolt = <2200000>; 954 - qcom,switch-mode-frequency = <1600000>; 955 - regulator-always-on; 956 - bias-pull-down; 957 - }; 958 - 959 - /* LVS0 and LVS1 are just switches */ 960 - lvs0 { 961 - bias-pull-down; 962 - }; 963 - lvs1 { 964 - bias-pull-down; 965 - }; 966 - 967 - ncp { 968 - regulator-min-microvolt = <1800000>; 969 - regulator-max-microvolt = <1800000>; 970 - qcom,switch-mode-frequency = <1600000>; 971 - }; 972 - }; 747 + ncp { 748 + regulator-min-microvolt = <1800000>; 749 + regulator-max-microvolt = <1800000>; 750 + qcom,switch-mode-frequency = <1600000>; 973 751 }; 974 - amba { 975 - /* Internal 3.69 GiB eMMC */ 976 - mmc@12400000 { 977 - status = "okay"; 978 - pinctrl-names = "default"; 979 - pinctrl-0 = <&dragon_sdcc1_pins>; 980 - vmmc-supply = <&pm8901_l5>; 981 - vqmmc-supply = <&pm8901_lvs0>; 982 - }; 752 + }; 753 + }; 983 754 984 - /* External micro SD card, directly connected, pulled up to 2.85 V */ 985 - mmc@12180000 { 986 - status = "okay"; 987 - /* Enable SSBI GPIO 22 as input, use for card detect */ 988 - pinctrl-names = "default"; 989 - pinctrl-0 = <&dragon_sdcc3_pins>, <&dragon_sdcc3_gpios>; 990 - cd-gpios = <&pm8058_gpio 22 GPIO_ACTIVE_LOW>; 991 - wp-gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>; 992 - vmmc-supply = <&pm8058_l14>; 993 - }; 755 + /* Internal 3.69 GiB eMMC */ 756 + &sdcc1 { 757 + pinctrl-names = "default"; 758 + pinctrl-0 = <&dragon_sdcc1_pins>; 759 + vmmc-supply = <&pm8901_l5>; 760 + vqmmc-supply = <&pm8901_lvs0>; 761 + status = "okay"; 762 + }; 994 763 995 - /* 996 - * Second external micro SD card, using two TXB104RGYR levelshifters 997 - * to lift from 1.8 V to 2.85 V 998 - */ 999 - mmc@12200000 { 1000 - status = "okay"; 1001 - /* Enable SSBI GPIO 26 as input, use for card detect */ 1002 - pinctrl-names = "default"; 1003 - pinctrl-0 = <&dragon_sdcc5_pins>, <&dragon_sdcc5_gpios>; 1004 - cd-gpios = <&pm8058_gpio 26 GPIO_ACTIVE_LOW>; 1005 - wp-gpios = <&tlmm 106 GPIO_ACTIVE_HIGH>; 1006 - vmmc-supply = <&pm8058_l14>; 1007 - vqmmc-supply = <&dragon_vio_txb>; 1008 - }; 764 + /* External micro SD card, directly connected, pulled up to 2.85 V */ 765 + &sdcc3 { 766 + /* Enable SSBI GPIO 22 as input, use for card detect */ 767 + pinctrl-names = "default"; 768 + pinctrl-0 = <&dragon_sdcc3_pins>, <&dragon_sdcc3_gpios>; 769 + cd-gpios = <&pm8058_gpio 22 GPIO_ACTIVE_LOW>; 770 + wp-gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>; 771 + vmmc-supply = <&pm8058_l14>; 772 + status = "okay"; 773 + }; 774 + 775 + /* 776 + * Second external micro SD card, using two TXB104RGYR levelshifters 777 + * to lift from 1.8 V to 2.85 V 778 + */ 779 + &sdcc5 { 780 + /* Enable SSBI GPIO 26 as input, use for card detect */ 781 + pinctrl-names = "default"; 782 + pinctrl-0 = <&dragon_sdcc5_pins>, <&dragon_sdcc5_gpios>; 783 + cd-gpios = <&pm8058_gpio 26 GPIO_ACTIVE_LOW>; 784 + wp-gpios = <&tlmm 106 GPIO_ACTIVE_HIGH>; 785 + vmmc-supply = <&pm8058_l14>; 786 + vqmmc-supply = <&dragon_vio_txb>; 787 + status = "okay"; 788 + }; 789 + 790 + &tlmm { 791 + /* eMMC pins, all 8 data lines connected */ 792 + dragon_sdcc1_pins: sdcc1-state { 793 + clk-pins { 794 + pins = "gpio167"; /* SDC1 CLK */ 795 + function = "sdc1"; 796 + drive-strength = <16>; 797 + bias-disable; 1009 798 }; 799 + cmd-pins { 800 + pins = "gpio168"; /* SDC1 CMD */ 801 + function = "sdc1"; 802 + drive-strength = <10>; 803 + bias-pull-up; 804 + }; 805 + data-pins { 806 + /* SDC1 D0 to D7 */ 807 + pins = "gpio159", "gpio160", "gpio161", "gpio162", 808 + "gpio163", "gpio164", "gpio165", "gpio166"; 809 + function = "sdc1"; 810 + drive-strength = <10>; 811 + bias-pull-up; 812 + }; 813 + }; 814 + 815 + /* 816 + * The SDCC3 pins are hardcoded (non-muxable) but need some pin 817 + * configuration. 818 + */ 819 + dragon_sdcc3_pins: sdcc3-state { 820 + clk-pins { 821 + pins = "sdc3_clk"; 822 + drive-strength = <8>; 823 + bias-disable; 824 + }; 825 + cmd-pins { 826 + pins = "sdc3_cmd"; 827 + drive-strength = <8>; 828 + bias-pull-up; 829 + }; 830 + data-pins { 831 + pins = "sdc3_data"; 832 + drive-strength = <8>; 833 + bias-pull-up; 834 + }; 835 + }; 836 + 837 + /* Second SD card slot pins */ 838 + dragon_sdcc5_pins: sdcc5-state { 839 + clk-pins { 840 + pins = "gpio97"; /* SDC5 CLK */ 841 + function = "sdc5"; 842 + drive-strength = <16>; 843 + bias-disable; 844 + }; 845 + cmd-pins { 846 + pins = "gpio95"; /* SDC5 CMD */ 847 + function = "sdc5"; 848 + drive-strength = <10>; 849 + bias-pull-up; 850 + }; 851 + data-pins { 852 + /* SDC5 D0 to D3 */ 853 + pins = "gpio96", "gpio98", "gpio99", "gpio100"; 854 + function = "sdc5"; 855 + drive-strength = <10>; 856 + bias-pull-up; 857 + }; 858 + }; 859 + 860 + dragon_gsbi3_i2c_pins: gsbi3-i2c-state { 861 + pins = "gpio43", "gpio44"; 862 + function = "gsbi3"; 863 + drive-strength = <8>; 864 + /* These have external pull-up 2.2kOhm to 1.8V */ 865 + bias-disable; 866 + }; 867 + 868 + dragon_gsbi8_i2c_pins: gsbi8-i2c-state { 869 + pins = "gpio64", "gpio65"; 870 + function = "gsbi8"; 871 + drive-strength = <16>; 872 + /* These have external pull-up 2.2kOhm to 1.8V */ 873 + bias-disable; 874 + }; 875 + 876 + dragon_gsbi12_i2c_pins: gsbi12-i2c-state { 877 + pins = "gpio115", "gpio116"; 878 + function = "gsbi12"; 879 + drive-strength = <16>; 880 + /* These have external pull-up 4.7kOhm to 1.8V */ 881 + bias-disable; 882 + }; 883 + 884 + /* Primary serial port uart 0 pins */ 885 + dragon_gsbi12_serial_pins: gsbi12-serial-state { 886 + tx-pins { 887 + pins = "gpio117"; 888 + function = "gsbi12"; 889 + drive-strength = <8>; 890 + bias-disable; 891 + }; 892 + rx-pins { 893 + pins = "gpio118"; 894 + function = "gsbi12"; 895 + drive-strength = <2>; 896 + bias-pull-up; 897 + }; 898 + }; 899 + 900 + dragon_ebi2_pins: ebi2-state { 901 + /* 902 + * Pins used by EBI2 on the Dragonboard, actually only 903 + * CS2 is used by a real peripheral. CS0 is just 904 + * routed to a test point. 905 + */ 906 + mux0-pins { 907 + pins = 908 + /* "gpio39", CS1A_N this is not good to mux */ 909 + "gpio40", /* CS2A_N */ 910 + "gpio134"; /* CS0_N testpoint TP29 */ 911 + function = "ebi2cs"; 912 + }; 913 + mux1-pins { 914 + pins = 915 + /* EBI2_ADDR_7 downto EBI2_ADDR_0 address bus */ 916 + "gpio123", "gpio124", "gpio125", "gpio126", 917 + "gpio127", "gpio128", "gpio129", "gpio130", 918 + /* EBI2_DATA_15 downto EBI2_DATA_0 data bus */ 919 + "gpio135", "gpio136", "gpio137", "gpio138", 920 + "gpio139", "gpio140", "gpio141", "gpio142", 921 + "gpio143", "gpio144", "gpio145", "gpio146", 922 + "gpio147", "gpio148", "gpio149", "gpio150", 923 + "gpio151", /* EBI2_OE_N */ 924 + "gpio153", /* EBI2_ADV */ 925 + "gpio157"; /* EBI2_WE_N */ 926 + function = "ebi2"; 927 + }; 928 + }; 929 + 930 + /* Interrupt line for the KXSD9 accelerometer */ 931 + dragon_kxsd9_gpios: kxsd9-state { 932 + pins = "gpio57"; /* IRQ line */ 933 + function = "gpio"; 934 + bias-pull-up; 935 + }; 936 + 937 + dragon_tma340_gpios: tma340-state { 938 + reset-pins { 939 + /* RESET line, TS_ATTN, WAKE_CTP */ 940 + pins = "gpio58"; 941 + function = "gpio"; 942 + drive-strength = <6>; 943 + bias-disable; 944 + }; 945 + irq-pins { 946 + pins = "gpio61"; /* IRQ line */ 947 + function = "gpio"; 948 + drive-strength = <2>; 949 + bias-pull-up; 950 + }; 951 + }; 952 + }; 953 + 954 + &xoadc { 955 + /* Reference voltage 2.2 V */ 956 + xoadc-ref-supply = <&pm8058_l18>; 957 + 958 + /* Board-specific channels */ 959 + mpp5@5 { 960 + /* Connected to AOUT of ALS sensor */ 961 + reg = <0x00 0x05>; 962 + }; 963 + mpp6@6 { 964 + /* Connected to test point TP43 */ 965 + reg = <0x00 0x06>; 966 + }; 967 + mpp7@7 { 968 + /* Connected to battery thermistor */ 969 + reg = <0x00 0x07>; 970 + }; 971 + mpp8@8 { 972 + /* Connected to battery ID detector */ 973 + reg = <0x00 0x08>; 974 + }; 975 + mpp9@9 { 976 + /* Connected to XO thermistor */ 977 + reg = <0x00 0x09>; 1010 978 }; 1011 979 };
+275 -285
arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
··· 6 6 / { 7 7 model = "Asus Nexus7(flo)"; 8 8 compatible = "asus,nexus7-flo", "qcom,apq8064"; 9 + chassis-type = "tablet"; 9 10 10 11 aliases { 11 12 serial0 = &gsbi7_serial; ··· 31 30 }; 32 31 }; 33 32 34 - ext_3p3v: regulator-fixed@1 { 33 + ext_3p3v: regulator-ext-3p3v { 35 34 compatible = "regulator-fixed"; 36 35 regulator-min-microvolt = <3300000>; 37 36 regulator-max-microvolt = <3300000>; ··· 58 57 }; 59 58 60 59 soc { 61 - rpm@108000 { 62 - regulators { 63 - vdd_l1_l2_l12_l18-supply = <&pm8921_s4>; 64 - vin_lvs1_3_6-supply = <&pm8921_s4>; 65 - vin_lvs4_5_7-supply = <&pm8921_s4>; 66 - 67 - 68 - vdd_l24-supply = <&pm8921_s1>; 69 - vdd_l25-supply = <&pm8921_s1>; 70 - vin_lvs2-supply = <&pm8921_s1>; 71 - 72 - vdd_l26-supply = <&pm8921_s7>; 73 - vdd_l27-supply = <&pm8921_s7>; 74 - vdd_l28-supply = <&pm8921_s7>; 75 - 76 - vdd_ncp-supply = <&pm8921_l6>; 77 - 78 - /* Buck SMPS */ 79 - s1 { 80 - regulator-always-on; 81 - regulator-min-microvolt = <1225000>; 82 - regulator-max-microvolt = <1225000>; 83 - qcom,switch-mode-frequency = <3200000>; 84 - bias-pull-down; 85 - }; 86 - 87 - /* msm otg HSUSB_VDDCX */ 88 - s3 { 89 - regulator-min-microvolt = <500000>; 90 - regulator-max-microvolt = <1150000>; 91 - qcom,switch-mode-frequency = <4800000>; 92 - }; 93 - 94 - /* 95 - * msm_sdcc.1-sdc-vdd_io 96 - * tabla2x-slim-CDC_VDDA_RX 97 - * tabla2x-slim-CDC_VDDA_TX 98 - * tabla2x-slim-CDC_VDD_CP 99 - * tabla2x-slim-VDDIO_CDC 100 - */ 101 - s4 { 102 - regulator-min-microvolt = <1800000>; 103 - regulator-max-microvolt = <1800000>; 104 - qcom,switch-mode-frequency = <3200000>; 105 - regulator-always-on; 106 - }; 107 - 108 - s7 { 109 - regulator-min-microvolt = <1300000>; 110 - regulator-max-microvolt = <1300000>; 111 - qcom,switch-mode-frequency = <3200000>; 112 - }; 113 - 114 - /* mipi_dsi.1-dsi1_pll_vdda */ 115 - l2 { 116 - regulator-min-microvolt = <1200000>; 117 - regulator-max-microvolt = <1200000>; 118 - regulator-always-on; 119 - }; 120 - 121 - /* msm_otg-HSUSB_3p3 */ 122 - l3 { 123 - regulator-min-microvolt = <3075000>; 124 - regulator-max-microvolt = <3075000>; 125 - bias-pull-down; 126 - }; 127 - 128 - /* msm_otg-HSUSB_1p8 */ 129 - l4 { 130 - regulator-min-microvolt = <1800000>; 131 - regulator-max-microvolt = <1800000>; 132 - bias-pull-down; 133 - }; 134 - 135 - /* msm_sdcc.1-sdc_vdd */ 136 - l5 { 137 - regulator-min-microvolt = <2950000>; 138 - regulator-max-microvolt = <2950000>; 139 - regulator-always-on; 140 - bias-pull-down; 141 - }; 142 - 143 - l6 { 144 - regulator-min-microvolt = <2950000>; 145 - regulator-max-microvolt = <2950000>; 146 - }; 147 - 148 - /* mipi_dsi.1-dsi1_avdd */ 149 - l11 { 150 - regulator-min-microvolt = <3000000>; 151 - regulator-max-microvolt = <3000000>; 152 - bias-pull-down; 153 - regulator-always-on; 154 - }; 155 - 156 - /* pwm_power for backlight */ 157 - l17 { 158 - regulator-min-microvolt = <3000000>; 159 - regulator-max-microvolt = <3000000>; 160 - regulator-always-on; 161 - }; 162 - 163 - /* camera, qdsp6 */ 164 - l23 { 165 - regulator-min-microvolt = <1800000>; 166 - regulator-max-microvolt = <1800000>; 167 - bias-pull-down; 168 - }; 169 - 170 - /* 171 - * tabla2x-slim-CDC_VDDA_A_1P2V 172 - * tabla2x-slim-VDDD_CDC_D 173 - */ 174 - l25 { 175 - regulator-min-microvolt = <1250000>; 176 - regulator-max-microvolt = <1250000>; 177 - bias-pull-down; 178 - }; 179 - 180 - lvs1 { 181 - bias-pull-down; 182 - }; 183 - 184 - lvs4 { 185 - bias-pull-down; 186 - }; 187 - 188 - lvs5 { 189 - bias-pull-down; 190 - }; 191 - 192 - lvs6 { 193 - bias-pull-down; 194 - }; 195 - /* 196 - * mipi_dsi.1-dsi1_vddio 197 - * pil_riva-pll_vdd 198 - */ 199 - lvs7 { 200 - bias-pull-down; 201 - }; 202 - }; 203 - }; 204 - 205 - mdp@5100000 { 206 - status = "okay"; 207 - ports { 208 - port@1 { 209 - mdp_dsi1_out: endpoint { 210 - remote-endpoint = <&dsi0_in>; 211 - }; 212 - }; 213 - }; 214 - }; 215 - 216 - dsi0: dsi@4700000 { 217 - status = "okay"; 218 - vdda-supply = <&pm8921_l2>;/*VDD_MIPI1 to 4*/ 219 - vdd-supply = <&pm8921_l8>; 220 - vddio-supply = <&pm8921_lvs7>; 221 - avdd-supply = <&pm8921_l11>; 222 - 223 - panel@0 { 224 - reg = <0>; 225 - compatible = "jdi,lt070me05000"; 226 - 227 - vddp-supply = <&pm8921_l17>; 228 - iovcc-supply = <&pm8921_lvs7>; 229 - 230 - enable-gpios = <&pm8921_gpio 36 GPIO_ACTIVE_HIGH>; 231 - reset-gpios = <&tlmm_pinmux 54 GPIO_ACTIVE_LOW>; 232 - dcdc-en-gpios = <&pm8921_gpio 23 GPIO_ACTIVE_HIGH>; 233 - 234 - port { 235 - panel_in: endpoint { 236 - remote-endpoint = <&dsi0_out>; 237 - }; 238 - }; 239 - }; 240 - ports { 241 - port@0 { 242 - dsi0_in: endpoint { 243 - remote-endpoint = <&mdp_dsi1_out>; 244 - }; 245 - }; 246 - 247 - port@1 { 248 - dsi0_out: endpoint { 249 - remote-endpoint = <&panel_in>; 250 - data-lanes = <0 1 2 3>; 251 - }; 252 - }; 253 - }; 254 - }; 255 - 256 - dsi-phy@4700200 { 257 - status = "okay"; 258 - vddio-supply = <&pm8921_lvs7>;/*VDD_PLL2_1 to 7*/ 259 - }; 260 - 261 - gsbi@16200000 { 262 - status = "okay"; 263 - qcom,mode = <GSBI_PROT_I2C>; 264 - i2c@16280000 { 265 - status = "okay"; 266 - clock-frequency = <200000>; 267 - pinctrl-0 = <&i2c3_pins>; 268 - pinctrl-names = "default"; 269 - 270 - trackpad@10 { 271 - compatible = "elan,ekth3500"; 272 - reg = <0x10>; 273 - interrupt-parent = <&tlmm_pinmux>; 274 - interrupts = <6 IRQ_TYPE_EDGE_FALLING>; 275 - }; 276 - }; 277 - }; 278 - 279 - 280 - gsbi@12440000 { 281 - status = "okay"; 282 - qcom,mode = <GSBI_PROT_I2C>; 283 - 284 - i2c@12460000 { 285 - status = "okay"; 286 - clock-frequency = <200000>; 287 - pinctrl-0 = <&i2c1_pins>; 288 - pinctrl-names = "default"; 289 - 290 - eeprom@52 { 291 - compatible = "atmel,24c128"; 292 - reg = <0x52>; 293 - pagesize = <32>; 294 - }; 295 - 296 - bq27541@55 { 297 - compatible = "ti,bq27541"; 298 - reg = <0x55>; 299 - }; 300 - 301 - }; 302 - }; 303 - 304 - gsbi@16500000 { 305 - status = "okay"; 306 - qcom,mode = <GSBI_PROT_I2C_UART>; 307 - 308 - serial@16540000 { 309 - status = "okay"; 310 - 311 - pinctrl-names = "default"; 312 - pinctrl-0 = <&gsbi6_uart_4pins>; 313 - }; 314 - }; 315 - 316 - gsbi@16600000 { 317 - status = "okay"; 318 - qcom,mode = <GSBI_PROT_I2C_UART>; 319 - serial@16640000 { 320 - status = "okay"; 321 - }; 322 - }; 323 - 324 - /* OTG */ 325 - usb@12500000 { 326 - status = "okay"; 327 - dr_mode = "otg"; 328 - ulpi { 329 - phy { 330 - v3p3-supply = <&pm8921_l3>; 331 - v1p8-supply = <&pm8921_l4>; 332 - }; 333 - }; 334 - }; 335 - 336 - amba { 337 - /* eMMC */ 338 - mmc@12400000 { 339 - status = "okay"; 340 - vmmc-supply = <&pm8921_l5>; 341 - vqmmc-supply = <&pm8921_s4>; 342 - }; 343 - }; 344 - 345 60 sram@2a03f000 { 346 61 compatible = "qcom,apq8064-imem", "syscon", "simple-mfd"; 347 62 reg = <0x2a03f000 0x1000>; ··· 72 355 }; 73 356 }; 74 357 }; 358 + }; 359 + 360 + &dsi0 { 361 + vdda-supply = <&pm8921_l2>;/*VDD_MIPI1 to 4*/ 362 + vdd-supply = <&pm8921_l8>; 363 + vddio-supply = <&pm8921_lvs7>; 364 + avdd-supply = <&pm8921_l11>; 365 + status = "okay"; 366 + 367 + panel@0 { 368 + reg = <0>; 369 + compatible = "jdi,lt070me05000"; 370 + 371 + vddp-supply = <&pm8921_l17>; 372 + iovcc-supply = <&pm8921_lvs7>; 373 + 374 + enable-gpios = <&pm8921_gpio 36 GPIO_ACTIVE_HIGH>; 375 + reset-gpios = <&tlmm_pinmux 54 GPIO_ACTIVE_LOW>; 376 + dcdc-en-gpios = <&pm8921_gpio 23 GPIO_ACTIVE_HIGH>; 377 + 378 + port { 379 + panel_in: endpoint { 380 + remote-endpoint = <&dsi0_out>; 381 + }; 382 + }; 383 + }; 384 + }; 385 + 386 + &dsi0_in { 387 + remote-endpoint = <&mdp_dsi1_out>; 388 + }; 389 + 390 + &dsi0_out { 391 + remote-endpoint = <&panel_in>; 392 + data-lanes = <0 1 2 3>; 393 + }; 394 + 395 + &dsi0_phy { 396 + vddio-supply = <&pm8921_lvs7>;/*VDD_PLL2_1 to 7*/ 397 + status = "okay"; 398 + }; 399 + 400 + &gsbi1 { 401 + qcom,mode = <GSBI_PROT_I2C>; 402 + status = "okay"; 403 + }; 404 + 405 + &gsbi1_i2c { 406 + status = "okay"; 407 + clock-frequency = <200000>; 408 + pinctrl-0 = <&i2c1_pins>; 409 + pinctrl-names = "default"; 410 + 411 + eeprom@52 { 412 + compatible = "atmel,24c128"; 413 + reg = <0x52>; 414 + pagesize = <32>; 415 + }; 416 + 417 + bq27541@55 { 418 + compatible = "ti,bq27541"; 419 + reg = <0x55>; 420 + }; 421 + 422 + }; 423 + 424 + &gsbi3 { 425 + qcom,mode = <GSBI_PROT_I2C>; 426 + status = "okay"; 427 + }; 428 + 429 + &gsbi3_i2c { 430 + clock-frequency = <200000>; 431 + pinctrl-0 = <&i2c3_pins>; 432 + pinctrl-names = "default"; 433 + status = "okay"; 434 + 435 + trackpad@10 { 436 + compatible = "elan,ekth3500"; 437 + reg = <0x10>; 438 + interrupt-parent = <&tlmm_pinmux>; 439 + interrupts = <6 IRQ_TYPE_EDGE_FALLING>; 440 + }; 441 + }; 442 + 443 + &gsbi6 { 444 + qcom,mode = <GSBI_PROT_I2C_UART>; 445 + status = "okay"; 446 + }; 447 + 448 + &gsbi6_serial { 449 + pinctrl-names = "default"; 450 + pinctrl-0 = <&gsbi6_uart_4pins>; 451 + status = "okay"; 452 + }; 453 + 454 + &gsbi7 { 455 + qcom,mode = <GSBI_PROT_I2C_UART>; 456 + status = "okay"; 457 + }; 458 + 459 + &gsbi7_serial { 460 + status = "okay"; 461 + }; 462 + 463 + &mdp { 464 + status = "okay"; 465 + }; 466 + 467 + /* eMMC */ 468 + &sdcc1 { 469 + vmmc-supply = <&pm8921_l5>; 470 + vqmmc-supply = <&pm8921_s4>; 471 + status = "okay"; 472 + }; 473 + 474 + &mdp_dsi1_out { 475 + remote-endpoint = <&dsi0_in>; 476 + }; 477 + 478 + &rpm { 479 + regulators { 480 + vdd_l1_l2_l12_l18-supply = <&pm8921_s4>; 481 + vin_lvs1_3_6-supply = <&pm8921_s4>; 482 + vin_lvs4_5_7-supply = <&pm8921_s4>; 483 + 484 + 485 + vdd_l24-supply = <&pm8921_s1>; 486 + vdd_l25-supply = <&pm8921_s1>; 487 + vin_lvs2-supply = <&pm8921_s1>; 488 + 489 + vdd_l26-supply = <&pm8921_s7>; 490 + vdd_l27-supply = <&pm8921_s7>; 491 + vdd_l28-supply = <&pm8921_s7>; 492 + 493 + vdd_ncp-supply = <&pm8921_l6>; 494 + 495 + /* Buck SMPS */ 496 + s1 { 497 + regulator-always-on; 498 + regulator-min-microvolt = <1225000>; 499 + regulator-max-microvolt = <1225000>; 500 + qcom,switch-mode-frequency = <3200000>; 501 + bias-pull-down; 502 + }; 503 + 504 + /* msm otg HSUSB_VDDCX */ 505 + s3 { 506 + regulator-min-microvolt = <500000>; 507 + regulator-max-microvolt = <1150000>; 508 + qcom,switch-mode-frequency = <4800000>; 509 + }; 510 + 511 + /* 512 + * msm_sdcc.1-sdc-vdd_io 513 + * tabla2x-slim-CDC_VDDA_RX 514 + * tabla2x-slim-CDC_VDDA_TX 515 + * tabla2x-slim-CDC_VDD_CP 516 + * tabla2x-slim-VDDIO_CDC 517 + */ 518 + s4 { 519 + regulator-min-microvolt = <1800000>; 520 + regulator-max-microvolt = <1800000>; 521 + qcom,switch-mode-frequency = <3200000>; 522 + regulator-always-on; 523 + }; 524 + 525 + s7 { 526 + regulator-min-microvolt = <1300000>; 527 + regulator-max-microvolt = <1300000>; 528 + qcom,switch-mode-frequency = <3200000>; 529 + }; 530 + 531 + /* mipi_dsi.1-dsi1_pll_vdda */ 532 + l2 { 533 + regulator-min-microvolt = <1200000>; 534 + regulator-max-microvolt = <1200000>; 535 + regulator-always-on; 536 + }; 537 + 538 + /* msm_otg-HSUSB_3p3 */ 539 + l3 { 540 + regulator-min-microvolt = <3075000>; 541 + regulator-max-microvolt = <3075000>; 542 + bias-pull-down; 543 + }; 544 + 545 + /* msm_otg-HSUSB_1p8 */ 546 + l4 { 547 + regulator-min-microvolt = <1800000>; 548 + regulator-max-microvolt = <1800000>; 549 + bias-pull-down; 550 + }; 551 + 552 + /* msm_sdcc.1-sdc_vdd */ 553 + l5 { 554 + regulator-min-microvolt = <2950000>; 555 + regulator-max-microvolt = <2950000>; 556 + regulator-always-on; 557 + bias-pull-down; 558 + }; 559 + 560 + l6 { 561 + regulator-min-microvolt = <2950000>; 562 + regulator-max-microvolt = <2950000>; 563 + }; 564 + 565 + /* mipi_dsi.1-dsi1_avdd */ 566 + l11 { 567 + regulator-min-microvolt = <3000000>; 568 + regulator-max-microvolt = <3000000>; 569 + bias-pull-down; 570 + regulator-always-on; 571 + }; 572 + 573 + /* pwm_power for backlight */ 574 + l17 { 575 + regulator-min-microvolt = <3000000>; 576 + regulator-max-microvolt = <3000000>; 577 + regulator-always-on; 578 + }; 579 + 580 + /* camera, qdsp6 */ 581 + l23 { 582 + regulator-min-microvolt = <1800000>; 583 + regulator-max-microvolt = <1800000>; 584 + bias-pull-down; 585 + }; 586 + 587 + /* 588 + * tabla2x-slim-CDC_VDDA_A_1P2V 589 + * tabla2x-slim-VDDD_CDC_D 590 + */ 591 + l25 { 592 + regulator-min-microvolt = <1250000>; 593 + regulator-max-microvolt = <1250000>; 594 + bias-pull-down; 595 + }; 596 + 597 + lvs1 { 598 + bias-pull-down; 599 + }; 600 + 601 + lvs4 { 602 + bias-pull-down; 603 + }; 604 + 605 + lvs5 { 606 + bias-pull-down; 607 + }; 608 + 609 + lvs6 { 610 + bias-pull-down; 611 + }; 612 + /* 613 + * mipi_dsi.1-dsi1_vddio 614 + * pil_riva-pll_vdd 615 + */ 616 + lvs7 { 617 + bias-pull-down; 618 + }; 619 + }; 620 + }; 621 + 622 + &usb_hs1_phy { 623 + v3p3-supply = <&pm8921_l3>; 624 + v1p8-supply = <&pm8921_l4>; 625 + }; 626 + 627 + /* OTG */ 628 + &usb1 { 629 + dr_mode = "otg"; 630 + status = "okay"; 75 631 };
+194 -210
arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts
··· 15 15 stdout-path = "serial0:115200n8"; 16 16 }; 17 17 18 - pwrseq { 19 - #address-cells = <1>; 20 - #size-cells = <1>; 21 - ranges; 22 - compatible = "simple-bus"; 23 - 24 - sdcc4_pwrseq: sdcc4_pwrseq { 25 - pinctrl-names = "default"; 26 - pinctrl-0 = <&wlan_default_gpios>; 27 - compatible = "mmc-pwrseq-simple"; 28 - reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>; 29 - }; 18 + sdcc4_pwrseq: pwrseq-sdcc4 { 19 + pinctrl-names = "default"; 20 + pinctrl-0 = <&wlan_default_gpios>; 21 + compatible = "mmc-pwrseq-simple"; 22 + reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>; 30 23 }; 31 24 32 - soc { 33 - pinctrl@800000 { 34 - card_detect: card_detect { 35 - mux { 36 - pins = "gpio26"; 37 - function = "gpio"; 38 - bias-disable; 39 - }; 40 - }; 25 + /* on board fixed 3.3v supply */ 26 + v3p3_fixed: regulator-v3p3 { 27 + compatible = "regulator-fixed"; 28 + regulator-name = "PCIE V3P3"; 29 + regulator-min-microvolt = <3300000>; 30 + regulator-max-microvolt = <3300000>; 31 + regulator-always-on; 32 + }; 33 + }; 41 34 42 - pcie_pins: pcie_pinmux { 43 - mux { 44 - pins = "gpio27"; 45 - function = "gpio"; 46 - }; 47 - conf { 48 - pins = "gpio27"; 49 - drive-strength = <12>; 50 - bias-disable; 51 - }; 52 - }; 35 + &gsbi1 { 36 + qcom,mode = <GSBI_PROT_I2C>; 37 + status = "okay"; 38 + }; 39 + 40 + &gsbi1_i2c { 41 + clock-frequency = <200000>; 42 + status = "okay"; 43 + 44 + eeprom@50 { 45 + compatible = "atmel,24c02"; 46 + reg = <0x50>; 47 + pagesize = <32>; 48 + }; 49 + }; 50 + 51 + &gsbi7 { 52 + qcom,mode = <GSBI_PROT_I2C_UART>; 53 + status = "okay"; 54 + }; 55 + 56 + &gsbi7_serial { 57 + pinctrl-names = "default"; 58 + pinctrl-0 = <&gsbi7_uart_2pins>; 59 + status = "okay"; 60 + }; 61 + 62 + &pcie { 63 + vdda-supply = <&pm8921_s3>; 64 + vdda_phy-supply = <&pm8921_lvs6>; 65 + vdda_refclk-supply = <&v3p3_fixed>; 66 + pinctrl-0 = <&pcie_pins>; 67 + pinctrl-names = "default"; 68 + perst-gpios = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>; 69 + status = "okay"; 70 + }; 71 + 72 + &pm8921_gpio { 73 + wlan_default_gpios: wlan-gpios-state { 74 + pinconf { 75 + pins = "gpio43"; 76 + function = "normal"; 77 + bias-disable; 78 + power-source = <PM8921_GPIO_S4>; 53 79 }; 80 + }; 81 + }; 54 82 55 - rpm@108000 { 56 - regulators { 57 - vin_lvs1_3_6-supply = <&pm8921_s4>; 58 - vin_lvs2-supply = <&pm8921_s1>; 59 - vin_lvs4_5_7-supply = <&pm8921_s4>; 83 + &rpm { 84 + regulators { 85 + vin_lvs1_3_6-supply = <&pm8921_s4>; 86 + vin_lvs2-supply = <&pm8921_s1>; 87 + vin_lvs4_5_7-supply = <&pm8921_s4>; 60 88 61 - vdd_l1_l2_l12_l18-supply = <&pm8921_s4>; 62 - vdd_l24-supply = <&pm8921_s1>; 63 - vdd_l25-supply = <&pm8921_s1>; 64 - vdd_l26-supply = <&pm8921_s7>; 65 - vdd_l27-supply = <&pm8921_s7>; 66 - vdd_l28-supply = <&pm8921_s7>; 89 + vdd_l1_l2_l12_l18-supply = <&pm8921_s4>; 90 + vdd_l24-supply = <&pm8921_s1>; 91 + vdd_l25-supply = <&pm8921_s1>; 92 + vdd_l26-supply = <&pm8921_s7>; 93 + vdd_l27-supply = <&pm8921_s7>; 94 + vdd_l28-supply = <&pm8921_s7>; 67 95 68 96 69 - /* Buck SMPS */ 70 - s1 { 71 - regulator-always-on; 72 - regulator-min-microvolt = <1225000>; 73 - regulator-max-microvolt = <1225000>; 74 - qcom,switch-mode-frequency = <3200000>; 75 - bias-pull-down; 76 - }; 77 - 78 - s3 { 79 - regulator-min-microvolt = <1000000>; 80 - regulator-max-microvolt = <1400000>; 81 - qcom,switch-mode-frequency = <4800000>; 82 - }; 83 - 84 - s4 { 85 - regulator-min-microvolt = <1800000>; 86 - regulator-max-microvolt = <1800000>; 87 - qcom,switch-mode-frequency = <3200000>; 88 - }; 89 - 90 - s7 { 91 - regulator-min-microvolt = <1300000>; 92 - regulator-max-microvolt = <1300000>; 93 - qcom,switch-mode-frequency = <3200000>; 94 - }; 95 - 96 - l3 { 97 - regulator-min-microvolt = <3050000>; 98 - regulator-max-microvolt = <3300000>; 99 - bias-pull-down; 100 - }; 101 - 102 - l4 { 103 - regulator-min-microvolt = <1000000>; 104 - regulator-max-microvolt = <1800000>; 105 - bias-pull-down; 106 - }; 107 - 108 - l5 { 109 - regulator-min-microvolt = <2750000>; 110 - regulator-max-microvolt = <3000000>; 111 - bias-pull-down; 112 - }; 113 - 114 - l23 { 115 - regulator-min-microvolt = <1700000>; 116 - regulator-max-microvolt = <1900000>; 117 - bias-pull-down; 118 - }; 119 - 120 - pm8921_lvs6: lvs6 { 121 - bias-pull-down; 122 - }; 123 - 124 - }; 125 - }; 126 - 127 - gsbi@12440000 { 128 - status = "okay"; 129 - qcom,mode = <GSBI_PROT_I2C>; 130 - 131 - i2c@12460000 { 132 - status = "okay"; 133 - clock-frequency = <200000>; 134 - 135 - eeprom@50 { 136 - compatible = "atmel,24c02"; 137 - reg = <0x50>; 138 - pagesize = <32>; 139 - }; 140 - }; 141 - }; 142 - 143 - gsbi@16600000 { 144 - status = "okay"; 145 - qcom,mode = <GSBI_PROT_I2C_UART>; 146 - serial@16640000 { 147 - status = "okay"; 148 - pinctrl-names = "default"; 149 - pinctrl-0 = <&gsbi7_uart_2pins>; 150 - }; 151 - }; 152 - 153 - /* OTG */ 154 - usb@12500000 { 155 - status = "okay"; 156 - dr_mode = "otg"; 157 - ulpi { 158 - phy { 159 - v3p3-supply = <&pm8921_l3>; 160 - v1p8-supply = <&pm8921_l4>; 161 - }; 162 - }; 163 - }; 164 - 165 - usb@12520000 { 166 - status = "okay"; 167 - dr_mode = "host"; 168 - ulpi { 169 - phy { 170 - v3p3-supply = <&pm8921_l3>; 171 - v1p8-supply = <&pm8921_l23>; 172 - }; 173 - }; 174 - }; 175 - 176 - usb@12530000 { 177 - status = "okay"; 178 - dr_mode = "host"; 179 - ulpi { 180 - phy { 181 - v3p3-supply = <&pm8921_l3>; 182 - v1p8-supply = <&pm8921_l23>; 183 - }; 184 - }; 185 - }; 186 - 187 - /* on board fixed 3.3v supply */ 188 - v3p3_fixed: v3p3 { 189 - compatible = "regulator-fixed"; 190 - regulator-name = "PCIE V3P3"; 191 - regulator-min-microvolt = <3300000>; 192 - regulator-max-microvolt = <3300000>; 97 + /* Buck SMPS */ 98 + s1 { 193 99 regulator-always-on; 100 + regulator-min-microvolt = <1225000>; 101 + regulator-max-microvolt = <1225000>; 102 + qcom,switch-mode-frequency = <3200000>; 103 + bias-pull-down; 194 104 }; 195 105 196 - qcom,ssbi@500000 { 197 - pmic@0 { 198 - gpio@150 { 199 - wlan_default_gpios: wlan-gpios-state { 200 - pinconf { 201 - pins = "gpio43"; 202 - function = "normal"; 203 - bias-disable; 204 - power-source = <PM8921_GPIO_S4>; 205 - }; 206 - }; 207 - }; 208 - }; 106 + s3 { 107 + regulator-min-microvolt = <1000000>; 108 + regulator-max-microvolt = <1400000>; 109 + qcom,switch-mode-frequency = <4800000>; 209 110 }; 210 111 211 - pci@1b500000 { 212 - status = "okay"; 213 - vdda-supply = <&pm8921_s3>; 214 - vdda_phy-supply = <&pm8921_lvs6>; 215 - vdda_refclk-supply = <&v3p3_fixed>; 216 - pinctrl-0 = <&pcie_pins>; 217 - pinctrl-names = "default"; 218 - perst-gpios = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>; 112 + s4 { 113 + regulator-min-microvolt = <1800000>; 114 + regulator-max-microvolt = <1800000>; 115 + qcom,switch-mode-frequency = <3200000>; 219 116 }; 220 117 221 - amba { 222 - /* eMMC */ 223 - sdcc1: mmc@12400000 { 224 - status = "okay"; 225 - vmmc-supply = <&pm8921_l5>; 226 - vqmmc-supply = <&pm8921_s4>; 227 - }; 118 + s7 { 119 + regulator-min-microvolt = <1300000>; 120 + regulator-max-microvolt = <1300000>; 121 + qcom,switch-mode-frequency = <3200000>; 122 + }; 228 123 229 - /* External micro SD card */ 230 - sdcc3: mmc@12180000 { 231 - status = "okay"; 232 - vmmc-supply = <&v3p3_fixed>; 233 - pinctrl-names = "default"; 234 - pinctrl-0 = <&card_detect>; 235 - cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>; 236 - }; 237 - /* WLAN */ 238 - sdcc4: mmc@121c0000 { 239 - status = "okay"; 240 - vmmc-supply = <&v3p3_fixed>; 241 - vqmmc-supply = <&v3p3_fixed>; 242 - mmc-pwrseq = <&sdcc4_pwrseq>; 243 - }; 124 + l3 { 125 + regulator-min-microvolt = <3050000>; 126 + regulator-max-microvolt = <3300000>; 127 + bias-pull-down; 128 + }; 129 + 130 + l4 { 131 + regulator-min-microvolt = <1000000>; 132 + regulator-max-microvolt = <1800000>; 133 + bias-pull-down; 134 + }; 135 + 136 + l5 { 137 + regulator-min-microvolt = <2750000>; 138 + regulator-max-microvolt = <3000000>; 139 + bias-pull-down; 140 + }; 141 + 142 + l23 { 143 + regulator-min-microvolt = <1700000>; 144 + regulator-max-microvolt = <1900000>; 145 + bias-pull-down; 146 + }; 147 + 148 + lvs6 { 149 + bias-pull-down; 150 + }; 151 + 152 + }; 153 + }; 154 + 155 + /* eMMC */ 156 + &sdcc1 { 157 + vmmc-supply = <&pm8921_l5>; 158 + vqmmc-supply = <&pm8921_s4>; 159 + status = "okay"; 160 + }; 161 + 162 + /* External micro SD card */ 163 + &sdcc3 { 164 + vmmc-supply = <&v3p3_fixed>; 165 + pinctrl-names = "default"; 166 + pinctrl-0 = <&card_detect>; 167 + cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>; 168 + status = "okay"; 169 + }; 170 + 171 + /* WLAN */ 172 + &sdcc4 { 173 + status = "okay"; 174 + vmmc-supply = <&v3p3_fixed>; 175 + vqmmc-supply = <&v3p3_fixed>; 176 + mmc-pwrseq = <&sdcc4_pwrseq>; 177 + }; 178 + 179 + &tlmm_pinmux { 180 + card_detect: card_detect { 181 + mux { 182 + pins = "gpio26"; 183 + function = "gpio"; 184 + bias-disable; 244 185 }; 245 186 }; 187 + 188 + pcie_pins: pcie_pinmux { 189 + mux { 190 + pins = "gpio27"; 191 + function = "gpio"; 192 + }; 193 + conf { 194 + pins = "gpio27"; 195 + drive-strength = <12>; 196 + bias-disable; 197 + }; 198 + }; 199 + }; 200 + 201 + &usb_hs1_phy { 202 + v3p3-supply = <&pm8921_l3>; 203 + v1p8-supply = <&pm8921_l4>; 204 + }; 205 + 206 + &usb_hs3_phy { 207 + v3p3-supply = <&pm8921_l3>; 208 + v1p8-supply = <&pm8921_l23>; 209 + }; 210 + 211 + &usb_hs4_phy { 212 + v3p3-supply = <&pm8921_l3>; 213 + v1p8-supply = <&pm8921_l23>; 214 + }; 215 + 216 + /* OTG */ 217 + &usb1 { 218 + dr_mode = "otg"; 219 + status = "okay"; 220 + }; 221 + 222 + &usb3 { 223 + dr_mode = "host"; 224 + status = "okay"; 225 + }; 226 + 227 + &usb4 { 228 + dr_mode = "host"; 229 + status = "okay"; 246 230 };
+287 -310
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
··· 22 22 stdout-path = "serial0:115200n8"; 23 23 }; 24 24 25 - pwrseq { 26 - compatible = "simple-bus"; 27 - 28 - sdcc4_pwrseq: sdcc4_pwrseq { 29 - pinctrl-names = "default"; 30 - pinctrl-0 = <&wlan_default_gpios>; 31 - compatible = "mmc-pwrseq-simple"; 32 - reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>; 33 - }; 34 - }; 35 - 36 25 leds { 37 26 compatible = "gpio-leds"; 38 27 pinctrl-names = "default"; 39 28 pinctrl-0 = <&notify_led>; 40 29 41 - led@1 { 30 + led-user1 { 42 31 label = "apq8064:green:user1"; 43 32 color = <LED_COLOR_ID_GREEN>; 44 33 gpios = <&pm8921_gpio 18 GPIO_ACTIVE_HIGH>; ··· 46 57 }; 47 58 }; 48 59 49 - soc { 50 - pinctrl@800000 { 51 - card_detect: card_detect { 52 - mux { 53 - pins = "gpio26"; 54 - function = "gpio"; 55 - bias-disable; 56 - }; 57 - }; 60 + sdcc4_pwrseq: pwrseq-sdcc4 { 61 + pinctrl-names = "default"; 62 + pinctrl-0 = <&wlan_default_gpios>; 63 + compatible = "mmc-pwrseq-simple"; 64 + reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>; 65 + }; 58 66 59 - pcie_pins: pcie_pinmux { 60 - mux { 61 - pins = "gpio27"; 62 - function = "gpio"; 63 - }; 64 - conf { 65 - pins = "gpio27"; 66 - drive-strength = <12>; 67 - bias-disable; 68 - }; 69 - }; 70 - }; 67 + ext_3p3v: regulator-ext-3p3v { 68 + compatible = "regulator-fixed"; 69 + regulator-min-microvolt = <3300000>; 70 + regulator-max-microvolt = <3300000>; 71 + regulator-name = "ext_3p3v"; 72 + regulator-type = "voltage"; 73 + startup-delay-us = <0>; 74 + gpio = <&tlmm_pinmux 77 GPIO_ACTIVE_HIGH>; 75 + enable-active-high; 76 + regulator-boot-on; 77 + }; 78 + }; 71 79 72 - rpm@108000 { 73 - regulators { 74 - vin_lvs1_3_6-supply = <&pm8921_s4>; 75 - vin_lvs2-supply = <&pm8921_s1>; 76 - vin_lvs4_5_7-supply = <&pm8921_s4>; 80 + &gsbi1 { 81 + qcom,mode = <GSBI_PROT_I2C>; 82 + status = "okay"; 83 + }; 77 84 78 - vdd_l1_l2_l12_l18-supply = <&pm8921_s4>; 79 - vdd_l24-supply = <&pm8921_s1>; 80 - vdd_l25-supply = <&pm8921_s1>; 81 - vdd_l26-supply = <&pm8921_s7>; 82 - vdd_l27-supply = <&pm8921_s7>; 83 - vdd_l28-supply = <&pm8921_s7>; 85 + &gsbi1_i2c { 86 + clock-frequency = <200000>; 87 + status = "okay"; 84 88 89 + eeprom@52 { 90 + compatible = "atmel,24c128"; 91 + reg = <0x52>; 92 + pagesize = <32>; 93 + }; 94 + }; 85 95 86 - /* Buck SMPS */ 87 - s1 { 88 - regulator-always-on; 89 - regulator-min-microvolt = <1225000>; 90 - regulator-max-microvolt = <1225000>; 91 - qcom,switch-mode-frequency = <3200000>; 92 - bias-pull-down; 93 - }; 96 + &gsbi3 { 97 + qcom,mode = <GSBI_PROT_I2C>; 98 + status = "okay"; 99 + }; 94 100 95 - s3 { 96 - regulator-min-microvolt = <1000000>; 97 - regulator-max-microvolt = <1400000>; 98 - qcom,switch-mode-frequency = <4800000>; 99 - }; 101 + &gsbi3_i2c { 102 + status = "okay"; 103 + }; 100 104 101 - s4 { 102 - regulator-min-microvolt = <1800000>; 103 - regulator-max-microvolt = <1800000>; 104 - qcom,switch-mode-frequency = <3200000>; 105 - }; 105 + &gsbi4 { 106 + qcom,mode = <GSBI_PROT_I2C>; 107 + status = "okay"; 108 + }; 106 109 107 - s7 { 108 - regulator-min-microvolt = <1300000>; 109 - regulator-max-microvolt = <1300000>; 110 - qcom,switch-mode-frequency = <3200000>; 111 - }; 110 + /* CAM I2C MIPI-CSI connector */ 111 + &gsbi4_i2c { 112 + status = "okay"; 113 + }; 112 114 113 - l3 { 114 - regulator-min-microvolt = <3050000>; 115 - regulator-max-microvolt = <3300000>; 116 - bias-pull-down; 117 - }; 115 + &gsbi5 { 116 + qcom,mode = <GSBI_PROT_SPI>; 117 + status = "okay"; 118 + }; 118 119 119 - l4 { 120 - regulator-min-microvolt = <1000000>; 121 - regulator-max-microvolt = <1800000>; 122 - bias-pull-down; 123 - }; 120 + &gsbi5_spi { 121 + num-cs = <1>; 122 + cs-gpios = <&tlmm_pinmux 53 0>; 123 + status = "okay"; 124 + }; 124 125 125 - l5 { 126 - regulator-min-microvolt = <2750000>; 127 - regulator-max-microvolt = <3000000>; 128 - bias-pull-down; 129 - }; 126 + &gsbi6 { 127 + qcom,mode = <GSBI_PROT_UART_W_FC>; 128 + status = "okay"; 129 + }; 130 130 131 - l6 { 132 - regulator-min-microvolt = <2950000>; 133 - regulator-max-microvolt = <2950000>; 134 - bias-pull-down; 135 - }; 131 + &gsbi6_serial { 132 + pinctrl-names = "default"; 133 + pinctrl-0 = <&gsbi6_uart_4pins>; 134 + status = "okay"; 135 + }; 136 136 137 - l23 { 138 - regulator-min-microvolt = <1700000>; 139 - regulator-max-microvolt = <1900000>; 140 - bias-pull-down; 141 - }; 137 + &gsbi7 { 138 + qcom,mode = <GSBI_PROT_I2C_UART>; 139 + status = "okay"; 140 + }; 142 141 143 - lvs1 { 144 - bias-pull-down; 145 - }; 142 + &gsbi7_serial { 143 + pinctrl-names = "default"; 144 + pinctrl-0 = <&gsbi7_uart_2pins>; 145 + status = "okay"; 146 + }; 146 147 147 - lvs6 { 148 - bias-pull-down; 149 - }; 150 - }; 151 - }; 148 + &hdmi { 149 + core-vdda-supply = <&pm8921_hdmi_switch>; 150 + hpd-gpios = <&tlmm_pinmux 72 GPIO_ACTIVE_HIGH>; 151 + status = "okay"; 152 + }; 152 153 153 - ext_3p3v: regulator-fixed@1 { 154 - compatible = "regulator-fixed"; 155 - regulator-min-microvolt = <3300000>; 156 - regulator-max-microvolt = <3300000>; 157 - regulator-name = "ext_3p3v"; 158 - regulator-type = "voltage"; 159 - startup-delay-us = <0>; 160 - gpio = <&tlmm_pinmux 77 GPIO_ACTIVE_HIGH>; 161 - enable-active-high; 162 - regulator-boot-on; 163 - }; 154 + &hdmi_in { 155 + remote-endpoint = <&mdp_dtv_out>; 156 + }; 164 157 165 - gsbi3: gsbi@16200000 { 166 - status = "okay"; 167 - qcom,mode = <GSBI_PROT_I2C>; 168 - i2c@16280000 { 169 - status = "okay"; 170 - }; 171 - }; 158 + &hdmi_out { 159 + remote-endpoint = <&hdmi_con>; 160 + }; 172 161 173 - gsbi@16300000 { 174 - status = "okay"; 175 - qcom,mode = <GSBI_PROT_I2C>; 176 - /* CAM I2C MIPI-CSI connector */ 177 - i2c@16380000 { 178 - status = "okay"; 179 - }; 180 - }; 162 + &hdmi_phy { 163 + status = "okay"; 164 + core-vdda-supply = <&pm8921_hdmi_switch>; 165 + }; 181 166 182 - gsbi@12440000 { 183 - status = "okay"; 184 - qcom,mode = <GSBI_PROT_I2C>; 167 + &mdp { 168 + status = "okay"; 169 + }; 185 170 186 - i2c@12460000 { 187 - status = "okay"; 188 - clock-frequency = <200000>; 171 + &mdp_dtv_out { 172 + remote-endpoint = <&hdmi_in>; 173 + }; 189 174 190 - eeprom@52 { 191 - compatible = "atmel,24c128"; 192 - reg = <0x52>; 193 - pagesize = <32>; 194 - }; 195 - }; 196 - }; 175 + &pcie { 176 + status = "okay"; 177 + vdda-supply = <&pm8921_s3>; 178 + vdda_phy-supply = <&pm8921_lvs6>; 179 + vdda_refclk-supply = <&ext_3p3v>; 180 + pinctrl-0 = <&pcie_pins>; 181 + pinctrl-names = "default"; 182 + perst-gpios = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>; 183 + }; 197 184 198 - gsbi@1a200000 { 199 - qcom,mode = <GSBI_PROT_SPI>; 200 - status = "okay"; 201 - spi4: spi@1a280000 { 202 - status = "okay"; 203 - num-cs = <1>; 204 - cs-gpios = <&tlmm_pinmux 53 0>; 205 - }; 206 - }; 207 - 208 - gsbi@16500000 { 209 - status = "okay"; 210 - qcom,mode = <GSBI_PROT_UART_W_FC>; 211 - 212 - serial@16540000 { 213 - status = "okay"; 214 - pinctrl-names = "default"; 215 - pinctrl-0 = <&gsbi6_uart_4pins>; 216 - }; 217 - }; 218 - 219 - gsbi@16600000 { 220 - status = "okay"; 221 - qcom,mode = <GSBI_PROT_I2C_UART>; 222 - serial@16640000 { 223 - status = "okay"; 224 - pinctrl-names = "default"; 225 - pinctrl-0 = <&gsbi7_uart_2pins>; 226 - }; 227 - }; 228 - 229 - sata_phy0: phy@1b400000 { 230 - status = "okay"; 231 - }; 232 - 233 - sata0: sata@29000000 { 234 - status = "okay"; 235 - target-supply = <&pm8921_s4>; 236 - }; 237 - 238 - /* OTG */ 239 - usb@12500000 { 240 - status = "okay"; 241 - dr_mode = "otg"; 242 - ulpi { 243 - phy { 244 - v3p3-supply = <&pm8921_l3>; 245 - v1p8-supply = <&pm8921_l4>; 246 - }; 247 - }; 248 - }; 249 - 250 - usb@12520000 { 251 - status = "okay"; 252 - dr_mode = "host"; 253 - ulpi { 254 - phy { 255 - v3p3-supply = <&pm8921_l3>; 256 - v1p8-supply = <&pm8921_l23>; 257 - }; 258 - }; 259 - }; 260 - 261 - usb@12530000 { 262 - status = "okay"; 263 - dr_mode = "host"; 264 - ulpi { 265 - phy { 266 - v3p3-supply = <&pm8921_l3>; 267 - v1p8-supply = <&pm8921_l23>; 268 - }; 269 - }; 270 - }; 271 - 272 - pci@1b500000 { 273 - status = "okay"; 274 - vdda-supply = <&pm8921_s3>; 275 - vdda_phy-supply = <&pm8921_lvs6>; 276 - vdda_refclk-supply = <&ext_3p3v>; 277 - pinctrl-0 = <&pcie_pins>; 278 - pinctrl-names = "default"; 279 - perst-gpios = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>; 280 - }; 281 - 282 - qcom,ssbi@500000 { 283 - pmic@0 { 284 - gpio@150 { 285 - wlan_default_gpios: wlan-gpios-state { 286 - pinconf { 287 - pins = "gpio43"; 288 - function = "normal"; 289 - bias-disable; 290 - power-source = <PM8921_GPIO_S4>; 291 - }; 292 - }; 293 - 294 - notify_led: nled-state { 295 - pinconf { 296 - pins = "gpio18"; 297 - function = "normal"; 298 - bias-disable; 299 - power-source = <PM8921_GPIO_S4>; 300 - }; 301 - }; 302 - }; 303 - }; 304 - }; 305 - 306 - amba { 307 - /* eMMC */ 308 - sdcc1: mmc@12400000 { 309 - status = "okay"; 310 - vmmc-supply = <&pm8921_l5>; 311 - vqmmc-supply = <&pm8921_s4>; 312 - }; 313 - 314 - /* External micro SD card */ 315 - sdcc3: mmc@12180000 { 316 - status = "okay"; 317 - vmmc-supply = <&pm8921_l6>; 318 - pinctrl-names = "default"; 319 - pinctrl-0 = <&card_detect>; 320 - cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>; 321 - }; 322 - /* WLAN */ 323 - sdcc4: mmc@121c0000 { 324 - status = "okay"; 325 - vmmc-supply = <&ext_3p3v>; 326 - vqmmc-supply = <&pm8921_lvs1>; 327 - mmc-pwrseq = <&sdcc4_pwrseq>; 328 - }; 329 - }; 330 - 331 - hdmi-tx@4a00000 { 332 - status = "okay"; 333 - 334 - core-vdda-supply = <&pm8921_hdmi_switch>; 335 - 336 - hpd-gpios = <&tlmm_pinmux 72 GPIO_ACTIVE_HIGH>; 337 - 338 - ports { 339 - port@0 { 340 - endpoint { 341 - remote-endpoint = <&mdp_dtv_out>; 342 - }; 343 - }; 344 - 345 - port@1 { 346 - endpoint { 347 - remote-endpoint = <&hdmi_con>; 348 - }; 349 - }; 350 - }; 351 - }; 352 - 353 - hdmi-phy@4a00400 { 354 - status = "okay"; 355 - 356 - core-vdda-supply = <&pm8921_hdmi_switch>; 357 - }; 358 - 359 - mdp@5100000 { 360 - status = "okay"; 361 - 362 - ports { 363 - port@3 { 364 - endpoint { 365 - remote-endpoint = <&hdmi_in>; 366 - }; 367 - }; 368 - }; 185 + &pm8921_gpio { 186 + wlan_default_gpios: wlan-gpios-state { 187 + pinconf { 188 + pins = "gpio43"; 189 + function = "normal"; 190 + bias-disable; 191 + power-source = <PM8921_GPIO_S4>; 369 192 }; 370 193 }; 194 + 195 + notify_led: nled-state { 196 + pinconf { 197 + pins = "gpio18"; 198 + function = "normal"; 199 + bias-disable; 200 + power-source = <PM8921_GPIO_S4>; 201 + }; 202 + }; 203 + }; 204 + 205 + &rpm { 206 + regulators { 207 + vin_lvs1_3_6-supply = <&pm8921_s4>; 208 + vin_lvs2-supply = <&pm8921_s1>; 209 + vin_lvs4_5_7-supply = <&pm8921_s4>; 210 + 211 + vdd_l1_l2_l12_l18-supply = <&pm8921_s4>; 212 + vdd_l24-supply = <&pm8921_s1>; 213 + vdd_l25-supply = <&pm8921_s1>; 214 + vdd_l26-supply = <&pm8921_s7>; 215 + vdd_l27-supply = <&pm8921_s7>; 216 + vdd_l28-supply = <&pm8921_s7>; 217 + 218 + 219 + /* Buck SMPS */ 220 + s1 { 221 + regulator-always-on; 222 + regulator-min-microvolt = <1225000>; 223 + regulator-max-microvolt = <1225000>; 224 + qcom,switch-mode-frequency = <3200000>; 225 + bias-pull-down; 226 + }; 227 + 228 + s3 { 229 + regulator-min-microvolt = <1000000>; 230 + regulator-max-microvolt = <1400000>; 231 + qcom,switch-mode-frequency = <4800000>; 232 + }; 233 + 234 + s4 { 235 + regulator-min-microvolt = <1800000>; 236 + regulator-max-microvolt = <1800000>; 237 + qcom,switch-mode-frequency = <3200000>; 238 + }; 239 + 240 + s7 { 241 + regulator-min-microvolt = <1300000>; 242 + regulator-max-microvolt = <1300000>; 243 + qcom,switch-mode-frequency = <3200000>; 244 + }; 245 + 246 + l3 { 247 + regulator-min-microvolt = <3050000>; 248 + regulator-max-microvolt = <3300000>; 249 + bias-pull-down; 250 + }; 251 + 252 + l4 { 253 + regulator-min-microvolt = <1000000>; 254 + regulator-max-microvolt = <1800000>; 255 + bias-pull-down; 256 + }; 257 + 258 + l5 { 259 + regulator-min-microvolt = <2750000>; 260 + regulator-max-microvolt = <3000000>; 261 + bias-pull-down; 262 + }; 263 + 264 + l6 { 265 + regulator-min-microvolt = <2950000>; 266 + regulator-max-microvolt = <2950000>; 267 + bias-pull-down; 268 + }; 269 + 270 + l23 { 271 + regulator-min-microvolt = <1700000>; 272 + regulator-max-microvolt = <1900000>; 273 + bias-pull-down; 274 + }; 275 + 276 + lvs1 { 277 + bias-pull-down; 278 + }; 279 + 280 + lvs6 { 281 + bias-pull-down; 282 + }; 283 + }; 284 + }; 285 + 286 + &sata_phy0 { 287 + status = "okay"; 288 + }; 289 + 290 + &sata0 { 291 + target-supply = <&pm8921_s4>; 292 + status = "okay"; 293 + }; 294 + 295 + /* eMMC */ 296 + &sdcc1 { 297 + vmmc-supply = <&pm8921_l5>; 298 + vqmmc-supply = <&pm8921_s4>; 299 + status = "okay"; 300 + }; 301 + 302 + /* External micro SD card */ 303 + &sdcc3 { 304 + vmmc-supply = <&pm8921_l6>; 305 + pinctrl-names = "default"; 306 + pinctrl-0 = <&card_detect>; 307 + cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>; 308 + status = "okay"; 309 + }; 310 + 311 + /* WLAN */ 312 + &sdcc4 { 313 + vmmc-supply = <&ext_3p3v>; 314 + vqmmc-supply = <&pm8921_lvs1>; 315 + mmc-pwrseq = <&sdcc4_pwrseq>; 316 + status = "okay"; 317 + }; 318 + 319 + &tlmm_pinmux { 320 + card_detect: card_detect { 321 + mux { 322 + pins = "gpio26"; 323 + function = "gpio"; 324 + bias-disable; 325 + }; 326 + }; 327 + 328 + pcie_pins: pcie_pinmux { 329 + mux { 330 + pins = "gpio27"; 331 + function = "gpio"; 332 + }; 333 + conf { 334 + pins = "gpio27"; 335 + drive-strength = <12>; 336 + bias-disable; 337 + }; 338 + }; 339 + }; 340 + 341 + &usb_hs1_phy { 342 + v3p3-supply = <&pm8921_l3>; 343 + v1p8-supply = <&pm8921_l4>; 344 + }; 345 + 346 + &usb_hs3_phy { 347 + v3p3-supply = <&pm8921_l3>; 348 + v1p8-supply = <&pm8921_l23>; 349 + }; 350 + 351 + &usb_hs4_phy { 352 + v3p3-supply = <&pm8921_l3>; 353 + v1p8-supply = <&pm8921_l23>; 354 + }; 355 + 356 + /* OTG */ 357 + &usb1 { 358 + dr_mode = "otg"; 359 + status = "okay"; 360 + }; 361 + 362 + &usb3 { 363 + dr_mode = "host"; 364 + status = "okay"; 365 + }; 366 + 367 + &usb4 { 368 + dr_mode = "host"; 369 + status = "okay"; 371 370 };
+315 -327
arch/arm/boot/dts/qcom-apq8064-sony-xperia-lagan-yuga.dts
··· 8 8 / { 9 9 model = "Sony Xperia Z"; 10 10 compatible = "sony,xperia-yuga", "qcom,apq8064"; 11 + chassis-type = "handset"; 11 12 12 13 aliases { 13 14 serial0 = &gsbi5_serial; ··· 52 51 linux,code = <KEY_VOLUMEUP>; 53 52 }; 54 53 }; 54 + }; 55 55 56 - soc { 57 - pinctrl@800000 { 58 - gsbi5_uart_pin_a: gsbi5-uart-pin-active { 59 - rx { 60 - pins = "gpio52"; 61 - function = "gsbi5"; 62 - drive-strength = <2>; 63 - bias-pull-up; 64 - }; 56 + &gsbi5 { 57 + qcom,mode = <GSBI_PROT_I2C_UART>; 58 + status = "okay"; 59 + }; 65 60 66 - tx { 67 - pins = "gpio51"; 68 - function = "gsbi5"; 69 - drive-strength = <4>; 70 - bias-disable; 71 - }; 72 - }; 61 + &gsbi5_serial { 62 + pinctrl-names = "default"; 63 + pinctrl-0 = <&gsbi5_uart_pin_a>; 64 + status = "okay"; 65 + }; 73 66 67 + &pm8921_gpio { 68 + gpio_keys_pin_a: gpio-keys-active-state { 69 + pins = "gpio3", "gpio4", "gpio29", "gpio35"; 70 + function = "normal"; 74 71 75 - sdcc3_cd_pin_a: sdcc3-cd-pin-active { 76 - pins = "gpio26"; 77 - function = "gpio"; 72 + bias-pull-up; 73 + drive-push-pull; 74 + input-enable; 75 + power-source = <2>; 76 + qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>; 77 + qcom,pull-up-strength = <0>; 78 + }; 79 + }; 78 80 79 - drive-strength = <2>; 80 - bias-disable; 81 - }; 81 + &riva { 82 + pinctrl-names = "default"; 83 + pinctrl-0 = <&riva_wlan_pin_a>, <&riva_bt_pin_a>, <&riva_fm_pin_a>; 84 + status = "okay"; 85 + }; 86 + 87 + &rpm { 88 + regulators { 89 + vin_l1_l2_l12_l18-supply = <&pm8921_s4>; 90 + vin_lvs_1_3_6-supply = <&pm8921_s4>; 91 + vin_lvs_4_5_7-supply = <&pm8921_s4>; 92 + vin_ncp-supply = <&pm8921_l6>; 93 + vin_lvs2-supply = <&pm8921_s4>; 94 + vin_l24-supply = <&pm8921_s1>; 95 + vin_l25-supply = <&pm8921_s1>; 96 + vin_l27-supply = <&pm8921_s7>; 97 + vin_l28-supply = <&pm8921_s7>; 98 + 99 + /* Buck SMPS */ 100 + s1 { 101 + regulator-always-on; 102 + regulator-min-microvolt = <1225000>; 103 + regulator-max-microvolt = <1225000>; 104 + qcom,switch-mode-frequency = <3200000>; 105 + bias-pull-down; 82 106 }; 83 107 84 - 85 - rpm@108000 { 86 - regulators { 87 - vin_l1_l2_l12_l18-supply = <&pm8921_s4>; 88 - vin_lvs_1_3_6-supply = <&pm8921_s4>; 89 - vin_lvs_4_5_7-supply = <&pm8921_s4>; 90 - vin_ncp-supply = <&pm8921_l6>; 91 - vin_lvs2-supply = <&pm8921_s4>; 92 - vin_l24-supply = <&pm8921_s1>; 93 - vin_l25-supply = <&pm8921_s1>; 94 - vin_l27-supply = <&pm8921_s7>; 95 - vin_l28-supply = <&pm8921_s7>; 96 - 97 - /* Buck SMPS */ 98 - s1 { 99 - regulator-always-on; 100 - regulator-min-microvolt = <1225000>; 101 - regulator-max-microvolt = <1225000>; 102 - qcom,switch-mode-frequency = <3200000>; 103 - bias-pull-down; 104 - }; 105 - 106 - s2 { 107 - regulator-min-microvolt = <1300000>; 108 - regulator-max-microvolt = <1300000>; 109 - qcom,switch-mode-frequency = <1600000>; 110 - bias-pull-down; 111 - }; 112 - 113 - s3 { 114 - regulator-min-microvolt = <500000>; 115 - regulator-max-microvolt = <1150000>; 116 - qcom,switch-mode-frequency = <4800000>; 117 - bias-pull-down; 118 - }; 119 - 120 - s4 { 121 - regulator-always-on; 122 - regulator-min-microvolt = <1800000>; 123 - regulator-max-microvolt = <1800000>; 124 - qcom,switch-mode-frequency = <1600000>; 125 - bias-pull-down; 126 - qcom,force-mode = <QCOM_RPM_FORCE_MODE_AUTO>; 127 - }; 128 - 129 - s7 { 130 - regulator-min-microvolt = <1300000>; 131 - regulator-max-microvolt = <1300000>; 132 - qcom,switch-mode-frequency = <3200000>; 133 - }; 134 - 135 - s8 { 136 - regulator-min-microvolt = <2200000>; 137 - regulator-max-microvolt = <2200000>; 138 - qcom,switch-mode-frequency = <1600000>; 139 - }; 140 - 141 - /* PMOS LDO */ 142 - l1 { 143 - regulator-always-on; 144 - regulator-min-microvolt = <1100000>; 145 - regulator-max-microvolt = <1100000>; 146 - bias-pull-down; 147 - }; 148 - 149 - l2 { 150 - regulator-min-microvolt = <1200000>; 151 - regulator-max-microvolt = <1200000>; 152 - bias-pull-down; 153 - }; 154 - 155 - l3 { 156 - regulator-min-microvolt = <3075000>; 157 - regulator-max-microvolt = <3075000>; 158 - bias-pull-down; 159 - }; 160 - 161 - l4 { 162 - regulator-always-on; 163 - regulator-min-microvolt = <1800000>; 164 - regulator-max-microvolt = <1800000>; 165 - bias-pull-down; 166 - }; 167 - 168 - l5 { 169 - regulator-min-microvolt = <2950000>; 170 - regulator-max-microvolt = <2950000>; 171 - bias-pull-down; 172 - }; 173 - 174 - l6 { 175 - regulator-min-microvolt = <2950000>; 176 - regulator-max-microvolt = <2950000>; 177 - bias-pull-down; 178 - }; 179 - 180 - l7 { 181 - regulator-min-microvolt = <1850000>; 182 - regulator-max-microvolt = <2950000>; 183 - bias-pull-down; 184 - }; 185 - 186 - l8 { 187 - regulator-min-microvolt = <2800000>; 188 - regulator-max-microvolt = <2800000>; 189 - bias-pull-down; 190 - }; 191 - 192 - l9 { 193 - regulator-min-microvolt = <3000000>; 194 - regulator-max-microvolt = <3000000>; 195 - bias-pull-down; 196 - }; 197 - 198 - l10 { 199 - regulator-min-microvolt = <2900000>; 200 - regulator-max-microvolt = <2900000>; 201 - bias-pull-down; 202 - }; 203 - 204 - l11 { 205 - regulator-min-microvolt = <3000000>; 206 - regulator-max-microvolt = <3000000>; 207 - bias-pull-down; 208 - }; 209 - 210 - l12 { 211 - regulator-min-microvolt = <1200000>; 212 - regulator-max-microvolt = <1200000>; 213 - bias-pull-down; 214 - }; 215 - 216 - l14 { 217 - regulator-min-microvolt = <1800000>; 218 - regulator-max-microvolt = <1800000>; 219 - bias-pull-down; 220 - }; 221 - 222 - l15 { 223 - regulator-min-microvolt = <1800000>; 224 - regulator-max-microvolt = <2950000>; 225 - bias-pull-down; 226 - }; 227 - 228 - l16 { 229 - regulator-min-microvolt = <2800000>; 230 - regulator-max-microvolt = <2800000>; 231 - bias-pull-down; 232 - }; 233 - 234 - l17 { 235 - regulator-min-microvolt = <2000000>; 236 - regulator-max-microvolt = <2000000>; 237 - bias-pull-down; 238 - }; 239 - 240 - l18 { 241 - regulator-min-microvolt = <1200000>; 242 - regulator-max-microvolt = <1200000>; 243 - bias-pull-down; 244 - }; 245 - 246 - l21 { 247 - regulator-min-microvolt = <1050000>; 248 - regulator-max-microvolt = <1050000>; 249 - bias-pull-down; 250 - }; 251 - 252 - l22 { 253 - regulator-min-microvolt = <2600000>; 254 - regulator-max-microvolt = <2600000>; 255 - bias-pull-down; 256 - }; 257 - 258 - l23 { 259 - regulator-min-microvolt = <1800000>; 260 - regulator-max-microvolt = <1800000>; 261 - bias-pull-down; 262 - }; 263 - 264 - l24 { 265 - regulator-min-microvolt = <750000>; 266 - regulator-max-microvolt = <1150000>; 267 - bias-pull-down; 268 - }; 269 - 270 - l25 { 271 - regulator-always-on; 272 - regulator-min-microvolt = <1250000>; 273 - regulator-max-microvolt = <1250000>; 274 - bias-pull-down; 275 - }; 276 - 277 - l27 { 278 - regulator-min-microvolt = <1100000>; 279 - regulator-max-microvolt = <1100000>; 280 - }; 281 - 282 - l28 { 283 - regulator-min-microvolt = <1050000>; 284 - regulator-max-microvolt = <1050000>; 285 - bias-pull-down; 286 - }; 287 - 288 - l29 { 289 - regulator-min-microvolt = <2000000>; 290 - regulator-max-microvolt = <2000000>; 291 - bias-pull-down; 292 - }; 293 - 294 - /* Low Voltage Switch */ 295 - lvs1 { 296 - bias-pull-down; 297 - }; 298 - 299 - lvs2 { 300 - bias-pull-down; 301 - }; 302 - 303 - lvs3 { 304 - bias-pull-down; 305 - }; 306 - 307 - lvs4 { 308 - bias-pull-down; 309 - }; 310 - 311 - lvs5 { 312 - bias-pull-down; 313 - }; 314 - 315 - lvs6 { 316 - bias-pull-down; 317 - }; 318 - 319 - lvs7 { 320 - bias-pull-down; 321 - }; 322 - 323 - usb-switch {}; 324 - 325 - hdmi-switch {}; 326 - 327 - ncp { 328 - regulator-min-microvolt = <1800000>; 329 - regulator-max-microvolt = <1800000>; 330 - qcom,switch-mode-frequency = <1600000>; 331 - }; 332 - }; 108 + s2 { 109 + regulator-min-microvolt = <1300000>; 110 + regulator-max-microvolt = <1300000>; 111 + qcom,switch-mode-frequency = <1600000>; 112 + bias-pull-down; 333 113 }; 334 114 335 - qcom,ssbi@500000 { 336 - pmic@0 { 337 - gpio@150 { 338 - gpio_keys_pin_a: gpio-keys-active-state { 339 - pins = "gpio3", "gpio4", "gpio29", "gpio35"; 340 - function = "normal"; 341 - 342 - bias-pull-up; 343 - drive-push-pull; 344 - input-enable; 345 - power-source = <2>; 346 - qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>; 347 - qcom,pull-up-strength = <0>; 348 - }; 349 - }; 350 - }; 115 + s3 { 116 + regulator-min-microvolt = <500000>; 117 + regulator-max-microvolt = <1150000>; 118 + qcom,switch-mode-frequency = <4800000>; 119 + bias-pull-down; 351 120 }; 352 121 353 - usb@12500000 { 354 - status = "okay"; 355 - dr_mode = "otg"; 356 - ulpi { 357 - phy { 358 - v3p3-supply = <&pm8921_l3>; 359 - v1p8-supply = <&pm8921_l4>; 360 - }; 361 - }; 122 + s4 { 123 + regulator-always-on; 124 + regulator-min-microvolt = <1800000>; 125 + regulator-max-microvolt = <1800000>; 126 + qcom,switch-mode-frequency = <1600000>; 127 + bias-pull-down; 128 + qcom,force-mode = <QCOM_RPM_FORCE_MODE_AUTO>; 362 129 }; 363 130 364 - gsbi@1a200000 { 365 - status = "okay"; 366 - qcom,mode = <GSBI_PROT_I2C_UART>; 367 - 368 - serial@1a240000 { 369 - status = "okay"; 370 - 371 - pinctrl-names = "default"; 372 - pinctrl-0 = <&gsbi5_uart_pin_a>; 373 - }; 131 + s7 { 132 + regulator-min-microvolt = <1300000>; 133 + regulator-max-microvolt = <1300000>; 134 + qcom,switch-mode-frequency = <3200000>; 374 135 }; 375 136 376 - amba { 377 - sdcc1: mmc@12400000 { 378 - status = "okay"; 379 - 380 - vmmc-supply = <&pm8921_l5>; 381 - vqmmc-supply = <&pm8921_s4>; 382 - }; 383 - 384 - sdcc3: mmc@12180000 { 385 - status = "okay"; 386 - 387 - vmmc-supply = <&pm8921_l6>; 388 - cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>; 389 - 390 - pinctrl-names = "default"; 391 - pinctrl-0 = <&sdcc3_pins>, <&sdcc3_cd_pin_a>; 392 - }; 137 + s8 { 138 + regulator-min-microvolt = <2200000>; 139 + regulator-max-microvolt = <2200000>; 140 + qcom,switch-mode-frequency = <1600000>; 393 141 }; 394 142 395 - riva-pil@3204000 { 396 - status = "okay"; 143 + /* PMOS LDO */ 144 + l1 { 145 + regulator-always-on; 146 + regulator-min-microvolt = <1100000>; 147 + regulator-max-microvolt = <1100000>; 148 + bias-pull-down; 149 + }; 397 150 398 - pinctrl-names = "default"; 399 - pinctrl-0 = <&riva_wlan_pin_a>, <&riva_bt_pin_a>, <&riva_fm_pin_a>; 151 + l2 { 152 + regulator-min-microvolt = <1200000>; 153 + regulator-max-microvolt = <1200000>; 154 + bias-pull-down; 155 + }; 156 + 157 + l3 { 158 + regulator-min-microvolt = <3075000>; 159 + regulator-max-microvolt = <3075000>; 160 + bias-pull-down; 161 + }; 162 + 163 + l4 { 164 + regulator-always-on; 165 + regulator-min-microvolt = <1800000>; 166 + regulator-max-microvolt = <1800000>; 167 + bias-pull-down; 168 + }; 169 + 170 + l5 { 171 + regulator-min-microvolt = <2950000>; 172 + regulator-max-microvolt = <2950000>; 173 + bias-pull-down; 174 + }; 175 + 176 + l6 { 177 + regulator-min-microvolt = <2950000>; 178 + regulator-max-microvolt = <2950000>; 179 + bias-pull-down; 180 + }; 181 + 182 + l7 { 183 + regulator-min-microvolt = <1850000>; 184 + regulator-max-microvolt = <2950000>; 185 + bias-pull-down; 186 + }; 187 + 188 + l8 { 189 + regulator-min-microvolt = <2800000>; 190 + regulator-max-microvolt = <2800000>; 191 + bias-pull-down; 192 + }; 193 + 194 + l9 { 195 + regulator-min-microvolt = <3000000>; 196 + regulator-max-microvolt = <3000000>; 197 + bias-pull-down; 198 + }; 199 + 200 + l10 { 201 + regulator-min-microvolt = <2900000>; 202 + regulator-max-microvolt = <2900000>; 203 + bias-pull-down; 204 + }; 205 + 206 + l11 { 207 + regulator-min-microvolt = <3000000>; 208 + regulator-max-microvolt = <3000000>; 209 + bias-pull-down; 210 + }; 211 + 212 + l12 { 213 + regulator-min-microvolt = <1200000>; 214 + regulator-max-microvolt = <1200000>; 215 + bias-pull-down; 216 + }; 217 + 218 + l14 { 219 + regulator-min-microvolt = <1800000>; 220 + regulator-max-microvolt = <1800000>; 221 + bias-pull-down; 222 + }; 223 + 224 + l15 { 225 + regulator-min-microvolt = <1800000>; 226 + regulator-max-microvolt = <2950000>; 227 + bias-pull-down; 228 + }; 229 + 230 + l16 { 231 + regulator-min-microvolt = <2800000>; 232 + regulator-max-microvolt = <2800000>; 233 + bias-pull-down; 234 + }; 235 + 236 + l17 { 237 + regulator-min-microvolt = <2000000>; 238 + regulator-max-microvolt = <2000000>; 239 + bias-pull-down; 240 + }; 241 + 242 + l18 { 243 + regulator-min-microvolt = <1200000>; 244 + regulator-max-microvolt = <1200000>; 245 + bias-pull-down; 246 + }; 247 + 248 + l21 { 249 + regulator-min-microvolt = <1050000>; 250 + regulator-max-microvolt = <1050000>; 251 + bias-pull-down; 252 + }; 253 + 254 + l22 { 255 + regulator-min-microvolt = <2600000>; 256 + regulator-max-microvolt = <2600000>; 257 + bias-pull-down; 258 + }; 259 + 260 + l23 { 261 + regulator-min-microvolt = <1800000>; 262 + regulator-max-microvolt = <1800000>; 263 + bias-pull-down; 264 + }; 265 + 266 + l24 { 267 + regulator-min-microvolt = <750000>; 268 + regulator-max-microvolt = <1150000>; 269 + bias-pull-down; 270 + }; 271 + 272 + l25 { 273 + regulator-always-on; 274 + regulator-min-microvolt = <1250000>; 275 + regulator-max-microvolt = <1250000>; 276 + bias-pull-down; 277 + }; 278 + 279 + l27 { 280 + regulator-min-microvolt = <1100000>; 281 + regulator-max-microvolt = <1100000>; 282 + }; 283 + 284 + l28 { 285 + regulator-min-microvolt = <1050000>; 286 + regulator-max-microvolt = <1050000>; 287 + bias-pull-down; 288 + }; 289 + 290 + l29 { 291 + regulator-min-microvolt = <2000000>; 292 + regulator-max-microvolt = <2000000>; 293 + bias-pull-down; 294 + }; 295 + 296 + /* Low Voltage Switch */ 297 + lvs1 { 298 + bias-pull-down; 299 + }; 300 + 301 + lvs2 { 302 + bias-pull-down; 303 + }; 304 + 305 + lvs3 { 306 + bias-pull-down; 307 + }; 308 + 309 + lvs4 { 310 + bias-pull-down; 311 + }; 312 + 313 + lvs5 { 314 + bias-pull-down; 315 + }; 316 + 317 + lvs6 { 318 + bias-pull-down; 319 + }; 320 + 321 + lvs7 { 322 + bias-pull-down; 323 + }; 324 + 325 + usb-switch {}; 326 + 327 + hdmi-switch {}; 328 + 329 + ncp { 330 + regulator-min-microvolt = <1800000>; 331 + regulator-max-microvolt = <1800000>; 332 + qcom,switch-mode-frequency = <1600000>; 400 333 }; 401 334 }; 335 + }; 336 + 337 + &sdcc1 { 338 + vmmc-supply = <&pm8921_l5>; 339 + vqmmc-supply = <&pm8921_s4>; 340 + status = "okay"; 341 + }; 342 + 343 + &sdcc3 { 344 + vmmc-supply = <&pm8921_l6>; 345 + cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>; 346 + 347 + pinctrl-names = "default"; 348 + pinctrl-0 = <&sdcc3_pins>, <&sdcc3_cd_pin_a>; 349 + 350 + status = "okay"; 351 + }; 352 + 353 + &tlmm_pinmux { 354 + gsbi5_uart_pin_a: gsbi5-uart-pin-active { 355 + rx { 356 + pins = "gpio52"; 357 + function = "gsbi5"; 358 + drive-strength = <2>; 359 + bias-pull-up; 360 + }; 361 + 362 + tx { 363 + pins = "gpio51"; 364 + function = "gsbi5"; 365 + drive-strength = <4>; 366 + bias-disable; 367 + }; 368 + }; 369 + 370 + 371 + sdcc3_cd_pin_a: sdcc3-cd-pin-active { 372 + pins = "gpio26"; 373 + function = "gpio"; 374 + 375 + drive-strength = <2>; 376 + bias-disable; 377 + }; 378 + }; 379 + 380 + &usb_hs1_phy { 381 + v3p3-supply = <&pm8921_l3>; 382 + v1p8-supply = <&pm8921_l4>; 383 + }; 384 + 385 + &usb1 { 386 + dr_mode = "otg"; 387 + status = "okay"; 402 388 };
+71 -78
arch/arm/boot/dts/qcom-apq8064.dtsi
··· 672 672 reg = <0x00c00000 0x1000>; 673 673 qcom,controller-type = "pmic-arbiter"; 674 674 675 - pm8821: pmic@1 { 675 + pm8821: pmic { 676 676 compatible = "qcom,pm8821"; 677 677 interrupt-parent = <&tlmm_pinmux>; 678 678 interrupts = <76 IRQ_TYPE_LEVEL_LOW>; ··· 693 693 }; 694 694 }; 695 695 696 - qcom,ssbi@500000 { 696 + ssbi@500000 { 697 697 compatible = "qcom,ssbi"; 698 698 reg = <0x00500000 0x1000>; 699 699 qcom,controller-type = "pmic-arbiter"; 700 700 701 - pmicintc: pmic@0 { 701 + pmicintc: pmic { 702 702 compatible = "qcom,pm8921"; 703 703 interrupt-parent = <&tlmm_pinmux>; 704 704 interrupts = <74 8>; ··· 884 884 reg = <0x2011000 0x1000>; 885 885 }; 886 886 887 - rpm@108000 { 887 + rpm: rpm@108000 { 888 888 compatible = "qcom,rpm-apq8064"; 889 889 reg = <0x108000 0x1000>; 890 890 qcom,ipc = <&l2cc 0x8 2>; ··· 1085 1085 ports-implemented = <0x1>; 1086 1086 }; 1087 1087 1088 - /* Temporary fixed regulator */ 1089 - sdcc1bam: dma-controller@12402000{ 1090 - compatible = "qcom,bam-v1.3.0"; 1091 - reg = <0x12402000 0x8000>; 1092 - interrupts = <0 98 IRQ_TYPE_LEVEL_HIGH>; 1093 - clocks = <&gcc SDC1_H_CLK>; 1094 - clock-names = "bam_clk"; 1095 - #dma-cells = <1>; 1096 - qcom,ee = <0>; 1088 + sdcc3: mmc@12180000 { 1089 + compatible = "arm,pl18x", "arm,primecell"; 1090 + arm,primecell-periphid = <0x00051180>; 1091 + status = "disabled"; 1092 + reg = <0x12180000 0x2000>; 1093 + interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; 1094 + clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>; 1095 + clock-names = "mclk", "apb_pclk"; 1096 + bus-width = <4>; 1097 + cap-sd-highspeed; 1098 + cap-mmc-highspeed; 1099 + max-frequency = <192000000>; 1100 + no-1-8-v; 1101 + dmas = <&sdcc3bam 2>, <&sdcc3bam 1>; 1102 + dma-names = "tx", "rx"; 1097 1103 }; 1098 1104 1099 1105 sdcc3bam: dma-controller@12182000{ ··· 1112 1106 qcom,ee = <0>; 1113 1107 }; 1114 1108 1109 + sdcc4: mmc@121c0000 { 1110 + compatible = "arm,pl18x", "arm,primecell"; 1111 + arm,primecell-periphid = <0x00051180>; 1112 + status = "disabled"; 1113 + reg = <0x121c0000 0x2000>; 1114 + interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; 1115 + clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>; 1116 + clock-names = "mclk", "apb_pclk"; 1117 + bus-width = <4>; 1118 + cap-sd-highspeed; 1119 + cap-mmc-highspeed; 1120 + max-frequency = <48000000>; 1121 + dmas = <&sdcc4bam 2>, <&sdcc4bam 1>; 1122 + dma-names = "tx", "rx"; 1123 + pinctrl-names = "default"; 1124 + pinctrl-0 = <&sdc4_gpios>; 1125 + }; 1126 + 1115 1127 sdcc4bam: dma-controller@121c2000{ 1116 1128 compatible = "qcom,bam-v1.3.0"; 1117 1129 reg = <0x121c2000 0x8000>; ··· 1140 1116 qcom,ee = <0>; 1141 1117 }; 1142 1118 1143 - amba { 1144 - compatible = "simple-bus"; 1145 - #address-cells = <1>; 1146 - #size-cells = <1>; 1147 - ranges; 1148 - sdcc1: mmc@12400000 { 1149 - status = "disabled"; 1150 - compatible = "arm,pl18x", "arm,primecell"; 1151 - pinctrl-names = "default"; 1152 - pinctrl-0 = <&sdcc1_pins>; 1153 - arm,primecell-periphid = <0x00051180>; 1154 - reg = <0x12400000 0x2000>; 1155 - interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; 1156 - interrupt-names = "cmd_irq"; 1157 - clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>; 1158 - clock-names = "mclk", "apb_pclk"; 1159 - bus-width = <8>; 1160 - max-frequency = <96000000>; 1161 - non-removable; 1162 - cap-sd-highspeed; 1163 - cap-mmc-highspeed; 1164 - dmas = <&sdcc1bam 2>, <&sdcc1bam 1>; 1165 - dma-names = "tx", "rx"; 1166 - }; 1119 + sdcc1: mmc@12400000 { 1120 + status = "disabled"; 1121 + compatible = "arm,pl18x", "arm,primecell"; 1122 + pinctrl-names = "default"; 1123 + pinctrl-0 = <&sdcc1_pins>; 1124 + arm,primecell-periphid = <0x00051180>; 1125 + reg = <0x12400000 0x2000>; 1126 + interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; 1127 + clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>; 1128 + clock-names = "mclk", "apb_pclk"; 1129 + bus-width = <8>; 1130 + max-frequency = <96000000>; 1131 + non-removable; 1132 + cap-sd-highspeed; 1133 + cap-mmc-highspeed; 1134 + dmas = <&sdcc1bam 2>, <&sdcc1bam 1>; 1135 + dma-names = "tx", "rx"; 1136 + }; 1167 1137 1168 - sdcc3: mmc@12180000 { 1169 - compatible = "arm,pl18x", "arm,primecell"; 1170 - arm,primecell-periphid = <0x00051180>; 1171 - status = "disabled"; 1172 - reg = <0x12180000 0x2000>; 1173 - interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; 1174 - interrupt-names = "cmd_irq"; 1175 - clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>; 1176 - clock-names = "mclk", "apb_pclk"; 1177 - bus-width = <4>; 1178 - cap-sd-highspeed; 1179 - cap-mmc-highspeed; 1180 - max-frequency = <192000000>; 1181 - no-1-8-v; 1182 - dmas = <&sdcc3bam 2>, <&sdcc3bam 1>; 1183 - dma-names = "tx", "rx"; 1184 - }; 1185 - 1186 - sdcc4: mmc@121c0000 { 1187 - compatible = "arm,pl18x", "arm,primecell"; 1188 - arm,primecell-periphid = <0x00051180>; 1189 - status = "disabled"; 1190 - reg = <0x121c0000 0x2000>; 1191 - interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; 1192 - interrupt-names = "cmd_irq"; 1193 - clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>; 1194 - clock-names = "mclk", "apb_pclk"; 1195 - bus-width = <4>; 1196 - cap-sd-highspeed; 1197 - cap-mmc-highspeed; 1198 - max-frequency = <48000000>; 1199 - dmas = <&sdcc4bam 2>, <&sdcc4bam 1>; 1200 - dma-names = "tx", "rx"; 1201 - pinctrl-names = "default"; 1202 - pinctrl-0 = <&sdc4_gpios>; 1203 - }; 1138 + sdcc1bam: dma-controller@12402000{ 1139 + compatible = "qcom,bam-v1.3.0"; 1140 + reg = <0x12402000 0x8000>; 1141 + interrupts = <0 98 IRQ_TYPE_LEVEL_HIGH>; 1142 + clocks = <&gcc SDC1_H_CLK>; 1143 + clock-names = "bam_clk"; 1144 + #dma-cells = <1>; 1145 + qcom,ee = <0>; 1204 1146 }; 1205 1147 1206 1148 tcsr: syscon@1a400000 { ··· 1306 1316 <&dsi0_phy 1>; 1307 1317 syscon-sfpb = <&mmss_sfpb>; 1308 1318 phys = <&dsi0_phy>; 1309 - phy-names = "dsi"; 1310 1319 status = "disabled"; 1311 1320 1312 1321 ports { ··· 1327 1338 }; 1328 1339 1329 1340 1330 - dsi0_phy: dsi-phy@4700200 { 1341 + dsi0_phy: phy@4700200 { 1331 1342 compatible = "qcom,dsi-phy-28nm-8960"; 1332 1343 #clock-cells = <1>; 1333 1344 #phy-cells = <0>; ··· 1459 1470 1460 1471 phys = <&hdmi_phy>; 1461 1472 1473 + status = "disabled"; 1474 + 1462 1475 ports { 1463 1476 #address-cells = <1>; 1464 1477 #size-cells = <0>; ··· 1479 1488 }; 1480 1489 }; 1481 1490 1482 - hdmi_phy: hdmi-phy@4a00400 { 1491 + hdmi_phy: phy@4a00400 { 1483 1492 compatible = "qcom,hdmi-phy-8960"; 1484 1493 reg = <0x4a00400 0x60>, 1485 1494 <0x4a00500 0x100>; ··· 1489 1498 clocks = <&mmcc HDMI_S_AHB_CLK>; 1490 1499 clock-names = "slave_iface"; 1491 1500 #phy-cells = <0>; 1501 + 1502 + status = "disabled"; 1492 1503 }; 1493 1504 1494 1505 mdp: mdp@5100000 { ··· 1545 1552 }; 1546 1553 }; 1547 1554 1548 - riva: riva-pil@3204000 { 1555 + riva: riva-pil@3200800 { 1549 1556 compatible = "qcom,riva-pil"; 1550 1557 1551 1558 reg = <0x03200800 0x1000>, <0x03202000 0x2000>, <0x03204000 0x100>; ··· 1608 1615 }; 1609 1616 1610 1617 etb@1a01000 { 1611 - compatible = "coresight-etb10", "arm,primecell"; 1618 + compatible = "arm,coresight-etb10", "arm,primecell"; 1612 1619 reg = <0x1a01000 0x1000>; 1613 1620 1614 1621 clocks = <&rpmcc RPM_QDSS_CLK>;
+29 -31
arch/arm/boot/dts/qcom-apq8074-dragonboard.dts
··· 35 35 }; 36 36 }; 37 37 38 - &otg { 39 - status = "okay"; 40 - 41 - phys = <&usb_hs2_phy>; 42 - phy-select = <&tcsr 0xb000 1>; 43 - extcon = <&smbb>, <&usb_id>; 44 - vbus-supply = <&chg_otg>; 45 - hnp-disable; 46 - srp-disable; 47 - adp-disable; 48 - 49 - ulpi { 50 - phy@b { 51 - status = "okay"; 52 - v3p3-supply = <&pm8941_l24>; 53 - v1p8-supply = <&pm8941_l6>; 54 - extcon = <&smbb>; 55 - qcom,init-seq = /bits/ 8 <0x1 0x63>; 56 - }; 57 - }; 58 - }; 59 - 60 38 &rpm_requests { 61 - pm8841-regulators { 39 + regulators-0 { 62 40 compatible = "qcom,rpm-pm8841-regulators"; 63 41 64 42 pm8841_s1: s1 { ··· 60 82 }; 61 83 }; 62 84 63 - pm8941-regulators { 85 + regulators-1 { 64 86 compatible = "qcom,rpm-pm8941-regulators"; 65 87 66 88 vdd_l1_l3-supply = <&pm8941_s1>; ··· 250 272 }; 251 273 252 274 &tlmm { 253 - sdc1_on: sdc1-on { 254 - clk { 275 + sdc1_on: sdc1-on-state { 276 + clk-pins { 255 277 pins = "sdc1_clk"; 256 278 drive-strength = <16>; 257 279 bias-disable; 258 280 }; 259 281 260 - cmd-data { 282 + cmd-data-pins { 261 283 pins = "sdc1_cmd", "sdc1_data"; 262 284 drive-strength = <10>; 263 285 bias-pull-up; 264 286 }; 265 287 }; 266 288 267 - sdc2_on: sdc2-on { 268 - clk { 289 + sdc2_on: sdc2-on-state { 290 + clk-pins { 269 291 pins = "sdc2_clk"; 270 292 drive-strength = <10>; 271 293 bias-disable; 272 294 }; 273 295 274 - cmd-data { 296 + cmd-data-pins { 275 297 pins = "sdc2_cmd", "sdc2_data"; 276 298 drive-strength = <6>; 277 299 bias-pull-up; 278 300 }; 279 301 280 - cd { 302 + cd-pins { 281 303 pins = "gpio62"; 282 304 function = "gpio"; 283 305 drive-strength = <2>; 284 306 bias-disable; 285 307 }; 286 308 }; 309 + }; 310 + 311 + &usb { 312 + status = "okay"; 313 + 314 + phys = <&usb_hs2_phy>; 315 + phy-select = <&tcsr 0xb000 1>; 316 + extcon = <&smbb>, <&usb_id>; 317 + vbus-supply = <&chg_otg>; 318 + hnp-disable; 319 + srp-disable; 320 + adp-disable; 321 + }; 322 + 323 + &usb_hs2_phy { 324 + status = "okay"; 325 + v3p3-supply = <&pm8941_l24>; 326 + v1p8-supply = <&pm8941_l6>; 327 + extcon = <&smbb>; 328 + qcom,init-seq = /bits/ 8 <0x1 0x63>; 287 329 };
+6 -4
arch/arm/boot/dts/qcom-apq8084.dtsi
··· 72 72 }; 73 73 74 74 L2: l2-cache { 75 - compatible = "qcom,arch-cache"; 75 + compatible = "cache"; 76 76 cache-level = <2>; 77 77 qcom,saw = <&saw_l2>; 78 78 }; ··· 258 258 }; 259 259 260 260 tsens: thermal-sensor@fc4a8000 { 261 - compatible = "qcom,msm8974-tsens"; 261 + compatible = "qcom,msm8974-tsens", "qcom,tsens-v0_1"; 262 262 reg = <0xfc4a9000 0x1000>, /* TM */ 263 263 <0xfc4a8000 0x1000>; /* SROT */ 264 264 nvmem-cells = <&tsens_calib>, <&tsens_backup>; 265 265 nvmem-cell-names = "calib", "calib_backup"; 266 266 #qcom,sensors = <11>; 267 + interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>; 268 + interrupt-names = "uplow"; 267 269 #thermal-sensor-cells = <1>; 268 270 }; 269 271 timer@f9020000 { ··· 396 394 #hwlock-cells = <1>; 397 395 }; 398 396 399 - rpm_msg_ram: memory@fc428000 { 397 + rpm_msg_ram: sram@fc428000 { 400 398 compatible = "qcom,rpm-msg-ram"; 401 399 reg = <0xfc428000 0x4000>; 402 400 }; ··· 476 474 compatible = "qcom,rpm-apq8084"; 477 475 qcom,smd-channels = "rpm_requests"; 478 476 479 - pma8084-regulators { 477 + regulators-0 { 480 478 compatible = "qcom,rpm-pma8084-regulators"; 481 479 482 480 pma8084_s1: s1 {};
+3 -3
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac-bit.dts
··· 9 9 leds { 10 10 compatible = "gpio-leds"; 11 11 12 - power { 12 + led-power { 13 13 label = "ap120c-ac:green:power"; 14 14 function = LED_FUNCTION_POWER; 15 15 color = <LED_COLOR_ID_GREEN>; ··· 17 17 default-state = "on"; 18 18 }; 19 19 20 - wlan { 20 + led-wlan { 21 21 label = "ap120c-ac:green:wlan"; 22 22 function = LED_FUNCTION_WLAN; 23 23 color = <LED_COLOR_ID_GREEN>; 24 24 gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>; 25 25 }; 26 26 27 - support { 27 + led-support { 28 28 label = "ap120c-ac:green:support"; 29 29 color = <LED_COLOR_ID_GREEN>; 30 30 gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
+3 -3
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dts
··· 7 7 leds { 8 8 compatible = "gpio-leds"; 9 9 10 - status: status { 10 + status: led-status { 11 11 label = "ap120c-ac:blue:status"; 12 12 function = LED_FUNCTION_STATUS; 13 13 color = <LED_COLOR_ID_BLUE>; ··· 15 15 default-state = "keep"; 16 16 }; 17 17 18 - wlan2g { 18 + led-wlan2g { 19 19 label = "ap120c-ac:green:wlan2g"; 20 20 function = LED_FUNCTION_WLAN; 21 21 color = <LED_COLOR_ID_GREEN>; ··· 23 23 linux,default-trigger = "phy0tpt"; 24 24 }; 25 25 26 - wlan5g { 26 + led-wlan5g { 27 27 label = "ap120c-ac:red:wlan5g"; 28 28 function = LED_FUNCTION_WLAN; 29 29 color = <LED_COLOR_ID_RED>;
+1 -1
arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi
··· 6 6 7 7 / { 8 8 model = "ALFA Network AP120C-AC"; 9 - compatible = "alfa-network,ap120c-ac"; 9 + compatible = "alfa-network,ap120c-ac", "qcom,ipq4018"; 10 10 11 11 keys { 12 12 compatible = "gpio-keys";
+1 -1
arch/arm/boot/dts/qcom-ipq4018-jalapeno.dts
··· 7 7 8 8 / { 9 9 model = "8devices Jalapeno"; 10 - compatible = "8dev,jalapeno"; 10 + compatible = "8dev,jalapeno", "qcom,ipq4018"; 11 11 }; 12 12 13 13 &tlmm {
+1 -1
arch/arm/boot/dts/qcom-ipq4019.dtsi
··· 348 348 saw0: regulator@b089000 { 349 349 compatible = "qcom,saw2"; 350 350 reg = <0x0b089000 0x1000>, <0x0b009000 0x1000>; 351 - regulator; 351 + regulator; 352 352 }; 353 353 354 354 saw1: regulator@b099000 {
+2 -3
arch/arm/boot/dts/qcom-ipq8064-rb3011.dts
··· 5 5 6 6 / { 7 7 model = "MikroTik RB3011UiAS-RM"; 8 - compatible = "mikrotik,rb3011"; 8 + compatible = "mikrotik,rb3011", "qcom,ipq8064"; 9 9 10 10 aliases { 11 11 serial0 = &gsbi7_serial; ··· 264 264 &nand { 265 265 status = "okay"; 266 266 267 - nandcs@0 { 268 - compatible = "qcom,nandcs"; 267 + nand@0 { 269 268 reg = <0>; 270 269 271 270 nand-ecc-strength = <4>;
+2 -5
arch/arm/boot/dts/qcom-ipq8064.dtsi
··· 513 513 514 514 gcc: clock-controller@900000 { 515 515 compatible = "qcom,gcc-ipq8064", "syscon"; 516 - clocks = <&pxo_board>, <&cxo_board>; 517 - clock-names = "pxo", "cxo"; 516 + clocks = <&pxo_board>, <&cxo_board>, <&lcc PLL4>; 517 + clock-names = "pxo", "cxo", "pll4"; 518 518 reg = <0x00900000 0x4000>; 519 519 #clock-cells = <1>; 520 520 #reset-cells = <1>; ··· 728 728 status = "disabled"; 729 729 reg = <0x12180000 0x2000>; 730 730 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; 731 - interrupt-names = "cmd_irq"; 732 731 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>; 733 732 clock-names = "mclk", "apb_pclk"; 734 733 bus-width = <8>; ··· 747 748 arm,primecell-periphid = <0x00051180>; 748 749 reg = <0x12400000 0x2000>; 749 750 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; 750 - interrupt-names = "cmd_irq"; 751 751 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>; 752 752 clock-names = "mclk", "apb_pclk"; 753 753 bus-width = <8>; ··· 754 756 non-removable; 755 757 cap-sd-highspeed; 756 758 cap-mmc-highspeed; 757 - mmc-ddr-1_8v; 758 759 vmmc-supply = <&vsdcc_fixed>; 759 760 dmas = <&sdcc1bam 2>, <&sdcc1bam 1>; 760 761 dma-names = "tx", "rx";
+11 -48
arch/arm/boot/dts/qcom-mdm9615-wp8548-mangoh-green.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0+ OR MIT 1 2 /* 2 3 * Device Tree Source for mangOH Green Board with WP8548 Module 3 4 * 4 5 * Copyright (C) 2016 BayLibre, SAS. 5 6 * Author : Neil Armstrong <narmstrong@baylibre.com> 6 - * 7 - * This file is dual-licensed: you can use it either under the terms 8 - * of the GPL or the X11 license, at your option. Note that this dual 9 - * licensing only applies to this file, and not this project as a 10 - * whole. 11 - * 12 - * a) This file is free software; you can redistribute it and/or 13 - * modify it under the terms of the GNU General Public License as 14 - * published by the Free Software Foundation; either version 2 of the 15 - * License, or (at your option) any later version. 16 - * 17 - * This file is distributed in the hope that it will be useful, 18 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 - * GNU General Public License for more details. 21 - * 22 - * Or, alternatively, 23 - * 24 - * b) Permission is hereby granted, free of charge, to any person 25 - * obtaining a copy of this software and associated documentation 26 - * files (the "Software"), to deal in the Software without 27 - * restriction, including without limitation the rights to use, 28 - * copy, modify, merge, publish, distribute, sublicense, and/or 29 - * sell copies of the Software, and to permit persons to whom the 30 - * Software is furnished to do so, subject to the following 31 - * conditions: 32 - * 33 - * The above copyright notice and this permission notice shall be 34 - * included in all copies or substantial portions of the Software. 35 - * 36 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 37 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 38 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 39 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 40 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 41 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 42 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 43 - * OTHER DEALINGS IN THE SOFTWARE. 44 7 */ 45 8 46 9 #include <dt-bindings/input/input.h> ··· 45 82 * - 42: IOT0_GPIO1 and SD Card Detect 46 83 */ 47 84 48 - gpioext1_pins: gpioext1_pins { 49 - pins { 85 + gpioext1_pins: gpioext1-state { 86 + gpioext1-pins { 50 87 pins = "gpio2"; 51 88 function = "gpio"; 52 89 input-enable; ··· 54 91 }; 55 92 }; 56 93 57 - sdc_cd_pins: sdc_cd_pins { 58 - pins { 94 + sdc_cd_pins: sdc-cd-state { 95 + sdc-cd-pins { 59 96 pins = "gpio42"; 60 97 function = "gpio"; 61 98 drive-strength = <2>; ··· 116 153 #size-cells = <0>; 117 154 reg = <4>; 118 155 119 - gpioext0: gpio@3e { 156 + gpioext0: pinctrl@3e { 120 157 /* GPIO Expander 0 Mapping : 121 158 * - 0: ARDUINO_RESET_Level shift 122 159 * - 1: BattChrgr_PG_N ··· 142 179 interrupt-parent = <&gpioext1>; 143 180 interrupts = <0 IRQ_TYPE_EDGE_FALLING>; 144 181 145 - probe-reset; 182 + semtech,probe-reset; 146 183 147 184 gpio-controller; 148 185 interrupt-controller; ··· 154 191 #size-cells = <0>; 155 192 reg = <5>; 156 193 157 - gpioext1: gpio@3f { 194 + gpioext1: pinctrl@3f { 158 195 /* GPIO Expander 1 Mapping : 159 196 * - 0: GPIOEXP_INT1 160 197 * - 1: Battery detect ··· 183 220 interrupt-parent = <&msmgpio>; 184 221 interrupts = <0 IRQ_TYPE_EDGE_FALLING>; 185 222 186 - probe-reset; 223 + semtech,probe-reset; 187 224 188 225 gpio-controller; 189 226 interrupt-controller; ··· 195 232 #size-cells = <0>; 196 233 reg = <6>; 197 234 198 - gpioext2: gpio@70 { 235 + gpioext2: pinctrl@70 { 199 236 /* GPIO Expander 2 Mapping : 200 237 * - 0: USB_HUB_INTn 201 238 * - 1: HUB_CONNECT ··· 221 258 interrupt-parent = <&gpioext1>; 222 259 interrupts = <14 IRQ_TYPE_EDGE_FALLING>; 223 260 224 - probe-reset; 261 + semtech,probe-reset; 225 262 226 263 gpio-controller; 227 264 interrupt-controller;
+12 -49
arch/arm/boot/dts/qcom-mdm9615-wp8548.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0+ OR MIT 1 2 /* 2 3 * Device Tree Source for Sierra Wireless WP8548 Module 3 4 * 4 5 * Copyright (C) 2016 BayLibre, SAS. 5 6 * Author : Neil Armstrong <narmstrong@baylibre.com> 6 - * 7 - * This file is dual-licensed: you can use it either under the terms 8 - * of the GPL or the X11 license, at your option. Note that this dual 9 - * licensing only applies to this file, and not this project as a 10 - * whole. 11 - * 12 - * a) This file is free software; you can redistribute it and/or 13 - * modify it under the terms of the GNU General Public License as 14 - * published by the Free Software Foundation; either version 2 of the 15 - * License, or (at your option) any later version. 16 - * 17 - * This file is distributed in the hope that it will be useful, 18 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 - * GNU General Public License for more details. 21 - * 22 - * Or, alternatively, 23 - * 24 - * b) Permission is hereby granted, free of charge, to any person 25 - * obtaining a copy of this software and associated documentation 26 - * files (the "Software"), to deal in the Software without 27 - * restriction, including without limitation the rights to use, 28 - * copy, modify, merge, publish, distribute, sublicense, and/or 29 - * sell copies of the Software, and to permit persons to whom the 30 - * Software is furnished to do so, subject to the following 31 - * conditions: 32 - * 33 - * The above copyright notice and this permission notice shall be 34 - * included in all copies or substantial portions of the Software. 35 - * 36 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 37 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 38 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 39 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 40 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 41 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 42 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 43 - * OTHER DEALINGS IN THE SOFTWARE. 44 7 */ 45 8 46 9 #include "qcom-mdm9615.dtsi" ··· 22 59 pinctrl-0 = <&reset_out_pins>; 23 60 pinctrl-names = "default"; 24 61 25 - gsbi3_pins: gsbi3_pins { 26 - mux { 62 + gsbi3_pins: gsbi3-state { 63 + gsbi3-pins { 27 64 pins = "gpio8", "gpio9", "gpio10", "gpio11"; 28 65 function = "gsbi3"; 29 66 drive-strength = <8>; ··· 31 68 }; 32 69 }; 33 70 34 - gsbi4_pins: gsbi4_pins { 35 - mux { 71 + gsbi4_pins: gsbi4-state { 72 + gsbi4-pins { 36 73 pins = "gpio12", "gpio13", "gpio14", "gpio15"; 37 74 function = "gsbi4"; 38 75 drive-strength = <8>; ··· 40 77 }; 41 78 }; 42 79 43 - gsbi5_i2c_pins: gsbi5_i2c_pins { 44 - pin16 { 80 + gsbi5_i2c_pins: gsbi5-i2c-state { 81 + sda-pins { 45 82 pins = "gpio16"; 46 83 function = "gsbi5_i2c"; 47 84 drive-strength = <8>; 48 85 bias-disable; 49 86 }; 50 87 51 - pin17 { 88 + scl-pins { 52 89 pins = "gpio17"; 53 90 function = "gsbi5_i2c"; 54 91 drive-strength = <2>; ··· 56 93 }; 57 94 }; 58 95 59 - gsbi5_uart_pins: gsbi5_uart_pins { 60 - mux { 96 + gsbi5_uart_pins: gsbi5-uart-state { 97 + gsbi5-uart-pins { 61 98 pins = "gpio18", "gpio19"; 62 99 function = "gsbi5_uart"; 63 100 drive-strength = <8>; ··· 65 102 }; 66 103 }; 67 104 68 - reset_out_pins: reset_out_pins { 69 - pins { 105 + reset_out_pins: reset-out-state { 106 + reset-out-pins { 70 107 pins = "gpio66"; 71 108 function = "gpio"; 72 109 drive-strength = <2>;
+39 -84
arch/arm/boot/dts/qcom-mdm9615.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0+ OR MIT 1 2 /* 2 3 * Device Tree Source for Qualcomm MDM9615 SoC 3 4 * 4 5 * Copyright (C) 2016 BayLibre, SAS. 5 6 * Author : Neil Armstrong <narmstrong@baylibre.com> 6 - * 7 - * This file is dual-licensed: you can use it either under the terms 8 - * of the GPL or the X11 license, at your option. Note that this dual 9 - * licensing only applies to this file, and not this project as a 10 - * whole. 11 - * 12 - * a) This file is free software; you can redistribute it and/or 13 - * modify it under the terms of the GNU General Public License as 14 - * published by the Free Software Foundation; either version 2 of the 15 - * License, or (at your option) any later version. 16 - * 17 - * This file is distributed in the hope that it will be useful, 18 - * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 - * GNU General Public License for more details. 21 - * 22 - * Or, alternatively, 23 - * 24 - * b) Permission is hereby granted, free of charge, to any person 25 - * obtaining a copy of this software and associated documentation 26 - * files (the "Software"), to deal in the Software without 27 - * restriction, including without limitation the rights to use, 28 - * copy, modify, merge, publish, distribute, sublicense, and/or 29 - * sell copies of the Software, and to permit persons to whom the 30 - * Software is furnished to do so, subject to the following 31 - * conditions: 32 - * 33 - * The above copyright notice and this permission notice shall be 34 - * included in all copies or substantial portions of the Software. 35 - * 36 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 37 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 38 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 39 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 40 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 41 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 42 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 43 - * OTHER DEALINGS IN THE SOFTWARE. 44 7 */ 45 8 46 9 /dts-v1/; ··· 27 64 28 65 cpu0: cpu@0 { 29 66 compatible = "arm,cortex-a5"; 67 + reg = <0>; 30 68 device_type = "cpu"; 31 69 next-level-cache = <&L2>; 32 70 }; ··· 170 206 #size-cells = <0>; 171 207 reg = <0x16280000 0x1000>; 172 208 interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>; 173 - spi-max-frequency = <24000000>; 174 209 175 210 clocks = <&gcc GSBI3_QUP_CLK>, <&gcc GSBI3_H_CLK>; 176 211 clock-names = "core", "iface"; ··· 246 283 reg = <0x500000 0x1000>; 247 284 qcom,controller-type = "pmic-arbiter"; 248 285 249 - pmicintc: pmic@0 { 286 + pmicintc: pmic { 250 287 compatible = "qcom,pm8018", "qcom,pm8921"; 251 288 interrupts = <GIC_PPI 226 IRQ_TYPE_LEVEL_HIGH>; 252 289 #interrupt-cells = <2>; ··· 314 351 qcom,ee = <0>; 315 352 }; 316 353 317 - amba { 318 - compatible = "simple-bus"; 319 - #address-cells = <1>; 320 - #size-cells = <1>; 321 - ranges; 322 - sdcc1: mmc@12180000 { 323 - status = "disabled"; 324 - compatible = "arm,pl18x", "arm,primecell"; 325 - arm,primecell-periphid = <0x00051180>; 326 - reg = <0x12180000 0x2000>; 327 - interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; 328 - interrupt-names = "cmd_irq"; 329 - clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>; 330 - clock-names = "mclk", "apb_pclk"; 331 - bus-width = <8>; 332 - max-frequency = <48000000>; 333 - cap-sd-highspeed; 334 - cap-mmc-highspeed; 335 - vmmc-supply = <&vsdcc_fixed>; 336 - dmas = <&sdcc1bam 2>, <&sdcc1bam 1>; 337 - dma-names = "tx", "rx"; 338 - assigned-clocks = <&gcc SDC1_CLK>; 339 - assigned-clock-rates = <400000>; 340 - }; 354 + sdcc1: mmc@12180000 { 355 + status = "disabled"; 356 + compatible = "arm,pl18x", "arm,primecell"; 357 + arm,primecell-periphid = <0x00051180>; 358 + reg = <0x12180000 0x2000>; 359 + interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; 360 + clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>; 361 + clock-names = "mclk", "apb_pclk"; 362 + bus-width = <8>; 363 + max-frequency = <48000000>; 364 + cap-sd-highspeed; 365 + cap-mmc-highspeed; 366 + vmmc-supply = <&vsdcc_fixed>; 367 + dmas = <&sdcc1bam 2>, <&sdcc1bam 1>; 368 + dma-names = "tx", "rx"; 369 + assigned-clocks = <&gcc SDC1_CLK>; 370 + assigned-clock-rates = <400000>; 371 + }; 341 372 342 - sdcc2: mmc@12140000 { 343 - compatible = "arm,pl18x", "arm,primecell"; 344 - arm,primecell-periphid = <0x00051180>; 345 - status = "disabled"; 346 - reg = <0x12140000 0x2000>; 347 - interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; 348 - interrupt-names = "cmd_irq"; 349 - clocks = <&gcc SDC2_CLK>, <&gcc SDC2_H_CLK>; 350 - clock-names = "mclk", "apb_pclk"; 351 - bus-width = <4>; 352 - cap-sd-highspeed; 353 - cap-mmc-highspeed; 354 - max-frequency = <48000000>; 355 - no-1-8-v; 356 - vmmc-supply = <&vsdcc_fixed>; 357 - dmas = <&sdcc2bam 2>, <&sdcc2bam 1>; 358 - dma-names = "tx", "rx"; 359 - assigned-clocks = <&gcc SDC2_CLK>; 360 - assigned-clock-rates = <400000>; 361 - }; 373 + sdcc2: mmc@12140000 { 374 + compatible = "arm,pl18x", "arm,primecell"; 375 + arm,primecell-periphid = <0x00051180>; 376 + status = "disabled"; 377 + reg = <0x12140000 0x2000>; 378 + interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; 379 + clocks = <&gcc SDC2_CLK>, <&gcc SDC2_H_CLK>; 380 + clock-names = "mclk", "apb_pclk"; 381 + bus-width = <4>; 382 + cap-sd-highspeed; 383 + cap-mmc-highspeed; 384 + max-frequency = <48000000>; 385 + no-1-8-v; 386 + vmmc-supply = <&vsdcc_fixed>; 387 + dmas = <&sdcc2bam 2>, <&sdcc2bam 1>; 388 + dma-names = "tx", "rx"; 389 + assigned-clocks = <&gcc SDC2_CLK>; 390 + assigned-clock-rates = <400000>; 362 391 }; 363 392 364 393 tcsr: syscon@1a400000 {
+1
arch/arm/boot/dts/qcom-msm8226-samsung-s3ve3g.dts
··· 8 8 / { 9 9 model = "Samsung Galaxy S III Neo"; 10 10 compatible = "samsung,s3ve3g", "qcom,msm8226"; 11 + chassis-type = "handset"; 11 12 12 13 aliases { 13 14 serial0 = &blsp1_uart3;
+65 -13
arch/arm/boot/dts/qcom-msm8226.dtsi
··· 7 7 8 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 9 #include <dt-bindings/clock/qcom,gcc-msm8974.h> 10 + #include <dt-bindings/clock/qcom,mmcc-msm8974.h> 10 11 #include <dt-bindings/gpio/gpio.h> 11 12 #include <dt-bindings/power/qcom-rpmpd.h> 12 13 #include <dt-bindings/reset/qcom,gcc-msm8974.h> ··· 299 298 #size-cells = <0>; 300 299 }; 301 300 301 + cci: cci@fda0c000 { 302 + compatible = "qcom,msm8226-cci"; 303 + #address-cells = <1>; 304 + #size-cells = <0>; 305 + reg = <0xfda0c000 0x1000>; 306 + interrupts = <GIC_SPI 50 IRQ_TYPE_EDGE_RISING>; 307 + clocks = <&mmcc CAMSS_TOP_AHB_CLK>, 308 + <&mmcc CAMSS_CCI_CCI_AHB_CLK>, 309 + <&mmcc CAMSS_CCI_CCI_CLK>; 310 + clock-names = "camss_top_ahb", 311 + "cci_ahb", 312 + "cci"; 313 + 314 + pinctrl-names = "default", "sleep"; 315 + pinctrl-0 = <&cci_default>; 316 + pinctrl-1 = <&cci_sleep>; 317 + 318 + status = "disabled"; 319 + 320 + cci_i2c0: i2c-bus@0 { 321 + reg = <0>; 322 + clock-frequency = <400000>; 323 + #address-cells = <1>; 324 + #size-cells = <0>; 325 + }; 326 + }; 327 + 302 328 usb: usb@f9a55000 { 303 329 compatible = "qcom,ci-hdrc"; 304 330 reg = <0xf9a55000 0x200>, ··· 372 344 #power-domain-cells = <1>; 373 345 }; 374 346 347 + mmcc: clock-controller@fd8c0000 { 348 + compatible = "qcom,mmcc-msm8226"; 349 + reg = <0xfd8c0000 0x6000>; 350 + #clock-cells = <1>; 351 + #reset-cells = <1>; 352 + #power-domain-cells = <1>; 353 + }; 354 + 375 355 tlmm: pinctrl@fd510000 { 376 356 compatible = "qcom,msm8226-pinctrl"; 377 357 reg = <0xfd510000 0x4000>; ··· 390 354 #interrupt-cells = <2>; 391 355 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; 392 356 393 - blsp1_i2c1_pins: blsp1-i2c1 { 357 + blsp1_i2c1_pins: blsp1-i2c1-state { 394 358 pins = "gpio2", "gpio3"; 395 359 function = "blsp_i2c1"; 396 360 drive-strength = <2>; 397 361 bias-disable; 398 362 }; 399 363 400 - blsp1_i2c2_pins: blsp1-i2c2 { 364 + blsp1_i2c2_pins: blsp1-i2c2-state { 401 365 pins = "gpio6", "gpio7"; 402 366 function = "blsp_i2c2"; 403 367 drive-strength = <2>; 404 368 bias-disable; 405 369 }; 406 370 407 - blsp1_i2c3_pins: blsp1-i2c3 { 371 + blsp1_i2c3_pins: blsp1-i2c3-state { 408 372 pins = "gpio10", "gpio11"; 409 373 function = "blsp_i2c3"; 410 374 drive-strength = <2>; 411 375 bias-disable; 412 376 }; 413 377 414 - blsp1_i2c4_pins: blsp1-i2c4 { 378 + blsp1_i2c4_pins: blsp1-i2c4-state { 415 379 pins = "gpio14", "gpio15"; 416 380 function = "blsp_i2c4"; 417 381 drive-strength = <2>; 418 382 bias-disable; 419 383 }; 420 384 421 - blsp1_i2c5_pins: blsp1-i2c5 { 385 + blsp1_i2c5_pins: blsp1-i2c5-state { 422 386 pins = "gpio18", "gpio19"; 423 387 function = "blsp_i2c5"; 424 388 drive-strength = <2>; 425 389 bias-disable; 426 390 }; 427 391 392 + cci_default: cci-default-state { 393 + pins = "gpio29", "gpio30"; 394 + function = "cci_i2c0"; 395 + 396 + drive-strength = <2>; 397 + bias-disable; 398 + }; 399 + 400 + cci_sleep: cci-sleep-state { 401 + pins = "gpio29", "gpio30"; 402 + function = "gpio"; 403 + 404 + drive-strength = <2>; 405 + bias-disable; 406 + }; 407 + 428 408 sdhc1_default_state: sdhc1-default-state { 429 - clk { 409 + clk-pins { 430 410 pins = "sdc1_clk"; 431 411 drive-strength = <10>; 432 412 bias-disable; 433 413 }; 434 414 435 - cmd-data { 415 + cmd-data-pins { 436 416 pins = "sdc1_cmd", "sdc1_data"; 437 417 drive-strength = <10>; 438 418 bias-pull-up; ··· 456 404 }; 457 405 458 406 sdhc2_default_state: sdhc2-default-state { 459 - clk { 407 + clk-pins { 460 408 pins = "sdc2_clk"; 461 409 drive-strength = <10>; 462 410 bias-disable; 463 411 }; 464 412 465 - cmd-data { 413 + cmd-data-pins { 466 414 pins = "sdc2_cmd", "sdc2_data"; 467 415 drive-strength = <10>; 468 416 bias-pull-up; ··· 470 418 }; 471 419 472 420 sdhc3_default_state: sdhc3-default-state { 473 - clk { 421 + clk-pins { 474 422 pins = "gpio44"; 475 423 function = "sdc3"; 476 424 drive-strength = <8>; 477 425 bias-disable; 478 426 }; 479 427 480 - cmd { 428 + cmd-pins { 481 429 pins = "gpio43"; 482 430 function = "sdc3"; 483 431 drive-strength = <8>; 484 432 bias-pull-up; 485 433 }; 486 434 487 - data { 435 + data-pins { 488 436 pins = "gpio39", "gpio40", "gpio41", "gpio42"; 489 437 function = "sdc3"; 490 438 drive-strength = <8>; ··· 579 527 }; 580 528 }; 581 529 582 - rpm_msg_ram: memory@fc428000 { 530 + rpm_msg_ram: sram@fc428000 { 583 531 compatible = "qcom,rpm-msg-ram"; 584 532 reg = <0xfc428000 0x4000>; 585 533 };
+31 -11
arch/arm/boot/dts/qcom-msm8660.dtsi
··· 316 316 }; 317 317 }; 318 318 319 - external-bus@1a100000 { 319 + ebi2: external-bus@1a100000 { 320 320 compatible = "qcom,msm8660-ebi2"; 321 321 #address-cells = <2>; 322 322 #size-cells = <1>; ··· 333 333 status = "disabled"; 334 334 }; 335 335 336 - qcom,ssbi@500000 { 336 + ssbi@500000 { 337 337 compatible = "qcom,ssbi"; 338 338 reg = <0x500000 0x1000>; 339 339 qcom,controller-type = "pmic-arbiter"; 340 340 341 - pm8058: pmic@0 { 341 + pm8058: pmic { 342 342 compatible = "qcom,pm8058"; 343 343 interrupt-parent = <&tlmm>; 344 344 interrupts = <88 8>; ··· 379 379 pull-up; 380 380 }; 381 381 382 - keypad@148 { 382 + pm8058_keypad: keypad@148 { 383 383 compatible = "qcom,pm8058-keypad"; 384 384 reg = <0x148>; 385 385 interrupt-parent = <&pm8058>; ··· 444 444 compatible = "qcom,pm8058-vib"; 445 445 reg = <0x4a>; 446 446 }; 447 + 448 + pm8058_led48: led@48 { 449 + compatible = "qcom,pm8058-keypad-led"; 450 + reg = <0x48>; 451 + status = "disabled"; 452 + }; 453 + 454 + pm8058_led131: led@131 { 455 + compatible = "qcom,pm8058-led"; 456 + reg = <0x131>; 457 + status = "disabled"; 458 + }; 459 + 460 + pm8058_led132: led@132 { 461 + compatible = "qcom,pm8058-led"; 462 + reg = <0x132>; 463 + status = "disabled"; 464 + }; 465 + 466 + pm8058_led133: led@133 { 467 + compatible = "qcom,pm8058-led"; 468 + reg = <0x133>; 469 + status = "disabled"; 470 + }; 471 + 447 472 }; 448 473 }; 449 474 ··· 496 471 clock-names = "pxo"; 497 472 }; 498 473 499 - pm8901-regulators { 474 + regulators-0 { 500 475 compatible = "qcom,rpm-pm8901-regulators"; 501 476 502 477 pm8901_l0: l0 {}; ··· 520 495 pm8901_mvs: mvs {}; 521 496 }; 522 497 523 - pm8058-regulators { 498 + regulators-1 { 524 499 compatible = "qcom,rpm-pm8058-regulators"; 525 500 526 501 pm8058_l0: l0 {}; ··· 574 549 arm,primecell-periphid = <0x00051180>; 575 550 reg = <0x12400000 0x8000>; 576 551 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; 577 - interrupt-names = "cmd_irq"; 578 552 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>; 579 553 clock-names = "mclk", "apb_pclk"; 580 554 bus-width = <8>; ··· 589 565 arm,primecell-periphid = <0x00051180>; 590 566 reg = <0x12140000 0x8000>; 591 567 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; 592 - interrupt-names = "cmd_irq"; 593 568 clocks = <&gcc SDC2_CLK>, <&gcc SDC2_H_CLK>; 594 569 clock-names = "mclk", "apb_pclk"; 595 570 bus-width = <8>; ··· 603 580 status = "disabled"; 604 581 reg = <0x12180000 0x8000>; 605 582 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; 606 - interrupt-names = "cmd_irq"; 607 583 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>; 608 584 clock-names = "mclk", "apb_pclk"; 609 585 bus-width = <4>; ··· 618 596 status = "disabled"; 619 597 reg = <0x121c0000 0x8000>; 620 598 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; 621 - interrupt-names = "cmd_irq"; 622 599 clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>; 623 600 clock-names = "mclk", "apb_pclk"; 624 601 bus-width = <4>; ··· 632 611 status = "disabled"; 633 612 reg = <0x12200000 0x8000>; 634 613 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>; 635 - interrupt-names = "cmd_irq"; 636 614 clocks = <&gcc SDC5_CLK>, <&gcc SDC5_H_CLK>; 637 615 clock-names = "mclk", "apb_pclk"; 638 616 bus-width = <4>;
+11 -12
arch/arm/boot/dts/qcom-msm8960-cdp.dts
··· 18 18 regulators { 19 19 compatible = "simple-bus"; 20 20 21 - ext_l2: gpio-regulator@91 { 21 + ext_l2: gpio-regulator { 22 22 compatible = "regulator-fixed"; 23 23 regulator-name = "ext_l2"; 24 24 gpio = <&msmgpio 91 0>; ··· 42 42 compatible = "micrel,ks8851"; 43 43 reg = <0>; 44 44 interrupt-parent = <&msmgpio>; 45 - interrupts = <90 8>; 45 + interrupts = <90 IRQ_TYPE_LEVEL_LOW>; 46 46 spi-max-frequency = <5400000>; 47 47 vdd-supply = <&ext_l2>; 48 48 vdd-io-supply = <&pm8921_lvs6>; ··· 60 60 }; 61 61 62 62 &msmgpio { 63 - spi1_default: spi1_default { 64 - mux { 65 - pins = "gpio6", "gpio7", "gpio9"; 66 - function = "gsbi1"; 67 - }; 68 - 69 - mosi { 63 + spi1_default: spi1-default-state { 64 + mosi-pins { 70 65 pins = "gpio6"; 66 + function = "gsbi1"; 71 67 drive-strength = <12>; 72 68 bias-disable; 73 69 }; 74 70 75 - miso { 71 + miso-pins { 76 72 pins = "gpio7"; 73 + function = "gsbi1"; 77 74 drive-strength = <12>; 78 75 bias-disable; 79 76 }; 80 77 81 - cs { 78 + cs-pins { 82 79 pins = "gpio8"; 80 + function = "gsbi1"; 83 81 drive-strength = <12>; 84 82 bias-disable; 85 83 output-low; 86 84 }; 87 85 88 - clk { 86 + clk-pins { 89 87 pins = "gpio9"; 88 + function = "gsbi1"; 90 89 drive-strength = <12>; 91 90 bias-disable; 92 91 };
+43 -49
arch/arm/boot/dts/qcom-msm8960.dtsi
··· 17 17 cpus { 18 18 #address-cells = <1>; 19 19 #size-cells = <0>; 20 - interrupts = <1 14 0x304>; 20 + interrupts = <GIC_PPI 14 0x304>; 21 21 22 22 cpu@0 { 23 23 compatible = "qcom,krait"; ··· 52 52 53 53 cpu-pmu { 54 54 compatible = "qcom,krait-pmu"; 55 - interrupts = <1 10 0x304>; 55 + interrupts = <GIC_PPI 10 0x304>; 56 56 qcom,no-pc-write; 57 57 }; 58 58 ··· 105 105 timer@200a000 { 106 106 compatible = "qcom,kpss-timer", 107 107 "qcom,kpss-wdt-msm8960", "qcom,msm-timer"; 108 - interrupts = <1 1 0x301>, 109 - <1 2 0x301>, 110 - <1 3 0x301>; 108 + interrupts = <GIC_PPI 1 0x301>, 109 + <GIC_PPI 2 0x301>, 110 + <GIC_PPI 3 0x301>; 111 111 reg = <0x0200a000 0x100>; 112 112 clock-frequency = <27000000>, 113 113 <32768>; ··· 119 119 gpio-controller; 120 120 gpio-ranges = <&msmgpio 0 0 152>; 121 121 #gpio-cells = <2>; 122 - interrupts = <0 16 0x4>; 122 + interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 123 123 interrupt-controller; 124 124 #interrupt-cells = <2>; 125 125 reg = <0x800000 0x4000>; ··· 247 247 }; 248 248 }; 249 249 250 - qcom,ssbi@500000 { 250 + ssbi@500000 { 251 251 compatible = "qcom,ssbi"; 252 252 reg = <0x500000 0x1000>; 253 253 qcom,controller-type = "pmic-arbiter"; 254 254 255 - pmicintc: pmic@0 { 255 + pmicintc: pmic { 256 256 compatible = "qcom,pm8921"; 257 257 interrupt-parent = <&msmgpio>; 258 - interrupts = <104 8>; 258 + interrupts = <104 IRQ_TYPE_LEVEL_LOW>; 259 259 #interrupt-cells = <2>; 260 260 interrupt-controller; 261 261 #address-cells = <1>; ··· 265 265 compatible = "qcom,pm8921-pwrkey"; 266 266 reg = <0x1c>; 267 267 interrupt-parent = <&pmicintc>; 268 - interrupts = <50 1>, <51 1>; 268 + interrupts = <50 IRQ_TYPE_EDGE_RISING>, 269 + <51 IRQ_TYPE_EDGE_RISING>; 269 270 debounce = <15625>; 270 271 pull-up; 271 272 }; ··· 275 274 compatible = "qcom,pm8921-keypad"; 276 275 reg = <0x148>; 277 276 interrupt-parent = <&pmicintc>; 278 - interrupts = <74 1>, <75 1>; 277 + interrupts = <74 IRQ_TYPE_EDGE_RISING>, 278 + <75 IRQ_TYPE_EDGE_RISING>; 279 279 debounce = <15>; 280 280 scan-delay = <32>; 281 281 row-hold = <91500>; ··· 285 283 rtc@11d { 286 284 compatible = "qcom,pm8921-rtc"; 287 285 interrupt-parent = <&pmicintc>; 288 - interrupts = <39 1>; 286 + interrupts = <39 IRQ_TYPE_EDGE_RISING>; 289 287 reg = <0x11d>; 290 288 allow-set-time; 291 289 }; ··· 299 297 clock-names = "core"; 300 298 }; 301 299 302 - amba { 303 - compatible = "simple-bus"; 304 - #address-cells = <1>; 305 - #size-cells = <1>; 306 - ranges; 307 - sdcc1: mmc@12400000 { 308 - status = "disabled"; 309 - compatible = "arm,pl18x", "arm,primecell"; 310 - arm,primecell-periphid = <0x00051180>; 311 - reg = <0x12400000 0x8000>; 312 - interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; 313 - interrupt-names = "cmd_irq"; 314 - clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>; 315 - clock-names = "mclk", "apb_pclk"; 316 - bus-width = <8>; 317 - max-frequency = <96000000>; 318 - non-removable; 319 - cap-sd-highspeed; 320 - cap-mmc-highspeed; 321 - vmmc-supply = <&vsdcc_fixed>; 322 - }; 300 + sdcc3: mmc@12180000 { 301 + compatible = "arm,pl18x", "arm,primecell"; 302 + arm,primecell-periphid = <0x00051180>; 303 + status = "disabled"; 304 + reg = <0x12180000 0x8000>; 305 + interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; 306 + clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>; 307 + clock-names = "mclk", "apb_pclk"; 308 + bus-width = <4>; 309 + cap-sd-highspeed; 310 + cap-mmc-highspeed; 311 + max-frequency = <192000000>; 312 + no-1-8-v; 313 + vmmc-supply = <&vsdcc_fixed>; 314 + }; 323 315 324 - sdcc3: mmc@12180000 { 325 - compatible = "arm,pl18x", "arm,primecell"; 326 - arm,primecell-periphid = <0x00051180>; 327 - status = "disabled"; 328 - reg = <0x12180000 0x8000>; 329 - interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; 330 - interrupt-names = "cmd_irq"; 331 - clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>; 332 - clock-names = "mclk", "apb_pclk"; 333 - bus-width = <4>; 334 - cap-sd-highspeed; 335 - cap-mmc-highspeed; 336 - max-frequency = <192000000>; 337 - no-1-8-v; 338 - vmmc-supply = <&vsdcc_fixed>; 339 - }; 316 + sdcc1: mmc@12400000 { 317 + status = "disabled"; 318 + compatible = "arm,pl18x", "arm,primecell"; 319 + arm,primecell-periphid = <0x00051180>; 320 + reg = <0x12400000 0x8000>; 321 + interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; 322 + clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>; 323 + clock-names = "mclk", "apb_pclk"; 324 + bus-width = <8>; 325 + max-frequency = <96000000>; 326 + non-removable; 327 + cap-sd-highspeed; 328 + cap-mmc-highspeed; 329 + vmmc-supply = <&vsdcc_fixed>; 340 330 }; 341 331 342 332 tcsr: syscon@1a400000 {
+41 -42
arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
··· 9 9 / { 10 10 model = "LGE MSM 8974 HAMMERHEAD"; 11 11 compatible = "lge,hammerhead", "qcom,msm8974"; 12 + chassis-type = "handset"; 12 13 13 14 aliases { 14 15 serial0 = &blsp1_uart1; ··· 248 247 status = "okay"; 249 248 }; 250 249 251 - &otg { 252 - status = "okay"; 253 - 254 - phys = <&usb_hs1_phy>; 255 - phy-select = <&tcsr 0xb000 0>; 256 - 257 - extcon = <&charger>, <&usb_id>; 258 - vbus-supply = <&usb_otg_vbus>; 259 - 260 - hnp-disable; 261 - srp-disable; 262 - adp-disable; 263 - 264 - ulpi { 265 - phy@a { 266 - status = "okay"; 267 - 268 - v1p8-supply = <&pm8941_l6>; 269 - v3p3-supply = <&pm8941_l24>; 270 - 271 - qcom,init-seq = /bits/ 8 <0x1 0x64>; 272 - }; 273 - }; 274 - }; 275 - 276 250 &pm8941_gpios { 277 251 gpio_keys_pin_a: gpio-keys-active-state { 278 252 pins = "gpio2", "gpio3"; ··· 320 344 }; 321 345 322 346 &rpm_requests { 323 - pm8841-regulators { 347 + regulators-0 { 324 348 compatible = "qcom,rpm-pm8841-regulators"; 325 349 326 350 pm8841_s1: s1 { ··· 344 368 }; 345 369 }; 346 370 347 - pm8941-regulators { 371 + regulators-1 { 348 372 compatible = "qcom,rpm-pm8941-regulators"; 349 373 350 374 vdd_l1_l3-supply = <&pm8941_s1>; ··· 549 573 }; 550 574 551 575 &tlmm { 552 - sdc1_on: sdc1-on { 553 - clk { 576 + sdc1_on: sdc1-on-state { 577 + clk-pins { 554 578 pins = "sdc1_clk"; 555 579 drive-strength = <16>; 556 580 bias-disable; 557 581 }; 558 582 559 - cmd-data { 583 + cmd-data-pins { 560 584 pins = "sdc1_cmd", "sdc1_data"; 561 585 drive-strength = <10>; 562 586 bias-pull-up; 563 587 }; 564 588 }; 565 589 566 - sdc2_on: sdc2-on { 567 - clk { 590 + sdc2_on: sdc2-on-state { 591 + clk-pins { 568 592 pins = "sdc2_clk"; 569 593 drive-strength = <6>; 570 594 bias-disable; 571 595 }; 572 596 573 - cmd-data { 597 + cmd-data-pins { 574 598 pins = "sdc2_cmd", "sdc2_data"; 575 599 drive-strength = <6>; 576 600 bias-pull-up; 577 601 }; 578 602 }; 579 603 580 - mpu6515_pin: mpu6515 { 604 + mpu6515_pin: mpu6515-state { 581 605 pins = "gpio73"; 582 606 function = "gpio"; 583 607 bias-disable; 584 608 input-enable; 585 609 }; 586 610 587 - touch_pin: touch { 588 - int { 611 + touch_pin: touch-state { 612 + int-pins { 589 613 pins = "gpio5"; 590 614 function = "gpio"; 591 615 ··· 594 618 input-enable; 595 619 }; 596 620 597 - reset { 621 + reset-pins { 598 622 pins = "gpio8"; 599 623 function = "gpio"; 600 624 ··· 603 627 }; 604 628 }; 605 629 606 - panel_pin: panel { 630 + panel_pin: panel-state { 607 631 pins = "gpio12"; 608 632 function = "mdp_vsync"; 609 633 drive-strength = <2>; 610 634 bias-disable; 611 635 }; 612 636 613 - bt_pin: bt { 614 - hostwake { 637 + bt_pin: bt-state { 638 + hostwake-pins { 615 639 pins = "gpio42"; 616 640 function = "gpio"; 617 641 }; 618 642 619 - devwake { 643 + devwake-pins { 620 644 pins = "gpio62"; 621 645 function = "gpio"; 622 646 }; 623 647 624 - shutdown { 648 + shutdown-pins { 625 649 pins = "gpio41"; 626 650 function = "gpio"; 627 651 }; 628 652 }; 653 + }; 654 + 655 + &usb { 656 + status = "okay"; 657 + 658 + phys = <&usb_hs1_phy>; 659 + phy-select = <&tcsr 0xb000 0>; 660 + 661 + extcon = <&charger>, <&usb_id>; 662 + vbus-supply = <&usb_otg_vbus>; 663 + 664 + hnp-disable; 665 + srp-disable; 666 + adp-disable; 667 + }; 668 + 669 + &usb_hs1_phy { 670 + status = "okay"; 671 + 672 + v1p8-supply = <&pm8941_l6>; 673 + v3p3-supply = <&pm8941_l24>; 674 + 675 + qcom,init-seq = /bits/ 8 <0x1 0x64>; 629 676 };
+1
arch/arm/boot/dts/qcom-msm8974-sony-xperia-rhine-amami.dts
··· 4 4 / { 5 5 model = "Sony Xperia Z1 Compact"; 6 6 compatible = "sony,xperia-amami", "qcom,msm8974"; 7 + chassis-type = "handset"; 7 8 }; 8 9 9 10 &smbb {
+1
arch/arm/boot/dts/qcom-msm8974-sony-xperia-rhine-honami.dts
··· 4 4 / { 5 5 model = "Sony Xperia Z1"; 6 6 compatible = "sony,xperia-honami", "qcom,msm8974"; 7 + chassis-type = "handset"; 7 8 };
+34 -36
arch/arm/boot/dts/qcom-msm8974-sony-xperia-rhine.dtsi
··· 132 132 /* sii8334 MHL HDMI bridge */ 133 133 }; 134 134 135 - &otg { 136 - status = "okay"; 137 - 138 - phys = <&usb_hs1_phy>; 139 - phy-select = <&tcsr 0xb000 0>; 140 - extcon = <&smbb>, <&usb_id>; 141 - vbus-supply = <&chg_otg>; 142 - 143 - hnp-disable; 144 - srp-disable; 145 - adp-disable; 146 - 147 - ulpi { 148 - phy@a { 149 - status = "okay"; 150 - 151 - v1p8-supply = <&pm8941_l6>; 152 - v3p3-supply = <&pm8941_l24>; 153 - 154 - extcon = <&smbb>; 155 - qcom,init-seq = /bits/ 8 <0x1 0x64>; 156 - }; 157 - }; 158 - }; 159 - 160 135 &pm8941_coincell { 161 136 status = "okay"; 162 137 qcom,rset-ohms = <2100>; ··· 153 178 154 179 qcom,power-source = <1>; 155 180 156 - rgb-led { 181 + multi-led { 157 182 color = <LED_COLOR_ID_RGB>; 158 183 function = LED_FUNCTION_STATUS; 159 184 ··· 189 214 }; 190 215 191 216 &rpm_requests { 192 - pm8841-regulators { 217 + regulators-0 { 193 218 compatible = "qcom,rpm-pm8841-regulators"; 194 219 195 220 pm8841_s1: s1 { ··· 213 238 }; 214 239 }; 215 240 216 - pm8941-regulators { 241 + regulators-1 { 217 242 compatible = "qcom,rpm-pm8941-regulators"; 218 243 219 244 vdd_l1_l3-supply = <&pm8941_s1>; ··· 417 442 }; 418 443 419 444 &tlmm { 420 - ts_int_pin: touch-int { 445 + ts_int_pin: touch-int-state { 421 446 pins = "gpio61"; 422 447 function = "gpio"; 423 448 drive-strength = <2>; ··· 425 450 input-enable; 426 451 }; 427 452 428 - sdc1_on: sdc1-on { 429 - clk { 453 + sdc1_on: sdc1-on-state { 454 + clk-pins { 430 455 pins = "sdc1_clk"; 431 456 drive-strength = <16>; 432 457 bias-disable; 433 458 }; 434 459 435 - cmd-data { 460 + cmd-data-pins { 436 461 pins = "sdc1_cmd", "sdc1_data"; 437 462 drive-strength = <10>; 438 463 bias-pull-up; 439 464 }; 440 465 }; 441 466 442 - sdc2_on: sdc-on { 443 - clk { 467 + sdc2_on: sdc-on-state { 468 + clk-pins { 444 469 pins = "sdc2_clk"; 445 470 drive-strength = <10>; 446 471 bias-disable; 447 472 }; 448 473 449 - cmd-data { 474 + cmd-data-pins { 450 475 pins = "sdc2_cmd", "sdc2_data"; 451 476 drive-strength = <6>; 452 477 bias-pull-up; 453 478 }; 454 479 455 - cd { 480 + cd-pins { 456 481 pins = "gpio62"; 457 482 function = "gpio"; 458 483 drive-strength = <2>; 459 484 bias-disable; 460 485 }; 461 486 }; 487 + }; 488 + 489 + &usb { 490 + status = "okay"; 491 + 492 + phys = <&usb_hs1_phy>; 493 + phy-select = <&tcsr 0xb000 0>; 494 + extcon = <&smbb>, <&usb_id>; 495 + vbus-supply = <&chg_otg>; 496 + 497 + hnp-disable; 498 + srp-disable; 499 + adp-disable; 500 + }; 501 + 502 + &usb_hs1_phy { 503 + status = "okay"; 504 + 505 + v1p8-supply = <&pm8941_l6>; 506 + v3p3-supply = <&pm8941_l24>; 507 + 508 + extcon = <&smbb>; 509 + qcom,init-seq = /bits/ 8 <0x1 0x64>; 462 510 };
+116 -58
arch/arm/boot/dts/qcom-msm8974.dtsi
··· 653 653 #size-cells = <0>; 654 654 }; 655 655 656 - otg: usb@f9a55000 { 656 + usb: usb@f9a55000 { 657 657 compatible = "qcom,ci-hdrc"; 658 658 reg = <0xf9a55000 0x200>, 659 659 <0xf9a55200 0x200>; ··· 679 679 #phy-cells = <0>; 680 680 clocks = <&xo_board>, <&gcc GCC_USB2A_PHY_SLEEP_CLK>; 681 681 clock-names = "ref", "sleep"; 682 - resets = <&gcc GCC_USB2A_PHY_BCR>, <&otg 0>; 682 + resets = <&gcc GCC_USB2A_PHY_BCR>, <&usb 0>; 683 683 reset-names = "phy", "por"; 684 684 status = "disabled"; 685 685 }; ··· 690 690 #phy-cells = <0>; 691 691 clocks = <&xo_board>, <&gcc GCC_USB2B_PHY_SLEEP_CLK>; 692 692 clock-names = "ref", "sleep"; 693 - resets = <&gcc GCC_USB2B_PHY_BCR>, <&otg 1>; 693 + resets = <&gcc GCC_USB2B_PHY_BCR>, <&usb 1>; 694 694 reset-names = "phy", "por"; 695 695 status = "disabled"; 696 696 }; ··· 1056 1056 reg = <0xfc400000 0x4000>; 1057 1057 }; 1058 1058 1059 - rpm_msg_ram: memory@fc428000 { 1059 + rpm_msg_ram: sram@fc428000 { 1060 1060 compatible = "qcom,rpm-msg-ram"; 1061 1061 reg = <0xfc428000 0x4000>; 1062 1062 }; ··· 1116 1116 }; 1117 1117 1118 1118 tsens: thermal-sensor@fc4a9000 { 1119 - compatible = "qcom,msm8974-tsens"; 1119 + compatible = "qcom,msm8974-tsens", "qcom,tsens-v0_1"; 1120 1120 reg = <0xfc4a9000 0x1000>, /* TM */ 1121 1121 <0xfc4a8000 0x1000>; /* SROT */ 1122 1122 nvmem-cells = <&tsens_calib>, <&tsens_backup>; ··· 1194 1194 resets = <&gcc GCC_MSS_RESTART>; 1195 1195 reset-names = "mss_restart"; 1196 1196 1197 - qcom,halt-regs = <&tcsr_mutex_block 0x1180 0x1200 0x1280>; 1197 + qcom,halt-regs = <&tcsr_mutex 0x1180 0x1200 0x1280>; 1198 1198 1199 1199 qcom,smem-states = <&modem_smp2p_out 0>; 1200 1200 qcom,smem-state-names = "stop"; ··· 1233 1233 }; 1234 1234 }; 1235 1235 1236 - tcsr_mutex_block: syscon@fd484000 { 1237 - compatible = "syscon"; 1236 + tcsr_mutex: hwlock@fd484000 { 1237 + compatible = "qcom,msm8974-tcsr-mutex", "qcom,tcsr-mutex", "syscon"; 1238 1238 reg = <0xfd484000 0x2000>; 1239 + #hwlock-cells = <1>; 1239 1240 }; 1240 1241 1241 1242 tcsr: syscon@fd4a0000 { 1242 - compatible = "syscon"; 1243 + compatible = "qcom,tcsr-msm8974", "syscon"; 1243 1244 reg = <0xfd4a0000 0x10000>; 1244 1245 }; 1245 1246 ··· 1254 1253 #interrupt-cells = <2>; 1255 1254 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; 1256 1255 1257 - sdc1_off: sdc1-off { 1258 - clk { 1256 + sdc1_off: sdc1-off-state { 1257 + clk-pins { 1259 1258 pins = "sdc1_clk"; 1260 1259 bias-disable; 1261 1260 drive-strength = <2>; 1262 1261 }; 1263 1262 1264 - cmd { 1263 + cmd-pins { 1265 1264 pins = "sdc1_cmd"; 1266 1265 bias-pull-up; 1267 1266 drive-strength = <2>; 1268 1267 }; 1269 1268 1270 - data { 1269 + data-pins { 1271 1270 pins = "sdc1_data"; 1272 1271 bias-pull-up; 1273 1272 drive-strength = <2>; 1274 1273 }; 1275 1274 }; 1276 1275 1277 - sdc2_off: sdc2-off { 1278 - clk { 1276 + sdc2_off: sdc2-off-state { 1277 + clk-pins { 1279 1278 pins = "sdc2_clk"; 1280 1279 bias-disable; 1281 1280 drive-strength = <2>; 1282 1281 }; 1283 1282 1284 - cmd { 1283 + cmd-pins { 1285 1284 pins = "sdc2_cmd"; 1286 1285 bias-pull-up; 1287 1286 drive-strength = <2>; 1288 1287 }; 1289 1288 1290 - data { 1289 + data-pins { 1291 1290 pins = "sdc2_data"; 1292 1291 bias-pull-up; 1293 1292 drive-strength = <2>; 1294 1293 }; 1295 1294 1296 - cd { 1295 + cd-pins { 1297 1296 pins = "gpio54"; 1297 + function = "gpio"; 1298 1298 bias-disable; 1299 1299 drive-strength = <2>; 1300 1300 }; 1301 1301 }; 1302 1302 1303 - blsp1_uart2_default: blsp1-uart2-default { 1304 - rx { 1303 + blsp1_uart2_default: blsp1-uart2-default-state { 1304 + rx-pins { 1305 1305 pins = "gpio5"; 1306 1306 function = "blsp_uart2"; 1307 1307 drive-strength = <2>; 1308 1308 bias-pull-up; 1309 1309 }; 1310 1310 1311 - tx { 1311 + tx-pins { 1312 1312 pins = "gpio4"; 1313 1313 function = "blsp_uart2"; 1314 1314 drive-strength = <4>; ··· 1317 1315 }; 1318 1316 }; 1319 1317 1320 - blsp2_uart1_default: blsp2-uart1-default { 1321 - tx-rts { 1318 + blsp2_uart1_default: blsp2-uart1-default-state { 1319 + tx-rts-pins { 1322 1320 pins = "gpio41", "gpio44"; 1323 1321 function = "blsp_uart7"; 1324 1322 drive-strength = <2>; 1325 1323 bias-disable; 1326 1324 }; 1327 1325 1328 - rx-cts { 1326 + rx-cts-pins { 1329 1327 pins = "gpio42", "gpio43"; 1330 1328 function = "blsp_uart7"; 1331 1329 drive-strength = <2>; ··· 1333 1331 }; 1334 1332 }; 1335 1333 1336 - blsp2_uart1_sleep: blsp2-uart1-sleep { 1334 + blsp2_uart1_sleep: blsp2-uart1-sleep-state { 1337 1335 pins = "gpio41", "gpio42", "gpio43", "gpio44"; 1338 1336 function = "gpio"; 1339 1337 drive-strength = <2>; 1340 1338 bias-pull-down; 1341 1339 }; 1342 1340 1343 - blsp2_uart4_default: blsp2-uart4-default { 1344 - tx-rts { 1341 + blsp2_uart4_default: blsp2-uart4-default-state { 1342 + tx-rts-pins { 1345 1343 pins = "gpio53", "gpio56"; 1346 1344 function = "blsp_uart10"; 1347 1345 drive-strength = <2>; 1348 1346 bias-disable; 1349 1347 }; 1350 1348 1351 - rx-cts { 1349 + rx-cts-pins { 1352 1350 pins = "gpio54", "gpio55"; 1353 1351 function = "blsp_uart10"; 1354 1352 drive-strength = <2>; ··· 1356 1354 }; 1357 1355 }; 1358 1356 1359 - blsp1_i2c1_default: blsp1-i2c1-default { 1357 + blsp1_i2c1_default: blsp1-i2c1-default-state { 1360 1358 pins = "gpio2", "gpio3"; 1361 1359 function = "blsp_i2c1"; 1362 1360 drive-strength = <2>; 1363 1361 bias-disable; 1364 1362 }; 1365 1363 1366 - blsp1_i2c1_sleep: blsp1-i2c1-sleep { 1364 + blsp1_i2c1_sleep: blsp1-i2c1-sleep-state { 1367 1365 pins = "gpio2", "gpio3"; 1368 1366 function = "blsp_i2c1"; 1369 1367 drive-strength = <2>; 1370 1368 bias-pull-up; 1371 1369 }; 1372 1370 1373 - blsp1_i2c2_default: blsp1-i2c2-default { 1371 + blsp1_i2c2_default: blsp1-i2c2-default-state { 1374 1372 pins = "gpio6", "gpio7"; 1375 1373 function = "blsp_i2c2"; 1376 1374 drive-strength = <2>; 1377 1375 bias-disable; 1378 1376 }; 1379 1377 1380 - blsp1_i2c2_sleep: blsp1-i2c2-sleep { 1378 + blsp1_i2c2_sleep: blsp1-i2c2-sleep-state { 1381 1379 pins = "gpio6", "gpio7"; 1382 1380 function = "blsp_i2c2"; 1383 1381 drive-strength = <2>; 1384 1382 bias-pull-up; 1385 1383 }; 1386 1384 1387 - blsp1_i2c3_default: blsp1-i2c3-default { 1385 + blsp1_i2c3_default: blsp1-i2c3-default-state { 1388 1386 pins = "gpio10", "gpio11"; 1389 1387 function = "blsp_i2c3"; 1390 1388 drive-strength = <2>; 1391 1389 bias-disable; 1392 1390 }; 1393 1391 1394 - blsp1_i2c3_sleep: blsp1-i2c3-sleep { 1392 + blsp1_i2c3_sleep: blsp1-i2c3-sleep-state { 1395 1393 pins = "gpio10", "gpio11"; 1396 1394 function = "blsp_i2c3"; 1397 1395 drive-strength = <2>; ··· 1402 1400 1403 1401 /* BLSP1_I2C5 info is missing */ 1404 1402 1405 - blsp1_i2c6_default: blsp1-i2c6-default { 1403 + blsp1_i2c6_default: blsp1-i2c6-default-state { 1406 1404 pins = "gpio29", "gpio30"; 1407 1405 function = "blsp_i2c6"; 1408 1406 drive-strength = <2>; 1409 1407 bias-disable; 1410 1408 }; 1411 1409 1412 - blsp1_i2c6_sleep: blsp1-i2c6-sleep { 1410 + blsp1_i2c6_sleep: blsp1-i2c6-sleep-state { 1413 1411 pins = "gpio29", "gpio30"; 1414 1412 function = "blsp_i2c6"; 1415 1413 drive-strength = <2>; ··· 1419 1417 1420 1418 /* BLSP2_I2C1 info is missing */ 1421 1419 1422 - blsp2_i2c2_default: blsp2-i2c2-default { 1420 + blsp2_i2c2_default: blsp2-i2c2-default-state { 1423 1421 pins = "gpio47", "gpio48"; 1424 1422 function = "blsp_i2c8"; 1425 1423 drive-strength = <2>; 1426 1424 bias-disable; 1427 1425 }; 1428 1426 1429 - blsp2_i2c2_sleep: blsp2-i2c2-sleep { 1427 + blsp2_i2c2_sleep: blsp2-i2c2-sleep-state { 1430 1428 pins = "gpio47", "gpio48"; 1431 1429 function = "blsp_i2c8"; 1432 1430 drive-strength = <2>; ··· 1437 1435 1438 1436 /* BLSP2_I2C4 info is missing */ 1439 1437 1440 - blsp2_i2c5_default: blsp2-i2c5-default { 1438 + blsp2_i2c5_default: blsp2-i2c5-default-state { 1441 1439 pins = "gpio83", "gpio84"; 1442 1440 function = "blsp_i2c11"; 1443 1441 drive-strength = <2>; 1444 1442 bias-disable; 1445 1443 }; 1446 1444 1447 - blsp2_i2c5_sleep: blsp2-i2c5-sleep { 1445 + blsp2_i2c5_sleep: blsp2-i2c5-sleep-state { 1448 1446 pins = "gpio83", "gpio84"; 1449 1447 function = "blsp_i2c11"; 1450 1448 drive-strength = <2>; 1451 1449 bias-pull-up; 1452 1450 }; 1453 1451 1454 - blsp2_i2c6_default: blsp2-i2c6-default { 1452 + blsp2_i2c6_default: blsp2-i2c6-default-state { 1455 1453 pins = "gpio87", "gpio88"; 1456 1454 function = "blsp_i2c12"; 1457 1455 drive-strength = <2>; 1458 1456 bias-disable; 1459 1457 }; 1460 1458 1461 - blsp2_i2c6_sleep: blsp2-i2c6-sleep { 1459 + blsp2_i2c6_sleep: blsp2-i2c6-sleep-state { 1462 1460 pins = "gpio87", "gpio88"; 1463 1461 function = "blsp_i2c12"; 1464 1462 drive-strength = <2>; 1465 1463 bias-pull-up; 1466 1464 }; 1467 1465 1468 - spi8_default: spi8_default { 1469 - mosi { 1466 + cci_default: cci-default-state { 1467 + cci_i2c0_default: cci-i2c0-default-pins { 1468 + pins = "gpio19", "gpio20"; 1469 + function = "cci_i2c0"; 1470 + drive-strength = <2>; 1471 + bias-disable; 1472 + }; 1473 + 1474 + cci_i2c1_default: cci-i2c1-default-pins { 1475 + pins = "gpio21", "gpio22"; 1476 + function = "cci_i2c1"; 1477 + drive-strength = <2>; 1478 + bias-disable; 1479 + }; 1480 + }; 1481 + 1482 + cci_sleep: cci-sleep-state { 1483 + cci_i2c0_sleep: cci-i2c0-sleep-pins { 1484 + pins = "gpio19", "gpio20"; 1485 + function = "gpio"; 1486 + drive-strength = <2>; 1487 + bias-disable; 1488 + }; 1489 + 1490 + cci_i2c1_sleep: cci-i2c1-sleep-pins { 1491 + pins = "gpio21", "gpio22"; 1492 + function = "gpio"; 1493 + drive-strength = <2>; 1494 + bias-disable; 1495 + }; 1496 + }; 1497 + 1498 + spi8_default: spi8_default-state { 1499 + mosi-pins { 1470 1500 pins = "gpio45"; 1471 1501 function = "blsp_spi8"; 1472 1502 }; 1473 - miso { 1503 + miso-pins { 1474 1504 pins = "gpio46"; 1475 1505 function = "blsp_spi8"; 1476 1506 }; 1477 - cs { 1507 + cs-pins { 1478 1508 pins = "gpio47"; 1479 1509 function = "blsp_spi8"; 1480 1510 }; 1481 - clk { 1511 + clk-pins { 1482 1512 pins = "gpio48"; 1483 1513 function = "blsp_spi8"; 1484 1514 }; ··· 1605 1571 "core_mmss"; 1606 1572 1607 1573 phys = <&dsi0_phy>; 1608 - phy-names = "dsi-phy"; 1609 1574 1610 1575 status = "disabled"; 1611 1576 ··· 1630 1597 }; 1631 1598 }; 1632 1599 1633 - dsi0_phy: dsi-phy@fd922a00 { 1600 + dsi0_phy: phy@fd922a00 { 1634 1601 compatible = "qcom,dsi-phy-28nm-hpm"; 1635 1602 reg = <0xfd922a00 0xd4>, 1636 1603 <0xfd922b00 0x280>, ··· 1646 1613 clock-names = "iface", "ref"; 1647 1614 1648 1615 status = "disabled"; 1616 + }; 1617 + }; 1618 + 1619 + cci: cci@fda0c000 { 1620 + compatible = "qcom,msm8974-cci"; 1621 + #address-cells = <1>; 1622 + #size-cells = <0>; 1623 + reg = <0xfda0c000 0x1000>; 1624 + interrupts = <GIC_SPI 50 IRQ_TYPE_EDGE_RISING>; 1625 + clocks = <&mmcc CAMSS_TOP_AHB_CLK>, 1626 + <&mmcc CAMSS_CCI_CCI_AHB_CLK>, 1627 + <&mmcc CAMSS_CCI_CCI_CLK>; 1628 + clock-names = "camss_top_ahb", 1629 + "cci_ahb", 1630 + "cci"; 1631 + 1632 + pinctrl-names = "default", "sleep"; 1633 + pinctrl-0 = <&cci_default>; 1634 + pinctrl-1 = <&cci_sleep>; 1635 + 1636 + status = "disabled"; 1637 + 1638 + cci_i2c0: i2c-bus@0 { 1639 + reg = <0>; 1640 + clock-frequency = <100000>; 1641 + #address-cells = <1>; 1642 + #size-cells = <0>; 1643 + }; 1644 + 1645 + cci_i2c1: i2c-bus@1 { 1646 + reg = <1>; 1647 + clock-frequency = <100000>; 1648 + #address-cells = <1>; 1649 + #size-cells = <0>; 1649 1650 }; 1650 1651 }; 1651 1652 ··· 1770 1703 qcom,ipc = <&apcs 8 8>; 1771 1704 qcom,smd-edge = <1>; 1772 1705 label = "lpass"; 1773 - #address-cells = <1>; 1774 - #size-cells = <0>; 1775 1706 }; 1776 1707 }; 1777 1708 ··· 1782 1717 offset = <0x65c>; 1783 1718 }; 1784 1719 }; 1785 - }; 1786 - 1787 - tcsr_mutex: tcsr-mutex { 1788 - compatible = "qcom,tcsr-mutex"; 1789 - syscon = <&tcsr_mutex_block 0 0x80>; 1790 - 1791 - #hwlock-cells = <1>; 1792 1720 }; 1793 1721 1794 1722 thermal-zones {
+37 -38
arch/arm/boot/dts/qcom-msm8974pro-fairphone-fp2.dts
··· 8 8 9 9 / { 10 10 model = "Fairphone 2"; 11 - compatible = "fairphone,fp2", "qcom,msm8974"; 11 + compatible = "fairphone,fp2", "qcom,msm8974pro", "qcom,msm8974"; 12 + chassis-type = "handset"; 12 13 13 14 aliases { 14 15 mmc0 = &sdhc_1; ··· 83 82 mode-normal = <0x77665501>; 84 83 mode-bootloader = <0x77665500>; 85 84 mode-recovery = <0x77665502>; 86 - }; 87 - }; 88 - 89 - &otg { 90 - status = "okay"; 91 - 92 - phys = <&usb_hs1_phy>; 93 - phy-select = <&tcsr 0xb000 0>; 94 - extcon = <&smbb>, <&usb_id>; 95 - vbus-supply = <&chg_otg>; 96 - 97 - hnp-disable; 98 - srp-disable; 99 - adp-disable; 100 - 101 - ulpi { 102 - phy@a { 103 - status = "okay"; 104 - 105 - v1p8-supply = <&pm8941_l6>; 106 - v3p3-supply = <&pm8941_l24>; 107 - 108 - extcon = <&smbb>; 109 - qcom,init-seq = /bits/ 8 <0x1 0x64>; 110 - }; 111 85 }; 112 86 }; 113 87 ··· 166 190 }; 167 191 168 192 &rpm_requests { 169 - pm8841-regulators { 193 + regulators-0 { 170 194 compatible = "qcom,rpm-pm8841-regulators"; 171 195 172 196 pm8841_s1: s1 { ··· 185 209 }; 186 210 }; 187 211 188 - pm8941-regulators { 212 + regulators-1 { 189 213 compatible = "qcom,rpm-pm8941-regulators"; 190 214 191 215 vdd_l1_l3-supply = <&pm8941_s1>; ··· 384 408 }; 385 409 386 410 &tlmm { 387 - sdc1_on: sdc1-on { 388 - clk { 411 + sdc1_on: sdc1-on-state { 412 + clk-pins { 389 413 pins = "sdc1_clk"; 390 414 drive-strength = <16>; 391 415 bias-disable; 392 416 }; 393 417 394 - cmd-data { 418 + cmd-data-pins { 395 419 pins = "sdc1_cmd", "sdc1_data"; 396 420 drive-strength = <10>; 397 421 bias-pull-up; 398 422 }; 399 423 }; 400 424 401 - sdc2_on: sdc2-on { 402 - clk { 425 + sdc2_on: sdc2-on-state { 426 + clk-pins { 403 427 pins = "sdc2_clk"; 404 428 drive-strength = <10>; 405 429 bias-disable; 406 430 }; 407 431 408 - cmd-data { 432 + cmd-data-pins { 409 433 pins = "sdc2_cmd", "sdc2_data"; 410 434 drive-strength = <6>; 411 435 bias-pull-up; 412 436 }; 413 437 }; 414 438 415 - wcnss_pin_a: wcnss-pin-active { 416 - wlan { 439 + wcnss_pin_a: wcnss-pin-active-state { 440 + wlan-pins { 417 441 pins = "gpio36", "gpio37", "gpio38", "gpio39", "gpio40"; 418 442 function = "wlan"; 419 443 ··· 421 445 bias-pull-down; 422 446 }; 423 447 424 - bt { 448 + bt-pins { 425 449 pins = "gpio35", "gpio43", "gpio44"; 426 450 function = "bt"; 427 451 ··· 429 453 bias-pull-down; 430 454 }; 431 455 432 - fm { 456 + fm-pins { 433 457 pins = "gpio41", "gpio42"; 434 458 function = "fm"; 435 459 ··· 437 461 bias-pull-down; 438 462 }; 439 463 }; 464 + }; 465 + 466 + &usb { 467 + status = "okay"; 468 + 469 + phys = <&usb_hs1_phy>; 470 + phy-select = <&tcsr 0xb000 0>; 471 + extcon = <&smbb>, <&usb_id>; 472 + vbus-supply = <&chg_otg>; 473 + 474 + hnp-disable; 475 + srp-disable; 476 + adp-disable; 477 + }; 478 + 479 + &usb_hs1_phy { 480 + status = "okay"; 481 + 482 + v1p8-supply = <&pm8941_l6>; 483 + v3p3-supply = <&pm8941_l24>; 484 + 485 + extcon = <&smbb>; 486 + qcom,init-seq = /bits/ 8 <0x1 0x64>; 440 487 };
+417
arch/arm/boot/dts/qcom-msm8974pro-oneplus-bacon.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + #include "qcom-msm8974pro.dtsi" 3 + #include "qcom-pm8841.dtsi" 4 + #include "qcom-pm8941.dtsi" 5 + #include <dt-bindings/input/input.h> 6 + #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 7 + 8 + / { 9 + model = "OnePlus One"; 10 + compatible = "oneplus,bacon", "qcom,msm8974pro", "qcom,msm8974"; 11 + chassis-type = "handset"; 12 + qcom,msm-id = <194 0x10000>; 13 + qcom,board-id = <8 0>; 14 + 15 + aliases { 16 + serial0 = &blsp1_uart2; 17 + }; 18 + 19 + chosen { 20 + stdout-path = "serial0:115200n8"; 21 + }; 22 + }; 23 + 24 + &blsp1_i2c1 { 25 + status = "okay"; 26 + 27 + fuel-gauge@55 { 28 + compatible = "ti,bq27541"; 29 + reg = <0x55>; 30 + power-supplies = <&bq24196_charger>; 31 + }; 32 + }; 33 + 34 + &blsp1_i2c2 { 35 + status = "okay"; 36 + 37 + rmi4-i2c-dev@20 { 38 + compatible = "syna,rmi4-i2c"; 39 + reg = <0x20>; 40 + 41 + syna,startup-delay-ms = <100>; 42 + 43 + interrupts-extended = <&tlmm 61 IRQ_TYPE_EDGE_FALLING>; 44 + vdd-supply = <&pm8941_l22>; 45 + vio-supply = <&pm8941_lvs3>; 46 + 47 + pinctrl-names = "default"; 48 + pinctrl-0 = <&touch_default_state>; 49 + 50 + #address-cells = <1>; 51 + #size-cells = <0>; 52 + 53 + rmi4-f01@1 { 54 + reg = <0x1>; 55 + syna,nosleep-mode = <1>; 56 + }; 57 + 58 + rmi4-f12@12 { 59 + reg = <0x12>; 60 + syna,sensor-type = <1>; 61 + /* 62 + * Touchscreen size is 2040x1080, y-values between 63 + * 1920-2040 are used for touchkey (menu, home & back). 64 + * For now clip it off so we don't get touch events 65 + * outside of the display area. 66 + */ 67 + syna,clip-y-high = <1920>; 68 + }; 69 + }; 70 + }; 71 + 72 + &blsp1_i2c6 { 73 + status = "okay"; 74 + 75 + bq24196_charger: charger@6b { 76 + compatible = "ti,bq24196"; 77 + reg = <0x6b>; 78 + interrupts-extended = <&tlmm 31 IRQ_TYPE_EDGE_FALLING>; 79 + omit-battery-class; 80 + }; 81 + }; 82 + 83 + &blsp1_uart2 { 84 + status = "okay"; 85 + }; 86 + 87 + &gcc { 88 + compatible = "qcom,gcc-msm8974pro-ac"; 89 + }; 90 + 91 + &pm8941_coincell { 92 + qcom,rset-ohms = <800>; 93 + qcom,vset-millivolts = <3200>; 94 + 95 + status = "okay"; 96 + }; 97 + 98 + &pronto { 99 + vddmx-supply = <&pm8841_s1>; 100 + vddcx-supply = <&pm8841_s2>; 101 + vddpx-supply = <&pm8941_s3>; 102 + 103 + pinctrl-names = "default"; 104 + pinctrl-0 = <&wcnss_pin_a>; 105 + 106 + status = "okay"; 107 + 108 + iris { 109 + vddxo-supply = <&pm8941_l6>; 110 + vddrfa-supply = <&pm8941_l11>; 111 + vddpa-supply = <&pm8941_l19>; 112 + vdddig-supply = <&pm8941_s3>; 113 + }; 114 + 115 + smd-edge { 116 + qcom,remote-pid = <4>; 117 + label = "pronto"; 118 + 119 + wcnss { 120 + status = "okay"; 121 + }; 122 + }; 123 + }; 124 + 125 + &remoteproc_adsp { 126 + cx-supply = <&pm8841_s2>; 127 + 128 + status = "okay"; 129 + }; 130 + 131 + &rpm_requests { 132 + regulators-0 { 133 + compatible = "qcom,rpm-pm8841-regulators"; 134 + 135 + pm8841_s1: s1 { 136 + regulator-min-microvolt = <675000>; 137 + regulator-max-microvolt = <1050000>; 138 + }; 139 + 140 + pm8841_s2: s2 { 141 + regulator-min-microvolt = <875000>; 142 + regulator-max-microvolt = <1050000>; 143 + regulator-always-on; 144 + }; 145 + 146 + pm8841_s3: s3 { 147 + regulator-min-microvolt = <1050000>; 148 + regulator-max-microvolt = <1050000>; 149 + }; 150 + }; 151 + 152 + regulators-1 { 153 + compatible = "qcom,rpm-pm8941-regulators"; 154 + 155 + vdd_l1_l3-supply = <&pm8941_s1>; 156 + vdd_l2_lvs1_2_3-supply = <&pm8941_s3>; 157 + vdd_l4_l11-supply = <&pm8941_s1>; 158 + vdd_l5_l7-supply = <&pm8941_s2>; 159 + vdd_l6_l12_l14_l15-supply = <&pm8941_s2>; 160 + vdd_l8_l16_l18_l19-supply = <&vreg_vph_pwr>; 161 + vdd_l9_l10_l17_l22-supply = <&vreg_boost>; 162 + vdd_l13_l20_l23_l24-supply = <&vreg_boost>; 163 + vdd_l21-supply = <&vreg_boost>; 164 + 165 + pm8941_s1: s1 { 166 + regulator-min-microvolt = <1300000>; 167 + regulator-max-microvolt = <1300000>; 168 + 169 + regulator-always-on; 170 + regulator-boot-on; 171 + }; 172 + 173 + pm8941_s2: s2 { 174 + regulator-min-microvolt = <2150000>; 175 + regulator-max-microvolt = <2150000>; 176 + 177 + regulator-boot-on; 178 + }; 179 + 180 + pm8941_s3: s3 { 181 + regulator-min-microvolt = <1800000>; 182 + regulator-max-microvolt = <1800000>; 183 + regulator-system-load = <154000>; 184 + 185 + regulator-always-on; 186 + regulator-boot-on; 187 + regulator-allow-set-load; 188 + }; 189 + 190 + pm8941_l1: l1 { 191 + regulator-min-microvolt = <1225000>; 192 + regulator-max-microvolt = <1225000>; 193 + 194 + regulator-always-on; 195 + regulator-boot-on; 196 + }; 197 + 198 + pm8941_l2: l2 { 199 + regulator-min-microvolt = <1200000>; 200 + regulator-max-microvolt = <1200000>; 201 + }; 202 + 203 + pm8941_l3: l3 { 204 + regulator-min-microvolt = <1225000>; 205 + regulator-max-microvolt = <1225000>; 206 + }; 207 + 208 + pm8941_l4: l4 { 209 + regulator-min-microvolt = <1225000>; 210 + regulator-max-microvolt = <1225000>; 211 + }; 212 + 213 + pm8941_l5: l5 { 214 + regulator-min-microvolt = <1800000>; 215 + regulator-max-microvolt = <1800000>; 216 + }; 217 + 218 + pm8941_l6: l6 { 219 + regulator-min-microvolt = <1800000>; 220 + regulator-max-microvolt = <1800000>; 221 + 222 + regulator-boot-on; 223 + }; 224 + 225 + pm8941_l7: l7 { 226 + regulator-min-microvolt = <1800000>; 227 + regulator-max-microvolt = <1800000>; 228 + 229 + regulator-boot-on; 230 + }; 231 + 232 + pm8941_l8: l8 { 233 + regulator-min-microvolt = <1800000>; 234 + regulator-max-microvolt = <1800000>; 235 + }; 236 + 237 + pm8941_l9: l9 { 238 + regulator-min-microvolt = <1800000>; 239 + regulator-max-microvolt = <2950000>; 240 + }; 241 + 242 + pm8941_l10: l10 { 243 + regulator-min-microvolt = <1800000>; 244 + regulator-max-microvolt = <2950000>; 245 + }; 246 + 247 + pm8941_l11: l11 { 248 + regulator-min-microvolt = <1225000>; 249 + regulator-max-microvolt = <1350000>; 250 + }; 251 + 252 + pm8941_l12: l12 { 253 + regulator-min-microvolt = <1800000>; 254 + regulator-max-microvolt = <1800000>; 255 + 256 + regulator-always-on; 257 + regulator-boot-on; 258 + regulator-allow-set-load; 259 + }; 260 + 261 + pm8941_l13: l13 { 262 + regulator-min-microvolt = <1800000>; 263 + regulator-max-microvolt = <2950000>; 264 + 265 + regulator-boot-on; 266 + }; 267 + 268 + pm8941_l14: l14 { 269 + regulator-min-microvolt = <1800000>; 270 + regulator-max-microvolt = <1800000>; 271 + }; 272 + 273 + pm8941_l15: l15 { 274 + regulator-min-microvolt = <2050000>; 275 + regulator-max-microvolt = <2050000>; 276 + }; 277 + 278 + pm8941_l16: l16 { 279 + regulator-min-microvolt = <2700000>; 280 + regulator-max-microvolt = <2700000>; 281 + }; 282 + 283 + pm8941_l17: l17 { 284 + regulator-min-microvolt = <2850000>; 285 + regulator-max-microvolt = <2850000>; 286 + }; 287 + 288 + pm8941_l18: l18 { 289 + regulator-min-microvolt = <2850000>; 290 + regulator-max-microvolt = <2850000>; 291 + }; 292 + 293 + pm8941_l19: l19 { 294 + regulator-min-microvolt = <2900000>; 295 + regulator-max-microvolt = <3350000>; 296 + }; 297 + 298 + pm8941_l20: l20 { 299 + regulator-min-microvolt = <2950000>; 300 + regulator-max-microvolt = <2950000>; 301 + 302 + regulator-system-load = <200000>; 303 + regulator-allow-set-load; 304 + regulator-boot-on; 305 + }; 306 + 307 + pm8941_l21: l21 { 308 + regulator-min-microvolt = <2950000>; 309 + regulator-max-microvolt = <2950000>; 310 + 311 + regulator-boot-on; 312 + }; 313 + 314 + pm8941_l22: l22 { 315 + regulator-min-microvolt = <3000000>; 316 + regulator-max-microvolt = <3000000>; 317 + regulator-allow-set-load; 318 + }; 319 + 320 + pm8941_l23: l23 { 321 + regulator-min-microvolt = <3000000>; 322 + regulator-max-microvolt = <3000000>; 323 + }; 324 + 325 + pm8941_l24: l24 { 326 + regulator-min-microvolt = <3075000>; 327 + regulator-max-microvolt = <3075000>; 328 + 329 + regulator-boot-on; 330 + }; 331 + 332 + pm8941_lvs3: lvs3 {}; 333 + }; 334 + }; 335 + 336 + &sdhc_1 { 337 + vmmc-supply = <&pm8941_l20>; 338 + vqmmc-supply = <&pm8941_s3>; 339 + 340 + pinctrl-names = "default", "sleep"; 341 + pinctrl-0 = <&sdc1_on>; 342 + pinctrl-1 = <&sdc1_off>; 343 + 344 + status = "okay"; 345 + }; 346 + 347 + &tlmm { 348 + sdc1_on: sdc1-on-state { 349 + clk-pins { 350 + pins = "sdc1_clk"; 351 + drive-strength = <4>; 352 + bias-disable; 353 + }; 354 + 355 + cmd-data-pins { 356 + pins = "sdc1_cmd", "sdc1_data"; 357 + drive-strength = <4>; 358 + bias-pull-up; 359 + }; 360 + }; 361 + 362 + touch_default_state: touch-default-state { 363 + int-pins { 364 + pins = "gpio61"; 365 + function = "gpio"; 366 + drive-strength = <2>; 367 + bias-disable; 368 + input-enable; 369 + }; 370 + 371 + reset-pins { 372 + pins = "gpio60"; 373 + function = "gpio"; 374 + drive-strength = <2>; 375 + bias-pull-up; 376 + }; 377 + }; 378 + 379 + wcnss_pin_a: wcnss-pin-active-state { 380 + wlan-pins { 381 + pins = "gpio36", "gpio37", "gpio38", "gpio39", "gpio40"; 382 + function = "wlan"; 383 + drive-strength = <6>; 384 + bias-pull-down; 385 + }; 386 + 387 + bt-pins { 388 + pins = "gpio35", "gpio43", "gpio44"; 389 + function = "bt"; 390 + drive-strength = <2>; 391 + bias-pull-down; 392 + }; 393 + }; 394 + }; 395 + 396 + &usb { 397 + phys = <&usb_hs1_phy>; 398 + phy-select = <&tcsr 0xb000 0>; 399 + extcon = <&smbb>, <&usb_id>; 400 + vbus-supply = <&chg_otg>; 401 + 402 + hnp-disable; 403 + srp-disable; 404 + adp-disable; 405 + 406 + status = "okay"; 407 + }; 408 + 409 + &usb_hs1_phy { 410 + status = "okay"; 411 + 412 + v1p8-supply = <&pm8941_l6>; 413 + v3p3-supply = <&pm8941_l24>; 414 + 415 + extcon = <&smbb>; 416 + qcom,init-seq = /bits/ 8 <0x1 0x64>; 417 + };
+41 -42
arch/arm/boot/dts/qcom-msm8974pro-samsung-klte.dts
··· 7 7 8 8 / { 9 9 model = "Samsung Galaxy S5"; 10 - compatible = "samsung,klte", "qcom,msm8974"; 10 + compatible = "samsung,klte", "qcom,msm8974pro", "qcom,msm8974"; 11 + chassis-type = "handset"; 11 12 12 13 aliases { 13 14 serial0 = &blsp1_uart1; ··· 376 375 status = "okay"; 377 376 }; 378 377 379 - &otg { 380 - status = "okay"; 381 - 382 - phys = <&usb_hs1_phy>; 383 - phy-select = <&tcsr 0xb000 0>; 384 - 385 - hnp-disable; 386 - srp-disable; 387 - adp-disable; 388 - 389 - ulpi { 390 - phy@a { 391 - status = "okay"; 392 - 393 - v1p8-supply = <&pma8084_l6>; 394 - v3p3-supply = <&pma8084_l24>; 395 - 396 - qcom,init-seq = /bits/ 8 <0x1 0x64>; 397 - }; 398 - }; 399 - }; 400 - 401 378 &pma8084_gpios { 402 379 gpio_keys_pin_a: gpio-keys-active-state { 403 380 pins = "gpio2", "gpio3", "gpio5"; ··· 449 470 }; 450 471 451 472 &rpm_requests { 452 - pma8084-regulators { 473 + regulators-0 { 453 474 compatible = "qcom,rpm-pma8084-regulators"; 454 475 455 476 pma8084_s1: s1 { ··· 685 706 686 707 &tlmm { 687 708 /* This seems suspicious, but somebody with this device should look into it. */ 688 - blsp2_uart2_pins_active: blsp2-uart2-pins-active { 709 + blsp2_uart2_pins_active: blsp2-uart2-pins-active-state { 689 710 pins = "gpio45", "gpio46", "gpio47", "gpio48"; 690 711 function = "blsp_uart8"; 691 712 drive-strength = <8>; 692 713 bias-disable; 693 714 }; 694 715 695 - blsp2_uart2_pins_sleep: blsp2-uart2-pins-sleep { 716 + blsp2_uart2_pins_sleep: blsp2-uart2-pins-sleep-state { 696 717 pins = "gpio45", "gpio46", "gpio47", "gpio48"; 697 718 function = "gpio"; 698 719 drive-strength = <2>; 699 720 bias-pull-down; 700 721 }; 701 722 702 - bt_pins: bt-pins { 703 - hostwake { 723 + bt_pins: bt-pins-state { 724 + hostwake-pins { 704 725 pins = "gpio75"; 705 726 function = "gpio"; 706 727 drive-strength = <16>; 707 728 input-enable; 708 729 }; 709 730 710 - devwake { 731 + devwake-pins { 711 732 pins = "gpio91"; 712 733 function = "gpio"; 713 734 drive-strength = <2>; 714 735 }; 715 736 }; 716 737 717 - sdc1_on: sdhc1-on { 718 - clk { 738 + sdc1_on: sdhc1-on-state { 739 + clk-pins { 719 740 pins = "sdc1_clk"; 720 741 drive-strength = <4>; 721 742 bias-disable; 722 743 }; 723 744 724 - cmd-data { 745 + cmd-data-pins { 725 746 pins = "sdc1_cmd", "sdc1_data"; 726 747 drive-strength = <4>; 727 748 bias-pull-up; 728 749 }; 729 750 }; 730 751 731 - sdc3_on: sdc3-on { 752 + sdc3_on: sdc3-on-state { 732 753 pins = "gpio35", "gpio36", "gpio37", "gpio38", "gpio39", "gpio40"; 733 754 function = "sdc3"; 734 755 drive-strength = <8>; 735 756 bias-disable; 736 757 }; 737 758 738 - sdhc3_cd_pin: sdc3-cd-on { 759 + sdhc3_cd_pin: sdc3-cd-on-state { 739 760 pins = "gpio62"; 740 761 function = "gpio"; 741 762 ··· 743 764 bias-disable; 744 765 }; 745 766 746 - sdc2_on: sdhc2-on { 747 - clk { 767 + sdc2_on: sdhc2-on-state { 768 + clk-pins { 748 769 pins = "sdc2_clk"; 749 770 drive-strength = <6>; 750 771 bias-disable; 751 772 }; 752 773 753 - cmd-data { 774 + cmd-data-pins { 754 775 pins = "sdc2_cmd", "sdc2_data"; 755 776 drive-strength = <6>; 756 777 bias-pull-up; 757 778 }; 758 779 }; 759 780 760 - i2c_touchkey_pins: i2c-touchkey { 781 + i2c_touchkey_pins: i2c-touchkey-state { 761 782 pins = "gpio95", "gpio96"; 762 783 function = "gpio"; 763 784 input-enable; 764 785 bias-pull-up; 765 786 }; 766 787 767 - i2c_led_gpioex_pins: i2c-led-gpioex { 788 + i2c_led_gpioex_pins: i2c-led-gpioex-state { 768 789 pins = "gpio120", "gpio121"; 769 790 function = "gpio"; 770 791 input-enable; 771 792 bias-pull-down; 772 793 }; 773 794 774 - gpioex_pin: gpioex { 795 + gpioex_pin: gpioex-state { 775 796 pins = "gpio145"; 776 797 function = "gpio"; 777 798 bias-pull-up; 778 799 drive-strength = <2>; 779 800 }; 780 801 781 - wifi_pin: wifi { 802 + wifi_pin: wifi-state { 782 803 pins = "gpio92"; 783 804 function = "gpio"; 784 805 input-enable; 785 806 bias-pull-down; 786 807 }; 787 808 788 - panel_te_pin: panel { 809 + panel_te_pin: panel-state { 789 810 pins = "gpio12"; 790 811 function = "mdp_vsync"; 791 812 drive-strength = <2>; 792 813 bias-disable; 793 814 }; 815 + }; 816 + 817 + &usb { 818 + status = "okay"; 819 + 820 + phys = <&usb_hs1_phy>; 821 + phy-select = <&tcsr 0xb000 0>; 822 + 823 + hnp-disable; 824 + srp-disable; 825 + adp-disable; 826 + }; 827 + 828 + &usb_hs1_phy { 829 + status = "okay"; 830 + 831 + v1p8-supply = <&pma8084_l6>; 832 + v3p3-supply = <&pma8084_l24>; 833 + 834 + qcom,init-seq = /bits/ 8 <0x1 0x64>; 794 835 };
+43 -43
arch/arm/boot/dts/qcom-msm8974pro-sony-xperia-shinano-castor.dts
··· 8 8 9 9 / { 10 10 model = "Sony Xperia Z2 Tablet"; 11 - compatible = "sony,xperia-castor", "qcom,msm8974"; 11 + compatible = "sony,xperia-castor", "qcom,msm8974pro", "qcom,msm8974"; 12 + chassis-type = "tablet"; 12 13 13 14 aliases { 14 15 serial0 = &blsp1_uart2; ··· 213 212 }; 214 213 }; 215 214 216 - &otg { 217 - status = "okay"; 218 - 219 - phys = <&usb_hs1_phy>; 220 - phy-select = <&tcsr 0xb000 0>; 221 - extcon = <&smbb>, <&usb_id>; 222 - vbus-supply = <&chg_otg>; 223 - 224 - hnp-disable; 225 - srp-disable; 226 - adp-disable; 227 - 228 - ulpi { 229 - phy@a { 230 - status = "okay"; 231 - 232 - v1p8-supply = <&pm8941_l6>; 233 - v3p3-supply = <&pm8941_l24>; 234 - 235 - extcon = <&smbb>; 236 - qcom,init-seq = /bits/ 8 <0x1 0x64>; 237 - }; 238 - }; 239 - }; 240 - 241 215 &pm8941_coincell { 242 216 status = "okay"; 243 217 ··· 270 294 271 295 qcom,power-source = <1>; 272 296 273 - rgb-led { 297 + multi-led { 274 298 color = <LED_COLOR_ID_RGB>; 275 299 function = LED_FUNCTION_STATUS; 276 300 ··· 295 319 }; 296 320 297 321 &rpm_requests { 298 - pm8941-regulators { 322 + regulators-0 { 299 323 compatible = "qcom,rpm-pm8941-regulators"; 300 324 301 325 vdd_l1_l3-supply = <&pm8941_s1>; ··· 524 548 }; 525 549 526 550 &tlmm { 527 - lcd_backlight_en_pin_a: lcd-backlight-vddio { 551 + lcd_backlight_en_pin_a: lcd-backlight-vddio-state { 528 552 pins = "gpio69"; 553 + function = "gpio"; 529 554 drive-strength = <10>; 530 555 output-low; 531 556 bias-disable; 532 557 }; 533 558 534 - sdc1_on: sdc1-on { 535 - clk { 559 + sdc1_on: sdc1-on-state { 560 + clk-pins { 536 561 pins = "sdc1_clk"; 537 562 drive-strength = <16>; 538 563 bias-disable; 539 564 }; 540 565 541 - cmd-data { 566 + cmd-data-pins { 542 567 pins = "sdc1_cmd", "sdc1_data"; 543 568 drive-strength = <10>; 544 569 bias-pull-up; 545 570 }; 546 571 }; 547 572 548 - sdc2_on: sdc2-on { 549 - clk { 573 + sdc2_on: sdc2-on-state { 574 + clk-pins { 550 575 pins = "sdc2_clk"; 551 576 drive-strength = <6>; 552 577 bias-disable; 553 578 }; 554 579 555 - cmd-data { 580 + cmd-data-pins { 556 581 pins = "sdc2_cmd", "sdc2_data"; 557 582 drive-strength = <6>; 558 583 bias-pull-up; 559 584 }; 560 585 561 - cd { 586 + cd-pins { 562 587 pins = "gpio62"; 563 588 function = "gpio"; 564 589 drive-strength = <2>; ··· 567 590 }; 568 591 }; 569 592 570 - sdc3_on: sdc3-on { 571 - clk { 593 + sdc3_on: sdc3-on-state { 594 + clk-pins { 572 595 pins = "gpio40"; 573 596 function = "sdc3"; 574 597 drive-strength = <10>; 575 598 bias-disable; 576 599 }; 577 600 578 - cmd { 601 + cmd-pins { 579 602 pins = "gpio39"; 580 603 function = "sdc3"; 581 604 drive-strength = <10>; 582 605 bias-pull-up; 583 606 }; 584 607 585 - data { 608 + data-pins { 586 609 pins = "gpio35", "gpio36", "gpio37", "gpio38"; 587 610 function = "sdc3"; 588 611 drive-strength = <10>; ··· 590 613 }; 591 614 }; 592 615 593 - ts_int_pin: ts-int-pin { 616 + ts_int_pin: ts-int-pin-state { 594 617 pins = "gpio86"; 595 618 function = "gpio"; 596 619 drive-strength = <2>; ··· 598 621 input-enable; 599 622 }; 600 623 601 - bt_host_wake_pin: bt-host-wake { 624 + bt_host_wake_pin: bt-host-wake-state { 602 625 pins = "gpio95"; 603 626 function = "gpio"; 604 627 drive-strength = <2>; ··· 606 629 output-low; 607 630 }; 608 631 609 - bt_dev_wake_pin: bt-dev-wake { 632 + bt_dev_wake_pin: bt-dev-wake-state { 610 633 pins = "gpio96"; 611 634 function = "gpio"; 612 635 drive-strength = <2>; 613 636 bias-disable; 614 637 }; 638 + }; 639 + 640 + &usb { 641 + status = "okay"; 642 + 643 + phys = <&usb_hs1_phy>; 644 + phy-select = <&tcsr 0xb000 0>; 645 + extcon = <&smbb>, <&usb_id>; 646 + vbus-supply = <&chg_otg>; 647 + 648 + hnp-disable; 649 + srp-disable; 650 + adp-disable; 651 + }; 652 + 653 + &usb_hs1_phy { 654 + status = "okay"; 655 + 656 + v1p8-supply = <&pm8941_l6>; 657 + v3p3-supply = <&pm8941_l24>; 658 + 659 + extcon = <&smbb>; 660 + qcom,init-seq = /bits/ 8 <0x1 0x64>; 615 661 };
+11 -1
arch/arm/boot/dts/qcom-pm8226.dtsi
··· 90 90 interrupt-controller; 91 91 #interrupt-cells = <2>; 92 92 }; 93 + 94 + pm8226_gpios: gpio@c000 { 95 + compatible = "qcom,pm8226-gpio", "qcom,spmi-gpio"; 96 + reg = <0xc000>; 97 + gpio-controller; 98 + #gpio-cells = <2>; 99 + gpio-ranges = <&pm8226_gpios 0 0 8>; 100 + interrupt-controller; 101 + #interrupt-cells = <2>; 102 + }; 93 103 }; 94 104 95 105 pm8226_1: pm8226@1 { ··· 108 98 #address-cells = <1>; 109 99 #size-cells = <0>; 110 100 111 - pm8226_spmi_regulators: pm8226-regulators { 101 + pm8226_spmi_regulators: regulators { 112 102 compatible = "qcom,pm8226-regulators"; 113 103 }; 114 104
+20 -13
arch/arm/boot/dts/qcom-pm8941.dtsi
··· 27 27 bias-pull-up; 28 28 }; 29 29 30 - usb_id: misc@900 { 30 + usb_id: usb-detect@900 { 31 31 compatible = "qcom,pm8941-misc"; 32 32 reg = <0x900>; 33 33 interrupts = <0x0 0x9 0 IRQ_TYPE_EDGE_BOTH>; ··· 59 59 chg_otg: otg-vbus { }; 60 60 }; 61 61 62 - pm8941_gpios: gpios@c000 { 62 + pm8941_gpios: gpio@c000 { 63 63 compatible = "qcom,pm8941-gpio", "qcom,spmi-gpio"; 64 64 reg = <0xc000>; 65 65 gpio-controller; ··· 101 101 #size-cells = <0>; 102 102 #io-channel-cells = <1>; 103 103 104 - bat_temp { 105 - reg = <VADC_LR_MUX1_BAT_THERM>; 104 + 105 + adc-chan@6 { 106 + reg = <VADC_VBAT_SNS>; 106 107 }; 107 - die_temp { 108 + 109 + adc-chan@8 { 108 110 reg = <VADC_DIE_TEMP>; 109 111 }; 110 - ref_625mv { 112 + 113 + adc-chan@9 { 111 114 reg = <VADC_REF_625MV>; 112 115 }; 113 - ref_1250v { 116 + 117 + adc-chan@a { 114 118 reg = <VADC_REF_1250MV>; 115 119 }; 116 - ref_gnd { 120 + 121 + adc-chan@e { 117 122 reg = <VADC_GND_REF>; 118 123 }; 119 - ref_vdd { 124 + 125 + adc-chan@f { 120 126 reg = <VADC_VDD_VADC>; 121 127 }; 122 - vbat_sns { 123 - reg = <VADC_VBAT_SNS>; 128 + 129 + adc-chan@30 { 130 + reg = <VADC_LR_MUX1_BAT_THERM>; 124 131 }; 125 132 }; 126 133 127 - pm8941_iadc: iadc@3600 { 134 + pm8941_iadc: adc@3600 { 128 135 compatible = "qcom,pm8941-iadc", "qcom,spmi-iadc"; 129 136 reg = <0x3600>; 130 137 interrupts = <0x0 0x36 0x0 IRQ_TYPE_EDGE_RISING>; 131 138 qcom,external-resistor-micro-ohms = <10000>; 132 139 }; 133 140 134 - pm8941_coincell: coincell@2800 { 141 + pm8941_coincell: charger@2800 { 135 142 compatible = "qcom,pm8941-coincell"; 136 143 reg = <0x2800>; 137 144 status = "disabled";
+12 -7
arch/arm/boot/dts/qcom-pma8084.dtsi
··· 27 27 bias-pull-up; 28 28 }; 29 29 30 - pma8084_gpios: gpios@c000 { 30 + pma8084_gpios: gpio@c000 { 31 31 compatible = "qcom,pma8084-gpio", "qcom,spmi-gpio"; 32 32 reg = <0xc000>; 33 33 gpio-controller; ··· 64 64 #size-cells = <0>; 65 65 #io-channel-cells = <1>; 66 66 67 - die_temp { 67 + adc-chan@8 { 68 68 reg = <VADC_DIE_TEMP>; 69 69 }; 70 - ref_625mv { 70 + 71 + adc-chan@9 { 71 72 reg = <VADC_REF_625MV>; 72 73 }; 73 - ref_1250v { 74 + 75 + adc-chan@a { 74 76 reg = <VADC_REF_1250MV>; 75 77 }; 76 - ref_buf_625mv { 78 + 79 + adc-chan@c { 77 80 reg = <VADC_SPARE1>; 78 81 }; 79 - ref_gnd { 82 + 83 + adc-chan@e { 80 84 reg = <VADC_GND_REF>; 81 85 }; 82 - ref_vdd { 86 + 87 + adc-chan@f { 83 88 reg = <VADC_VDD_VADC>; 84 89 }; 85 90 };
+1 -1
arch/arm/boot/dts/qcom-pmx65.dtsi
··· 20 20 #thermal-sensor-cells = <0>; 21 21 }; 22 22 23 - pmx65_gpios: pinctrl@8800 { 23 + pmx65_gpios: gpio@8800 { 24 24 compatible = "qcom,pmx65-gpio", "qcom,spmi-gpio"; 25 25 reg = <0x8800>; 26 26 gpio-controller;
+15 -30
arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts
··· 282 282 }; 283 283 284 284 &tlmm { 285 - pcie_ep_clkreq_default: pcie_ep_clkreq_default { 286 - mux { 287 - pins = "gpio56"; 288 - function = "pcie_clkreq"; 289 - }; 290 - config { 291 - pins = "gpio56"; 292 - drive-strength = <2>; 293 - bias-disable; 294 - }; 285 + pcie_ep_clkreq_default: pcie-ep-clkreq-default-state { 286 + pins = "gpio56"; 287 + function = "pcie_clkreq"; 288 + drive-strength = <2>; 289 + bias-disable; 295 290 }; 296 291 297 - pcie_ep_perst_default: pcie_ep_perst_default { 298 - mux { 299 - pins = "gpio57"; 300 - function = "gpio"; 301 - }; 302 - config { 303 - pins = "gpio57"; 304 - drive-strength = <2>; 305 - bias-pull-down; 306 - }; 292 + pcie_ep_perst_default: pcie-ep-perst-default-state { 293 + pins = "gpio57"; 294 + function = "gpio"; 295 + drive-strength = <2>; 296 + bias-pull-down; 307 297 }; 308 298 309 - pcie_ep_wake_default: pcie_ep_wake_default { 310 - mux { 311 - pins = "gpio53"; 312 - function = "gpio"; 313 - }; 314 - config { 315 - pins = "gpio53"; 316 - drive-strength = <2>; 317 - bias-disable; 318 - }; 299 + pcie_ep_wake_default: pcie-ep-wake-default-state { 300 + pins = "gpio53"; 301 + function = "gpio"; 302 + drive-strength = <2>; 303 + bias-disable; 319 304 }; 320 305 }; 321 306
+1
arch/arm/boot/dts/qcom-sdx55.dtsi
··· 559 559 #gpio-cells = <2>; 560 560 interrupt-controller; 561 561 #interrupt-cells = <2>; 562 + gpio-ranges = <&tlmm 0 0 109>; 562 563 }; 563 564 564 565 sram@1468f000 {
+2 -2
arch/arm/boot/dts/qcom-sdx65.dtsi
··· 441 441 interrupt-controller; 442 442 }; 443 443 444 - imem@1468f000 { 445 - compatible = "simple-mfd"; 444 + sram@1468f000 { 445 + compatible = "qcom,sdx65-imem", "syscon", "simple-mfd"; 446 446 reg = <0x1468f000 0x1000>; 447 447 ranges = <0x0 0x1468f000 0x1000>; 448 448 #address-cells = <1>;