mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
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>
This commit is contained in:
@@ -178,6 +178,7 @@ properties:
|
||||
- qcom,kryo250
|
||||
- qcom,kryo260
|
||||
- qcom,kryo280
|
||||
- qcom,kryo360
|
||||
- qcom,kryo385
|
||||
- qcom,kryo468
|
||||
- qcom,kryo485
|
||||
|
@@ -29,17 +29,22 @@ description: |
|
||||
apq8074
|
||||
apq8084
|
||||
apq8096
|
||||
ipq4018
|
||||
ipq6018
|
||||
ipq8074
|
||||
mdm9615
|
||||
msm8226
|
||||
msm8916
|
||||
msm8956
|
||||
msm8974
|
||||
msm8976
|
||||
msm8992
|
||||
msm8994
|
||||
msm8996
|
||||
msm8998
|
||||
qcs404
|
||||
qdu1000
|
||||
qru1000
|
||||
sa8155p
|
||||
sa8540p
|
||||
sc7180
|
||||
@@ -51,6 +56,7 @@ description: |
|
||||
sdm632
|
||||
sdm636
|
||||
sdm660
|
||||
sdm670
|
||||
sdm845
|
||||
sdx55
|
||||
sdx65
|
||||
@@ -58,6 +64,7 @@ description: |
|
||||
sm6115
|
||||
sm6125
|
||||
sm6350
|
||||
sm6375
|
||||
sm7225
|
||||
sm8150
|
||||
sm8250
|
||||
@@ -78,6 +85,7 @@ description: |
|
||||
mtp
|
||||
qrd
|
||||
sbc
|
||||
x100
|
||||
|
||||
The 'soc_version' and 'board_version' elements take the form of v<Major>.<Minor>
|
||||
where the minor number may be omitted when it's zero, i.e. v1.0 is the same
|
||||
@@ -116,7 +124,9 @@ properties:
|
||||
- items:
|
||||
- enum:
|
||||
- asus,sparrow
|
||||
- huawei,sturgeon
|
||||
- lg,lenok
|
||||
- samsung,matisse-wifi
|
||||
- const: qcom,apq8026
|
||||
|
||||
- items:
|
||||
@@ -150,6 +160,12 @@ properties:
|
||||
- samsung,s3ve3g
|
||||
- const: qcom,msm8226
|
||||
|
||||
- items:
|
||||
- enum:
|
||||
- sony,kugo-row
|
||||
- sony,suzu-row
|
||||
- const: qcom,msm8956
|
||||
|
||||
- items:
|
||||
- enum:
|
||||
- qcom,msm8960-cdp
|
||||
@@ -157,14 +173,20 @@ properties:
|
||||
|
||||
- items:
|
||||
- enum:
|
||||
- fairphone,fp2
|
||||
- lge,hammerhead
|
||||
- samsung,klte
|
||||
- sony,xperia-amami
|
||||
- sony,xperia-castor
|
||||
- sony,xperia-honami
|
||||
- const: qcom,msm8974
|
||||
|
||||
- items:
|
||||
- enum:
|
||||
- fairphone,fp2
|
||||
- oneplus,bacon
|
||||
- samsung,klte
|
||||
- sony,xperia-castor
|
||||
- const: qcom,msm8974pro
|
||||
- const: qcom,msm8974
|
||||
|
||||
- items:
|
||||
- const: qcom,msm8916-mtp
|
||||
- const: qcom,msm8916-mtp/1
|
||||
@@ -251,8 +273,15 @@ properties:
|
||||
- sony,xperia-lilac
|
||||
- sony,xperia-maple
|
||||
- sony,xperia-poplar
|
||||
- xiaomi,sagit
|
||||
- const: qcom,msm8998
|
||||
|
||||
- items:
|
||||
- enum:
|
||||
- 8dev,jalapeno
|
||||
- alfa-network,ap120c-ac
|
||||
- const: qcom,ipq4018
|
||||
|
||||
- items:
|
||||
- enum:
|
||||
- qcom,ipq4019-ap-dk01.1-c1
|
||||
@@ -264,6 +293,7 @@ properties:
|
||||
|
||||
- items:
|
||||
- enum:
|
||||
- mikrotik,rb3011
|
||||
- qcom,ipq8064-ap148
|
||||
- const: qcom,ipq8064
|
||||
|
||||
@@ -274,6 +304,25 @@ properties:
|
||||
- qcom,ipq8074-hk10-c2
|
||||
- const: qcom,ipq8074
|
||||
|
||||
- description: Sierra Wireless MangOH Green with WP8548 Module
|
||||
items:
|
||||
- const: swir,mangoh-green-wp8548
|
||||
- const: swir,wp8548
|
||||
- const: qcom,mdm9615
|
||||
|
||||
- description: Qualcomm Technologies, Inc. Distributed Unit 1000 platform
|
||||
items:
|
||||
- enum:
|
||||
- qcom,qdu1000-idp
|
||||
- qcom,qdu1000-x100
|
||||
- const: qcom,qdu1000
|
||||
|
||||
- description: Qualcomm Technologies, Inc. Radio Unit 1000 platform
|
||||
items:
|
||||
- enum:
|
||||
- qcom,qru1000-idp
|
||||
- const: qcom,qru1000
|
||||
|
||||
- description: Qualcomm Technologies, Inc. SC7180 IDP
|
||||
items:
|
||||
- enum:
|
||||
@@ -595,6 +644,11 @@ properties:
|
||||
- const: google,evoker
|
||||
- const: qcom,sc7280
|
||||
|
||||
- description: Google Evoker with LTE (newest rev)
|
||||
items:
|
||||
- const: google,evoker-sku512
|
||||
- const: qcom,sc7280
|
||||
|
||||
- description: Google Herobrine (newest rev)
|
||||
items:
|
||||
- const: google,herobrine
|
||||
@@ -615,6 +669,16 @@ properties:
|
||||
- const: google,villager-sku512
|
||||
- const: qcom,sc7280
|
||||
|
||||
- description: Google Zombie (newest rev)
|
||||
items:
|
||||
- const: google,zombie
|
||||
- const: qcom,sc7280
|
||||
|
||||
- description: Google Zombie with LTE (newest rev)
|
||||
items:
|
||||
- const: google,zombie-sku512
|
||||
- const: qcom,sc7280
|
||||
|
||||
- items:
|
||||
- enum:
|
||||
- lenovo,flex-5g
|
||||
@@ -657,6 +721,11 @@ properties:
|
||||
- xiaomi,lavender
|
||||
- const: qcom,sdm660
|
||||
|
||||
- items:
|
||||
- enum:
|
||||
- google,sargo
|
||||
- const: qcom,sdm670
|
||||
|
||||
- items:
|
||||
- enum:
|
||||
- qcom,sdx55-mtp
|
||||
@@ -690,6 +759,7 @@ properties:
|
||||
- items:
|
||||
- enum:
|
||||
- qcom,sa8295p-adp
|
||||
- qcom,sa8540p-ride
|
||||
- const: qcom,sa8540p
|
||||
|
||||
- items:
|
||||
@@ -730,6 +800,11 @@ properties:
|
||||
- sony,pdx213
|
||||
- const: qcom,sm6350
|
||||
|
||||
- items:
|
||||
- enum:
|
||||
- sony,pdx225
|
||||
- const: qcom,sm6375
|
||||
|
||||
- items:
|
||||
- enum:
|
||||
- fairphone,fp4
|
||||
@@ -767,6 +842,7 @@ properties:
|
||||
- qcom,sm8450-hdk
|
||||
- qcom,sm8450-qrd
|
||||
- sony,pdx223
|
||||
- sony,pdx224
|
||||
- const: qcom,sm8450
|
||||
|
||||
additionalProperties: true
|
||||
|
@@ -1,12 +0,0 @@
|
||||
Sierra Wireless Modules device tree bindings
|
||||
--------------------------------------------
|
||||
|
||||
Supported Modules :
|
||||
- WP8548 : Includes MDM9615 and PM8018 in a module
|
||||
|
||||
Sierra Wireless modules shall have the following properties :
|
||||
Required root node property
|
||||
- compatible: "swir,wp8548" for the WP8548 CF3 Module
|
||||
|
||||
Board compatible values:
|
||||
- "swir,mangoh-green-wp8548" for the mangOH green board with the WP8548 module
|
@@ -25,6 +25,7 @@ properties:
|
||||
- qcom,sdm630-imem
|
||||
- qcom,sdm845-imem
|
||||
- qcom,sdx55-imem
|
||||
- qcom,sdx65-imem
|
||||
- const: syscon
|
||||
- const: simple-mfd
|
||||
|
||||
|
@@ -69,6 +69,8 @@ patternProperties:
|
||||
description: Annapurna Labs
|
||||
"^alcatel,.*":
|
||||
description: Alcatel
|
||||
"^alfa-network,.*":
|
||||
description: ALFA Network Inc.
|
||||
"^allegro,.*":
|
||||
description: Allegro DVT
|
||||
"^allo,.*":
|
||||
|
@@ -1033,7 +1033,9 @@ dtb-$(CONFIG_ARCH_OXNAS) += \
|
||||
dtb-$(CONFIG_ARCH_QCOM) += \
|
||||
qcom-apq8016-sbc.dtb \
|
||||
qcom-apq8026-asus-sparrow.dtb \
|
||||
qcom-apq8026-huawei-sturgeon.dtb \
|
||||
qcom-apq8026-lg-lenok.dtb \
|
||||
qcom-apq8026-samsung-matisse-wifi.dtb \
|
||||
qcom-apq8060-dragonboard.dtb \
|
||||
qcom-apq8064-cm-qs600.dtb \
|
||||
qcom-apq8064-ifc6410.dtb \
|
||||
@@ -1063,6 +1065,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \
|
||||
qcom-msm8974-sony-xperia-rhine-amami.dtb \
|
||||
qcom-msm8974-sony-xperia-rhine-honami.dtb \
|
||||
qcom-msm8974pro-fairphone-fp2.dtb \
|
||||
qcom-msm8974pro-oneplus-bacon.dtb \
|
||||
qcom-msm8974pro-samsung-klte.dtb \
|
||||
qcom-msm8974pro-sony-xperia-shinano-castor.dtb \
|
||||
qcom-mdm9615-wp8548-mangoh-green.dtb \
|
||||
|
@@ -87,7 +87,7 @@
|
||||
};
|
||||
|
||||
&rpm_requests {
|
||||
pm8226-regulators {
|
||||
regulators {
|
||||
compatible = "qcom,rpm-pm8226-regulators";
|
||||
|
||||
pm8226_s3: s3 {
|
||||
|
376
arch/arm/boot/dts/qcom-apq8026-huawei-sturgeon.dts
Normal file
376
arch/arm/boot/dts/qcom-apq8026-huawei-sturgeon.dts
Normal file
@@ -0,0 +1,376 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
/*
|
||||
* Copyright (c) 2022, Luca Weiss <luca@z3ntu.xyz>
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "qcom-msm8226.dtsi"
|
||||
#include "qcom-pm8226.dtsi"
|
||||
|
||||
/delete-node/ &adsp_region;
|
||||
|
||||
/ {
|
||||
model = "Huawei Watch";
|
||||
compatible = "huawei,sturgeon", "qcom,apq8026";
|
||||
chassis-type = "watch";
|
||||
qcom,msm-id = <199 0x20000>;
|
||||
qcom,board-id = <8 4>;
|
||||
|
||||
reserved-memory {
|
||||
sbl_region: sbl@2f00000 {
|
||||
reg = <0x02f00000 0x100000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
external_image_region: external-image@3100000 {
|
||||
reg = <0x3100000 0x200000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
peripheral_region: peripheral@3300000 {
|
||||
reg = <0x3300000 0x600000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
adsp_region: adsp@3900000 {
|
||||
reg = <0x3900000 0x1400000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
modem_region: modem@4d00000 {
|
||||
reg = <0x4d00000 0x1b00000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
modem_efs_region: modem-efs@7f00000 {
|
||||
reg = <0x7f00000 0x100000>;
|
||||
no-map;
|
||||
};
|
||||
};
|
||||
|
||||
vreg_wlan: wlan-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
|
||||
regulator-name = "wl-reg";
|
||||
regulator-min-microvolt = <2950000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
|
||||
gpio = <&tlmm 110 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&wlan_regulator_default_state>;
|
||||
};
|
||||
};
|
||||
|
||||
&adsp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&blsp1_i2c5 {
|
||||
clock-frequency = <384000>;
|
||||
|
||||
status = "okay";
|
||||
|
||||
touchscreen@20 {
|
||||
compatible = "syna,rmi4-i2c";
|
||||
reg = <0x20>;
|
||||
|
||||
interrupts-extended = <&tlmm 17 IRQ_TYPE_EDGE_FALLING>;
|
||||
vdd-supply = <&pm8226_l19>;
|
||||
vio-supply = <&pm8226_lvs1>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&touch_default_state>;
|
||||
|
||||
syna,startup-delay-ms = <160>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
rmi4-f01@1 {
|
||||
reg = <0x1>;
|
||||
syna,nosleep-mode = <1>;
|
||||
};
|
||||
|
||||
rmi4-f12@12 {
|
||||
reg = <0x12>;
|
||||
syna,sensor-type = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&blsp1_uart4 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&blsp1_uart4_default_state>;
|
||||
|
||||
status = "okay";
|
||||
|
||||
bluetooth {
|
||||
compatible = "brcm,bcm43430a0-bt";
|
||||
max-speed = <3000000>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&bluetooth_default_state>;
|
||||
|
||||
host-wakeup-gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>;
|
||||
device-wakeup-gpios = <&tlmm 63 GPIO_ACTIVE_HIGH>;
|
||||
shutdown-gpios = <&tlmm 67 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
|
||||
&rpm_requests {
|
||||
regulators {
|
||||
compatible = "qcom,rpm-pm8226-regulators";
|
||||
|
||||
pm8226_s3: s3 {
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1300000>;
|
||||
};
|
||||
|
||||
pm8226_s4: s4 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <2200000>;
|
||||
};
|
||||
|
||||
pm8226_s5: s5 {
|
||||
regulator-min-microvolt = <1150000>;
|
||||
regulator-max-microvolt = <1150000>;
|
||||
};
|
||||
|
||||
pm8226_l1: l1 {
|
||||
regulator-min-microvolt = <1225000>;
|
||||
regulator-max-microvolt = <1225000>;
|
||||
};
|
||||
|
||||
pm8226_l2: l2 {
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
};
|
||||
|
||||
pm8226_l3: l3 {
|
||||
regulator-min-microvolt = <750000>;
|
||||
regulator-max-microvolt = <1337500>;
|
||||
};
|
||||
|
||||
pm8226_l4: l4 {
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
};
|
||||
|
||||
pm8226_l5: l5 {
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
};
|
||||
|
||||
pm8226_l6: l6 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
pm8226_l7: l7 {
|
||||
regulator-min-microvolt = <1850000>;
|
||||
regulator-max-microvolt = <1850000>;
|
||||
};
|
||||
|
||||
pm8226_l8: l8 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
pm8226_l9: l9 {
|
||||
regulator-min-microvolt = <2050000>;
|
||||
regulator-max-microvolt = <2050000>;
|
||||
};
|
||||
|
||||
pm8226_l10: l10 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
pm8226_l12: l12 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
pm8226_l14: l14 {
|
||||
regulator-min-microvolt = <2750000>;
|
||||
regulator-max-microvolt = <2750000>;
|
||||
};
|
||||
|
||||
pm8226_l15: l15 {
|
||||
regulator-min-microvolt = <2800000>;
|
||||
regulator-max-microvolt = <2800000>;
|
||||
};
|
||||
|
||||
pm8226_l16: l16 {
|
||||
regulator-min-microvolt = <3000000>;
|
||||
regulator-max-microvolt = <3350000>;
|
||||
};
|
||||
|
||||
pm8226_l17: l17 {
|
||||
regulator-min-microvolt = <2950000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
};
|
||||
|
||||
pm8226_l18: l18 {
|
||||
regulator-min-microvolt = <2950000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
};
|
||||
|
||||
pm8226_l19: l19 {
|
||||
regulator-min-microvolt = <2850000>;
|
||||
regulator-max-microvolt = <2850000>;
|
||||
};
|
||||
|
||||
pm8226_l20: l20 {
|
||||
regulator-min-microvolt = <3075000>;
|
||||
regulator-max-microvolt = <3075000>;
|
||||
};
|
||||
|
||||
pm8226_l21: l21 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
};
|
||||
|
||||
pm8226_l22: l22 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
};
|
||||
|
||||
pm8226_l23: l23 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
};
|
||||
|
||||
pm8226_l24: l24 {
|
||||
regulator-min-microvolt = <1300000>;
|
||||
regulator-max-microvolt = <1350000>;
|
||||
};
|
||||
|
||||
pm8226_l25: l25 {
|
||||
regulator-min-microvolt = <1775000>;
|
||||
regulator-max-microvolt = <2125000>;
|
||||
};
|
||||
|
||||
pm8226_l26: l26 {
|
||||
regulator-min-microvolt = <1225000>;
|
||||
regulator-max-microvolt = <1225000>;
|
||||
};
|
||||
|
||||
pm8226_l27: l27 {
|
||||
regulator-min-microvolt = <2050000>;
|
||||
regulator-max-microvolt = <2050000>;
|
||||
};
|
||||
|
||||
pm8226_l28: l28 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
};
|
||||
|
||||
pm8226_lvs1: lvs1 {};
|
||||
};
|
||||
};
|
||||
|
||||
&sdhc_1 {
|
||||
vmmc-supply = <&pm8226_l17>;
|
||||
vqmmc-supply = <&pm8226_l6>;
|
||||
|
||||
bus-width = <8>;
|
||||
non-removable;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&sdhc_3 {
|
||||
max-frequency = <100000000>;
|
||||
non-removable;
|
||||
|
||||
vmmc-supply = <&vreg_wlan>;
|
||||
vqmmc-supply = <&pm8226_l6>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
status = "okay";
|
||||
|
||||
wifi@1 {
|
||||
compatible = "brcm,bcm43430a0-fmac", "brcm,bcm4329-fmac";
|
||||
reg = <1>;
|
||||
|
||||
interrupts-extended = <&tlmm 66 IRQ_TYPE_EDGE_FALLING>;
|
||||
interrupt-names = "host-wake";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&wlan_hostwake_default_state>;
|
||||
};
|
||||
};
|
||||
|
||||
&smbb {
|
||||
qcom,fast-charge-safe-voltage = <4370000>;
|
||||
qcom,fast-charge-high-threshold-voltage = <4350000>;
|
||||
qcom,minimum-input-voltage = <4350000>;
|
||||
qcom,fast-charge-current-limit = <300000>;
|
||||
qcom,fast-charge-safe-current = <600000>;
|
||||
qcom,auto-recharge-threshold-voltage = <4240000>;
|
||||
};
|
||||
|
||||
&tlmm {
|
||||
blsp1_uart4_default_state: blsp1-uart4-default-state {
|
||||
pins = "gpio12", "gpio13", "gpio14", "gpio15";
|
||||
function = "blsp_uart4";
|
||||
drive-strength = <8>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
bluetooth_default_state: bluetooth-default-state {
|
||||
pins = "gpio63", "gpio64";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
touch_default_state: touch-default-state {
|
||||
irq-pins {
|
||||
pins = "gpio17";
|
||||
function = "gpio";
|
||||
drive-strength = <8>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
reset-pins {
|
||||
pins = "gpio16";
|
||||
function = "gpio";
|
||||
drive-strength = <6>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
wlan_hostwake_default_state: wlan-hostwake-default-state {
|
||||
pins = "gpio66";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
input-enable;
|
||||
};
|
||||
|
||||
wlan_regulator_default_state: wlan-regulator-default-state {
|
||||
pins = "gpio110";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
};
|
||||
|
||||
&usb {
|
||||
extcon = <&smbb>;
|
||||
dr_mode = "peripheral";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb_hs_phy {
|
||||
extcon = <&smbb>;
|
||||
v1p8-supply = <&pm8226_l10>;
|
||||
v3p3-supply = <&pm8226_l20>;
|
||||
};
|
@@ -13,6 +13,7 @@
|
||||
/ {
|
||||
model = "LG G Watch R";
|
||||
compatible = "lg,lenok", "qcom,apq8026";
|
||||
chassis-type = "watch";
|
||||
qcom,board-id = <132 0x0a>;
|
||||
qcom,msm-id = <199 0x20000>;
|
||||
|
||||
@@ -115,7 +116,7 @@
|
||||
};
|
||||
|
||||
&rpm_requests {
|
||||
pm8226-regulators {
|
||||
regulators {
|
||||
compatible = "qcom,rpm-pm8226-regulators";
|
||||
|
||||
pm8226_s3: s3 {
|
||||
@@ -299,8 +300,8 @@
|
||||
input-enable;
|
||||
};
|
||||
|
||||
touch_pins: touch {
|
||||
irq {
|
||||
touch_pins: touch-state {
|
||||
irq-pins {
|
||||
pins = "gpio17";
|
||||
function = "gpio";
|
||||
|
||||
@@ -309,7 +310,7 @@
|
||||
input-enable;
|
||||
};
|
||||
|
||||
reset {
|
||||
reset-pins {
|
||||
pins = "gpio16";
|
||||
function = "gpio";
|
||||
|
||||
|
453
arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts
Normal file
453
arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts
Normal file
@@ -0,0 +1,453 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
/*
|
||||
* Copyright (c) 2022, Matti Lehtimäki <matti.lehtimaki@gmail.com>
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
#include "qcom-msm8226.dtsi"
|
||||
#include "qcom-pm8226.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Samsung Galaxy Tab 4 10.1";
|
||||
compatible = "samsung,matisse-wifi", "qcom,apq8026";
|
||||
chassis-type = "tablet";
|
||||
|
||||
aliases {
|
||||
mmc0 = &sdhc_1; /* SDC1 eMMC slot */
|
||||
mmc1 = &sdhc_2; /* SDC2 SD card slot */
|
||||
display0 = &framebuffer0;
|
||||
};
|
||||
|
||||
chosen {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
|
||||
stdout-path = "display0";
|
||||
|
||||
framebuffer0: framebuffer@3200000 {
|
||||
compatible = "simple-framebuffer";
|
||||
reg = <0x03200000 0x800000>;
|
||||
width = <1280>;
|
||||
height = <800>;
|
||||
stride = <(1280 * 3)>;
|
||||
format = "r8g8b8";
|
||||
};
|
||||
};
|
||||
|
||||
gpio-hall-sensor {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
event-hall-sensor {
|
||||
label = "Hall Effect Sensor";
|
||||
gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>;
|
||||
interrupts = <&tlmm 110 IRQ_TYPE_EDGE_FALLING>;
|
||||
linux,input-type = <EV_SW>;
|
||||
linux,code = <SW_LID>;
|
||||
debounce-interval = <15>;
|
||||
wakeup-source;
|
||||
};
|
||||
};
|
||||
|
||||
gpio-keys {
|
||||
compatible = "gpio-keys";
|
||||
autorepeat;
|
||||
|
||||
key-home {
|
||||
label = "Home";
|
||||
gpios = <&tlmm 108 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_HOMEPAGE>;
|
||||
debounce-interval = <15>;
|
||||
};
|
||||
|
||||
key-volume-down {
|
||||
label = "Volume Down";
|
||||
gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_VOLUMEDOWN>;
|
||||
debounce-interval = <15>;
|
||||
};
|
||||
|
||||
key-volume-up {
|
||||
label = "Volume Up";
|
||||
gpios = <&tlmm 106 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_VOLUMEUP>;
|
||||
debounce-interval = <15>;
|
||||
};
|
||||
};
|
||||
|
||||
reg_tsp_1p8v: regulator-tsp-1p8v {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "tsp_1p8v";
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
|
||||
gpio = <&tlmm 31 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&tsp_en_default_state>;
|
||||
};
|
||||
|
||||
reg_tsp_3p3v: regulator-tsp-3p3v {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "tsp_3p3v";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
|
||||
gpio = <&tlmm 73 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&tsp_en1_default_state>;
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
|
||||
framebuffer@3200000 {
|
||||
reg = <0x03200000 0x800000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
mpss@8400000 {
|
||||
reg = <0x08400000 0x1f00000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
mba@a300000 {
|
||||
reg = <0x0a300000 0x100000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
reserved@cb00000 {
|
||||
reg = <0x0cb00000 0x700000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
wcnss@d200000 {
|
||||
reg = <0x0d200000 0x700000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
adsp@d900000 {
|
||||
reg = <0x0d900000 0x1800000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
venus@f100000 {
|
||||
reg = <0x0f100000 0x500000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
/delete-node/ smem@3000000;
|
||||
smem_region: smem@fa00000 {
|
||||
reg = <0x0fa00000 0x100000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
reserved@fb00000 {
|
||||
reg = <0x0fb00000 0x260000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
rfsa@fd60000 {
|
||||
reg = <0x0fd60000 0x20000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
rmtfs@fd80000 {
|
||||
compatible = "qcom,rmtfs-mem";
|
||||
reg = <0x0fd80000 0x180000>;
|
||||
no-map;
|
||||
|
||||
qcom,client-id = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&blsp1_i2c2 {
|
||||
status = "okay";
|
||||
|
||||
accelerometer@1d {
|
||||
compatible = "st,lis2hh12";
|
||||
reg = <0x1d>;
|
||||
|
||||
interrupt-parent = <&tlmm>;
|
||||
interrupts = <54 IRQ_TYPE_LEVEL_HIGH>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&accel_int_default_state>;
|
||||
|
||||
st,drdy-int-pin = <1>;
|
||||
|
||||
vdd-supply = <&pm8226_l19>;
|
||||
vddio-supply = <&pm8226_lvs1>;
|
||||
};
|
||||
};
|
||||
|
||||
&blsp1_i2c4 {
|
||||
status = "okay";
|
||||
|
||||
muic: usb-switch@25 {
|
||||
compatible = "siliconmitus,sm5502-muic";
|
||||
reg = <0x25>;
|
||||
|
||||
interrupt-parent = <&tlmm>;
|
||||
interrupts = <67 IRQ_TYPE_EDGE_FALLING>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&muic_int_default_state>;
|
||||
};
|
||||
};
|
||||
|
||||
&blsp1_i2c5 {
|
||||
status = "okay";
|
||||
|
||||
touchscreen@4a {
|
||||
compatible = "atmel,maxtouch";
|
||||
reg = <0x4a>;
|
||||
|
||||
interrupt-parent = <&tlmm>;
|
||||
interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&tsp_int_rst_default_state>;
|
||||
|
||||
reset-gpios = <&pm8226_gpios 6 GPIO_ACTIVE_LOW>;
|
||||
|
||||
vdd-supply = <®_tsp_1p8v>;
|
||||
vdda-supply = <®_tsp_3p3v>;
|
||||
};
|
||||
};
|
||||
|
||||
&rpm_requests {
|
||||
regulators {
|
||||
compatible = "qcom,rpm-pm8226-regulators";
|
||||
|
||||
pm8226_s3: s3 {
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1300000>;
|
||||
};
|
||||
|
||||
pm8226_s4: s4 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
pm8226_s5: s5 {
|
||||
regulator-min-microvolt = <1150000>;
|
||||
regulator-max-microvolt = <1150000>;
|
||||
};
|
||||
|
||||
pm8226_l1: l1 {
|
||||
regulator-min-microvolt = <1225000>;
|
||||
regulator-max-microvolt = <1225000>;
|
||||
};
|
||||
|
||||
pm8226_l2: l2 {
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
};
|
||||
|
||||
pm8226_l3: l3 {
|
||||
regulator-min-microvolt = <750000>;
|
||||
regulator-max-microvolt = <1337500>;
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
pm8226_l4: l4 {
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
};
|
||||
|
||||
pm8226_l5: l5 {
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
};
|
||||
|
||||
pm8226_l6: l6 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
pm8226_l7: l7 {
|
||||
regulator-min-microvolt = <1850000>;
|
||||
regulator-max-microvolt = <1850000>;
|
||||
};
|
||||
|
||||
pm8226_l8: l8 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
pm8226_l9: l9 {
|
||||
regulator-min-microvolt = <2050000>;
|
||||
regulator-max-microvolt = <2050000>;
|
||||
};
|
||||
|
||||
pm8226_l10: l10 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
pm8226_l12: l12 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
pm8226_l14: l14 {
|
||||
regulator-min-microvolt = <2750000>;
|
||||
regulator-max-microvolt = <2750000>;
|
||||
};
|
||||
|
||||
pm8226_l15: l15 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
};
|
||||
|
||||
pm8226_l16: l16 {
|
||||
regulator-min-microvolt = <3000000>;
|
||||
regulator-max-microvolt = <3350000>;
|
||||
};
|
||||
|
||||
pm8226_l17: l17 {
|
||||
regulator-min-microvolt = <2950000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
|
||||
regulator-system-load = <200000>;
|
||||
regulator-allow-set-load;
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
pm8226_l18: l18 {
|
||||
regulator-min-microvolt = <2950000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
};
|
||||
|
||||
pm8226_l19: l19 {
|
||||
regulator-min-microvolt = <2850000>;
|
||||
regulator-max-microvolt = <3000000>;
|
||||
};
|
||||
|
||||
pm8226_l20: l20 {
|
||||
regulator-min-microvolt = <3075000>;
|
||||
regulator-max-microvolt = <3075000>;
|
||||
};
|
||||
|
||||
pm8226_l21: l21 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
};
|
||||
|
||||
pm8226_l22: l22 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <3000000>;
|
||||
};
|
||||
|
||||
pm8226_l23: l23 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
};
|
||||
|
||||
pm8226_l24: l24 {
|
||||
regulator-min-microvolt = <1300000>;
|
||||
regulator-max-microvolt = <1350000>;
|
||||
};
|
||||
|
||||
pm8226_l25: l25 {
|
||||
regulator-min-microvolt = <1775000>;
|
||||
regulator-max-microvolt = <2125000>;
|
||||
};
|
||||
|
||||
pm8226_l26: l26 {
|
||||
regulator-min-microvolt = <1225000>;
|
||||
regulator-max-microvolt = <1300000>;
|
||||
};
|
||||
|
||||
pm8226_l27: l27 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
pm8226_l28: l28 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
};
|
||||
|
||||
pm8226_lvs1: lvs1 {};
|
||||
};
|
||||
};
|
||||
|
||||
&sdhc_1 {
|
||||
vmmc-supply = <&pm8226_l17>;
|
||||
vqmmc-supply = <&pm8226_l6>;
|
||||
|
||||
bus-width = <8>;
|
||||
non-removable;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&sdhc_2 {
|
||||
vmmc-supply = <&pm8226_l18>;
|
||||
vqmmc-supply = <&pm8226_l21>;
|
||||
|
||||
bus-width = <4>;
|
||||
cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&tlmm {
|
||||
accel_int_default_state: accel-int-default-state {
|
||||
pins = "gpio54";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
muic_int_default_state: muic-int-default-state {
|
||||
pins = "gpio67";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
tsp_en_default_state: tsp-en-default-state {
|
||||
pins = "gpio31";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
tsp_en1_default_state: tsp-en1-default-state {
|
||||
pins = "gpio73";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
tsp_int_rst_default_state: tsp-int-rst-default-state {
|
||||
pins = "gpio17";
|
||||
function = "gpio";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
&usb {
|
||||
extcon = <&muic>, <&muic>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb_hs_phy {
|
||||
extcon = <&muic>;
|
||||
v1p8-supply = <&pm8226_l10>;
|
||||
v3p3-supply = <&pm8226_l20>;
|
||||
};
|
File diff suppressed because it is too large
Load Diff
@@ -6,6 +6,7 @@
|
||||
/ {
|
||||
model = "Asus Nexus7(flo)";
|
||||
compatible = "asus,nexus7-flo", "qcom,apq8064";
|
||||
chassis-type = "tablet";
|
||||
|
||||
aliases {
|
||||
serial0 = &gsbi7_serial;
|
||||
@@ -30,7 +31,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
ext_3p3v: regulator-fixed@1 {
|
||||
ext_3p3v: regulator-ext-3p3v {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
@@ -57,290 +58,6 @@
|
||||
};
|
||||
|
||||
soc {
|
||||
rpm@108000 {
|
||||
regulators {
|
||||
vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;
|
||||
vin_lvs1_3_6-supply = <&pm8921_s4>;
|
||||
vin_lvs4_5_7-supply = <&pm8921_s4>;
|
||||
|
||||
|
||||
vdd_l24-supply = <&pm8921_s1>;
|
||||
vdd_l25-supply = <&pm8921_s1>;
|
||||
vin_lvs2-supply = <&pm8921_s1>;
|
||||
|
||||
vdd_l26-supply = <&pm8921_s7>;
|
||||
vdd_l27-supply = <&pm8921_s7>;
|
||||
vdd_l28-supply = <&pm8921_s7>;
|
||||
|
||||
vdd_ncp-supply = <&pm8921_l6>;
|
||||
|
||||
/* Buck SMPS */
|
||||
s1 {
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <1225000>;
|
||||
regulator-max-microvolt = <1225000>;
|
||||
qcom,switch-mode-frequency = <3200000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
/* msm otg HSUSB_VDDCX */
|
||||
s3 {
|
||||
regulator-min-microvolt = <500000>;
|
||||
regulator-max-microvolt = <1150000>;
|
||||
qcom,switch-mode-frequency = <4800000>;
|
||||
};
|
||||
|
||||
/*
|
||||
* msm_sdcc.1-sdc-vdd_io
|
||||
* tabla2x-slim-CDC_VDDA_RX
|
||||
* tabla2x-slim-CDC_VDDA_TX
|
||||
* tabla2x-slim-CDC_VDD_CP
|
||||
* tabla2x-slim-VDDIO_CDC
|
||||
*/
|
||||
s4 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
qcom,switch-mode-frequency = <3200000>;
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
s7 {
|
||||
regulator-min-microvolt = <1300000>;
|
||||
regulator-max-microvolt = <1300000>;
|
||||
qcom,switch-mode-frequency = <3200000>;
|
||||
};
|
||||
|
||||
/* mipi_dsi.1-dsi1_pll_vdda */
|
||||
l2 {
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
/* msm_otg-HSUSB_3p3 */
|
||||
l3 {
|
||||
regulator-min-microvolt = <3075000>;
|
||||
regulator-max-microvolt = <3075000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
/* msm_otg-HSUSB_1p8 */
|
||||
l4 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
/* msm_sdcc.1-sdc_vdd */
|
||||
l5 {
|
||||
regulator-min-microvolt = <2950000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
regulator-always-on;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l6 {
|
||||
regulator-min-microvolt = <2950000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
};
|
||||
|
||||
/* mipi_dsi.1-dsi1_avdd */
|
||||
l11 {
|
||||
regulator-min-microvolt = <3000000>;
|
||||
regulator-max-microvolt = <3000000>;
|
||||
bias-pull-down;
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
/* pwm_power for backlight */
|
||||
l17 {
|
||||
regulator-min-microvolt = <3000000>;
|
||||
regulator-max-microvolt = <3000000>;
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
/* camera, qdsp6 */
|
||||
l23 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
/*
|
||||
* tabla2x-slim-CDC_VDDA_A_1P2V
|
||||
* tabla2x-slim-VDDD_CDC_D
|
||||
*/
|
||||
l25 {
|
||||
regulator-min-microvolt = <1250000>;
|
||||
regulator-max-microvolt = <1250000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
lvs1 {
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
lvs4 {
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
lvs5 {
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
lvs6 {
|
||||
bias-pull-down;
|
||||
};
|
||||
/*
|
||||
* mipi_dsi.1-dsi1_vddio
|
||||
* pil_riva-pll_vdd
|
||||
*/
|
||||
lvs7 {
|
||||
bias-pull-down;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
mdp@5100000 {
|
||||
status = "okay";
|
||||
ports {
|
||||
port@1 {
|
||||
mdp_dsi1_out: endpoint {
|
||||
remote-endpoint = <&dsi0_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
dsi0: dsi@4700000 {
|
||||
status = "okay";
|
||||
vdda-supply = <&pm8921_l2>;/*VDD_MIPI1 to 4*/
|
||||
vdd-supply = <&pm8921_l8>;
|
||||
vddio-supply = <&pm8921_lvs7>;
|
||||
avdd-supply = <&pm8921_l11>;
|
||||
|
||||
panel@0 {
|
||||
reg = <0>;
|
||||
compatible = "jdi,lt070me05000";
|
||||
|
||||
vddp-supply = <&pm8921_l17>;
|
||||
iovcc-supply = <&pm8921_lvs7>;
|
||||
|
||||
enable-gpios = <&pm8921_gpio 36 GPIO_ACTIVE_HIGH>;
|
||||
reset-gpios = <&tlmm_pinmux 54 GPIO_ACTIVE_LOW>;
|
||||
dcdc-en-gpios = <&pm8921_gpio 23 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
port {
|
||||
panel_in: endpoint {
|
||||
remote-endpoint = <&dsi0_out>;
|
||||
};
|
||||
};
|
||||
};
|
||||
ports {
|
||||
port@0 {
|
||||
dsi0_in: endpoint {
|
||||
remote-endpoint = <&mdp_dsi1_out>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
dsi0_out: endpoint {
|
||||
remote-endpoint = <&panel_in>;
|
||||
data-lanes = <0 1 2 3>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
dsi-phy@4700200 {
|
||||
status = "okay";
|
||||
vddio-supply = <&pm8921_lvs7>;/*VDD_PLL2_1 to 7*/
|
||||
};
|
||||
|
||||
gsbi@16200000 {
|
||||
status = "okay";
|
||||
qcom,mode = <GSBI_PROT_I2C>;
|
||||
i2c@16280000 {
|
||||
status = "okay";
|
||||
clock-frequency = <200000>;
|
||||
pinctrl-0 = <&i2c3_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
trackpad@10 {
|
||||
compatible = "elan,ekth3500";
|
||||
reg = <0x10>;
|
||||
interrupt-parent = <&tlmm_pinmux>;
|
||||
interrupts = <6 IRQ_TYPE_EDGE_FALLING>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
gsbi@12440000 {
|
||||
status = "okay";
|
||||
qcom,mode = <GSBI_PROT_I2C>;
|
||||
|
||||
i2c@12460000 {
|
||||
status = "okay";
|
||||
clock-frequency = <200000>;
|
||||
pinctrl-0 = <&i2c1_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
eeprom@52 {
|
||||
compatible = "atmel,24c128";
|
||||
reg = <0x52>;
|
||||
pagesize = <32>;
|
||||
};
|
||||
|
||||
bq27541@55 {
|
||||
compatible = "ti,bq27541";
|
||||
reg = <0x55>;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
gsbi@16500000 {
|
||||
status = "okay";
|
||||
qcom,mode = <GSBI_PROT_I2C_UART>;
|
||||
|
||||
serial@16540000 {
|
||||
status = "okay";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&gsbi6_uart_4pins>;
|
||||
};
|
||||
};
|
||||
|
||||
gsbi@16600000 {
|
||||
status = "okay";
|
||||
qcom,mode = <GSBI_PROT_I2C_UART>;
|
||||
serial@16640000 {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
/* OTG */
|
||||
usb@12500000 {
|
||||
status = "okay";
|
||||
dr_mode = "otg";
|
||||
ulpi {
|
||||
phy {
|
||||
v3p3-supply = <&pm8921_l3>;
|
||||
v1p8-supply = <&pm8921_l4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
amba {
|
||||
/* eMMC */
|
||||
mmc@12400000 {
|
||||
status = "okay";
|
||||
vmmc-supply = <&pm8921_l5>;
|
||||
vqmmc-supply = <&pm8921_s4>;
|
||||
};
|
||||
};
|
||||
|
||||
sram@2a03f000 {
|
||||
compatible = "qcom,apq8064-imem", "syscon", "simple-mfd";
|
||||
reg = <0x2a03f000 0x1000>;
|
||||
@@ -356,3 +73,276 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&dsi0 {
|
||||
vdda-supply = <&pm8921_l2>;/*VDD_MIPI1 to 4*/
|
||||
vdd-supply = <&pm8921_l8>;
|
||||
vddio-supply = <&pm8921_lvs7>;
|
||||
avdd-supply = <&pm8921_l11>;
|
||||
status = "okay";
|
||||
|
||||
panel@0 {
|
||||
reg = <0>;
|
||||
compatible = "jdi,lt070me05000";
|
||||
|
||||
vddp-supply = <&pm8921_l17>;
|
||||
iovcc-supply = <&pm8921_lvs7>;
|
||||
|
||||
enable-gpios = <&pm8921_gpio 36 GPIO_ACTIVE_HIGH>;
|
||||
reset-gpios = <&tlmm_pinmux 54 GPIO_ACTIVE_LOW>;
|
||||
dcdc-en-gpios = <&pm8921_gpio 23 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
port {
|
||||
panel_in: endpoint {
|
||||
remote-endpoint = <&dsi0_out>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&dsi0_in {
|
||||
remote-endpoint = <&mdp_dsi1_out>;
|
||||
};
|
||||
|
||||
&dsi0_out {
|
||||
remote-endpoint = <&panel_in>;
|
||||
data-lanes = <0 1 2 3>;
|
||||
};
|
||||
|
||||
&dsi0_phy {
|
||||
vddio-supply = <&pm8921_lvs7>;/*VDD_PLL2_1 to 7*/
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gsbi1 {
|
||||
qcom,mode = <GSBI_PROT_I2C>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gsbi1_i2c {
|
||||
status = "okay";
|
||||
clock-frequency = <200000>;
|
||||
pinctrl-0 = <&i2c1_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
eeprom@52 {
|
||||
compatible = "atmel,24c128";
|
||||
reg = <0x52>;
|
||||
pagesize = <32>;
|
||||
};
|
||||
|
||||
bq27541@55 {
|
||||
compatible = "ti,bq27541";
|
||||
reg = <0x55>;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
&gsbi3 {
|
||||
qcom,mode = <GSBI_PROT_I2C>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gsbi3_i2c {
|
||||
clock-frequency = <200000>;
|
||||
pinctrl-0 = <&i2c3_pins>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
|
||||
trackpad@10 {
|
||||
compatible = "elan,ekth3500";
|
||||
reg = <0x10>;
|
||||
interrupt-parent = <&tlmm_pinmux>;
|
||||
interrupts = <6 IRQ_TYPE_EDGE_FALLING>;
|
||||
};
|
||||
};
|
||||
|
||||
&gsbi6 {
|
||||
qcom,mode = <GSBI_PROT_I2C_UART>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gsbi6_serial {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&gsbi6_uart_4pins>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gsbi7 {
|
||||
qcom,mode = <GSBI_PROT_I2C_UART>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gsbi7_serial {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&mdp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
/* eMMC */
|
||||
&sdcc1 {
|
||||
vmmc-supply = <&pm8921_l5>;
|
||||
vqmmc-supply = <&pm8921_s4>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&mdp_dsi1_out {
|
||||
remote-endpoint = <&dsi0_in>;
|
||||
};
|
||||
|
||||
&rpm {
|
||||
regulators {
|
||||
vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;
|
||||
vin_lvs1_3_6-supply = <&pm8921_s4>;
|
||||
vin_lvs4_5_7-supply = <&pm8921_s4>;
|
||||
|
||||
|
||||
vdd_l24-supply = <&pm8921_s1>;
|
||||
vdd_l25-supply = <&pm8921_s1>;
|
||||
vin_lvs2-supply = <&pm8921_s1>;
|
||||
|
||||
vdd_l26-supply = <&pm8921_s7>;
|
||||
vdd_l27-supply = <&pm8921_s7>;
|
||||
vdd_l28-supply = <&pm8921_s7>;
|
||||
|
||||
vdd_ncp-supply = <&pm8921_l6>;
|
||||
|
||||
/* Buck SMPS */
|
||||
s1 {
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <1225000>;
|
||||
regulator-max-microvolt = <1225000>;
|
||||
qcom,switch-mode-frequency = <3200000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
/* msm otg HSUSB_VDDCX */
|
||||
s3 {
|
||||
regulator-min-microvolt = <500000>;
|
||||
regulator-max-microvolt = <1150000>;
|
||||
qcom,switch-mode-frequency = <4800000>;
|
||||
};
|
||||
|
||||
/*
|
||||
* msm_sdcc.1-sdc-vdd_io
|
||||
* tabla2x-slim-CDC_VDDA_RX
|
||||
* tabla2x-slim-CDC_VDDA_TX
|
||||
* tabla2x-slim-CDC_VDD_CP
|
||||
* tabla2x-slim-VDDIO_CDC
|
||||
*/
|
||||
s4 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
qcom,switch-mode-frequency = <3200000>;
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
s7 {
|
||||
regulator-min-microvolt = <1300000>;
|
||||
regulator-max-microvolt = <1300000>;
|
||||
qcom,switch-mode-frequency = <3200000>;
|
||||
};
|
||||
|
||||
/* mipi_dsi.1-dsi1_pll_vdda */
|
||||
l2 {
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
/* msm_otg-HSUSB_3p3 */
|
||||
l3 {
|
||||
regulator-min-microvolt = <3075000>;
|
||||
regulator-max-microvolt = <3075000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
/* msm_otg-HSUSB_1p8 */
|
||||
l4 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
/* msm_sdcc.1-sdc_vdd */
|
||||
l5 {
|
||||
regulator-min-microvolt = <2950000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
regulator-always-on;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l6 {
|
||||
regulator-min-microvolt = <2950000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
};
|
||||
|
||||
/* mipi_dsi.1-dsi1_avdd */
|
||||
l11 {
|
||||
regulator-min-microvolt = <3000000>;
|
||||
regulator-max-microvolt = <3000000>;
|
||||
bias-pull-down;
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
/* pwm_power for backlight */
|
||||
l17 {
|
||||
regulator-min-microvolt = <3000000>;
|
||||
regulator-max-microvolt = <3000000>;
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
/* camera, qdsp6 */
|
||||
l23 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
/*
|
||||
* tabla2x-slim-CDC_VDDA_A_1P2V
|
||||
* tabla2x-slim-VDDD_CDC_D
|
||||
*/
|
||||
l25 {
|
||||
regulator-min-microvolt = <1250000>;
|
||||
regulator-max-microvolt = <1250000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
lvs1 {
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
lvs4 {
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
lvs5 {
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
lvs6 {
|
||||
bias-pull-down;
|
||||
};
|
||||
/*
|
||||
* mipi_dsi.1-dsi1_vddio
|
||||
* pil_riva-pll_vdd
|
||||
*/
|
||||
lvs7 {
|
||||
bias-pull-down;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&usb_hs1_phy {
|
||||
v3p3-supply = <&pm8921_l3>;
|
||||
v1p8-supply = <&pm8921_l4>;
|
||||
};
|
||||
|
||||
/* OTG */
|
||||
&usb1 {
|
||||
dr_mode = "otg";
|
||||
status = "okay";
|
||||
};
|
||||
|
@@ -15,232 +15,216 @@
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
pwrseq {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
compatible = "simple-bus";
|
||||
|
||||
sdcc4_pwrseq: sdcc4_pwrseq {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&wlan_default_gpios>;
|
||||
compatible = "mmc-pwrseq-simple";
|
||||
reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
sdcc4_pwrseq: pwrseq-sdcc4 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&wlan_default_gpios>;
|
||||
compatible = "mmc-pwrseq-simple";
|
||||
reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
soc {
|
||||
pinctrl@800000 {
|
||||
card_detect: card_detect {
|
||||
mux {
|
||||
pins = "gpio26";
|
||||
function = "gpio";
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
/* on board fixed 3.3v supply */
|
||||
v3p3_fixed: regulator-v3p3 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "PCIE V3P3";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
regulator-always-on;
|
||||
};
|
||||
};
|
||||
|
||||
pcie_pins: pcie_pinmux {
|
||||
mux {
|
||||
pins = "gpio27";
|
||||
function = "gpio";
|
||||
};
|
||||
conf {
|
||||
pins = "gpio27";
|
||||
drive-strength = <12>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
};
|
||||
&gsbi1 {
|
||||
qcom,mode = <GSBI_PROT_I2C>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
rpm@108000 {
|
||||
regulators {
|
||||
vin_lvs1_3_6-supply = <&pm8921_s4>;
|
||||
vin_lvs2-supply = <&pm8921_s1>;
|
||||
vin_lvs4_5_7-supply = <&pm8921_s4>;
|
||||
&gsbi1_i2c {
|
||||
clock-frequency = <200000>;
|
||||
status = "okay";
|
||||
|
||||
vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;
|
||||
vdd_l24-supply = <&pm8921_s1>;
|
||||
vdd_l25-supply = <&pm8921_s1>;
|
||||
vdd_l26-supply = <&pm8921_s7>;
|
||||
vdd_l27-supply = <&pm8921_s7>;
|
||||
vdd_l28-supply = <&pm8921_s7>;
|
||||
eeprom@50 {
|
||||
compatible = "atmel,24c02";
|
||||
reg = <0x50>;
|
||||
pagesize = <32>;
|
||||
};
|
||||
};
|
||||
|
||||
&gsbi7 {
|
||||
qcom,mode = <GSBI_PROT_I2C_UART>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
/* Buck SMPS */
|
||||
s1 {
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <1225000>;
|
||||
regulator-max-microvolt = <1225000>;
|
||||
qcom,switch-mode-frequency = <3200000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
&gsbi7_serial {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&gsbi7_uart_2pins>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
s3 {
|
||||
regulator-min-microvolt = <1000000>;
|
||||
regulator-max-microvolt = <1400000>;
|
||||
qcom,switch-mode-frequency = <4800000>;
|
||||
};
|
||||
&pcie {
|
||||
vdda-supply = <&pm8921_s3>;
|
||||
vdda_phy-supply = <&pm8921_lvs6>;
|
||||
vdda_refclk-supply = <&v3p3_fixed>;
|
||||
pinctrl-0 = <&pcie_pins>;
|
||||
pinctrl-names = "default";
|
||||
perst-gpios = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
s4 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
qcom,switch-mode-frequency = <3200000>;
|
||||
};
|
||||
|
||||
s7 {
|
||||
regulator-min-microvolt = <1300000>;
|
||||
regulator-max-microvolt = <1300000>;
|
||||
qcom,switch-mode-frequency = <3200000>;
|
||||
};
|
||||
|
||||
l3 {
|
||||
regulator-min-microvolt = <3050000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l4 {
|
||||
regulator-min-microvolt = <1000000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l5 {
|
||||
regulator-min-microvolt = <2750000>;
|
||||
regulator-max-microvolt = <3000000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l23 {
|
||||
regulator-min-microvolt = <1700000>;
|
||||
regulator-max-microvolt = <1900000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
pm8921_lvs6: lvs6 {
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
gsbi@12440000 {
|
||||
status = "okay";
|
||||
qcom,mode = <GSBI_PROT_I2C>;
|
||||
|
||||
i2c@12460000 {
|
||||
status = "okay";
|
||||
clock-frequency = <200000>;
|
||||
|
||||
eeprom@50 {
|
||||
compatible = "atmel,24c02";
|
||||
reg = <0x50>;
|
||||
pagesize = <32>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gsbi@16600000 {
|
||||
status = "okay";
|
||||
qcom,mode = <GSBI_PROT_I2C_UART>;
|
||||
serial@16640000 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&gsbi7_uart_2pins>;
|
||||
};
|
||||
};
|
||||
|
||||
/* OTG */
|
||||
usb@12500000 {
|
||||
status = "okay";
|
||||
dr_mode = "otg";
|
||||
ulpi {
|
||||
phy {
|
||||
v3p3-supply = <&pm8921_l3>;
|
||||
v1p8-supply = <&pm8921_l4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
usb@12520000 {
|
||||
status = "okay";
|
||||
dr_mode = "host";
|
||||
ulpi {
|
||||
phy {
|
||||
v3p3-supply = <&pm8921_l3>;
|
||||
v1p8-supply = <&pm8921_l23>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
usb@12530000 {
|
||||
status = "okay";
|
||||
dr_mode = "host";
|
||||
ulpi {
|
||||
phy {
|
||||
v3p3-supply = <&pm8921_l3>;
|
||||
v1p8-supply = <&pm8921_l23>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/* on board fixed 3.3v supply */
|
||||
v3p3_fixed: v3p3 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "PCIE V3P3";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
qcom,ssbi@500000 {
|
||||
pmic@0 {
|
||||
gpio@150 {
|
||||
wlan_default_gpios: wlan-gpios-state {
|
||||
pinconf {
|
||||
pins = "gpio43";
|
||||
function = "normal";
|
||||
bias-disable;
|
||||
power-source = <PM8921_GPIO_S4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pci@1b500000 {
|
||||
status = "okay";
|
||||
vdda-supply = <&pm8921_s3>;
|
||||
vdda_phy-supply = <&pm8921_lvs6>;
|
||||
vdda_refclk-supply = <&v3p3_fixed>;
|
||||
pinctrl-0 = <&pcie_pins>;
|
||||
pinctrl-names = "default";
|
||||
perst-gpios = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
amba {
|
||||
/* eMMC */
|
||||
sdcc1: mmc@12400000 {
|
||||
status = "okay";
|
||||
vmmc-supply = <&pm8921_l5>;
|
||||
vqmmc-supply = <&pm8921_s4>;
|
||||
};
|
||||
|
||||
/* External micro SD card */
|
||||
sdcc3: mmc@12180000 {
|
||||
status = "okay";
|
||||
vmmc-supply = <&v3p3_fixed>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&card_detect>;
|
||||
cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
/* WLAN */
|
||||
sdcc4: mmc@121c0000 {
|
||||
status = "okay";
|
||||
vmmc-supply = <&v3p3_fixed>;
|
||||
vqmmc-supply = <&v3p3_fixed>;
|
||||
mmc-pwrseq = <&sdcc4_pwrseq>;
|
||||
};
|
||||
&pm8921_gpio {
|
||||
wlan_default_gpios: wlan-gpios-state {
|
||||
pinconf {
|
||||
pins = "gpio43";
|
||||
function = "normal";
|
||||
bias-disable;
|
||||
power-source = <PM8921_GPIO_S4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&rpm {
|
||||
regulators {
|
||||
vin_lvs1_3_6-supply = <&pm8921_s4>;
|
||||
vin_lvs2-supply = <&pm8921_s1>;
|
||||
vin_lvs4_5_7-supply = <&pm8921_s4>;
|
||||
|
||||
vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;
|
||||
vdd_l24-supply = <&pm8921_s1>;
|
||||
vdd_l25-supply = <&pm8921_s1>;
|
||||
vdd_l26-supply = <&pm8921_s7>;
|
||||
vdd_l27-supply = <&pm8921_s7>;
|
||||
vdd_l28-supply = <&pm8921_s7>;
|
||||
|
||||
|
||||
/* Buck SMPS */
|
||||
s1 {
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <1225000>;
|
||||
regulator-max-microvolt = <1225000>;
|
||||
qcom,switch-mode-frequency = <3200000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
s3 {
|
||||
regulator-min-microvolt = <1000000>;
|
||||
regulator-max-microvolt = <1400000>;
|
||||
qcom,switch-mode-frequency = <4800000>;
|
||||
};
|
||||
|
||||
s4 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
qcom,switch-mode-frequency = <3200000>;
|
||||
};
|
||||
|
||||
s7 {
|
||||
regulator-min-microvolt = <1300000>;
|
||||
regulator-max-microvolt = <1300000>;
|
||||
qcom,switch-mode-frequency = <3200000>;
|
||||
};
|
||||
|
||||
l3 {
|
||||
regulator-min-microvolt = <3050000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l4 {
|
||||
regulator-min-microvolt = <1000000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l5 {
|
||||
regulator-min-microvolt = <2750000>;
|
||||
regulator-max-microvolt = <3000000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l23 {
|
||||
regulator-min-microvolt = <1700000>;
|
||||
regulator-max-microvolt = <1900000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
lvs6 {
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
/* eMMC */
|
||||
&sdcc1 {
|
||||
vmmc-supply = <&pm8921_l5>;
|
||||
vqmmc-supply = <&pm8921_s4>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
/* External micro SD card */
|
||||
&sdcc3 {
|
||||
vmmc-supply = <&v3p3_fixed>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&card_detect>;
|
||||
cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
/* WLAN */
|
||||
&sdcc4 {
|
||||
status = "okay";
|
||||
vmmc-supply = <&v3p3_fixed>;
|
||||
vqmmc-supply = <&v3p3_fixed>;
|
||||
mmc-pwrseq = <&sdcc4_pwrseq>;
|
||||
};
|
||||
|
||||
&tlmm_pinmux {
|
||||
card_detect: card_detect {
|
||||
mux {
|
||||
pins = "gpio26";
|
||||
function = "gpio";
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
pcie_pins: pcie_pinmux {
|
||||
mux {
|
||||
pins = "gpio27";
|
||||
function = "gpio";
|
||||
};
|
||||
conf {
|
||||
pins = "gpio27";
|
||||
drive-strength = <12>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&usb_hs1_phy {
|
||||
v3p3-supply = <&pm8921_l3>;
|
||||
v1p8-supply = <&pm8921_l4>;
|
||||
};
|
||||
|
||||
&usb_hs3_phy {
|
||||
v3p3-supply = <&pm8921_l3>;
|
||||
v1p8-supply = <&pm8921_l23>;
|
||||
};
|
||||
|
||||
&usb_hs4_phy {
|
||||
v3p3-supply = <&pm8921_l3>;
|
||||
v1p8-supply = <&pm8921_l23>;
|
||||
};
|
||||
|
||||
/* OTG */
|
||||
&usb1 {
|
||||
dr_mode = "otg";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb3 {
|
||||
dr_mode = "host";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb4 {
|
||||
dr_mode = "host";
|
||||
status = "okay";
|
||||
};
|
||||
|
@@ -22,23 +22,12 @@
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
pwrseq {
|
||||
compatible = "simple-bus";
|
||||
|
||||
sdcc4_pwrseq: sdcc4_pwrseq {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&wlan_default_gpios>;
|
||||
compatible = "mmc-pwrseq-simple";
|
||||
reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <¬ify_led>;
|
||||
|
||||
led@1 {
|
||||
led-user1 {
|
||||
label = "apq8064:green:user1";
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
gpios = <&pm8921_gpio 18 GPIO_ACTIVE_HIGH>;
|
||||
@@ -57,326 +46,314 @@
|
||||
};
|
||||
};
|
||||
|
||||
soc {
|
||||
pinctrl@800000 {
|
||||
card_detect: card_detect {
|
||||
mux {
|
||||
pins = "gpio26";
|
||||
function = "gpio";
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
sdcc4_pwrseq: pwrseq-sdcc4 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&wlan_default_gpios>;
|
||||
compatible = "mmc-pwrseq-simple";
|
||||
reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
pcie_pins: pcie_pinmux {
|
||||
mux {
|
||||
pins = "gpio27";
|
||||
function = "gpio";
|
||||
};
|
||||
conf {
|
||||
pins = "gpio27";
|
||||
drive-strength = <12>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
ext_3p3v: regulator-ext-3p3v {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
regulator-name = "ext_3p3v";
|
||||
regulator-type = "voltage";
|
||||
startup-delay-us = <0>;
|
||||
gpio = <&tlmm_pinmux 77 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
regulator-boot-on;
|
||||
};
|
||||
};
|
||||
|
||||
&gsbi1 {
|
||||
qcom,mode = <GSBI_PROT_I2C>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gsbi1_i2c {
|
||||
clock-frequency = <200000>;
|
||||
status = "okay";
|
||||
|
||||
eeprom@52 {
|
||||
compatible = "atmel,24c128";
|
||||
reg = <0x52>;
|
||||
pagesize = <32>;
|
||||
};
|
||||
};
|
||||
|
||||
&gsbi3 {
|
||||
qcom,mode = <GSBI_PROT_I2C>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gsbi3_i2c {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gsbi4 {
|
||||
qcom,mode = <GSBI_PROT_I2C>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
/* CAM I2C MIPI-CSI connector */
|
||||
&gsbi4_i2c {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gsbi5 {
|
||||
qcom,mode = <GSBI_PROT_SPI>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gsbi5_spi {
|
||||
num-cs = <1>;
|
||||
cs-gpios = <&tlmm_pinmux 53 0>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gsbi6 {
|
||||
qcom,mode = <GSBI_PROT_UART_W_FC>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gsbi6_serial {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&gsbi6_uart_4pins>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gsbi7 {
|
||||
qcom,mode = <GSBI_PROT_I2C_UART>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gsbi7_serial {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&gsbi7_uart_2pins>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&hdmi {
|
||||
core-vdda-supply = <&pm8921_hdmi_switch>;
|
||||
hpd-gpios = <&tlmm_pinmux 72 GPIO_ACTIVE_HIGH>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&hdmi_in {
|
||||
remote-endpoint = <&mdp_dtv_out>;
|
||||
};
|
||||
|
||||
&hdmi_out {
|
||||
remote-endpoint = <&hdmi_con>;
|
||||
};
|
||||
|
||||
&hdmi_phy {
|
||||
status = "okay";
|
||||
core-vdda-supply = <&pm8921_hdmi_switch>;
|
||||
};
|
||||
|
||||
&mdp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&mdp_dtv_out {
|
||||
remote-endpoint = <&hdmi_in>;
|
||||
};
|
||||
|
||||
&pcie {
|
||||
status = "okay";
|
||||
vdda-supply = <&pm8921_s3>;
|
||||
vdda_phy-supply = <&pm8921_lvs6>;
|
||||
vdda_refclk-supply = <&ext_3p3v>;
|
||||
pinctrl-0 = <&pcie_pins>;
|
||||
pinctrl-names = "default";
|
||||
perst-gpios = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
&pm8921_gpio {
|
||||
wlan_default_gpios: wlan-gpios-state {
|
||||
pinconf {
|
||||
pins = "gpio43";
|
||||
function = "normal";
|
||||
bias-disable;
|
||||
power-source = <PM8921_GPIO_S4>;
|
||||
};
|
||||
};
|
||||
|
||||
rpm@108000 {
|
||||
regulators {
|
||||
vin_lvs1_3_6-supply = <&pm8921_s4>;
|
||||
vin_lvs2-supply = <&pm8921_s1>;
|
||||
vin_lvs4_5_7-supply = <&pm8921_s4>;
|
||||
|
||||
vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;
|
||||
vdd_l24-supply = <&pm8921_s1>;
|
||||
vdd_l25-supply = <&pm8921_s1>;
|
||||
vdd_l26-supply = <&pm8921_s7>;
|
||||
vdd_l27-supply = <&pm8921_s7>;
|
||||
vdd_l28-supply = <&pm8921_s7>;
|
||||
|
||||
|
||||
/* Buck SMPS */
|
||||
s1 {
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <1225000>;
|
||||
regulator-max-microvolt = <1225000>;
|
||||
qcom,switch-mode-frequency = <3200000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
s3 {
|
||||
regulator-min-microvolt = <1000000>;
|
||||
regulator-max-microvolt = <1400000>;
|
||||
qcom,switch-mode-frequency = <4800000>;
|
||||
};
|
||||
|
||||
s4 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
qcom,switch-mode-frequency = <3200000>;
|
||||
};
|
||||
|
||||
s7 {
|
||||
regulator-min-microvolt = <1300000>;
|
||||
regulator-max-microvolt = <1300000>;
|
||||
qcom,switch-mode-frequency = <3200000>;
|
||||
};
|
||||
|
||||
l3 {
|
||||
regulator-min-microvolt = <3050000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l4 {
|
||||
regulator-min-microvolt = <1000000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l5 {
|
||||
regulator-min-microvolt = <2750000>;
|
||||
regulator-max-microvolt = <3000000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l6 {
|
||||
regulator-min-microvolt = <2950000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l23 {
|
||||
regulator-min-microvolt = <1700000>;
|
||||
regulator-max-microvolt = <1900000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
lvs1 {
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
lvs6 {
|
||||
bias-pull-down;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ext_3p3v: regulator-fixed@1 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
regulator-name = "ext_3p3v";
|
||||
regulator-type = "voltage";
|
||||
startup-delay-us = <0>;
|
||||
gpio = <&tlmm_pinmux 77 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
regulator-boot-on;
|
||||
};
|
||||
|
||||
gsbi3: gsbi@16200000 {
|
||||
status = "okay";
|
||||
qcom,mode = <GSBI_PROT_I2C>;
|
||||
i2c@16280000 {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
gsbi@16300000 {
|
||||
status = "okay";
|
||||
qcom,mode = <GSBI_PROT_I2C>;
|
||||
/* CAM I2C MIPI-CSI connector */
|
||||
i2c@16380000 {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
gsbi@12440000 {
|
||||
status = "okay";
|
||||
qcom,mode = <GSBI_PROT_I2C>;
|
||||
|
||||
i2c@12460000 {
|
||||
status = "okay";
|
||||
clock-frequency = <200000>;
|
||||
|
||||
eeprom@52 {
|
||||
compatible = "atmel,24c128";
|
||||
reg = <0x52>;
|
||||
pagesize = <32>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gsbi@1a200000 {
|
||||
qcom,mode = <GSBI_PROT_SPI>;
|
||||
status = "okay";
|
||||
spi4: spi@1a280000 {
|
||||
status = "okay";
|
||||
num-cs = <1>;
|
||||
cs-gpios = <&tlmm_pinmux 53 0>;
|
||||
};
|
||||
};
|
||||
|
||||
gsbi@16500000 {
|
||||
status = "okay";
|
||||
qcom,mode = <GSBI_PROT_UART_W_FC>;
|
||||
|
||||
serial@16540000 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&gsbi6_uart_4pins>;
|
||||
};
|
||||
};
|
||||
|
||||
gsbi@16600000 {
|
||||
status = "okay";
|
||||
qcom,mode = <GSBI_PROT_I2C_UART>;
|
||||
serial@16640000 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&gsbi7_uart_2pins>;
|
||||
};
|
||||
};
|
||||
|
||||
sata_phy0: phy@1b400000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
sata0: sata@29000000 {
|
||||
status = "okay";
|
||||
target-supply = <&pm8921_s4>;
|
||||
};
|
||||
|
||||
/* OTG */
|
||||
usb@12500000 {
|
||||
status = "okay";
|
||||
dr_mode = "otg";
|
||||
ulpi {
|
||||
phy {
|
||||
v3p3-supply = <&pm8921_l3>;
|
||||
v1p8-supply = <&pm8921_l4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
usb@12520000 {
|
||||
status = "okay";
|
||||
dr_mode = "host";
|
||||
ulpi {
|
||||
phy {
|
||||
v3p3-supply = <&pm8921_l3>;
|
||||
v1p8-supply = <&pm8921_l23>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
usb@12530000 {
|
||||
status = "okay";
|
||||
dr_mode = "host";
|
||||
ulpi {
|
||||
phy {
|
||||
v3p3-supply = <&pm8921_l3>;
|
||||
v1p8-supply = <&pm8921_l23>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pci@1b500000 {
|
||||
status = "okay";
|
||||
vdda-supply = <&pm8921_s3>;
|
||||
vdda_phy-supply = <&pm8921_lvs6>;
|
||||
vdda_refclk-supply = <&ext_3p3v>;
|
||||
pinctrl-0 = <&pcie_pins>;
|
||||
pinctrl-names = "default";
|
||||
perst-gpios = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
qcom,ssbi@500000 {
|
||||
pmic@0 {
|
||||
gpio@150 {
|
||||
wlan_default_gpios: wlan-gpios-state {
|
||||
pinconf {
|
||||
pins = "gpio43";
|
||||
function = "normal";
|
||||
bias-disable;
|
||||
power-source = <PM8921_GPIO_S4>;
|
||||
};
|
||||
};
|
||||
|
||||
notify_led: nled-state {
|
||||
pinconf {
|
||||
pins = "gpio18";
|
||||
function = "normal";
|
||||
bias-disable;
|
||||
power-source = <PM8921_GPIO_S4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
amba {
|
||||
/* eMMC */
|
||||
sdcc1: mmc@12400000 {
|
||||
status = "okay";
|
||||
vmmc-supply = <&pm8921_l5>;
|
||||
vqmmc-supply = <&pm8921_s4>;
|
||||
};
|
||||
|
||||
/* External micro SD card */
|
||||
sdcc3: mmc@12180000 {
|
||||
status = "okay";
|
||||
vmmc-supply = <&pm8921_l6>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&card_detect>;
|
||||
cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
/* WLAN */
|
||||
sdcc4: mmc@121c0000 {
|
||||
status = "okay";
|
||||
vmmc-supply = <&ext_3p3v>;
|
||||
vqmmc-supply = <&pm8921_lvs1>;
|
||||
mmc-pwrseq = <&sdcc4_pwrseq>;
|
||||
};
|
||||
};
|
||||
|
||||
hdmi-tx@4a00000 {
|
||||
status = "okay";
|
||||
|
||||
core-vdda-supply = <&pm8921_hdmi_switch>;
|
||||
|
||||
hpd-gpios = <&tlmm_pinmux 72 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
ports {
|
||||
port@0 {
|
||||
endpoint {
|
||||
remote-endpoint = <&mdp_dtv_out>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
endpoint {
|
||||
remote-endpoint = <&hdmi_con>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
hdmi-phy@4a00400 {
|
||||
status = "okay";
|
||||
|
||||
core-vdda-supply = <&pm8921_hdmi_switch>;
|
||||
};
|
||||
|
||||
mdp@5100000 {
|
||||
status = "okay";
|
||||
|
||||
ports {
|
||||
port@3 {
|
||||
endpoint {
|
||||
remote-endpoint = <&hdmi_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
notify_led: nled-state {
|
||||
pinconf {
|
||||
pins = "gpio18";
|
||||
function = "normal";
|
||||
bias-disable;
|
||||
power-source = <PM8921_GPIO_S4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&rpm {
|
||||
regulators {
|
||||
vin_lvs1_3_6-supply = <&pm8921_s4>;
|
||||
vin_lvs2-supply = <&pm8921_s1>;
|
||||
vin_lvs4_5_7-supply = <&pm8921_s4>;
|
||||
|
||||
vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;
|
||||
vdd_l24-supply = <&pm8921_s1>;
|
||||
vdd_l25-supply = <&pm8921_s1>;
|
||||
vdd_l26-supply = <&pm8921_s7>;
|
||||
vdd_l27-supply = <&pm8921_s7>;
|
||||
vdd_l28-supply = <&pm8921_s7>;
|
||||
|
||||
|
||||
/* Buck SMPS */
|
||||
s1 {
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <1225000>;
|
||||
regulator-max-microvolt = <1225000>;
|
||||
qcom,switch-mode-frequency = <3200000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
s3 {
|
||||
regulator-min-microvolt = <1000000>;
|
||||
regulator-max-microvolt = <1400000>;
|
||||
qcom,switch-mode-frequency = <4800000>;
|
||||
};
|
||||
|
||||
s4 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
qcom,switch-mode-frequency = <3200000>;
|
||||
};
|
||||
|
||||
s7 {
|
||||
regulator-min-microvolt = <1300000>;
|
||||
regulator-max-microvolt = <1300000>;
|
||||
qcom,switch-mode-frequency = <3200000>;
|
||||
};
|
||||
|
||||
l3 {
|
||||
regulator-min-microvolt = <3050000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l4 {
|
||||
regulator-min-microvolt = <1000000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l5 {
|
||||
regulator-min-microvolt = <2750000>;
|
||||
regulator-max-microvolt = <3000000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l6 {
|
||||
regulator-min-microvolt = <2950000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l23 {
|
||||
regulator-min-microvolt = <1700000>;
|
||||
regulator-max-microvolt = <1900000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
lvs1 {
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
lvs6 {
|
||||
bias-pull-down;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&sata_phy0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&sata0 {
|
||||
target-supply = <&pm8921_s4>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
/* eMMC */
|
||||
&sdcc1 {
|
||||
vmmc-supply = <&pm8921_l5>;
|
||||
vqmmc-supply = <&pm8921_s4>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
/* External micro SD card */
|
||||
&sdcc3 {
|
||||
vmmc-supply = <&pm8921_l6>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&card_detect>;
|
||||
cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
/* WLAN */
|
||||
&sdcc4 {
|
||||
vmmc-supply = <&ext_3p3v>;
|
||||
vqmmc-supply = <&pm8921_lvs1>;
|
||||
mmc-pwrseq = <&sdcc4_pwrseq>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&tlmm_pinmux {
|
||||
card_detect: card_detect {
|
||||
mux {
|
||||
pins = "gpio26";
|
||||
function = "gpio";
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
pcie_pins: pcie_pinmux {
|
||||
mux {
|
||||
pins = "gpio27";
|
||||
function = "gpio";
|
||||
};
|
||||
conf {
|
||||
pins = "gpio27";
|
||||
drive-strength = <12>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&usb_hs1_phy {
|
||||
v3p3-supply = <&pm8921_l3>;
|
||||
v1p8-supply = <&pm8921_l4>;
|
||||
};
|
||||
|
||||
&usb_hs3_phy {
|
||||
v3p3-supply = <&pm8921_l3>;
|
||||
v1p8-supply = <&pm8921_l23>;
|
||||
};
|
||||
|
||||
&usb_hs4_phy {
|
||||
v3p3-supply = <&pm8921_l3>;
|
||||
v1p8-supply = <&pm8921_l23>;
|
||||
};
|
||||
|
||||
/* OTG */
|
||||
&usb1 {
|
||||
dr_mode = "otg";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb3 {
|
||||
dr_mode = "host";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb4 {
|
||||
dr_mode = "host";
|
||||
status = "okay";
|
||||
};
|
||||
|
@@ -8,6 +8,7 @@
|
||||
/ {
|
||||
model = "Sony Xperia Z";
|
||||
compatible = "sony,xperia-yuga", "qcom,apq8064";
|
||||
chassis-type = "handset";
|
||||
|
||||
aliases {
|
||||
serial0 = &gsbi5_serial;
|
||||
@@ -51,351 +52,338 @@
|
||||
linux,code = <KEY_VOLUMEUP>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
soc {
|
||||
pinctrl@800000 {
|
||||
gsbi5_uart_pin_a: gsbi5-uart-pin-active {
|
||||
rx {
|
||||
pins = "gpio52";
|
||||
function = "gsbi5";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
&gsbi5 {
|
||||
qcom,mode = <GSBI_PROT_I2C_UART>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
tx {
|
||||
pins = "gpio51";
|
||||
function = "gsbi5";
|
||||
drive-strength = <4>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
&gsbi5_serial {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&gsbi5_uart_pin_a>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pm8921_gpio {
|
||||
gpio_keys_pin_a: gpio-keys-active-state {
|
||||
pins = "gpio3", "gpio4", "gpio29", "gpio35";
|
||||
function = "normal";
|
||||
|
||||
sdcc3_cd_pin_a: sdcc3-cd-pin-active {
|
||||
pins = "gpio26";
|
||||
function = "gpio";
|
||||
bias-pull-up;
|
||||
drive-push-pull;
|
||||
input-enable;
|
||||
power-source = <2>;
|
||||
qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
|
||||
qcom,pull-up-strength = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
&riva {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&riva_wlan_pin_a>, <&riva_bt_pin_a>, <&riva_fm_pin_a>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rpm {
|
||||
regulators {
|
||||
vin_l1_l2_l12_l18-supply = <&pm8921_s4>;
|
||||
vin_lvs_1_3_6-supply = <&pm8921_s4>;
|
||||
vin_lvs_4_5_7-supply = <&pm8921_s4>;
|
||||
vin_ncp-supply = <&pm8921_l6>;
|
||||
vin_lvs2-supply = <&pm8921_s4>;
|
||||
vin_l24-supply = <&pm8921_s1>;
|
||||
vin_l25-supply = <&pm8921_s1>;
|
||||
vin_l27-supply = <&pm8921_s7>;
|
||||
vin_l28-supply = <&pm8921_s7>;
|
||||
|
||||
/* Buck SMPS */
|
||||
s1 {
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <1225000>;
|
||||
regulator-max-microvolt = <1225000>;
|
||||
qcom,switch-mode-frequency = <3200000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
|
||||
rpm@108000 {
|
||||
regulators {
|
||||
vin_l1_l2_l12_l18-supply = <&pm8921_s4>;
|
||||
vin_lvs_1_3_6-supply = <&pm8921_s4>;
|
||||
vin_lvs_4_5_7-supply = <&pm8921_s4>;
|
||||
vin_ncp-supply = <&pm8921_l6>;
|
||||
vin_lvs2-supply = <&pm8921_s4>;
|
||||
vin_l24-supply = <&pm8921_s1>;
|
||||
vin_l25-supply = <&pm8921_s1>;
|
||||
vin_l27-supply = <&pm8921_s7>;
|
||||
vin_l28-supply = <&pm8921_s7>;
|
||||
|
||||
/* Buck SMPS */
|
||||
s1 {
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <1225000>;
|
||||
regulator-max-microvolt = <1225000>;
|
||||
qcom,switch-mode-frequency = <3200000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
s2 {
|
||||
regulator-min-microvolt = <1300000>;
|
||||
regulator-max-microvolt = <1300000>;
|
||||
qcom,switch-mode-frequency = <1600000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
s3 {
|
||||
regulator-min-microvolt = <500000>;
|
||||
regulator-max-microvolt = <1150000>;
|
||||
qcom,switch-mode-frequency = <4800000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
s4 {
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
qcom,switch-mode-frequency = <1600000>;
|
||||
bias-pull-down;
|
||||
qcom,force-mode = <QCOM_RPM_FORCE_MODE_AUTO>;
|
||||
};
|
||||
|
||||
s7 {
|
||||
regulator-min-microvolt = <1300000>;
|
||||
regulator-max-microvolt = <1300000>;
|
||||
qcom,switch-mode-frequency = <3200000>;
|
||||
};
|
||||
|
||||
s8 {
|
||||
regulator-min-microvolt = <2200000>;
|
||||
regulator-max-microvolt = <2200000>;
|
||||
qcom,switch-mode-frequency = <1600000>;
|
||||
};
|
||||
|
||||
/* PMOS LDO */
|
||||
l1 {
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <1100000>;
|
||||
regulator-max-microvolt = <1100000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l2 {
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l3 {
|
||||
regulator-min-microvolt = <3075000>;
|
||||
regulator-max-microvolt = <3075000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l4 {
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l5 {
|
||||
regulator-min-microvolt = <2950000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l6 {
|
||||
regulator-min-microvolt = <2950000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l7 {
|
||||
regulator-min-microvolt = <1850000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l8 {
|
||||
regulator-min-microvolt = <2800000>;
|
||||
regulator-max-microvolt = <2800000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l9 {
|
||||
regulator-min-microvolt = <3000000>;
|
||||
regulator-max-microvolt = <3000000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l10 {
|
||||
regulator-min-microvolt = <2900000>;
|
||||
regulator-max-microvolt = <2900000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l11 {
|
||||
regulator-min-microvolt = <3000000>;
|
||||
regulator-max-microvolt = <3000000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l12 {
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l14 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l15 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l16 {
|
||||
regulator-min-microvolt = <2800000>;
|
||||
regulator-max-microvolt = <2800000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l17 {
|
||||
regulator-min-microvolt = <2000000>;
|
||||
regulator-max-microvolt = <2000000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l18 {
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l21 {
|
||||
regulator-min-microvolt = <1050000>;
|
||||
regulator-max-microvolt = <1050000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l22 {
|
||||
regulator-min-microvolt = <2600000>;
|
||||
regulator-max-microvolt = <2600000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l23 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l24 {
|
||||
regulator-min-microvolt = <750000>;
|
||||
regulator-max-microvolt = <1150000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l25 {
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <1250000>;
|
||||
regulator-max-microvolt = <1250000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l27 {
|
||||
regulator-min-microvolt = <1100000>;
|
||||
regulator-max-microvolt = <1100000>;
|
||||
};
|
||||
|
||||
l28 {
|
||||
regulator-min-microvolt = <1050000>;
|
||||
regulator-max-microvolt = <1050000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l29 {
|
||||
regulator-min-microvolt = <2000000>;
|
||||
regulator-max-microvolt = <2000000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
/* Low Voltage Switch */
|
||||
lvs1 {
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
lvs2 {
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
lvs3 {
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
lvs4 {
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
lvs5 {
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
lvs6 {
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
lvs7 {
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
usb-switch {};
|
||||
|
||||
hdmi-switch {};
|
||||
|
||||
ncp {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
qcom,switch-mode-frequency = <1600000>;
|
||||
};
|
||||
};
|
||||
s2 {
|
||||
regulator-min-microvolt = <1300000>;
|
||||
regulator-max-microvolt = <1300000>;
|
||||
qcom,switch-mode-frequency = <1600000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
qcom,ssbi@500000 {
|
||||
pmic@0 {
|
||||
gpio@150 {
|
||||
gpio_keys_pin_a: gpio-keys-active-state {
|
||||
pins = "gpio3", "gpio4", "gpio29", "gpio35";
|
||||
function = "normal";
|
||||
|
||||
bias-pull-up;
|
||||
drive-push-pull;
|
||||
input-enable;
|
||||
power-source = <2>;
|
||||
qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
|
||||
qcom,pull-up-strength = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
s3 {
|
||||
regulator-min-microvolt = <500000>;
|
||||
regulator-max-microvolt = <1150000>;
|
||||
qcom,switch-mode-frequency = <4800000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
usb@12500000 {
|
||||
status = "okay";
|
||||
dr_mode = "otg";
|
||||
ulpi {
|
||||
phy {
|
||||
v3p3-supply = <&pm8921_l3>;
|
||||
v1p8-supply = <&pm8921_l4>;
|
||||
};
|
||||
};
|
||||
s4 {
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
qcom,switch-mode-frequency = <1600000>;
|
||||
bias-pull-down;
|
||||
qcom,force-mode = <QCOM_RPM_FORCE_MODE_AUTO>;
|
||||
};
|
||||
|
||||
gsbi@1a200000 {
|
||||
status = "okay";
|
||||
qcom,mode = <GSBI_PROT_I2C_UART>;
|
||||
|
||||
serial@1a240000 {
|
||||
status = "okay";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&gsbi5_uart_pin_a>;
|
||||
};
|
||||
s7 {
|
||||
regulator-min-microvolt = <1300000>;
|
||||
regulator-max-microvolt = <1300000>;
|
||||
qcom,switch-mode-frequency = <3200000>;
|
||||
};
|
||||
|
||||
amba {
|
||||
sdcc1: mmc@12400000 {
|
||||
status = "okay";
|
||||
|
||||
vmmc-supply = <&pm8921_l5>;
|
||||
vqmmc-supply = <&pm8921_s4>;
|
||||
};
|
||||
|
||||
sdcc3: mmc@12180000 {
|
||||
status = "okay";
|
||||
|
||||
vmmc-supply = <&pm8921_l6>;
|
||||
cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sdcc3_pins>, <&sdcc3_cd_pin_a>;
|
||||
};
|
||||
s8 {
|
||||
regulator-min-microvolt = <2200000>;
|
||||
regulator-max-microvolt = <2200000>;
|
||||
qcom,switch-mode-frequency = <1600000>;
|
||||
};
|
||||
|
||||
riva-pil@3204000 {
|
||||
status = "okay";
|
||||
/* PMOS LDO */
|
||||
l1 {
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <1100000>;
|
||||
regulator-max-microvolt = <1100000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&riva_wlan_pin_a>, <&riva_bt_pin_a>, <&riva_fm_pin_a>;
|
||||
l2 {
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l3 {
|
||||
regulator-min-microvolt = <3075000>;
|
||||
regulator-max-microvolt = <3075000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l4 {
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l5 {
|
||||
regulator-min-microvolt = <2950000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l6 {
|
||||
regulator-min-microvolt = <2950000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l7 {
|
||||
regulator-min-microvolt = <1850000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l8 {
|
||||
regulator-min-microvolt = <2800000>;
|
||||
regulator-max-microvolt = <2800000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l9 {
|
||||
regulator-min-microvolt = <3000000>;
|
||||
regulator-max-microvolt = <3000000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l10 {
|
||||
regulator-min-microvolt = <2900000>;
|
||||
regulator-max-microvolt = <2900000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l11 {
|
||||
regulator-min-microvolt = <3000000>;
|
||||
regulator-max-microvolt = <3000000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l12 {
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l14 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l15 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l16 {
|
||||
regulator-min-microvolt = <2800000>;
|
||||
regulator-max-microvolt = <2800000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l17 {
|
||||
regulator-min-microvolt = <2000000>;
|
||||
regulator-max-microvolt = <2000000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l18 {
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l21 {
|
||||
regulator-min-microvolt = <1050000>;
|
||||
regulator-max-microvolt = <1050000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l22 {
|
||||
regulator-min-microvolt = <2600000>;
|
||||
regulator-max-microvolt = <2600000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l23 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l24 {
|
||||
regulator-min-microvolt = <750000>;
|
||||
regulator-max-microvolt = <1150000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l25 {
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <1250000>;
|
||||
regulator-max-microvolt = <1250000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l27 {
|
||||
regulator-min-microvolt = <1100000>;
|
||||
regulator-max-microvolt = <1100000>;
|
||||
};
|
||||
|
||||
l28 {
|
||||
regulator-min-microvolt = <1050000>;
|
||||
regulator-max-microvolt = <1050000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
l29 {
|
||||
regulator-min-microvolt = <2000000>;
|
||||
regulator-max-microvolt = <2000000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
/* Low Voltage Switch */
|
||||
lvs1 {
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
lvs2 {
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
lvs3 {
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
lvs4 {
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
lvs5 {
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
lvs6 {
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
lvs7 {
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
usb-switch {};
|
||||
|
||||
hdmi-switch {};
|
||||
|
||||
ncp {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
qcom,switch-mode-frequency = <1600000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&sdcc1 {
|
||||
vmmc-supply = <&pm8921_l5>;
|
||||
vqmmc-supply = <&pm8921_s4>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&sdcc3 {
|
||||
vmmc-supply = <&pm8921_l6>;
|
||||
cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sdcc3_pins>, <&sdcc3_cd_pin_a>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&tlmm_pinmux {
|
||||
gsbi5_uart_pin_a: gsbi5-uart-pin-active {
|
||||
rx {
|
||||
pins = "gpio52";
|
||||
function = "gsbi5";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
tx {
|
||||
pins = "gpio51";
|
||||
function = "gsbi5";
|
||||
drive-strength = <4>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
sdcc3_cd_pin_a: sdcc3-cd-pin-active {
|
||||
pins = "gpio26";
|
||||
function = "gpio";
|
||||
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
&usb_hs1_phy {
|
||||
v3p3-supply = <&pm8921_l3>;
|
||||
v1p8-supply = <&pm8921_l4>;
|
||||
};
|
||||
|
||||
&usb1 {
|
||||
dr_mode = "otg";
|
||||
status = "okay";
|
||||
};
|
||||
|
@@ -672,7 +672,7 @@
|
||||
reg = <0x00c00000 0x1000>;
|
||||
qcom,controller-type = "pmic-arbiter";
|
||||
|
||||
pm8821: pmic@1 {
|
||||
pm8821: pmic {
|
||||
compatible = "qcom,pm8821";
|
||||
interrupt-parent = <&tlmm_pinmux>;
|
||||
interrupts = <76 IRQ_TYPE_LEVEL_LOW>;
|
||||
@@ -693,12 +693,12 @@
|
||||
};
|
||||
};
|
||||
|
||||
qcom,ssbi@500000 {
|
||||
ssbi@500000 {
|
||||
compatible = "qcom,ssbi";
|
||||
reg = <0x00500000 0x1000>;
|
||||
qcom,controller-type = "pmic-arbiter";
|
||||
|
||||
pmicintc: pmic@0 {
|
||||
pmicintc: pmic {
|
||||
compatible = "qcom,pm8921";
|
||||
interrupt-parent = <&tlmm_pinmux>;
|
||||
interrupts = <74 8>;
|
||||
@@ -884,7 +884,7 @@
|
||||
reg = <0x2011000 0x1000>;
|
||||
};
|
||||
|
||||
rpm@108000 {
|
||||
rpm: rpm@108000 {
|
||||
compatible = "qcom,rpm-apq8064";
|
||||
reg = <0x108000 0x1000>;
|
||||
qcom,ipc = <&l2cc 0x8 2>;
|
||||
@@ -1085,15 +1085,21 @@
|
||||
ports-implemented = <0x1>;
|
||||
};
|
||||
|
||||
/* Temporary fixed regulator */
|
||||
sdcc1bam: dma-controller@12402000{
|
||||
compatible = "qcom,bam-v1.3.0";
|
||||
reg = <0x12402000 0x8000>;
|
||||
interrupts = <0 98 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&gcc SDC1_H_CLK>;
|
||||
clock-names = "bam_clk";
|
||||
#dma-cells = <1>;
|
||||
qcom,ee = <0>;
|
||||
sdcc3: mmc@12180000 {
|
||||
compatible = "arm,pl18x", "arm,primecell";
|
||||
arm,primecell-periphid = <0x00051180>;
|
||||
status = "disabled";
|
||||
reg = <0x12180000 0x2000>;
|
||||
interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
|
||||
clock-names = "mclk", "apb_pclk";
|
||||
bus-width = <4>;
|
||||
cap-sd-highspeed;
|
||||
cap-mmc-highspeed;
|
||||
max-frequency = <192000000>;
|
||||
no-1-8-v;
|
||||
dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
|
||||
dma-names = "tx", "rx";
|
||||
};
|
||||
|
||||
sdcc3bam: dma-controller@12182000{
|
||||
@@ -1106,6 +1112,24 @@
|
||||
qcom,ee = <0>;
|
||||
};
|
||||
|
||||
sdcc4: mmc@121c0000 {
|
||||
compatible = "arm,pl18x", "arm,primecell";
|
||||
arm,primecell-periphid = <0x00051180>;
|
||||
status = "disabled";
|
||||
reg = <0x121c0000 0x2000>;
|
||||
interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
|
||||
clock-names = "mclk", "apb_pclk";
|
||||
bus-width = <4>;
|
||||
cap-sd-highspeed;
|
||||
cap-mmc-highspeed;
|
||||
max-frequency = <48000000>;
|
||||
dmas = <&sdcc4bam 2>, <&sdcc4bam 1>;
|
||||
dma-names = "tx", "rx";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sdc4_gpios>;
|
||||
};
|
||||
|
||||
sdcc4bam: dma-controller@121c2000{
|
||||
compatible = "qcom,bam-v1.3.0";
|
||||
reg = <0x121c2000 0x8000>;
|
||||
@@ -1116,67 +1140,33 @@
|
||||
qcom,ee = <0>;
|
||||
};
|
||||
|
||||
amba {
|
||||
compatible = "simple-bus";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
sdcc1: mmc@12400000 {
|
||||
status = "disabled";
|
||||
compatible = "arm,pl18x", "arm,primecell";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sdcc1_pins>;
|
||||
arm,primecell-periphid = <0x00051180>;
|
||||
reg = <0x12400000 0x2000>;
|
||||
interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "cmd_irq";
|
||||
clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
|
||||
clock-names = "mclk", "apb_pclk";
|
||||
bus-width = <8>;
|
||||
max-frequency = <96000000>;
|
||||
non-removable;
|
||||
cap-sd-highspeed;
|
||||
cap-mmc-highspeed;
|
||||
dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
|
||||
dma-names = "tx", "rx";
|
||||
};
|
||||
sdcc1: mmc@12400000 {
|
||||
status = "disabled";
|
||||
compatible = "arm,pl18x", "arm,primecell";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sdcc1_pins>;
|
||||
arm,primecell-periphid = <0x00051180>;
|
||||
reg = <0x12400000 0x2000>;
|
||||
interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
|
||||
clock-names = "mclk", "apb_pclk";
|
||||
bus-width = <8>;
|
||||
max-frequency = <96000000>;
|
||||
non-removable;
|
||||
cap-sd-highspeed;
|
||||
cap-mmc-highspeed;
|
||||
dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
|
||||
dma-names = "tx", "rx";
|
||||
};
|
||||
|
||||
sdcc3: mmc@12180000 {
|
||||
compatible = "arm,pl18x", "arm,primecell";
|
||||
arm,primecell-periphid = <0x00051180>;
|
||||
status = "disabled";
|
||||
reg = <0x12180000 0x2000>;
|
||||
interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "cmd_irq";
|
||||
clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
|
||||
clock-names = "mclk", "apb_pclk";
|
||||
bus-width = <4>;
|
||||
cap-sd-highspeed;
|
||||
cap-mmc-highspeed;
|
||||
max-frequency = <192000000>;
|
||||
no-1-8-v;
|
||||
dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
|
||||
dma-names = "tx", "rx";
|
||||
};
|
||||
|
||||
sdcc4: mmc@121c0000 {
|
||||
compatible = "arm,pl18x", "arm,primecell";
|
||||
arm,primecell-periphid = <0x00051180>;
|
||||
status = "disabled";
|
||||
reg = <0x121c0000 0x2000>;
|
||||
interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "cmd_irq";
|
||||
clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
|
||||
clock-names = "mclk", "apb_pclk";
|
||||
bus-width = <4>;
|
||||
cap-sd-highspeed;
|
||||
cap-mmc-highspeed;
|
||||
max-frequency = <48000000>;
|
||||
dmas = <&sdcc4bam 2>, <&sdcc4bam 1>;
|
||||
dma-names = "tx", "rx";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sdc4_gpios>;
|
||||
};
|
||||
sdcc1bam: dma-controller@12402000{
|
||||
compatible = "qcom,bam-v1.3.0";
|
||||
reg = <0x12402000 0x8000>;
|
||||
interrupts = <0 98 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&gcc SDC1_H_CLK>;
|
||||
clock-names = "bam_clk";
|
||||
#dma-cells = <1>;
|
||||
qcom,ee = <0>;
|
||||
};
|
||||
|
||||
tcsr: syscon@1a400000 {
|
||||
@@ -1316,7 +1306,6 @@
|
||||
<&dsi0_phy 1>;
|
||||
syscon-sfpb = <&mmss_sfpb>;
|
||||
phys = <&dsi0_phy>;
|
||||
phy-names = "dsi";
|
||||
status = "disabled";
|
||||
|
||||
ports {
|
||||
@@ -1338,7 +1327,7 @@
|
||||
};
|
||||
|
||||
|
||||
dsi0_phy: dsi-phy@4700200 {
|
||||
dsi0_phy: phy@4700200 {
|
||||
compatible = "qcom,dsi-phy-28nm-8960";
|
||||
#clock-cells = <1>;
|
||||
#phy-cells = <0>;
|
||||
@@ -1470,6 +1459,8 @@
|
||||
|
||||
phys = <&hdmi_phy>;
|
||||
|
||||
status = "disabled";
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
@@ -1488,7 +1479,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
hdmi_phy: hdmi-phy@4a00400 {
|
||||
hdmi_phy: phy@4a00400 {
|
||||
compatible = "qcom,hdmi-phy-8960";
|
||||
reg = <0x4a00400 0x60>,
|
||||
<0x4a00500 0x100>;
|
||||
@@ -1498,6 +1489,8 @@
|
||||
clocks = <&mmcc HDMI_S_AHB_CLK>;
|
||||
clock-names = "slave_iface";
|
||||
#phy-cells = <0>;
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
mdp: mdp@5100000 {
|
||||
@@ -1552,7 +1545,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
riva: riva-pil@3204000 {
|
||||
riva: riva-pil@3200800 {
|
||||
compatible = "qcom,riva-pil";
|
||||
|
||||
reg = <0x03200800 0x1000>, <0x03202000 0x2000>, <0x03204000 0x100>;
|
||||
@@ -1615,7 +1608,7 @@
|
||||
};
|
||||
|
||||
etb@1a01000 {
|
||||
compatible = "coresight-etb10", "arm,primecell";
|
||||
compatible = "arm,coresight-etb10", "arm,primecell";
|
||||
reg = <0x1a01000 0x1000>;
|
||||
|
||||
clocks = <&rpmcc RPM_QDSS_CLK>;
|
||||
|
@@ -35,30 +35,8 @@
|
||||
};
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
|
||||
phys = <&usb_hs2_phy>;
|
||||
phy-select = <&tcsr 0xb000 1>;
|
||||
extcon = <&smbb>, <&usb_id>;
|
||||
vbus-supply = <&chg_otg>;
|
||||
hnp-disable;
|
||||
srp-disable;
|
||||
adp-disable;
|
||||
|
||||
ulpi {
|
||||
phy@b {
|
||||
status = "okay";
|
||||
v3p3-supply = <&pm8941_l24>;
|
||||
v1p8-supply = <&pm8941_l6>;
|
||||
extcon = <&smbb>;
|
||||
qcom,init-seq = /bits/ 8 <0x1 0x63>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&rpm_requests {
|
||||
pm8841-regulators {
|
||||
regulators-0 {
|
||||
compatible = "qcom,rpm-pm8841-regulators";
|
||||
|
||||
pm8841_s1: s1 {
|
||||
@@ -82,7 +60,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
pm8941-regulators {
|
||||
regulators-1 {
|
||||
compatible = "qcom,rpm-pm8941-regulators";
|
||||
|
||||
vdd_l1_l3-supply = <&pm8941_s1>;
|
||||
@@ -272,34 +250,34 @@
|
||||
};
|
||||
|
||||
&tlmm {
|
||||
sdc1_on: sdc1-on {
|
||||
clk {
|
||||
sdc1_on: sdc1-on-state {
|
||||
clk-pins {
|
||||
pins = "sdc1_clk";
|
||||
drive-strength = <16>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cmd-data {
|
||||
cmd-data-pins {
|
||||
pins = "sdc1_cmd", "sdc1_data";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
sdc2_on: sdc2-on {
|
||||
clk {
|
||||
sdc2_on: sdc2-on-state {
|
||||
clk-pins {
|
||||
pins = "sdc2_clk";
|
||||
drive-strength = <10>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cmd-data {
|
||||
cmd-data-pins {
|
||||
pins = "sdc2_cmd", "sdc2_data";
|
||||
drive-strength = <6>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
cd {
|
||||
cd-pins {
|
||||
pins = "gpio62";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
@@ -307,3 +285,23 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&usb {
|
||||
status = "okay";
|
||||
|
||||
phys = <&usb_hs2_phy>;
|
||||
phy-select = <&tcsr 0xb000 1>;
|
||||
extcon = <&smbb>, <&usb_id>;
|
||||
vbus-supply = <&chg_otg>;
|
||||
hnp-disable;
|
||||
srp-disable;
|
||||
adp-disable;
|
||||
};
|
||||
|
||||
&usb_hs2_phy {
|
||||
status = "okay";
|
||||
v3p3-supply = <&pm8941_l24>;
|
||||
v1p8-supply = <&pm8941_l6>;
|
||||
extcon = <&smbb>;
|
||||
qcom,init-seq = /bits/ 8 <0x1 0x63>;
|
||||
};
|
||||
|
@@ -72,7 +72,7 @@
|
||||
};
|
||||
|
||||
L2: l2-cache {
|
||||
compatible = "qcom,arch-cache";
|
||||
compatible = "cache";
|
||||
cache-level = <2>;
|
||||
qcom,saw = <&saw_l2>;
|
||||
};
|
||||
@@ -258,12 +258,14 @@
|
||||
};
|
||||
|
||||
tsens: thermal-sensor@fc4a8000 {
|
||||
compatible = "qcom,msm8974-tsens";
|
||||
compatible = "qcom,msm8974-tsens", "qcom,tsens-v0_1";
|
||||
reg = <0xfc4a9000 0x1000>, /* TM */
|
||||
<0xfc4a8000 0x1000>; /* SROT */
|
||||
nvmem-cells = <&tsens_calib>, <&tsens_backup>;
|
||||
nvmem-cell-names = "calib", "calib_backup";
|
||||
#qcom,sensors = <11>;
|
||||
interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "uplow";
|
||||
#thermal-sensor-cells = <1>;
|
||||
};
|
||||
timer@f9020000 {
|
||||
@@ -394,7 +396,7 @@
|
||||
#hwlock-cells = <1>;
|
||||
};
|
||||
|
||||
rpm_msg_ram: memory@fc428000 {
|
||||
rpm_msg_ram: sram@fc428000 {
|
||||
compatible = "qcom,rpm-msg-ram";
|
||||
reg = <0xfc428000 0x4000>;
|
||||
};
|
||||
@@ -474,7 +476,7 @@
|
||||
compatible = "qcom,rpm-apq8084";
|
||||
qcom,smd-channels = "rpm_requests";
|
||||
|
||||
pma8084-regulators {
|
||||
regulators-0 {
|
||||
compatible = "qcom,rpm-pma8084-regulators";
|
||||
|
||||
pma8084_s1: s1 {};
|
||||
|
@@ -9,7 +9,7 @@
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power {
|
||||
led-power {
|
||||
label = "ap120c-ac:green:power";
|
||||
function = LED_FUNCTION_POWER;
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
@@ -17,14 +17,14 @@
|
||||
default-state = "on";
|
||||
};
|
||||
|
||||
wlan {
|
||||
led-wlan {
|
||||
label = "ap120c-ac:green:wlan";
|
||||
function = LED_FUNCTION_WLAN;
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
support {
|
||||
led-support {
|
||||
label = "ap120c-ac:green:support";
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
|
||||
|
@@ -7,7 +7,7 @@
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
status: status {
|
||||
status: led-status {
|
||||
label = "ap120c-ac:blue:status";
|
||||
function = LED_FUNCTION_STATUS;
|
||||
color = <LED_COLOR_ID_BLUE>;
|
||||
@@ -15,7 +15,7 @@
|
||||
default-state = "keep";
|
||||
};
|
||||
|
||||
wlan2g {
|
||||
led-wlan2g {
|
||||
label = "ap120c-ac:green:wlan2g";
|
||||
function = LED_FUNCTION_WLAN;
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
@@ -23,7 +23,7 @@
|
||||
linux,default-trigger = "phy0tpt";
|
||||
};
|
||||
|
||||
wlan5g {
|
||||
led-wlan5g {
|
||||
label = "ap120c-ac:red:wlan5g";
|
||||
function = LED_FUNCTION_WLAN;
|
||||
color = <LED_COLOR_ID_RED>;
|
||||
|
@@ -6,7 +6,7 @@
|
||||
|
||||
/ {
|
||||
model = "ALFA Network AP120C-AC";
|
||||
compatible = "alfa-network,ap120c-ac";
|
||||
compatible = "alfa-network,ap120c-ac", "qcom,ipq4018";
|
||||
|
||||
keys {
|
||||
compatible = "gpio-keys";
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
/ {
|
||||
model = "8devices Jalapeno";
|
||||
compatible = "8dev,jalapeno";
|
||||
compatible = "8dev,jalapeno", "qcom,ipq4018";
|
||||
};
|
||||
|
||||
&tlmm {
|
||||
|
@@ -348,7 +348,7 @@
|
||||
saw0: regulator@b089000 {
|
||||
compatible = "qcom,saw2";
|
||||
reg = <0x0b089000 0x1000>, <0x0b009000 0x1000>;
|
||||
regulator;
|
||||
regulator;
|
||||
};
|
||||
|
||||
saw1: regulator@b099000 {
|
||||
|
@@ -5,7 +5,7 @@
|
||||
|
||||
/ {
|
||||
model = "MikroTik RB3011UiAS-RM";
|
||||
compatible = "mikrotik,rb3011";
|
||||
compatible = "mikrotik,rb3011", "qcom,ipq8064";
|
||||
|
||||
aliases {
|
||||
serial0 = &gsbi7_serial;
|
||||
@@ -264,8 +264,7 @@
|
||||
&nand {
|
||||
status = "okay";
|
||||
|
||||
nandcs@0 {
|
||||
compatible = "qcom,nandcs";
|
||||
nand@0 {
|
||||
reg = <0>;
|
||||
|
||||
nand-ecc-strength = <4>;
|
||||
|
@@ -513,8 +513,8 @@
|
||||
|
||||
gcc: clock-controller@900000 {
|
||||
compatible = "qcom,gcc-ipq8064", "syscon";
|
||||
clocks = <&pxo_board>, <&cxo_board>;
|
||||
clock-names = "pxo", "cxo";
|
||||
clocks = <&pxo_board>, <&cxo_board>, <&lcc PLL4>;
|
||||
clock-names = "pxo", "cxo", "pll4";
|
||||
reg = <0x00900000 0x4000>;
|
||||
#clock-cells = <1>;
|
||||
#reset-cells = <1>;
|
||||
@@ -728,7 +728,6 @@
|
||||
status = "disabled";
|
||||
reg = <0x12180000 0x2000>;
|
||||
interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "cmd_irq";
|
||||
clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
|
||||
clock-names = "mclk", "apb_pclk";
|
||||
bus-width = <8>;
|
||||
@@ -748,7 +747,6 @@
|
||||
arm,primecell-periphid = <0x00051180>;
|
||||
reg = <0x12400000 0x2000>;
|
||||
interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "cmd_irq";
|
||||
clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
|
||||
clock-names = "mclk", "apb_pclk";
|
||||
bus-width = <8>;
|
||||
@@ -756,7 +754,6 @@
|
||||
non-removable;
|
||||
cap-sd-highspeed;
|
||||
cap-mmc-highspeed;
|
||||
mmc-ddr-1_8v;
|
||||
vmmc-supply = <&vsdcc_fixed>;
|
||||
dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
|
||||
dma-names = "tx", "rx";
|
||||
|
@@ -1,46 +1,9 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+ OR MIT
|
||||
/*
|
||||
* Device Tree Source for mangOH Green Board with WP8548 Module
|
||||
*
|
||||
* Copyright (C) 2016 BayLibre, SAS.
|
||||
* Author : Neil Armstrong <narmstrong@baylibre.com>
|
||||
*
|
||||
* This file is dual-licensed: you can use it either under the terms
|
||||
* of the GPL or the X11 license, at your option. Note that this dual
|
||||
* licensing only applies to this file, and not this project as a
|
||||
* whole.
|
||||
*
|
||||
* a) This file is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 2 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This file is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* Or, alternatively,
|
||||
*
|
||||
* b) Permission is hereby granted, free of charge, to any person
|
||||
* obtaining a copy of this software and associated documentation
|
||||
* files (the "Software"), to deal in the Software without
|
||||
* restriction, including without limitation the rights to use,
|
||||
* copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
* sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following
|
||||
* conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be
|
||||
* included in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
@@ -82,8 +45,8 @@
|
||||
* - 42: IOT0_GPIO1 and SD Card Detect
|
||||
*/
|
||||
|
||||
gpioext1_pins: gpioext1_pins {
|
||||
pins {
|
||||
gpioext1_pins: gpioext1-state {
|
||||
gpioext1-pins {
|
||||
pins = "gpio2";
|
||||
function = "gpio";
|
||||
input-enable;
|
||||
@@ -91,8 +54,8 @@
|
||||
};
|
||||
};
|
||||
|
||||
sdc_cd_pins: sdc_cd_pins {
|
||||
pins {
|
||||
sdc_cd_pins: sdc-cd-state {
|
||||
sdc-cd-pins {
|
||||
pins = "gpio42";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
@@ -153,7 +116,7 @@
|
||||
#size-cells = <0>;
|
||||
reg = <4>;
|
||||
|
||||
gpioext0: gpio@3e {
|
||||
gpioext0: pinctrl@3e {
|
||||
/* GPIO Expander 0 Mapping :
|
||||
* - 0: ARDUINO_RESET_Level shift
|
||||
* - 1: BattChrgr_PG_N
|
||||
@@ -179,7 +142,7 @@
|
||||
interrupt-parent = <&gpioext1>;
|
||||
interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
|
||||
|
||||
probe-reset;
|
||||
semtech,probe-reset;
|
||||
|
||||
gpio-controller;
|
||||
interrupt-controller;
|
||||
@@ -191,7 +154,7 @@
|
||||
#size-cells = <0>;
|
||||
reg = <5>;
|
||||
|
||||
gpioext1: gpio@3f {
|
||||
gpioext1: pinctrl@3f {
|
||||
/* GPIO Expander 1 Mapping :
|
||||
* - 0: GPIOEXP_INT1
|
||||
* - 1: Battery detect
|
||||
@@ -220,7 +183,7 @@
|
||||
interrupt-parent = <&msmgpio>;
|
||||
interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
|
||||
|
||||
probe-reset;
|
||||
semtech,probe-reset;
|
||||
|
||||
gpio-controller;
|
||||
interrupt-controller;
|
||||
@@ -232,7 +195,7 @@
|
||||
#size-cells = <0>;
|
||||
reg = <6>;
|
||||
|
||||
gpioext2: gpio@70 {
|
||||
gpioext2: pinctrl@70 {
|
||||
/* GPIO Expander 2 Mapping :
|
||||
* - 0: USB_HUB_INTn
|
||||
* - 1: HUB_CONNECT
|
||||
@@ -258,7 +221,7 @@
|
||||
interrupt-parent = <&gpioext1>;
|
||||
interrupts = <14 IRQ_TYPE_EDGE_FALLING>;
|
||||
|
||||
probe-reset;
|
||||
semtech,probe-reset;
|
||||
|
||||
gpio-controller;
|
||||
interrupt-controller;
|
||||
|
@@ -1,46 +1,9 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+ OR MIT
|
||||
/*
|
||||
* Device Tree Source for Sierra Wireless WP8548 Module
|
||||
*
|
||||
* Copyright (C) 2016 BayLibre, SAS.
|
||||
* Author : Neil Armstrong <narmstrong@baylibre.com>
|
||||
*
|
||||
* This file is dual-licensed: you can use it either under the terms
|
||||
* of the GPL or the X11 license, at your option. Note that this dual
|
||||
* licensing only applies to this file, and not this project as a
|
||||
* whole.
|
||||
*
|
||||
* a) This file is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 2 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This file is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* Or, alternatively,
|
||||
*
|
||||
* b) Permission is hereby granted, free of charge, to any person
|
||||
* obtaining a copy of this software and associated documentation
|
||||
* files (the "Software"), to deal in the Software without
|
||||
* restriction, including without limitation the rights to use,
|
||||
* copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
* sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following
|
||||
* conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be
|
||||
* included in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "qcom-mdm9615.dtsi"
|
||||
@@ -59,8 +22,8 @@
|
||||
pinctrl-0 = <&reset_out_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
gsbi3_pins: gsbi3_pins {
|
||||
mux {
|
||||
gsbi3_pins: gsbi3-state {
|
||||
gsbi3-pins {
|
||||
pins = "gpio8", "gpio9", "gpio10", "gpio11";
|
||||
function = "gsbi3";
|
||||
drive-strength = <8>;
|
||||
@@ -68,8 +31,8 @@
|
||||
};
|
||||
};
|
||||
|
||||
gsbi4_pins: gsbi4_pins {
|
||||
mux {
|
||||
gsbi4_pins: gsbi4-state {
|
||||
gsbi4-pins {
|
||||
pins = "gpio12", "gpio13", "gpio14", "gpio15";
|
||||
function = "gsbi4";
|
||||
drive-strength = <8>;
|
||||
@@ -77,15 +40,15 @@
|
||||
};
|
||||
};
|
||||
|
||||
gsbi5_i2c_pins: gsbi5_i2c_pins {
|
||||
pin16 {
|
||||
gsbi5_i2c_pins: gsbi5-i2c-state {
|
||||
sda-pins {
|
||||
pins = "gpio16";
|
||||
function = "gsbi5_i2c";
|
||||
drive-strength = <8>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
pin17 {
|
||||
scl-pins {
|
||||
pins = "gpio17";
|
||||
function = "gsbi5_i2c";
|
||||
drive-strength = <2>;
|
||||
@@ -93,8 +56,8 @@
|
||||
};
|
||||
};
|
||||
|
||||
gsbi5_uart_pins: gsbi5_uart_pins {
|
||||
mux {
|
||||
gsbi5_uart_pins: gsbi5-uart-state {
|
||||
gsbi5-uart-pins {
|
||||
pins = "gpio18", "gpio19";
|
||||
function = "gsbi5_uart";
|
||||
drive-strength = <8>;
|
||||
@@ -102,8 +65,8 @@
|
||||
};
|
||||
};
|
||||
|
||||
reset_out_pins: reset_out_pins {
|
||||
pins {
|
||||
reset_out_pins: reset-out-state {
|
||||
reset-out-pins {
|
||||
pins = "gpio66";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
|
@@ -1,46 +1,9 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+ OR MIT
|
||||
/*
|
||||
* Device Tree Source for Qualcomm MDM9615 SoC
|
||||
*
|
||||
* Copyright (C) 2016 BayLibre, SAS.
|
||||
* Author : Neil Armstrong <narmstrong@baylibre.com>
|
||||
*
|
||||
* This file is dual-licensed: you can use it either under the terms
|
||||
* of the GPL or the X11 license, at your option. Note that this dual
|
||||
* licensing only applies to this file, and not this project as a
|
||||
* whole.
|
||||
*
|
||||
* a) This file is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 2 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This file is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* Or, alternatively,
|
||||
*
|
||||
* b) Permission is hereby granted, free of charge, to any person
|
||||
* obtaining a copy of this software and associated documentation
|
||||
* files (the "Software"), to deal in the Software without
|
||||
* restriction, including without limitation the rights to use,
|
||||
* copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
* sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following
|
||||
* conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be
|
||||
* included in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
@@ -64,6 +27,7 @@
|
||||
|
||||
cpu0: cpu@0 {
|
||||
compatible = "arm,cortex-a5";
|
||||
reg = <0>;
|
||||
device_type = "cpu";
|
||||
next-level-cache = <&L2>;
|
||||
};
|
||||
@@ -206,7 +170,6 @@
|
||||
#size-cells = <0>;
|
||||
reg = <0x16280000 0x1000>;
|
||||
interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
|
||||
spi-max-frequency = <24000000>;
|
||||
|
||||
clocks = <&gcc GSBI3_QUP_CLK>, <&gcc GSBI3_H_CLK>;
|
||||
clock-names = "core", "iface";
|
||||
@@ -283,7 +246,7 @@
|
||||
reg = <0x500000 0x1000>;
|
||||
qcom,controller-type = "pmic-arbiter";
|
||||
|
||||
pmicintc: pmic@0 {
|
||||
pmicintc: pmic {
|
||||
compatible = "qcom,pm8018", "qcom,pm8921";
|
||||
interrupts = <GIC_PPI 226 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#interrupt-cells = <2>;
|
||||
@@ -351,51 +314,43 @@
|
||||
qcom,ee = <0>;
|
||||
};
|
||||
|
||||
amba {
|
||||
compatible = "simple-bus";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
sdcc1: mmc@12180000 {
|
||||
status = "disabled";
|
||||
compatible = "arm,pl18x", "arm,primecell";
|
||||
arm,primecell-periphid = <0x00051180>;
|
||||
reg = <0x12180000 0x2000>;
|
||||
interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "cmd_irq";
|
||||
clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
|
||||
clock-names = "mclk", "apb_pclk";
|
||||
bus-width = <8>;
|
||||
max-frequency = <48000000>;
|
||||
cap-sd-highspeed;
|
||||
cap-mmc-highspeed;
|
||||
vmmc-supply = <&vsdcc_fixed>;
|
||||
dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
|
||||
dma-names = "tx", "rx";
|
||||
assigned-clocks = <&gcc SDC1_CLK>;
|
||||
assigned-clock-rates = <400000>;
|
||||
};
|
||||
sdcc1: mmc@12180000 {
|
||||
status = "disabled";
|
||||
compatible = "arm,pl18x", "arm,primecell";
|
||||
arm,primecell-periphid = <0x00051180>;
|
||||
reg = <0x12180000 0x2000>;
|
||||
interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
|
||||
clock-names = "mclk", "apb_pclk";
|
||||
bus-width = <8>;
|
||||
max-frequency = <48000000>;
|
||||
cap-sd-highspeed;
|
||||
cap-mmc-highspeed;
|
||||
vmmc-supply = <&vsdcc_fixed>;
|
||||
dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
|
||||
dma-names = "tx", "rx";
|
||||
assigned-clocks = <&gcc SDC1_CLK>;
|
||||
assigned-clock-rates = <400000>;
|
||||
};
|
||||
|
||||
sdcc2: mmc@12140000 {
|
||||
compatible = "arm,pl18x", "arm,primecell";
|
||||
arm,primecell-periphid = <0x00051180>;
|
||||
status = "disabled";
|
||||
reg = <0x12140000 0x2000>;
|
||||
interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "cmd_irq";
|
||||
clocks = <&gcc SDC2_CLK>, <&gcc SDC2_H_CLK>;
|
||||
clock-names = "mclk", "apb_pclk";
|
||||
bus-width = <4>;
|
||||
cap-sd-highspeed;
|
||||
cap-mmc-highspeed;
|
||||
max-frequency = <48000000>;
|
||||
no-1-8-v;
|
||||
vmmc-supply = <&vsdcc_fixed>;
|
||||
dmas = <&sdcc2bam 2>, <&sdcc2bam 1>;
|
||||
dma-names = "tx", "rx";
|
||||
assigned-clocks = <&gcc SDC2_CLK>;
|
||||
assigned-clock-rates = <400000>;
|
||||
};
|
||||
sdcc2: mmc@12140000 {
|
||||
compatible = "arm,pl18x", "arm,primecell";
|
||||
arm,primecell-periphid = <0x00051180>;
|
||||
status = "disabled";
|
||||
reg = <0x12140000 0x2000>;
|
||||
interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&gcc SDC2_CLK>, <&gcc SDC2_H_CLK>;
|
||||
clock-names = "mclk", "apb_pclk";
|
||||
bus-width = <4>;
|
||||
cap-sd-highspeed;
|
||||
cap-mmc-highspeed;
|
||||
max-frequency = <48000000>;
|
||||
no-1-8-v;
|
||||
vmmc-supply = <&vsdcc_fixed>;
|
||||
dmas = <&sdcc2bam 2>, <&sdcc2bam 1>;
|
||||
dma-names = "tx", "rx";
|
||||
assigned-clocks = <&gcc SDC2_CLK>;
|
||||
assigned-clock-rates = <400000>;
|
||||
};
|
||||
|
||||
tcsr: syscon@1a400000 {
|
||||
|
@@ -8,6 +8,7 @@
|
||||
/ {
|
||||
model = "Samsung Galaxy S III Neo";
|
||||
compatible = "samsung,s3ve3g", "qcom,msm8226";
|
||||
chassis-type = "handset";
|
||||
|
||||
aliases {
|
||||
serial0 = &blsp1_uart3;
|
||||
|
@@ -7,6 +7,7 @@
|
||||
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
#include <dt-bindings/clock/qcom,gcc-msm8974.h>
|
||||
#include <dt-bindings/clock/qcom,mmcc-msm8974.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/power/qcom-rpmpd.h>
|
||||
#include <dt-bindings/reset/qcom,gcc-msm8974.h>
|
||||
@@ -298,6 +299,33 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
cci: cci@fda0c000 {
|
||||
compatible = "qcom,msm8226-cci";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0xfda0c000 0x1000>;
|
||||
interrupts = <GIC_SPI 50 IRQ_TYPE_EDGE_RISING>;
|
||||
clocks = <&mmcc CAMSS_TOP_AHB_CLK>,
|
||||
<&mmcc CAMSS_CCI_CCI_AHB_CLK>,
|
||||
<&mmcc CAMSS_CCI_CCI_CLK>;
|
||||
clock-names = "camss_top_ahb",
|
||||
"cci_ahb",
|
||||
"cci";
|
||||
|
||||
pinctrl-names = "default", "sleep";
|
||||
pinctrl-0 = <&cci_default>;
|
||||
pinctrl-1 = <&cci_sleep>;
|
||||
|
||||
status = "disabled";
|
||||
|
||||
cci_i2c0: i2c-bus@0 {
|
||||
reg = <0>;
|
||||
clock-frequency = <400000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
usb: usb@f9a55000 {
|
||||
compatible = "qcom,ci-hdrc";
|
||||
reg = <0xf9a55000 0x200>,
|
||||
@@ -344,6 +372,14 @@
|
||||
#power-domain-cells = <1>;
|
||||
};
|
||||
|
||||
mmcc: clock-controller@fd8c0000 {
|
||||
compatible = "qcom,mmcc-msm8226";
|
||||
reg = <0xfd8c0000 0x6000>;
|
||||
#clock-cells = <1>;
|
||||
#reset-cells = <1>;
|
||||
#power-domain-cells = <1>;
|
||||
};
|
||||
|
||||
tlmm: pinctrl@fd510000 {
|
||||
compatible = "qcom,msm8226-pinctrl";
|
||||
reg = <0xfd510000 0x4000>;
|
||||
@@ -354,49 +390,65 @@
|
||||
#interrupt-cells = <2>;
|
||||
interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
|
||||
|
||||
blsp1_i2c1_pins: blsp1-i2c1 {
|
||||
blsp1_i2c1_pins: blsp1-i2c1-state {
|
||||
pins = "gpio2", "gpio3";
|
||||
function = "blsp_i2c1";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp1_i2c2_pins: blsp1-i2c2 {
|
||||
blsp1_i2c2_pins: blsp1-i2c2-state {
|
||||
pins = "gpio6", "gpio7";
|
||||
function = "blsp_i2c2";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp1_i2c3_pins: blsp1-i2c3 {
|
||||
blsp1_i2c3_pins: blsp1-i2c3-state {
|
||||
pins = "gpio10", "gpio11";
|
||||
function = "blsp_i2c3";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp1_i2c4_pins: blsp1-i2c4 {
|
||||
blsp1_i2c4_pins: blsp1-i2c4-state {
|
||||
pins = "gpio14", "gpio15";
|
||||
function = "blsp_i2c4";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp1_i2c5_pins: blsp1-i2c5 {
|
||||
blsp1_i2c5_pins: blsp1-i2c5-state {
|
||||
pins = "gpio18", "gpio19";
|
||||
function = "blsp_i2c5";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cci_default: cci-default-state {
|
||||
pins = "gpio29", "gpio30";
|
||||
function = "cci_i2c0";
|
||||
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cci_sleep: cci-sleep-state {
|
||||
pins = "gpio29", "gpio30";
|
||||
function = "gpio";
|
||||
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
sdhc1_default_state: sdhc1-default-state {
|
||||
clk {
|
||||
clk-pins {
|
||||
pins = "sdc1_clk";
|
||||
drive-strength = <10>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cmd-data {
|
||||
cmd-data-pins {
|
||||
pins = "sdc1_cmd", "sdc1_data";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
@@ -404,13 +456,13 @@
|
||||
};
|
||||
|
||||
sdhc2_default_state: sdhc2-default-state {
|
||||
clk {
|
||||
clk-pins {
|
||||
pins = "sdc2_clk";
|
||||
drive-strength = <10>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cmd-data {
|
||||
cmd-data-pins {
|
||||
pins = "sdc2_cmd", "sdc2_data";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
@@ -418,21 +470,21 @@
|
||||
};
|
||||
|
||||
sdhc3_default_state: sdhc3-default-state {
|
||||
clk {
|
||||
clk-pins {
|
||||
pins = "gpio44";
|
||||
function = "sdc3";
|
||||
drive-strength = <8>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cmd {
|
||||
cmd-pins {
|
||||
pins = "gpio43";
|
||||
function = "sdc3";
|
||||
drive-strength = <8>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
data {
|
||||
data-pins {
|
||||
pins = "gpio39", "gpio40", "gpio41", "gpio42";
|
||||
function = "sdc3";
|
||||
drive-strength = <8>;
|
||||
@@ -527,7 +579,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
rpm_msg_ram: memory@fc428000 {
|
||||
rpm_msg_ram: sram@fc428000 {
|
||||
compatible = "qcom,rpm-msg-ram";
|
||||
reg = <0xfc428000 0x4000>;
|
||||
};
|
||||
|
@@ -316,7 +316,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
external-bus@1a100000 {
|
||||
ebi2: external-bus@1a100000 {
|
||||
compatible = "qcom,msm8660-ebi2";
|
||||
#address-cells = <2>;
|
||||
#size-cells = <1>;
|
||||
@@ -333,12 +333,12 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
qcom,ssbi@500000 {
|
||||
ssbi@500000 {
|
||||
compatible = "qcom,ssbi";
|
||||
reg = <0x500000 0x1000>;
|
||||
qcom,controller-type = "pmic-arbiter";
|
||||
|
||||
pm8058: pmic@0 {
|
||||
pm8058: pmic {
|
||||
compatible = "qcom,pm8058";
|
||||
interrupt-parent = <&tlmm>;
|
||||
interrupts = <88 8>;
|
||||
@@ -379,7 +379,7 @@
|
||||
pull-up;
|
||||
};
|
||||
|
||||
keypad@148 {
|
||||
pm8058_keypad: keypad@148 {
|
||||
compatible = "qcom,pm8058-keypad";
|
||||
reg = <0x148>;
|
||||
interrupt-parent = <&pm8058>;
|
||||
@@ -444,6 +444,31 @@
|
||||
compatible = "qcom,pm8058-vib";
|
||||
reg = <0x4a>;
|
||||
};
|
||||
|
||||
pm8058_led48: led@48 {
|
||||
compatible = "qcom,pm8058-keypad-led";
|
||||
reg = <0x48>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pm8058_led131: led@131 {
|
||||
compatible = "qcom,pm8058-led";
|
||||
reg = <0x131>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pm8058_led132: led@132 {
|
||||
compatible = "qcom,pm8058-led";
|
||||
reg = <0x132>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pm8058_led133: led@133 {
|
||||
compatible = "qcom,pm8058-led";
|
||||
reg = <0x133>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
@@ -471,7 +496,7 @@
|
||||
clock-names = "pxo";
|
||||
};
|
||||
|
||||
pm8901-regulators {
|
||||
regulators-0 {
|
||||
compatible = "qcom,rpm-pm8901-regulators";
|
||||
|
||||
pm8901_l0: l0 {};
|
||||
@@ -495,7 +520,7 @@
|
||||
pm8901_mvs: mvs {};
|
||||
};
|
||||
|
||||
pm8058-regulators {
|
||||
regulators-1 {
|
||||
compatible = "qcom,rpm-pm8058-regulators";
|
||||
|
||||
pm8058_l0: l0 {};
|
||||
@@ -549,7 +574,6 @@
|
||||
arm,primecell-periphid = <0x00051180>;
|
||||
reg = <0x12400000 0x8000>;
|
||||
interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "cmd_irq";
|
||||
clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
|
||||
clock-names = "mclk", "apb_pclk";
|
||||
bus-width = <8>;
|
||||
@@ -565,7 +589,6 @@
|
||||
arm,primecell-periphid = <0x00051180>;
|
||||
reg = <0x12140000 0x8000>;
|
||||
interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "cmd_irq";
|
||||
clocks = <&gcc SDC2_CLK>, <&gcc SDC2_H_CLK>;
|
||||
clock-names = "mclk", "apb_pclk";
|
||||
bus-width = <8>;
|
||||
@@ -580,7 +603,6 @@
|
||||
status = "disabled";
|
||||
reg = <0x12180000 0x8000>;
|
||||
interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "cmd_irq";
|
||||
clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
|
||||
clock-names = "mclk", "apb_pclk";
|
||||
bus-width = <4>;
|
||||
@@ -596,7 +618,6 @@
|
||||
status = "disabled";
|
||||
reg = <0x121c0000 0x8000>;
|
||||
interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "cmd_irq";
|
||||
clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
|
||||
clock-names = "mclk", "apb_pclk";
|
||||
bus-width = <4>;
|
||||
@@ -611,7 +632,6 @@
|
||||
status = "disabled";
|
||||
reg = <0x12200000 0x8000>;
|
||||
interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "cmd_irq";
|
||||
clocks = <&gcc SDC5_CLK>, <&gcc SDC5_H_CLK>;
|
||||
clock-names = "mclk", "apb_pclk";
|
||||
bus-width = <4>;
|
||||
|
@@ -18,7 +18,7 @@
|
||||
regulators {
|
||||
compatible = "simple-bus";
|
||||
|
||||
ext_l2: gpio-regulator@91 {
|
||||
ext_l2: gpio-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "ext_l2";
|
||||
gpio = <&msmgpio 91 0>;
|
||||
@@ -42,7 +42,7 @@
|
||||
compatible = "micrel,ks8851";
|
||||
reg = <0>;
|
||||
interrupt-parent = <&msmgpio>;
|
||||
interrupts = <90 8>;
|
||||
interrupts = <90 IRQ_TYPE_LEVEL_LOW>;
|
||||
spi-max-frequency = <5400000>;
|
||||
vdd-supply = <&ext_l2>;
|
||||
vdd-io-supply = <&pm8921_lvs6>;
|
||||
@@ -60,33 +60,32 @@
|
||||
};
|
||||
|
||||
&msmgpio {
|
||||
spi1_default: spi1_default {
|
||||
mux {
|
||||
pins = "gpio6", "gpio7", "gpio9";
|
||||
function = "gsbi1";
|
||||
};
|
||||
|
||||
mosi {
|
||||
spi1_default: spi1-default-state {
|
||||
mosi-pins {
|
||||
pins = "gpio6";
|
||||
function = "gsbi1";
|
||||
drive-strength = <12>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
miso {
|
||||
miso-pins {
|
||||
pins = "gpio7";
|
||||
function = "gsbi1";
|
||||
drive-strength = <12>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cs {
|
||||
cs-pins {
|
||||
pins = "gpio8";
|
||||
function = "gsbi1";
|
||||
drive-strength = <12>;
|
||||
bias-disable;
|
||||
output-low;
|
||||
};
|
||||
|
||||
clk {
|
||||
clk-pins {
|
||||
pins = "gpio9";
|
||||
function = "gsbi1";
|
||||
drive-strength = <12>;
|
||||
bias-disable;
|
||||
};
|
||||
|
@@ -17,7 +17,7 @@
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
interrupts = <1 14 0x304>;
|
||||
interrupts = <GIC_PPI 14 0x304>;
|
||||
|
||||
cpu@0 {
|
||||
compatible = "qcom,krait";
|
||||
@@ -52,7 +52,7 @@
|
||||
|
||||
cpu-pmu {
|
||||
compatible = "qcom,krait-pmu";
|
||||
interrupts = <1 10 0x304>;
|
||||
interrupts = <GIC_PPI 10 0x304>;
|
||||
qcom,no-pc-write;
|
||||
};
|
||||
|
||||
@@ -105,9 +105,9 @@
|
||||
timer@200a000 {
|
||||
compatible = "qcom,kpss-timer",
|
||||
"qcom,kpss-wdt-msm8960", "qcom,msm-timer";
|
||||
interrupts = <1 1 0x301>,
|
||||
<1 2 0x301>,
|
||||
<1 3 0x301>;
|
||||
interrupts = <GIC_PPI 1 0x301>,
|
||||
<GIC_PPI 2 0x301>,
|
||||
<GIC_PPI 3 0x301>;
|
||||
reg = <0x0200a000 0x100>;
|
||||
clock-frequency = <27000000>,
|
||||
<32768>;
|
||||
@@ -119,7 +119,7 @@
|
||||
gpio-controller;
|
||||
gpio-ranges = <&msmgpio 0 0 152>;
|
||||
#gpio-cells = <2>;
|
||||
interrupts = <0 16 0x4>;
|
||||
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
reg = <0x800000 0x4000>;
|
||||
@@ -247,15 +247,15 @@
|
||||
};
|
||||
};
|
||||
|
||||
qcom,ssbi@500000 {
|
||||
ssbi@500000 {
|
||||
compatible = "qcom,ssbi";
|
||||
reg = <0x500000 0x1000>;
|
||||
qcom,controller-type = "pmic-arbiter";
|
||||
|
||||
pmicintc: pmic@0 {
|
||||
pmicintc: pmic {
|
||||
compatible = "qcom,pm8921";
|
||||
interrupt-parent = <&msmgpio>;
|
||||
interrupts = <104 8>;
|
||||
interrupts = <104 IRQ_TYPE_LEVEL_LOW>;
|
||||
#interrupt-cells = <2>;
|
||||
interrupt-controller;
|
||||
#address-cells = <1>;
|
||||
@@ -265,7 +265,8 @@
|
||||
compatible = "qcom,pm8921-pwrkey";
|
||||
reg = <0x1c>;
|
||||
interrupt-parent = <&pmicintc>;
|
||||
interrupts = <50 1>, <51 1>;
|
||||
interrupts = <50 IRQ_TYPE_EDGE_RISING>,
|
||||
<51 IRQ_TYPE_EDGE_RISING>;
|
||||
debounce = <15625>;
|
||||
pull-up;
|
||||
};
|
||||
@@ -274,7 +275,8 @@
|
||||
compatible = "qcom,pm8921-keypad";
|
||||
reg = <0x148>;
|
||||
interrupt-parent = <&pmicintc>;
|
||||
interrupts = <74 1>, <75 1>;
|
||||
interrupts = <74 IRQ_TYPE_EDGE_RISING>,
|
||||
<75 IRQ_TYPE_EDGE_RISING>;
|
||||
debounce = <15>;
|
||||
scan-delay = <32>;
|
||||
row-hold = <91500>;
|
||||
@@ -283,7 +285,7 @@
|
||||
rtc@11d {
|
||||
compatible = "qcom,pm8921-rtc";
|
||||
interrupt-parent = <&pmicintc>;
|
||||
interrupts = <39 1>;
|
||||
interrupts = <39 IRQ_TYPE_EDGE_RISING>;
|
||||
reg = <0x11d>;
|
||||
allow-set-time;
|
||||
};
|
||||
@@ -297,44 +299,36 @@
|
||||
clock-names = "core";
|
||||
};
|
||||
|
||||
amba {
|
||||
compatible = "simple-bus";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
sdcc1: mmc@12400000 {
|
||||
status = "disabled";
|
||||
compatible = "arm,pl18x", "arm,primecell";
|
||||
arm,primecell-periphid = <0x00051180>;
|
||||
reg = <0x12400000 0x8000>;
|
||||
interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "cmd_irq";
|
||||
clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
|
||||
clock-names = "mclk", "apb_pclk";
|
||||
bus-width = <8>;
|
||||
max-frequency = <96000000>;
|
||||
non-removable;
|
||||
cap-sd-highspeed;
|
||||
cap-mmc-highspeed;
|
||||
vmmc-supply = <&vsdcc_fixed>;
|
||||
};
|
||||
sdcc3: mmc@12180000 {
|
||||
compatible = "arm,pl18x", "arm,primecell";
|
||||
arm,primecell-periphid = <0x00051180>;
|
||||
status = "disabled";
|
||||
reg = <0x12180000 0x8000>;
|
||||
interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
|
||||
clock-names = "mclk", "apb_pclk";
|
||||
bus-width = <4>;
|
||||
cap-sd-highspeed;
|
||||
cap-mmc-highspeed;
|
||||
max-frequency = <192000000>;
|
||||
no-1-8-v;
|
||||
vmmc-supply = <&vsdcc_fixed>;
|
||||
};
|
||||
|
||||
sdcc3: mmc@12180000 {
|
||||
compatible = "arm,pl18x", "arm,primecell";
|
||||
arm,primecell-periphid = <0x00051180>;
|
||||
status = "disabled";
|
||||
reg = <0x12180000 0x8000>;
|
||||
interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "cmd_irq";
|
||||
clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
|
||||
clock-names = "mclk", "apb_pclk";
|
||||
bus-width = <4>;
|
||||
cap-sd-highspeed;
|
||||
cap-mmc-highspeed;
|
||||
max-frequency = <192000000>;
|
||||
no-1-8-v;
|
||||
vmmc-supply = <&vsdcc_fixed>;
|
||||
};
|
||||
sdcc1: mmc@12400000 {
|
||||
status = "disabled";
|
||||
compatible = "arm,pl18x", "arm,primecell";
|
||||
arm,primecell-periphid = <0x00051180>;
|
||||
reg = <0x12400000 0x8000>;
|
||||
interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
|
||||
clock-names = "mclk", "apb_pclk";
|
||||
bus-width = <8>;
|
||||
max-frequency = <96000000>;
|
||||
non-removable;
|
||||
cap-sd-highspeed;
|
||||
cap-mmc-highspeed;
|
||||
vmmc-supply = <&vsdcc_fixed>;
|
||||
};
|
||||
|
||||
tcsr: syscon@1a400000 {
|
||||
|
@@ -9,6 +9,7 @@
|
||||
/ {
|
||||
model = "LGE MSM 8974 HAMMERHEAD";
|
||||
compatible = "lge,hammerhead", "qcom,msm8974";
|
||||
chassis-type = "handset";
|
||||
|
||||
aliases {
|
||||
serial0 = &blsp1_uart1;
|
||||
@@ -247,31 +248,6 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
|
||||
phys = <&usb_hs1_phy>;
|
||||
phy-select = <&tcsr 0xb000 0>;
|
||||
|
||||
extcon = <&charger>, <&usb_id>;
|
||||
vbus-supply = <&usb_otg_vbus>;
|
||||
|
||||
hnp-disable;
|
||||
srp-disable;
|
||||
adp-disable;
|
||||
|
||||
ulpi {
|
||||
phy@a {
|
||||
status = "okay";
|
||||
|
||||
v1p8-supply = <&pm8941_l6>;
|
||||
v3p3-supply = <&pm8941_l24>;
|
||||
|
||||
qcom,init-seq = /bits/ 8 <0x1 0x64>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pm8941_gpios {
|
||||
gpio_keys_pin_a: gpio-keys-active-state {
|
||||
pins = "gpio2", "gpio3";
|
||||
@@ -344,7 +320,7 @@
|
||||
};
|
||||
|
||||
&rpm_requests {
|
||||
pm8841-regulators {
|
||||
regulators-0 {
|
||||
compatible = "qcom,rpm-pm8841-regulators";
|
||||
|
||||
pm8841_s1: s1 {
|
||||
@@ -368,7 +344,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
pm8941-regulators {
|
||||
regulators-1 {
|
||||
compatible = "qcom,rpm-pm8941-regulators";
|
||||
|
||||
vdd_l1_l3-supply = <&pm8941_s1>;
|
||||
@@ -573,43 +549,43 @@
|
||||
};
|
||||
|
||||
&tlmm {
|
||||
sdc1_on: sdc1-on {
|
||||
clk {
|
||||
sdc1_on: sdc1-on-state {
|
||||
clk-pins {
|
||||
pins = "sdc1_clk";
|
||||
drive-strength = <16>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cmd-data {
|
||||
cmd-data-pins {
|
||||
pins = "sdc1_cmd", "sdc1_data";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
sdc2_on: sdc2-on {
|
||||
clk {
|
||||
sdc2_on: sdc2-on-state {
|
||||
clk-pins {
|
||||
pins = "sdc2_clk";
|
||||
drive-strength = <6>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cmd-data {
|
||||
cmd-data-pins {
|
||||
pins = "sdc2_cmd", "sdc2_data";
|
||||
drive-strength = <6>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
mpu6515_pin: mpu6515 {
|
||||
mpu6515_pin: mpu6515-state {
|
||||
pins = "gpio73";
|
||||
function = "gpio";
|
||||
bias-disable;
|
||||
input-enable;
|
||||
};
|
||||
|
||||
touch_pin: touch {
|
||||
int {
|
||||
touch_pin: touch-state {
|
||||
int-pins {
|
||||
pins = "gpio5";
|
||||
function = "gpio";
|
||||
|
||||
@@ -618,7 +594,7 @@
|
||||
input-enable;
|
||||
};
|
||||
|
||||
reset {
|
||||
reset-pins {
|
||||
pins = "gpio8";
|
||||
function = "gpio";
|
||||
|
||||
@@ -627,27 +603,50 @@
|
||||
};
|
||||
};
|
||||
|
||||
panel_pin: panel {
|
||||
panel_pin: panel-state {
|
||||
pins = "gpio12";
|
||||
function = "mdp_vsync";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
bt_pin: bt {
|
||||
hostwake {
|
||||
bt_pin: bt-state {
|
||||
hostwake-pins {
|
||||
pins = "gpio42";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
devwake {
|
||||
devwake-pins {
|
||||
pins = "gpio62";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
shutdown {
|
||||
shutdown-pins {
|
||||
pins = "gpio41";
|
||||
function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&usb {
|
||||
status = "okay";
|
||||
|
||||
phys = <&usb_hs1_phy>;
|
||||
phy-select = <&tcsr 0xb000 0>;
|
||||
|
||||
extcon = <&charger>, <&usb_id>;
|
||||
vbus-supply = <&usb_otg_vbus>;
|
||||
|
||||
hnp-disable;
|
||||
srp-disable;
|
||||
adp-disable;
|
||||
};
|
||||
|
||||
&usb_hs1_phy {
|
||||
status = "okay";
|
||||
|
||||
v1p8-supply = <&pm8941_l6>;
|
||||
v3p3-supply = <&pm8941_l24>;
|
||||
|
||||
qcom,init-seq = /bits/ 8 <0x1 0x64>;
|
||||
};
|
||||
|
@@ -4,6 +4,7 @@
|
||||
/ {
|
||||
model = "Sony Xperia Z1 Compact";
|
||||
compatible = "sony,xperia-amami", "qcom,msm8974";
|
||||
chassis-type = "handset";
|
||||
};
|
||||
|
||||
&smbb {
|
||||
|
@@ -4,4 +4,5 @@
|
||||
/ {
|
||||
model = "Sony Xperia Z1";
|
||||
compatible = "sony,xperia-honami", "qcom,msm8974";
|
||||
chassis-type = "handset";
|
||||
};
|
||||
|
@@ -132,31 +132,6 @@
|
||||
/* sii8334 MHL HDMI bridge */
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
|
||||
phys = <&usb_hs1_phy>;
|
||||
phy-select = <&tcsr 0xb000 0>;
|
||||
extcon = <&smbb>, <&usb_id>;
|
||||
vbus-supply = <&chg_otg>;
|
||||
|
||||
hnp-disable;
|
||||
srp-disable;
|
||||
adp-disable;
|
||||
|
||||
ulpi {
|
||||
phy@a {
|
||||
status = "okay";
|
||||
|
||||
v1p8-supply = <&pm8941_l6>;
|
||||
v3p3-supply = <&pm8941_l24>;
|
||||
|
||||
extcon = <&smbb>;
|
||||
qcom,init-seq = /bits/ 8 <0x1 0x64>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pm8941_coincell {
|
||||
status = "okay";
|
||||
qcom,rset-ohms = <2100>;
|
||||
@@ -178,7 +153,7 @@
|
||||
|
||||
qcom,power-source = <1>;
|
||||
|
||||
rgb-led {
|
||||
multi-led {
|
||||
color = <LED_COLOR_ID_RGB>;
|
||||
function = LED_FUNCTION_STATUS;
|
||||
|
||||
@@ -214,7 +189,7 @@
|
||||
};
|
||||
|
||||
&rpm_requests {
|
||||
pm8841-regulators {
|
||||
regulators-0 {
|
||||
compatible = "qcom,rpm-pm8841-regulators";
|
||||
|
||||
pm8841_s1: s1 {
|
||||
@@ -238,7 +213,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
pm8941-regulators {
|
||||
regulators-1 {
|
||||
compatible = "qcom,rpm-pm8941-regulators";
|
||||
|
||||
vdd_l1_l3-supply = <&pm8941_s1>;
|
||||
@@ -442,7 +417,7 @@
|
||||
};
|
||||
|
||||
&tlmm {
|
||||
ts_int_pin: touch-int {
|
||||
ts_int_pin: touch-int-state {
|
||||
pins = "gpio61";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
@@ -450,34 +425,34 @@
|
||||
input-enable;
|
||||
};
|
||||
|
||||
sdc1_on: sdc1-on {
|
||||
clk {
|
||||
sdc1_on: sdc1-on-state {
|
||||
clk-pins {
|
||||
pins = "sdc1_clk";
|
||||
drive-strength = <16>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cmd-data {
|
||||
cmd-data-pins {
|
||||
pins = "sdc1_cmd", "sdc1_data";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
sdc2_on: sdc-on {
|
||||
clk {
|
||||
sdc2_on: sdc-on-state {
|
||||
clk-pins {
|
||||
pins = "sdc2_clk";
|
||||
drive-strength = <10>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cmd-data {
|
||||
cmd-data-pins {
|
||||
pins = "sdc2_cmd", "sdc2_data";
|
||||
drive-strength = <6>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
cd {
|
||||
cd-pins {
|
||||
pins = "gpio62";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
@@ -485,3 +460,26 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&usb {
|
||||
status = "okay";
|
||||
|
||||
phys = <&usb_hs1_phy>;
|
||||
phy-select = <&tcsr 0xb000 0>;
|
||||
extcon = <&smbb>, <&usb_id>;
|
||||
vbus-supply = <&chg_otg>;
|
||||
|
||||
hnp-disable;
|
||||
srp-disable;
|
||||
adp-disable;
|
||||
};
|
||||
|
||||
&usb_hs1_phy {
|
||||
status = "okay";
|
||||
|
||||
v1p8-supply = <&pm8941_l6>;
|
||||
v3p3-supply = <&pm8941_l24>;
|
||||
|
||||
extcon = <&smbb>;
|
||||
qcom,init-seq = /bits/ 8 <0x1 0x64>;
|
||||
};
|
||||
|
@@ -653,7 +653,7 @@
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
otg: usb@f9a55000 {
|
||||
usb: usb@f9a55000 {
|
||||
compatible = "qcom,ci-hdrc";
|
||||
reg = <0xf9a55000 0x200>,
|
||||
<0xf9a55200 0x200>;
|
||||
@@ -679,7 +679,7 @@
|
||||
#phy-cells = <0>;
|
||||
clocks = <&xo_board>, <&gcc GCC_USB2A_PHY_SLEEP_CLK>;
|
||||
clock-names = "ref", "sleep";
|
||||
resets = <&gcc GCC_USB2A_PHY_BCR>, <&otg 0>;
|
||||
resets = <&gcc GCC_USB2A_PHY_BCR>, <&usb 0>;
|
||||
reset-names = "phy", "por";
|
||||
status = "disabled";
|
||||
};
|
||||
@@ -690,7 +690,7 @@
|
||||
#phy-cells = <0>;
|
||||
clocks = <&xo_board>, <&gcc GCC_USB2B_PHY_SLEEP_CLK>;
|
||||
clock-names = "ref", "sleep";
|
||||
resets = <&gcc GCC_USB2B_PHY_BCR>, <&otg 1>;
|
||||
resets = <&gcc GCC_USB2B_PHY_BCR>, <&usb 1>;
|
||||
reset-names = "phy", "por";
|
||||
status = "disabled";
|
||||
};
|
||||
@@ -1056,7 +1056,7 @@
|
||||
reg = <0xfc400000 0x4000>;
|
||||
};
|
||||
|
||||
rpm_msg_ram: memory@fc428000 {
|
||||
rpm_msg_ram: sram@fc428000 {
|
||||
compatible = "qcom,rpm-msg-ram";
|
||||
reg = <0xfc428000 0x4000>;
|
||||
};
|
||||
@@ -1116,7 +1116,7 @@
|
||||
};
|
||||
|
||||
tsens: thermal-sensor@fc4a9000 {
|
||||
compatible = "qcom,msm8974-tsens";
|
||||
compatible = "qcom,msm8974-tsens", "qcom,tsens-v0_1";
|
||||
reg = <0xfc4a9000 0x1000>, /* TM */
|
||||
<0xfc4a8000 0x1000>; /* SROT */
|
||||
nvmem-cells = <&tsens_calib>, <&tsens_backup>;
|
||||
@@ -1194,7 +1194,7 @@
|
||||
resets = <&gcc GCC_MSS_RESTART>;
|
||||
reset-names = "mss_restart";
|
||||
|
||||
qcom,halt-regs = <&tcsr_mutex_block 0x1180 0x1200 0x1280>;
|
||||
qcom,halt-regs = <&tcsr_mutex 0x1180 0x1200 0x1280>;
|
||||
|
||||
qcom,smem-states = <&modem_smp2p_out 0>;
|
||||
qcom,smem-state-names = "stop";
|
||||
@@ -1233,13 +1233,14 @@
|
||||
};
|
||||
};
|
||||
|
||||
tcsr_mutex_block: syscon@fd484000 {
|
||||
compatible = "syscon";
|
||||
tcsr_mutex: hwlock@fd484000 {
|
||||
compatible = "qcom,msm8974-tcsr-mutex", "qcom,tcsr-mutex", "syscon";
|
||||
reg = <0xfd484000 0x2000>;
|
||||
#hwlock-cells = <1>;
|
||||
};
|
||||
|
||||
tcsr: syscon@fd4a0000 {
|
||||
compatible = "syscon";
|
||||
compatible = "qcom,tcsr-msm8974", "syscon";
|
||||
reg = <0xfd4a0000 0x10000>;
|
||||
};
|
||||
|
||||
@@ -1253,61 +1254,62 @@
|
||||
#interrupt-cells = <2>;
|
||||
interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
|
||||
|
||||
sdc1_off: sdc1-off {
|
||||
clk {
|
||||
sdc1_off: sdc1-off-state {
|
||||
clk-pins {
|
||||
pins = "sdc1_clk";
|
||||
bias-disable;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
cmd {
|
||||
cmd-pins {
|
||||
pins = "sdc1_cmd";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
data {
|
||||
data-pins {
|
||||
pins = "sdc1_data";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
sdc2_off: sdc2-off {
|
||||
clk {
|
||||
sdc2_off: sdc2-off-state {
|
||||
clk-pins {
|
||||
pins = "sdc2_clk";
|
||||
bias-disable;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
cmd {
|
||||
cmd-pins {
|
||||
pins = "sdc2_cmd";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
data {
|
||||
data-pins {
|
||||
pins = "sdc2_data";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
cd {
|
||||
cd-pins {
|
||||
pins = "gpio54";
|
||||
function = "gpio";
|
||||
bias-disable;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
blsp1_uart2_default: blsp1-uart2-default {
|
||||
rx {
|
||||
blsp1_uart2_default: blsp1-uart2-default-state {
|
||||
rx-pins {
|
||||
pins = "gpio5";
|
||||
function = "blsp_uart2";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
tx {
|
||||
tx-pins {
|
||||
pins = "gpio4";
|
||||
function = "blsp_uart2";
|
||||
drive-strength = <4>;
|
||||
@@ -1315,15 +1317,15 @@
|
||||
};
|
||||
};
|
||||
|
||||
blsp2_uart1_default: blsp2-uart1-default {
|
||||
tx-rts {
|
||||
blsp2_uart1_default: blsp2-uart1-default-state {
|
||||
tx-rts-pins {
|
||||
pins = "gpio41", "gpio44";
|
||||
function = "blsp_uart7";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
rx-cts {
|
||||
rx-cts-pins {
|
||||
pins = "gpio42", "gpio43";
|
||||
function = "blsp_uart7";
|
||||
drive-strength = <2>;
|
||||
@@ -1331,22 +1333,22 @@
|
||||
};
|
||||
};
|
||||
|
||||
blsp2_uart1_sleep: blsp2-uart1-sleep {
|
||||
blsp2_uart1_sleep: blsp2-uart1-sleep-state {
|
||||
pins = "gpio41", "gpio42", "gpio43", "gpio44";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
blsp2_uart4_default: blsp2-uart4-default {
|
||||
tx-rts {
|
||||
blsp2_uart4_default: blsp2-uart4-default-state {
|
||||
tx-rts-pins {
|
||||
pins = "gpio53", "gpio56";
|
||||
function = "blsp_uart10";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
rx-cts {
|
||||
rx-cts-pins {
|
||||
pins = "gpio54", "gpio55";
|
||||
function = "blsp_uart10";
|
||||
drive-strength = <2>;
|
||||
@@ -1354,42 +1356,42 @@
|
||||
};
|
||||
};
|
||||
|
||||
blsp1_i2c1_default: blsp1-i2c1-default {
|
||||
blsp1_i2c1_default: blsp1-i2c1-default-state {
|
||||
pins = "gpio2", "gpio3";
|
||||
function = "blsp_i2c1";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp1_i2c1_sleep: blsp1-i2c1-sleep {
|
||||
blsp1_i2c1_sleep: blsp1-i2c1-sleep-state {
|
||||
pins = "gpio2", "gpio3";
|
||||
function = "blsp_i2c1";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
blsp1_i2c2_default: blsp1-i2c2-default {
|
||||
blsp1_i2c2_default: blsp1-i2c2-default-state {
|
||||
pins = "gpio6", "gpio7";
|
||||
function = "blsp_i2c2";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp1_i2c2_sleep: blsp1-i2c2-sleep {
|
||||
blsp1_i2c2_sleep: blsp1-i2c2-sleep-state {
|
||||
pins = "gpio6", "gpio7";
|
||||
function = "blsp_i2c2";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
blsp1_i2c3_default: blsp1-i2c3-default {
|
||||
blsp1_i2c3_default: blsp1-i2c3-default-state {
|
||||
pins = "gpio10", "gpio11";
|
||||
function = "blsp_i2c3";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp1_i2c3_sleep: blsp1-i2c3-sleep {
|
||||
blsp1_i2c3_sleep: blsp1-i2c3-sleep-state {
|
||||
pins = "gpio10", "gpio11";
|
||||
function = "blsp_i2c3";
|
||||
drive-strength = <2>;
|
||||
@@ -1400,14 +1402,14 @@
|
||||
|
||||
/* BLSP1_I2C5 info is missing */
|
||||
|
||||
blsp1_i2c6_default: blsp1-i2c6-default {
|
||||
blsp1_i2c6_default: blsp1-i2c6-default-state {
|
||||
pins = "gpio29", "gpio30";
|
||||
function = "blsp_i2c6";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp1_i2c6_sleep: blsp1-i2c6-sleep {
|
||||
blsp1_i2c6_sleep: blsp1-i2c6-sleep-state {
|
||||
pins = "gpio29", "gpio30";
|
||||
function = "blsp_i2c6";
|
||||
drive-strength = <2>;
|
||||
@@ -1417,14 +1419,14 @@
|
||||
|
||||
/* BLSP2_I2C1 info is missing */
|
||||
|
||||
blsp2_i2c2_default: blsp2-i2c2-default {
|
||||
blsp2_i2c2_default: blsp2-i2c2-default-state {
|
||||
pins = "gpio47", "gpio48";
|
||||
function = "blsp_i2c8";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp2_i2c2_sleep: blsp2-i2c2-sleep {
|
||||
blsp2_i2c2_sleep: blsp2-i2c2-sleep-state {
|
||||
pins = "gpio47", "gpio48";
|
||||
function = "blsp_i2c8";
|
||||
drive-strength = <2>;
|
||||
@@ -1435,48 +1437,80 @@
|
||||
|
||||
/* BLSP2_I2C4 info is missing */
|
||||
|
||||
blsp2_i2c5_default: blsp2-i2c5-default {
|
||||
blsp2_i2c5_default: blsp2-i2c5-default-state {
|
||||
pins = "gpio83", "gpio84";
|
||||
function = "blsp_i2c11";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp2_i2c5_sleep: blsp2-i2c5-sleep {
|
||||
blsp2_i2c5_sleep: blsp2-i2c5-sleep-state {
|
||||
pins = "gpio83", "gpio84";
|
||||
function = "blsp_i2c11";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
blsp2_i2c6_default: blsp2-i2c6-default {
|
||||
blsp2_i2c6_default: blsp2-i2c6-default-state {
|
||||
pins = "gpio87", "gpio88";
|
||||
function = "blsp_i2c12";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp2_i2c6_sleep: blsp2-i2c6-sleep {
|
||||
blsp2_i2c6_sleep: blsp2-i2c6-sleep-state {
|
||||
pins = "gpio87", "gpio88";
|
||||
function = "blsp_i2c12";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
spi8_default: spi8_default {
|
||||
mosi {
|
||||
cci_default: cci-default-state {
|
||||
cci_i2c0_default: cci-i2c0-default-pins {
|
||||
pins = "gpio19", "gpio20";
|
||||
function = "cci_i2c0";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cci_i2c1_default: cci-i2c1-default-pins {
|
||||
pins = "gpio21", "gpio22";
|
||||
function = "cci_i2c1";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
cci_sleep: cci-sleep-state {
|
||||
cci_i2c0_sleep: cci-i2c0-sleep-pins {
|
||||
pins = "gpio19", "gpio20";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cci_i2c1_sleep: cci-i2c1-sleep-pins {
|
||||
pins = "gpio21", "gpio22";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
spi8_default: spi8_default-state {
|
||||
mosi-pins {
|
||||
pins = "gpio45";
|
||||
function = "blsp_spi8";
|
||||
};
|
||||
miso {
|
||||
miso-pins {
|
||||
pins = "gpio46";
|
||||
function = "blsp_spi8";
|
||||
};
|
||||
cs {
|
||||
cs-pins {
|
||||
pins = "gpio47";
|
||||
function = "blsp_spi8";
|
||||
};
|
||||
clk {
|
||||
clk-pins {
|
||||
pins = "gpio48";
|
||||
function = "blsp_spi8";
|
||||
};
|
||||
@@ -1571,7 +1605,6 @@
|
||||
"core_mmss";
|
||||
|
||||
phys = <&dsi0_phy>;
|
||||
phy-names = "dsi-phy";
|
||||
|
||||
status = "disabled";
|
||||
|
||||
@@ -1597,7 +1630,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
dsi0_phy: dsi-phy@fd922a00 {
|
||||
dsi0_phy: phy@fd922a00 {
|
||||
compatible = "qcom,dsi-phy-28nm-hpm";
|
||||
reg = <0xfd922a00 0xd4>,
|
||||
<0xfd922b00 0x280>,
|
||||
@@ -1616,6 +1649,40 @@
|
||||
};
|
||||
};
|
||||
|
||||
cci: cci@fda0c000 {
|
||||
compatible = "qcom,msm8974-cci";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0xfda0c000 0x1000>;
|
||||
interrupts = <GIC_SPI 50 IRQ_TYPE_EDGE_RISING>;
|
||||
clocks = <&mmcc CAMSS_TOP_AHB_CLK>,
|
||||
<&mmcc CAMSS_CCI_CCI_AHB_CLK>,
|
||||
<&mmcc CAMSS_CCI_CCI_CLK>;
|
||||
clock-names = "camss_top_ahb",
|
||||
"cci_ahb",
|
||||
"cci";
|
||||
|
||||
pinctrl-names = "default", "sleep";
|
||||
pinctrl-0 = <&cci_default>;
|
||||
pinctrl-1 = <&cci_sleep>;
|
||||
|
||||
status = "disabled";
|
||||
|
||||
cci_i2c0: i2c-bus@0 {
|
||||
reg = <0>;
|
||||
clock-frequency = <100000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
cci_i2c1: i2c-bus@1 {
|
||||
reg = <1>;
|
||||
clock-frequency = <100000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
gpu: adreno@fdb00000 {
|
||||
compatible = "qcom,adreno-330.1", "qcom,adreno";
|
||||
reg = <0xfdb00000 0x10000>;
|
||||
@@ -1703,8 +1770,6 @@
|
||||
qcom,ipc = <&apcs 8 8>;
|
||||
qcom,smd-edge = <1>;
|
||||
label = "lpass";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1719,13 +1784,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
tcsr_mutex: tcsr-mutex {
|
||||
compatible = "qcom,tcsr-mutex";
|
||||
syscon = <&tcsr_mutex_block 0 0x80>;
|
||||
|
||||
#hwlock-cells = <1>;
|
||||
};
|
||||
|
||||
thermal-zones {
|
||||
cpu0-thermal {
|
||||
polling-delay-passive = <250>;
|
||||
|
@@ -8,7 +8,8 @@
|
||||
|
||||
/ {
|
||||
model = "Fairphone 2";
|
||||
compatible = "fairphone,fp2", "qcom,msm8974";
|
||||
compatible = "fairphone,fp2", "qcom,msm8974pro", "qcom,msm8974";
|
||||
chassis-type = "handset";
|
||||
|
||||
aliases {
|
||||
mmc0 = &sdhc_1;
|
||||
@@ -85,31 +86,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
|
||||
phys = <&usb_hs1_phy>;
|
||||
phy-select = <&tcsr 0xb000 0>;
|
||||
extcon = <&smbb>, <&usb_id>;
|
||||
vbus-supply = <&chg_otg>;
|
||||
|
||||
hnp-disable;
|
||||
srp-disable;
|
||||
adp-disable;
|
||||
|
||||
ulpi {
|
||||
phy@a {
|
||||
status = "okay";
|
||||
|
||||
v1p8-supply = <&pm8941_l6>;
|
||||
v3p3-supply = <&pm8941_l24>;
|
||||
|
||||
extcon = <&smbb>;
|
||||
qcom,init-seq = /bits/ 8 <0x1 0x64>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pm8941_gpios {
|
||||
gpio_keys_pin_a: gpio-keys-active-state {
|
||||
pins = "gpio1", "gpio2", "gpio5";
|
||||
@@ -190,7 +166,7 @@
|
||||
};
|
||||
|
||||
&rpm_requests {
|
||||
pm8841-regulators {
|
||||
regulators-0 {
|
||||
compatible = "qcom,rpm-pm8841-regulators";
|
||||
|
||||
pm8841_s1: s1 {
|
||||
@@ -209,7 +185,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
pm8941-regulators {
|
||||
regulators-1 {
|
||||
compatible = "qcom,rpm-pm8941-regulators";
|
||||
|
||||
vdd_l1_l3-supply = <&pm8941_s1>;
|
||||
@@ -408,36 +384,36 @@
|
||||
};
|
||||
|
||||
&tlmm {
|
||||
sdc1_on: sdc1-on {
|
||||
clk {
|
||||
sdc1_on: sdc1-on-state {
|
||||
clk-pins {
|
||||
pins = "sdc1_clk";
|
||||
drive-strength = <16>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cmd-data {
|
||||
cmd-data-pins {
|
||||
pins = "sdc1_cmd", "sdc1_data";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
sdc2_on: sdc2-on {
|
||||
clk {
|
||||
sdc2_on: sdc2-on-state {
|
||||
clk-pins {
|
||||
pins = "sdc2_clk";
|
||||
drive-strength = <10>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cmd-data {
|
||||
cmd-data-pins {
|
||||
pins = "sdc2_cmd", "sdc2_data";
|
||||
drive-strength = <6>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
wcnss_pin_a: wcnss-pin-active {
|
||||
wlan {
|
||||
wcnss_pin_a: wcnss-pin-active-state {
|
||||
wlan-pins {
|
||||
pins = "gpio36", "gpio37", "gpio38", "gpio39", "gpio40";
|
||||
function = "wlan";
|
||||
|
||||
@@ -445,7 +421,7 @@
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
bt {
|
||||
bt-pins {
|
||||
pins = "gpio35", "gpio43", "gpio44";
|
||||
function = "bt";
|
||||
|
||||
@@ -453,7 +429,7 @@
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
fm {
|
||||
fm-pins {
|
||||
pins = "gpio41", "gpio42";
|
||||
function = "fm";
|
||||
|
||||
@@ -462,3 +438,26 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&usb {
|
||||
status = "okay";
|
||||
|
||||
phys = <&usb_hs1_phy>;
|
||||
phy-select = <&tcsr 0xb000 0>;
|
||||
extcon = <&smbb>, <&usb_id>;
|
||||
vbus-supply = <&chg_otg>;
|
||||
|
||||
hnp-disable;
|
||||
srp-disable;
|
||||
adp-disable;
|
||||
};
|
||||
|
||||
&usb_hs1_phy {
|
||||
status = "okay";
|
||||
|
||||
v1p8-supply = <&pm8941_l6>;
|
||||
v3p3-supply = <&pm8941_l24>;
|
||||
|
||||
extcon = <&smbb>;
|
||||
qcom,init-seq = /bits/ 8 <0x1 0x64>;
|
||||
};
|
||||
|
417
arch/arm/boot/dts/qcom-msm8974pro-oneplus-bacon.dts
Normal file
417
arch/arm/boot/dts/qcom-msm8974pro-oneplus-bacon.dts
Normal file
@@ -0,0 +1,417 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "qcom-msm8974pro.dtsi"
|
||||
#include "qcom-pm8841.dtsi"
|
||||
#include "qcom-pm8941.dtsi"
|
||||
#include <dt-bindings/input/input.h>
|
||||
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
|
||||
|
||||
/ {
|
||||
model = "OnePlus One";
|
||||
compatible = "oneplus,bacon", "qcom,msm8974pro", "qcom,msm8974";
|
||||
chassis-type = "handset";
|
||||
qcom,msm-id = <194 0x10000>;
|
||||
qcom,board-id = <8 0>;
|
||||
|
||||
aliases {
|
||||
serial0 = &blsp1_uart2;
|
||||
};
|
||||
|
||||
chosen {
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
};
|
||||
|
||||
&blsp1_i2c1 {
|
||||
status = "okay";
|
||||
|
||||
fuel-gauge@55 {
|
||||
compatible = "ti,bq27541";
|
||||
reg = <0x55>;
|
||||
power-supplies = <&bq24196_charger>;
|
||||
};
|
||||
};
|
||||
|
||||
&blsp1_i2c2 {
|
||||
status = "okay";
|
||||
|
||||
rmi4-i2c-dev@20 {
|
||||
compatible = "syna,rmi4-i2c";
|
||||
reg = <0x20>;
|
||||
|
||||
syna,startup-delay-ms = <100>;
|
||||
|
||||
interrupts-extended = <&tlmm 61 IRQ_TYPE_EDGE_FALLING>;
|
||||
vdd-supply = <&pm8941_l22>;
|
||||
vio-supply = <&pm8941_lvs3>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&touch_default_state>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
rmi4-f01@1 {
|
||||
reg = <0x1>;
|
||||
syna,nosleep-mode = <1>;
|
||||
};
|
||||
|
||||
rmi4-f12@12 {
|
||||
reg = <0x12>;
|
||||
syna,sensor-type = <1>;
|
||||
/*
|
||||
* Touchscreen size is 2040x1080, y-values between
|
||||
* 1920-2040 are used for touchkey (menu, home & back).
|
||||
* For now clip it off so we don't get touch events
|
||||
* outside of the display area.
|
||||
*/
|
||||
syna,clip-y-high = <1920>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&blsp1_i2c6 {
|
||||
status = "okay";
|
||||
|
||||
bq24196_charger: charger@6b {
|
||||
compatible = "ti,bq24196";
|
||||
reg = <0x6b>;
|
||||
interrupts-extended = <&tlmm 31 IRQ_TYPE_EDGE_FALLING>;
|
||||
omit-battery-class;
|
||||
};
|
||||
};
|
||||
|
||||
&blsp1_uart2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gcc {
|
||||
compatible = "qcom,gcc-msm8974pro-ac";
|
||||
};
|
||||
|
||||
&pm8941_coincell {
|
||||
qcom,rset-ohms = <800>;
|
||||
qcom,vset-millivolts = <3200>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pronto {
|
||||
vddmx-supply = <&pm8841_s1>;
|
||||
vddcx-supply = <&pm8841_s2>;
|
||||
vddpx-supply = <&pm8941_s3>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&wcnss_pin_a>;
|
||||
|
||||
status = "okay";
|
||||
|
||||
iris {
|
||||
vddxo-supply = <&pm8941_l6>;
|
||||
vddrfa-supply = <&pm8941_l11>;
|
||||
vddpa-supply = <&pm8941_l19>;
|
||||
vdddig-supply = <&pm8941_s3>;
|
||||
};
|
||||
|
||||
smd-edge {
|
||||
qcom,remote-pid = <4>;
|
||||
label = "pronto";
|
||||
|
||||
wcnss {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&remoteproc_adsp {
|
||||
cx-supply = <&pm8841_s2>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&rpm_requests {
|
||||
regulators-0 {
|
||||
compatible = "qcom,rpm-pm8841-regulators";
|
||||
|
||||
pm8841_s1: s1 {
|
||||
regulator-min-microvolt = <675000>;
|
||||
regulator-max-microvolt = <1050000>;
|
||||
};
|
||||
|
||||
pm8841_s2: s2 {
|
||||
regulator-min-microvolt = <875000>;
|
||||
regulator-max-microvolt = <1050000>;
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
pm8841_s3: s3 {
|
||||
regulator-min-microvolt = <1050000>;
|
||||
regulator-max-microvolt = <1050000>;
|
||||
};
|
||||
};
|
||||
|
||||
regulators-1 {
|
||||
compatible = "qcom,rpm-pm8941-regulators";
|
||||
|
||||
vdd_l1_l3-supply = <&pm8941_s1>;
|
||||
vdd_l2_lvs1_2_3-supply = <&pm8941_s3>;
|
||||
vdd_l4_l11-supply = <&pm8941_s1>;
|
||||
vdd_l5_l7-supply = <&pm8941_s2>;
|
||||
vdd_l6_l12_l14_l15-supply = <&pm8941_s2>;
|
||||
vdd_l8_l16_l18_l19-supply = <&vreg_vph_pwr>;
|
||||
vdd_l9_l10_l17_l22-supply = <&vreg_boost>;
|
||||
vdd_l13_l20_l23_l24-supply = <&vreg_boost>;
|
||||
vdd_l21-supply = <&vreg_boost>;
|
||||
|
||||
pm8941_s1: s1 {
|
||||
regulator-min-microvolt = <1300000>;
|
||||
regulator-max-microvolt = <1300000>;
|
||||
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
};
|
||||
|
||||
pm8941_s2: s2 {
|
||||
regulator-min-microvolt = <2150000>;
|
||||
regulator-max-microvolt = <2150000>;
|
||||
|
||||
regulator-boot-on;
|
||||
};
|
||||
|
||||
pm8941_s3: s3 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
regulator-system-load = <154000>;
|
||||
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
regulator-allow-set-load;
|
||||
};
|
||||
|
||||
pm8941_l1: l1 {
|
||||
regulator-min-microvolt = <1225000>;
|
||||
regulator-max-microvolt = <1225000>;
|
||||
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
};
|
||||
|
||||
pm8941_l2: l2 {
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
};
|
||||
|
||||
pm8941_l3: l3 {
|
||||
regulator-min-microvolt = <1225000>;
|
||||
regulator-max-microvolt = <1225000>;
|
||||
};
|
||||
|
||||
pm8941_l4: l4 {
|
||||
regulator-min-microvolt = <1225000>;
|
||||
regulator-max-microvolt = <1225000>;
|
||||
};
|
||||
|
||||
pm8941_l5: l5 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
pm8941_l6: l6 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
|
||||
regulator-boot-on;
|
||||
};
|
||||
|
||||
pm8941_l7: l7 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
|
||||
regulator-boot-on;
|
||||
};
|
||||
|
||||
pm8941_l8: l8 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
pm8941_l9: l9 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
};
|
||||
|
||||
pm8941_l10: l10 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
};
|
||||
|
||||
pm8941_l11: l11 {
|
||||
regulator-min-microvolt = <1225000>;
|
||||
regulator-max-microvolt = <1350000>;
|
||||
};
|
||||
|
||||
pm8941_l12: l12 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
regulator-allow-set-load;
|
||||
};
|
||||
|
||||
pm8941_l13: l13 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
|
||||
regulator-boot-on;
|
||||
};
|
||||
|
||||
pm8941_l14: l14 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
pm8941_l15: l15 {
|
||||
regulator-min-microvolt = <2050000>;
|
||||
regulator-max-microvolt = <2050000>;
|
||||
};
|
||||
|
||||
pm8941_l16: l16 {
|
||||
regulator-min-microvolt = <2700000>;
|
||||
regulator-max-microvolt = <2700000>;
|
||||
};
|
||||
|
||||
pm8941_l17: l17 {
|
||||
regulator-min-microvolt = <2850000>;
|
||||
regulator-max-microvolt = <2850000>;
|
||||
};
|
||||
|
||||
pm8941_l18: l18 {
|
||||
regulator-min-microvolt = <2850000>;
|
||||
regulator-max-microvolt = <2850000>;
|
||||
};
|
||||
|
||||
pm8941_l19: l19 {
|
||||
regulator-min-microvolt = <2900000>;
|
||||
regulator-max-microvolt = <3350000>;
|
||||
};
|
||||
|
||||
pm8941_l20: l20 {
|
||||
regulator-min-microvolt = <2950000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
|
||||
regulator-system-load = <200000>;
|
||||
regulator-allow-set-load;
|
||||
regulator-boot-on;
|
||||
};
|
||||
|
||||
pm8941_l21: l21 {
|
||||
regulator-min-microvolt = <2950000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
|
||||
regulator-boot-on;
|
||||
};
|
||||
|
||||
pm8941_l22: l22 {
|
||||
regulator-min-microvolt = <3000000>;
|
||||
regulator-max-microvolt = <3000000>;
|
||||
regulator-allow-set-load;
|
||||
};
|
||||
|
||||
pm8941_l23: l23 {
|
||||
regulator-min-microvolt = <3000000>;
|
||||
regulator-max-microvolt = <3000000>;
|
||||
};
|
||||
|
||||
pm8941_l24: l24 {
|
||||
regulator-min-microvolt = <3075000>;
|
||||
regulator-max-microvolt = <3075000>;
|
||||
|
||||
regulator-boot-on;
|
||||
};
|
||||
|
||||
pm8941_lvs3: lvs3 {};
|
||||
};
|
||||
};
|
||||
|
||||
&sdhc_1 {
|
||||
vmmc-supply = <&pm8941_l20>;
|
||||
vqmmc-supply = <&pm8941_s3>;
|
||||
|
||||
pinctrl-names = "default", "sleep";
|
||||
pinctrl-0 = <&sdc1_on>;
|
||||
pinctrl-1 = <&sdc1_off>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&tlmm {
|
||||
sdc1_on: sdc1-on-state {
|
||||
clk-pins {
|
||||
pins = "sdc1_clk";
|
||||
drive-strength = <4>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cmd-data-pins {
|
||||
pins = "sdc1_cmd", "sdc1_data";
|
||||
drive-strength = <4>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
touch_default_state: touch-default-state {
|
||||
int-pins {
|
||||
pins = "gpio61";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
input-enable;
|
||||
};
|
||||
|
||||
reset-pins {
|
||||
pins = "gpio60";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
wcnss_pin_a: wcnss-pin-active-state {
|
||||
wlan-pins {
|
||||
pins = "gpio36", "gpio37", "gpio38", "gpio39", "gpio40";
|
||||
function = "wlan";
|
||||
drive-strength = <6>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
bt-pins {
|
||||
pins = "gpio35", "gpio43", "gpio44";
|
||||
function = "bt";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&usb {
|
||||
phys = <&usb_hs1_phy>;
|
||||
phy-select = <&tcsr 0xb000 0>;
|
||||
extcon = <&smbb>, <&usb_id>;
|
||||
vbus-supply = <&chg_otg>;
|
||||
|
||||
hnp-disable;
|
||||
srp-disable;
|
||||
adp-disable;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb_hs1_phy {
|
||||
status = "okay";
|
||||
|
||||
v1p8-supply = <&pm8941_l6>;
|
||||
v3p3-supply = <&pm8941_l24>;
|
||||
|
||||
extcon = <&smbb>;
|
||||
qcom,init-seq = /bits/ 8 <0x1 0x64>;
|
||||
};
|
@@ -7,7 +7,8 @@
|
||||
|
||||
/ {
|
||||
model = "Samsung Galaxy S5";
|
||||
compatible = "samsung,klte", "qcom,msm8974";
|
||||
compatible = "samsung,klte", "qcom,msm8974pro", "qcom,msm8974";
|
||||
chassis-type = "handset";
|
||||
|
||||
aliases {
|
||||
serial0 = &blsp1_uart1;
|
||||
@@ -375,28 +376,6 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
|
||||
phys = <&usb_hs1_phy>;
|
||||
phy-select = <&tcsr 0xb000 0>;
|
||||
|
||||
hnp-disable;
|
||||
srp-disable;
|
||||
adp-disable;
|
||||
|
||||
ulpi {
|
||||
phy@a {
|
||||
status = "okay";
|
||||
|
||||
v1p8-supply = <&pma8084_l6>;
|
||||
v3p3-supply = <&pma8084_l24>;
|
||||
|
||||
qcom,init-seq = /bits/ 8 <0x1 0x64>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pma8084_gpios {
|
||||
gpio_keys_pin_a: gpio-keys-active-state {
|
||||
pins = "gpio2", "gpio3", "gpio5";
|
||||
@@ -470,7 +449,7 @@
|
||||
};
|
||||
|
||||
&rpm_requests {
|
||||
pma8084-regulators {
|
||||
regulators-0 {
|
||||
compatible = "qcom,rpm-pma8084-regulators";
|
||||
|
||||
pma8084_s1: s1 {
|
||||
@@ -706,57 +685,57 @@
|
||||
|
||||
&tlmm {
|
||||
/* This seems suspicious, but somebody with this device should look into it. */
|
||||
blsp2_uart2_pins_active: blsp2-uart2-pins-active {
|
||||
blsp2_uart2_pins_active: blsp2-uart2-pins-active-state {
|
||||
pins = "gpio45", "gpio46", "gpio47", "gpio48";
|
||||
function = "blsp_uart8";
|
||||
drive-strength = <8>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp2_uart2_pins_sleep: blsp2-uart2-pins-sleep {
|
||||
blsp2_uart2_pins_sleep: blsp2-uart2-pins-sleep-state {
|
||||
pins = "gpio45", "gpio46", "gpio47", "gpio48";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
bt_pins: bt-pins {
|
||||
hostwake {
|
||||
bt_pins: bt-pins-state {
|
||||
hostwake-pins {
|
||||
pins = "gpio75";
|
||||
function = "gpio";
|
||||
drive-strength = <16>;
|
||||
input-enable;
|
||||
};
|
||||
|
||||
devwake {
|
||||
devwake-pins {
|
||||
pins = "gpio91";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
sdc1_on: sdhc1-on {
|
||||
clk {
|
||||
sdc1_on: sdhc1-on-state {
|
||||
clk-pins {
|
||||
pins = "sdc1_clk";
|
||||
drive-strength = <4>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cmd-data {
|
||||
cmd-data-pins {
|
||||
pins = "sdc1_cmd", "sdc1_data";
|
||||
drive-strength = <4>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
sdc3_on: sdc3-on {
|
||||
sdc3_on: sdc3-on-state {
|
||||
pins = "gpio35", "gpio36", "gpio37", "gpio38", "gpio39", "gpio40";
|
||||
function = "sdc3";
|
||||
drive-strength = <8>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
sdhc3_cd_pin: sdc3-cd-on {
|
||||
sdhc3_cd_pin: sdc3-cd-on-state {
|
||||
pins = "gpio62";
|
||||
function = "gpio";
|
||||
|
||||
@@ -764,52 +743,72 @@
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
sdc2_on: sdhc2-on {
|
||||
clk {
|
||||
sdc2_on: sdhc2-on-state {
|
||||
clk-pins {
|
||||
pins = "sdc2_clk";
|
||||
drive-strength = <6>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cmd-data {
|
||||
cmd-data-pins {
|
||||
pins = "sdc2_cmd", "sdc2_data";
|
||||
drive-strength = <6>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
i2c_touchkey_pins: i2c-touchkey {
|
||||
i2c_touchkey_pins: i2c-touchkey-state {
|
||||
pins = "gpio95", "gpio96";
|
||||
function = "gpio";
|
||||
input-enable;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
i2c_led_gpioex_pins: i2c-led-gpioex {
|
||||
i2c_led_gpioex_pins: i2c-led-gpioex-state {
|
||||
pins = "gpio120", "gpio121";
|
||||
function = "gpio";
|
||||
input-enable;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
gpioex_pin: gpioex {
|
||||
gpioex_pin: gpioex-state {
|
||||
pins = "gpio145";
|
||||
function = "gpio";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
wifi_pin: wifi {
|
||||
wifi_pin: wifi-state {
|
||||
pins = "gpio92";
|
||||
function = "gpio";
|
||||
input-enable;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
panel_te_pin: panel {
|
||||
panel_te_pin: panel-state {
|
||||
pins = "gpio12";
|
||||
function = "mdp_vsync";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
&usb {
|
||||
status = "okay";
|
||||
|
||||
phys = <&usb_hs1_phy>;
|
||||
phy-select = <&tcsr 0xb000 0>;
|
||||
|
||||
hnp-disable;
|
||||
srp-disable;
|
||||
adp-disable;
|
||||
};
|
||||
|
||||
&usb_hs1_phy {
|
||||
status = "okay";
|
||||
|
||||
v1p8-supply = <&pma8084_l6>;
|
||||
v3p3-supply = <&pma8084_l24>;
|
||||
|
||||
qcom,init-seq = /bits/ 8 <0x1 0x64>;
|
||||
};
|
||||
|
@@ -8,7 +8,8 @@
|
||||
|
||||
/ {
|
||||
model = "Sony Xperia Z2 Tablet";
|
||||
compatible = "sony,xperia-castor", "qcom,msm8974";
|
||||
compatible = "sony,xperia-castor", "qcom,msm8974pro", "qcom,msm8974";
|
||||
chassis-type = "tablet";
|
||||
|
||||
aliases {
|
||||
serial0 = &blsp1_uart2;
|
||||
@@ -212,31 +213,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
&otg {
|
||||
status = "okay";
|
||||
|
||||
phys = <&usb_hs1_phy>;
|
||||
phy-select = <&tcsr 0xb000 0>;
|
||||
extcon = <&smbb>, <&usb_id>;
|
||||
vbus-supply = <&chg_otg>;
|
||||
|
||||
hnp-disable;
|
||||
srp-disable;
|
||||
adp-disable;
|
||||
|
||||
ulpi {
|
||||
phy@a {
|
||||
status = "okay";
|
||||
|
||||
v1p8-supply = <&pm8941_l6>;
|
||||
v3p3-supply = <&pm8941_l24>;
|
||||
|
||||
extcon = <&smbb>;
|
||||
qcom,init-seq = /bits/ 8 <0x1 0x64>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pm8941_coincell {
|
||||
status = "okay";
|
||||
|
||||
@@ -294,7 +270,7 @@
|
||||
|
||||
qcom,power-source = <1>;
|
||||
|
||||
rgb-led {
|
||||
multi-led {
|
||||
color = <LED_COLOR_ID_RGB>;
|
||||
function = LED_FUNCTION_STATUS;
|
||||
|
||||
@@ -319,7 +295,7 @@
|
||||
};
|
||||
|
||||
&rpm_requests {
|
||||
pm8941-regulators {
|
||||
regulators-0 {
|
||||
compatible = "qcom,rpm-pm8941-regulators";
|
||||
|
||||
vdd_l1_l3-supply = <&pm8941_s1>;
|
||||
@@ -548,41 +524,42 @@
|
||||
};
|
||||
|
||||
&tlmm {
|
||||
lcd_backlight_en_pin_a: lcd-backlight-vddio {
|
||||
lcd_backlight_en_pin_a: lcd-backlight-vddio-state {
|
||||
pins = "gpio69";
|
||||
function = "gpio";
|
||||
drive-strength = <10>;
|
||||
output-low;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
sdc1_on: sdc1-on {
|
||||
clk {
|
||||
sdc1_on: sdc1-on-state {
|
||||
clk-pins {
|
||||
pins = "sdc1_clk";
|
||||
drive-strength = <16>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cmd-data {
|
||||
cmd-data-pins {
|
||||
pins = "sdc1_cmd", "sdc1_data";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
sdc2_on: sdc2-on {
|
||||
clk {
|
||||
sdc2_on: sdc2-on-state {
|
||||
clk-pins {
|
||||
pins = "sdc2_clk";
|
||||
drive-strength = <6>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cmd-data {
|
||||
cmd-data-pins {
|
||||
pins = "sdc2_cmd", "sdc2_data";
|
||||
drive-strength = <6>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
cd {
|
||||
cd-pins {
|
||||
pins = "gpio62";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
@@ -590,22 +567,22 @@
|
||||
};
|
||||
};
|
||||
|
||||
sdc3_on: sdc3-on {
|
||||
clk {
|
||||
sdc3_on: sdc3-on-state {
|
||||
clk-pins {
|
||||
pins = "gpio40";
|
||||
function = "sdc3";
|
||||
drive-strength = <10>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cmd {
|
||||
cmd-pins {
|
||||
pins = "gpio39";
|
||||
function = "sdc3";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
data {
|
||||
data-pins {
|
||||
pins = "gpio35", "gpio36", "gpio37", "gpio38";
|
||||
function = "sdc3";
|
||||
drive-strength = <10>;
|
||||
@@ -613,7 +590,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
ts_int_pin: ts-int-pin {
|
||||
ts_int_pin: ts-int-pin-state {
|
||||
pins = "gpio86";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
@@ -621,7 +598,7 @@
|
||||
input-enable;
|
||||
};
|
||||
|
||||
bt_host_wake_pin: bt-host-wake {
|
||||
bt_host_wake_pin: bt-host-wake-state {
|
||||
pins = "gpio95";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
@@ -629,10 +606,33 @@
|
||||
output-low;
|
||||
};
|
||||
|
||||
bt_dev_wake_pin: bt-dev-wake {
|
||||
bt_dev_wake_pin: bt-dev-wake-state {
|
||||
pins = "gpio96";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
&usb {
|
||||
status = "okay";
|
||||
|
||||
phys = <&usb_hs1_phy>;
|
||||
phy-select = <&tcsr 0xb000 0>;
|
||||
extcon = <&smbb>, <&usb_id>;
|
||||
vbus-supply = <&chg_otg>;
|
||||
|
||||
hnp-disable;
|
||||
srp-disable;
|
||||
adp-disable;
|
||||
};
|
||||
|
||||
&usb_hs1_phy {
|
||||
status = "okay";
|
||||
|
||||
v1p8-supply = <&pm8941_l6>;
|
||||
v3p3-supply = <&pm8941_l24>;
|
||||
|
||||
extcon = <&smbb>;
|
||||
qcom,init-seq = /bits/ 8 <0x1 0x64>;
|
||||
};
|
||||
|
@@ -90,6 +90,16 @@
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
};
|
||||
|
||||
pm8226_gpios: gpio@c000 {
|
||||
compatible = "qcom,pm8226-gpio", "qcom,spmi-gpio";
|
||||
reg = <0xc000>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
gpio-ranges = <&pm8226_gpios 0 0 8>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
pm8226_1: pm8226@1 {
|
||||
@@ -98,7 +108,7 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
pm8226_spmi_regulators: pm8226-regulators {
|
||||
pm8226_spmi_regulators: regulators {
|
||||
compatible = "qcom,pm8226-regulators";
|
||||
};
|
||||
|
||||
|
@@ -27,7 +27,7 @@
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
usb_id: misc@900 {
|
||||
usb_id: usb-detect@900 {
|
||||
compatible = "qcom,pm8941-misc";
|
||||
reg = <0x900>;
|
||||
interrupts = <0x0 0x9 0 IRQ_TYPE_EDGE_BOTH>;
|
||||
@@ -59,7 +59,7 @@
|
||||
chg_otg: otg-vbus { };
|
||||
};
|
||||
|
||||
pm8941_gpios: gpios@c000 {
|
||||
pm8941_gpios: gpio@c000 {
|
||||
compatible = "qcom,pm8941-gpio", "qcom,spmi-gpio";
|
||||
reg = <0xc000>;
|
||||
gpio-controller;
|
||||
@@ -101,37 +101,44 @@
|
||||
#size-cells = <0>;
|
||||
#io-channel-cells = <1>;
|
||||
|
||||
bat_temp {
|
||||
reg = <VADC_LR_MUX1_BAT_THERM>;
|
||||
|
||||
adc-chan@6 {
|
||||
reg = <VADC_VBAT_SNS>;
|
||||
};
|
||||
die_temp {
|
||||
|
||||
adc-chan@8 {
|
||||
reg = <VADC_DIE_TEMP>;
|
||||
};
|
||||
ref_625mv {
|
||||
|
||||
adc-chan@9 {
|
||||
reg = <VADC_REF_625MV>;
|
||||
};
|
||||
ref_1250v {
|
||||
|
||||
adc-chan@a {
|
||||
reg = <VADC_REF_1250MV>;
|
||||
};
|
||||
ref_gnd {
|
||||
|
||||
adc-chan@e {
|
||||
reg = <VADC_GND_REF>;
|
||||
};
|
||||
ref_vdd {
|
||||
|
||||
adc-chan@f {
|
||||
reg = <VADC_VDD_VADC>;
|
||||
};
|
||||
vbat_sns {
|
||||
reg = <VADC_VBAT_SNS>;
|
||||
|
||||
adc-chan@30 {
|
||||
reg = <VADC_LR_MUX1_BAT_THERM>;
|
||||
};
|
||||
};
|
||||
|
||||
pm8941_iadc: iadc@3600 {
|
||||
pm8941_iadc: adc@3600 {
|
||||
compatible = "qcom,pm8941-iadc", "qcom,spmi-iadc";
|
||||
reg = <0x3600>;
|
||||
interrupts = <0x0 0x36 0x0 IRQ_TYPE_EDGE_RISING>;
|
||||
qcom,external-resistor-micro-ohms = <10000>;
|
||||
};
|
||||
|
||||
pm8941_coincell: coincell@2800 {
|
||||
pm8941_coincell: charger@2800 {
|
||||
compatible = "qcom,pm8941-coincell";
|
||||
reg = <0x2800>;
|
||||
status = "disabled";
|
||||
|
@@ -27,7 +27,7 @@
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
pma8084_gpios: gpios@c000 {
|
||||
pma8084_gpios: gpio@c000 {
|
||||
compatible = "qcom,pma8084-gpio", "qcom,spmi-gpio";
|
||||
reg = <0xc000>;
|
||||
gpio-controller;
|
||||
@@ -64,22 +64,27 @@
|
||||
#size-cells = <0>;
|
||||
#io-channel-cells = <1>;
|
||||
|
||||
die_temp {
|
||||
adc-chan@8 {
|
||||
reg = <VADC_DIE_TEMP>;
|
||||
};
|
||||
ref_625mv {
|
||||
|
||||
adc-chan@9 {
|
||||
reg = <VADC_REF_625MV>;
|
||||
};
|
||||
ref_1250v {
|
||||
|
||||
adc-chan@a {
|
||||
reg = <VADC_REF_1250MV>;
|
||||
};
|
||||
ref_buf_625mv {
|
||||
|
||||
adc-chan@c {
|
||||
reg = <VADC_SPARE1>;
|
||||
};
|
||||
ref_gnd {
|
||||
|
||||
adc-chan@e {
|
||||
reg = <VADC_GND_REF>;
|
||||
};
|
||||
ref_vdd {
|
||||
|
||||
adc-chan@f {
|
||||
reg = <VADC_VDD_VADC>;
|
||||
};
|
||||
};
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#thermal-sensor-cells = <0>;
|
||||
};
|
||||
|
||||
pmx65_gpios: pinctrl@8800 {
|
||||
pmx65_gpios: gpio@8800 {
|
||||
compatible = "qcom,pmx65-gpio", "qcom,spmi-gpio";
|
||||
reg = <0x8800>;
|
||||
gpio-controller;
|
||||
|
@@ -282,40 +282,25 @@
|
||||
};
|
||||
|
||||
&tlmm {
|
||||
pcie_ep_clkreq_default: pcie_ep_clkreq_default {
|
||||
mux {
|
||||
pins = "gpio56";
|
||||
function = "pcie_clkreq";
|
||||
};
|
||||
config {
|
||||
pins = "gpio56";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
pcie_ep_clkreq_default: pcie-ep-clkreq-default-state {
|
||||
pins = "gpio56";
|
||||
function = "pcie_clkreq";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
pcie_ep_perst_default: pcie_ep_perst_default {
|
||||
mux {
|
||||
pins = "gpio57";
|
||||
function = "gpio";
|
||||
};
|
||||
config {
|
||||
pins = "gpio57";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
pcie_ep_perst_default: pcie-ep-perst-default-state {
|
||||
pins = "gpio57";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
pcie_ep_wake_default: pcie_ep_wake_default {
|
||||
mux {
|
||||
pins = "gpio53";
|
||||
function = "gpio";
|
||||
};
|
||||
config {
|
||||
pins = "gpio53";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
pcie_ep_wake_default: pcie-ep-wake-default-state {
|
||||
pins = "gpio53";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
|
@@ -559,6 +559,7 @@
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
gpio-ranges = <&tlmm 0 0 109>;
|
||||
};
|
||||
|
||||
sram@1468f000 {
|
||||
|
@@ -441,8 +441,8 @@
|
||||
interrupt-controller;
|
||||
};
|
||||
|
||||
imem@1468f000 {
|
||||
compatible = "simple-mfd";
|
||||
sram@1468f000 {
|
||||
compatible = "qcom,sdx65-imem", "syscon", "simple-mfd";
|
||||
reg = <0x1468f000 0x1000>;
|
||||
ranges = <0x0 0x1468f000 0x1000>;
|
||||
#address-cells = <1>;
|
||||
|
Reference in New Issue
Block a user