Commit c6e2e454 authored by Arnd Bergmann's avatar Arnd Bergmann

Merge tag 'qcom-arm64-for-5.9' of...

Merge tag 'qcom-arm64-for-5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into arm/dt

Qualcomm ARM64 DT updates for v5.9

For SM8250 this adds the main pinctrl/gpio block (TLMM), I2C and SPI
controllers, the CPU subsytem watchdog, inter-processor signalling
controller (IPCC), always-on power/clock controller (AOSS),
inter-processor state machine (SMP2P), defines remoteproc controls
for audio, compute and sensor processors and base definition for the
PM8009 PMIC. It also does fix up a few minor issues from the initial
merge of the platform support.

SC7180 and SDM845 gains interconnect paths and performance tables
defined for display, QUP, QSPI, SDHC and CPUs.

SC7180 gains WiFi support and some cleanups related to the modem
remoteproc.

SDM845 gains inline crypto engine support for UFS, LAB/IBB
regulators for powering display panels, remoteproc relocation debug
support

SM8150 gains USB controller support and the two related PHYs, as well as
thermal zones and throttling support.

IPQ8074 gains USB and SDHCI support.

MSM8916 is being cleaned up, gains interconnect providers and Samsung
A2015 gains accelerometer and magnetometer support.

MSM8994 gains PSCI, SDHCI, SPMI support, I2C, SPI, UART gains DMA
support and the DTS files are cleaned up.

The SDM630 platform DTS is at last merged and initial support for Sony
Xperia 10, 10 Plus, XA2, XA2 Plus and XA2 Ultra is added.

* tag 'qcom-arm64-for-5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux: (66 commits)
  arm64: dts: qcom: pmi8998: Add nodes for LAB and IBB regulators
  arm64: dts: sc7180: Add DSI and MDP OPP tables and power-domains
  arm64: dts: sdm845: Add DSI and MDP OPP tables and power-domains
  arm64: dts: qcom: sc7180: Move the fixed-perm property to SoC dtsi
  arm64: dts: qcom: msm8916-samsung-a2015: Add accelerometer/magnetometer
  arm64: dts: qcom: msm8916: Use higher I2C drive-strength only on DB410c
  arm64: dts: qcom: msm8916: Simplify pinctrl configuration
  arm64: dts: msm8916-samsung/longcheer: Move pinctrl/regulators to end of file
  arm64: dts: qcom: sm8250: Drop tcsr_mutex syscon
  arm64: dts: qcom: sc7180: Add missing properties for Wifi node
  arm64: dts: qcom: Fix WiFi supplies on sc7180-idp
  arm64: dts: sdm845: add Inline Crypto Engine registers and clock
  arm64: dts: sc7180: Add sdhc opps and power-domains
  arm64: dts: sdm845: Add sdhc opps and power-domains
  arm64: dts: sc7180: Add OPP table for all qup devices
  arm64: dts: sdm845: Add OPP table for all qup devices
  arm64: dts: sc7180: Add qspi opps and power-domains
  arm64: dts: sdm845: Add qspi opps and power-domains
  arm64: dts: qcom: sdm845: Add cpu OPP tables
  arm64: dts: qcom: sc7180: Drop the unused non-MSA SID
  ...

Link: https://lore.kernel.org/r/20200721044934.3430084-1-bjorn.andersson@linaro.orgSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parents 01407153 208921ba
...@@ -40,6 +40,8 @@ properties: ...@@ -40,6 +40,8 @@ properties:
- qcom,msm8998-tsens - qcom,msm8998-tsens
- qcom,sc7180-tsens - qcom,sc7180-tsens
- qcom,sdm845-tsens - qcom,sdm845-tsens
- qcom,sm8150-tsens
- qcom,sm8250-tsens
- const: qcom,tsens-v2 - const: qcom,tsens-v2
reg: reg:
......
...@@ -16,6 +16,11 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8998-hp-envy-x2.dtb ...@@ -16,6 +16,11 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8998-hp-envy-x2.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8998-lenovo-miix-630.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8998-lenovo-miix-630.dtb
dtb-$(CONFIG_ARCH_QCOM) += msm8998-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8998-mtp.dtb
dtb-$(CONFIG_ARCH_QCOM) += sc7180-idp.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7180-idp.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm630-sony-xperia-ganges-kirin.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm630-sony-xperia-nile-discovery.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm630-sony-xperia-nile-pioneer.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm630-sony-xperia-nile-voyager.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm636-sony-xperia-ganges-mermaid.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm660-xiaomi-lavender.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm660-xiaomi-lavender.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm845-cheza-r1.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm845-cheza-r1.dtb
dtb-$(CONFIG_ARCH_QCOM) += sdm845-cheza-r2.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm845-cheza-r2.dtb
......
...@@ -466,9 +466,10 @@ sound: sound { ...@@ -466,9 +466,10 @@ sound: sound {
qcom,audio-routing = qcom,audio-routing =
"AMIC2", "MIC BIAS Internal2", "AMIC2", "MIC BIAS Internal2",
"AMIC3", "MIC BIAS External1"; "AMIC3", "MIC BIAS External1";
external-dai-link@0 { external-dai-link@0 {
link-name = "ADV7533"; link-name = "ADV7533";
cpu { /* QUAT */ cpu {
sound-dai = <&lpass MI2S_QUATERNARY>; sound-dai = <&lpass MI2S_QUATERNARY>;
}; };
codec { codec {
...@@ -476,9 +477,9 @@ codec { ...@@ -476,9 +477,9 @@ codec {
}; };
}; };
internal-codec-playback-dai-link@0 { /* I2S - Internal codec */ internal-codec-playback-dai-link@0 {
link-name = "WCD"; link-name = "WCD";
cpu { /* PRIMARY */ cpu {
sound-dai = <&lpass MI2S_PRIMARY>; sound-dai = <&lpass MI2S_PRIMARY>;
}; };
codec { codec {
...@@ -486,9 +487,9 @@ codec { ...@@ -486,9 +487,9 @@ codec {
}; };
}; };
internal-codec-capture-dai-link@0 { /* I2S - Internal codec */ internal-codec-capture-dai-link@0 {
link-name = "WCD-Capture"; link-name = "WCD-Capture";
cpu { /* PRIMARY */ cpu {
sound-dai = <&lpass MI2S_TERTIARY>; sound-dai = <&lpass MI2S_TERTIARY>;
}; };
codec { codec {
...@@ -778,136 +779,121 @@ l18 { ...@@ -778,136 +779,121 @@ l18 {
}; };
}; };
/*
* 2mA drive strength is not enough when connecting multiple
* I2C devices with different pull up resistors.
*/
&i2c2_default {
drive-strength = <16>;
};
&i2c4_default {
drive-strength = <16>;
};
&i2c6_default {
drive-strength = <16>;
};
&msmgpio { &msmgpio {
msmgpio_leds: msmgpio-leds { msmgpio_leds: msmgpio-leds {
pinconf {
pins = "gpio21", "gpio120"; pins = "gpio21", "gpio120";
function = "gpio"; function = "gpio";
output-low; output-low;
}; };
};
usb_id_default: usb-id-default { usb_id_default: usb-id-default {
pinmux {
function = "gpio";
pins = "gpio121"; pins = "gpio121";
}; function = "gpio";
pinconf {
pins = "gpio121";
drive-strength = <8>; drive-strength = <8>;
input-enable; input-enable;
bias-pull-up; bias-pull-up;
}; };
};
adv7533_int_active: adv533-int-active { adv7533_int_active: adv533-int-active {
pinmux {
function = "gpio";
pins = "gpio31";
};
pinconf {
pins = "gpio31"; pins = "gpio31";
function = "gpio";
drive-strength = <16>; drive-strength = <16>;
bias-disable; bias-disable;
}; };
};
adv7533_int_suspend: adv7533-int-suspend { adv7533_int_suspend: adv7533-int-suspend {
pinmux {
function = "gpio";
pins = "gpio31";
};
pinconf {
pins = "gpio31"; pins = "gpio31";
function = "gpio";
drive-strength = <2>; drive-strength = <2>;
bias-disable; bias-disable;
}; };
};
adv7533_switch_active: adv7533-switch-active { adv7533_switch_active: adv7533-switch-active {
pinmux {
function = "gpio";
pins = "gpio32";
};
pinconf {
pins = "gpio32"; pins = "gpio32";
function = "gpio";
drive-strength = <16>; drive-strength = <16>;
bias-disable; bias-disable;
}; };
};
adv7533_switch_suspend: adv7533-switch-suspend { adv7533_switch_suspend: adv7533-switch-suspend {
pinmux {
function = "gpio";
pins = "gpio32";
};
pinconf {
pins = "gpio32"; pins = "gpio32";
function = "gpio";
drive-strength = <2>; drive-strength = <2>;
bias-disable; bias-disable;
}; };
};
msm_key_volp_n_default: msm-key-volp-n-default { msm_key_volp_n_default: msm-key-volp-n-default {
pinmux {
function = "gpio";
pins = "gpio107";
};
pinconf {
pins = "gpio107"; pins = "gpio107";
function = "gpio";
drive-strength = <8>; drive-strength = <8>;
input-enable; input-enable;
bias-pull-up; bias-pull-up;
}; };
};
}; };
&pm8916_gpios { &pm8916_gpios {
usb_hub_reset_pm: usb-hub-reset-pm { usb_hub_reset_pm: usb-hub-reset-pm {
pinconf {
pins = "gpio3"; pins = "gpio3";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
input-disable; input-disable;
output-high; output-high;
}; };
};
usb_hub_reset_pm_device: usb-hub-reset-pm-device { usb_hub_reset_pm_device: usb-hub-reset-pm-device {
pinconf {
pins = "gpio3"; pins = "gpio3";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
output-low; output-low;
}; };
};
usb_sw_sel_pm: usb-sw-sel-pm { usb_sw_sel_pm: usb-sw-sel-pm {
pinconf {
pins = "gpio4"; pins = "gpio4";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
power-source = <PM8916_GPIO_VPH>; power-source = <PM8916_GPIO_VPH>;
input-disable; input-disable;
output-high; output-high;
}; };
};
usb_sw_sel_pm_device: usb-sw-sel-pm-device { usb_sw_sel_pm_device: usb-sw-sel-pm-device {
pinconf {
pins = "gpio4"; pins = "gpio4";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
power-source = <PM8916_GPIO_VPH>; power-source = <PM8916_GPIO_VPH>;
input-disable; input-disable;
output-low; output-low;
}; };
};
pm8916_gpios_leds: pm8916-gpios-leds { pm8916_gpios_leds: pm8916-gpios-leds {
pinconf {
pins = "gpio1", "gpio2"; pins = "gpio1", "gpio2";
function = PMIC_GPIO_FUNC_NORMAL; function = PMIC_GPIO_FUNC_NORMAL;
output-low; output-low;
}; };
};
}; };
&pm8916_mpps { &pm8916_mpps {
...@@ -915,19 +901,17 @@ &pm8916_mpps { ...@@ -915,19 +901,17 @@ &pm8916_mpps {
pinctrl-0 = <&ls_exp_gpio_f>; pinctrl-0 = <&ls_exp_gpio_f>;
ls_exp_gpio_f: pm8916-mpp4 { ls_exp_gpio_f: pm8916-mpp4 {
pinconf {
pins = "mpp4"; pins = "mpp4";
function = "digital"; function = "digital";
output-low; output-low;
power-source = <PM8916_MPP_L5>; // 1.8V power-source = <PM8916_MPP_L5>; // 1.8V
}; };
};
pm8916_mpps_leds: pm8916-mpps-leds { pm8916_mpps_leds: pm8916-mpps-leds {
pinconf {
pins = "mpp2", "mpp3"; pins = "mpp2", "mpp3";
function = "digital"; function = "digital";
output-low; output-low;
}; };
};
}; };
...@@ -82,3 +82,31 @@ nand@0 { ...@@ -82,3 +82,31 @@ nand@0 {
nand-bus-width = <8>; nand-bus-width = <8>;
}; };
}; };
&sdhc_1 {
status = "ok";
};
&qusb_phy_0 {
status = "ok";
};
&qusb_phy_1 {
status = "ok";
};
&ssphy_0 {
status = "ok";
};
&ssphy_1 {
status = "ok";
};
&usb_0 {
status = "ok";
};
&usb_1 {
status = "ok";
};
...@@ -82,6 +82,91 @@ soc: soc { ...@@ -82,6 +82,91 @@ soc: soc {
ranges = <0 0 0 0xffffffff>; ranges = <0 0 0 0xffffffff>;
compatible = "simple-bus"; compatible = "simple-bus";
ssphy_1: phy@58000 {
compatible = "qcom,ipq8074-qmp-usb3-phy";
reg = <0x00058000 0x1c4>;
#clock-cells = <1>;
#address-cells = <1>;
#size-cells = <1>;
ranges;
clocks = <&gcc GCC_USB1_AUX_CLK>,
<&gcc GCC_USB1_PHY_CFG_AHB_CLK>,
<&xo>;
clock-names = "aux", "cfg_ahb", "ref";
resets = <&gcc GCC_USB1_PHY_BCR>,
<&gcc GCC_USB3PHY_1_PHY_BCR>;
reset-names = "phy","common";
status = "disabled";
usb1_ssphy: lane@58200 {
reg = <0x00058200 0x130>, /* Tx */
<0x00058400 0x200>, /* Rx */
<0x00058800 0x1f8>, /* PCS */
<0x00058600 0x044>; /* PCS misc*/
#phy-cells = <0>;
clocks = <&gcc GCC_USB1_PIPE_CLK>;
clock-names = "pipe0";
clock-output-names = "gcc_usb1_pipe_clk_src";
};
};
qusb_phy_1: phy@59000 {
compatible = "qcom,ipq8074-qusb2-phy";
reg = <0x00059000 0x180>;
#phy-cells = <0>;
clocks = <&gcc GCC_USB1_PHY_CFG_AHB_CLK>,
<&xo>;
clock-names = "cfg_ahb", "ref";
resets = <&gcc GCC_QUSB2_1_PHY_BCR>;
status = "disabled";
};
ssphy_0: phy@78000 {
compatible = "qcom,ipq8074-qmp-usb3-phy";
reg = <0x00078000 0x1c4>;
#clock-cells = <1>;
#address-cells = <1>;
#size-cells = <1>;
ranges;
clocks = <&gcc GCC_USB0_AUX_CLK>,
<&gcc GCC_USB0_PHY_CFG_AHB_CLK>,
<&xo>;
clock-names = "aux", "cfg_ahb", "ref";
resets = <&gcc GCC_USB0_PHY_BCR>,
<&gcc GCC_USB3PHY_0_PHY_BCR>;
reset-names = "phy","common";
status = "disabled";
usb0_ssphy: lane@78200 {
reg = <0x00078200 0x130>, /* Tx */
<0x00078400 0x200>, /* Rx */
<0x00078800 0x1f8>, /* PCS */
<0x00078600 0x044>; /* PCS misc*/
#phy-cells = <0>;
clocks = <&gcc GCC_USB0_PIPE_CLK>;
clock-names = "pipe0";
clock-output-names = "gcc_usb0_pipe_clk_src";
};
};
qusb_phy_0: phy@79000 {
compatible = "qcom,ipq8074-qusb2-phy";
reg = <0x00079000 0x180>;
#phy-cells = <0>;
clocks = <&gcc GCC_USB0_PHY_CFG_AHB_CLK>,
<&xo>;
clock-names = "cfg_ahb", "ref";
resets = <&gcc GCC_QUSB2_0_PHY_BCR>;
};
pcie_phy0: phy@86000 { pcie_phy0: phy@86000 {
compatible = "qcom,ipq8074-qmp-pcie-phy"; compatible = "qcom,ipq8074-qmp-pcie-phy";
reg = <0x00086000 0x1000>; reg = <0x00086000 0x1000>;
...@@ -169,6 +254,28 @@ gcc: gcc@1800000 { ...@@ -169,6 +254,28 @@ gcc: gcc@1800000 {
#reset-cells = <0x1>; #reset-cells = <0x1>;
}; };
sdhc_1: sdhci@7824900 {
compatible = "qcom,sdhci-msm-v4";
reg = <0x7824900 0x500>, <0x7824000 0x800>;
reg-names = "hc_mem", "core_mem";
interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "hc_irq", "pwr_irq";
clocks = <&xo>,
<&gcc GCC_SDCC1_AHB_CLK>,
<&gcc GCC_SDCC1_APPS_CLK>;
clock-names = "xo", "iface", "core";
max-frequency = <384000000>;
mmc-ddr-1_8v;
mmc-hs200-1_8v;
mmc-hs400-1_8v;
bus-width = <8>;
status = "disabled";
};
blsp_dma: dma@7884000 { blsp_dma: dma@7884000 {
compatible = "qcom,bam-v1.7.0"; compatible = "qcom,bam-v1.7.0";
reg = <0x07884000 0x2b000>; reg = <0x07884000 0x2b000>;
...@@ -294,6 +401,88 @@ qpic_nand: nand@79b0000 { ...@@ -294,6 +401,88 @@ qpic_nand: nand@79b0000 {
status = "disabled"; status = "disabled";
}; };
usb_0: usb@8af8800 {
compatible = "qcom,dwc3";
reg = <0x08af8800 0x400>;
#address-cells = <1>;
#size-cells = <1>;
ranges;
clocks = <&gcc GCC_SYS_NOC_USB0_AXI_CLK>,
<&gcc GCC_USB0_MASTER_CLK>,
<&gcc GCC_USB0_SLEEP_CLK>,
<&gcc GCC_USB0_MOCK_UTMI_CLK>;
clock-names = "sys_noc_axi",
"master",
"sleep",
"mock_utmi";
assigned-clocks = <&gcc GCC_SYS_NOC_USB0_AXI_CLK>,
<&gcc GCC_USB0_MASTER_CLK>,
<&gcc GCC_USB0_MOCK_UTMI_CLK>;
assigned-clock-rates = <133330000>,
<133330000>,
<19200000>;
resets = <&gcc GCC_USB0_BCR>;
status = "disabled";
dwc_0: dwc3@8a00000 {
compatible = "snps,dwc3";
reg = <0x8a00000 0xcd00>;
interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
phys = <&qusb_phy_0>, <&usb0_ssphy>;
phy-names = "usb2-phy", "usb3-phy";
tx-fifo-resize;
snps,is-utmi-l1-suspend;
snps,hird-threshold = /bits/ 8 <0x0>;
snps,dis_u2_susphy_quirk;
snps,dis_u3_susphy_quirk;
dr_mode = "host";
};
};
usb_1: usb@8cf8800 {
compatible = "qcom,dwc3";
reg = <0x08cf8800 0x400>;
#address-cells = <1>;
#size-cells = <1>;
ranges;
clocks = <&gcc GCC_SYS_NOC_USB1_AXI_CLK>,
<&gcc GCC_USB1_MASTER_CLK>,
<&gcc GCC_USB1_SLEEP_CLK>,
<&gcc GCC_USB1_MOCK_UTMI_CLK>;
clock-names = "sys_noc_axi",
"master",
"sleep",
"mock_utmi";
assigned-clocks = <&gcc GCC_SYS_NOC_USB1_AXI_CLK>,
<&gcc GCC_USB1_MASTER_CLK>,
<&gcc GCC_USB1_MOCK_UTMI_CLK>;
assigned-clock-rates = <133330000>,
<133330000>,
<19200000>;
resets = <&gcc GCC_USB1_BCR>;
status = "disabled";
dwc_1: dwc3@8c00000 {
compatible = "snps,dwc3";
reg = <0x8c00000 0xcd00>;
interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
phys = <&qusb_phy_1>, <&usb1_ssphy>;
phy-names = "usb2-phy", "usb3-phy";
tx-fifo-resize;
snps,is-utmi-l1-suspend;
snps,hird-threshold = /bits/ 8 <0x0>;
snps,dis_u2_susphy_quirk;
snps,dis_u3_susphy_quirk;
dr_mode = "host";
};
};
intc: interrupt-controller@b000000 { intc: interrupt-controller@b000000 {
compatible = "qcom,msm-qgic2"; compatible = "qcom,msm-qgic2";
interrupt-controller; interrupt-controller;
......
...@@ -108,31 +108,6 @@ volume-up { ...@@ -108,31 +108,6 @@ volume-up {
}; };
}; };
&msmgpio {
gpio_keys_default: gpio-keys-default {
pinmux {
function = "gpio";
pins = "gpio107";
};
pinconf {
pins = "gpio107";
drive-strength = <2>;
bias-pull-up;
};
};
usb_vbus_default: usb-vbus-default {
pinmux {
function = "gpio";
pins = "gpio62";
};
pinconf {
pins = "gpio62";
bias-pull-up;
};
};
};
&spmi_bus { &spmi_bus {
pm8916@0 { pm8916@0 {
pon@800 { pon@800 {
...@@ -258,3 +233,20 @@ l18 { ...@@ -258,3 +233,20 @@ l18 {
regulator-max-microvolt = <2700000>; regulator-max-microvolt = <2700000>;
}; };
}; };
&msmgpio {
gpio_keys_default: gpio-keys-default {
pins = "gpio107";
function = "gpio";
drive-strength = <2>;
bias-pull-up;
};
usb_vbus_default: usb-vbus-default {
pins = "gpio62";
function = "gpio";
bias-pull-up;
};
};
This diff is collapsed.
...@@ -167,77 +167,33 @@ muic: sm5502@25 { ...@@ -167,77 +167,33 @@ muic: sm5502@25 {
}; };
}; };
&msmgpio { &blsp_i2c2 {
gpio_keys_default: gpio-keys-default { status = "okay";
pinmux {
function = "gpio";
pins = "gpio107", "gpio109";
};
pinconf {
pins = "gpio107", "gpio109";
drive-strength = <2>;
bias-pull-up;
};
};
gpio_hall_sensor_default: gpio-hall-sensor-default {
pinmux {
function = "gpio";
pins = "gpio52";
};
pinconf {
pins = "gpio52";
drive-strength = <2>;
bias-disable;
};
};
muic_int_default: muic-int-default { accelerometer: accelerometer@10 {
pinmux { compatible = "bosch,bmc150_accel";
function = "gpio"; reg = <0x10>;
pins = "gpio12"; interrupt-parent = <&msmgpio>;
}; interrupts = <115 IRQ_TYPE_EDGE_RISING>;
pinconf {
pins = "gpio12";
drive-strength = <2>;
bias-disable;
};
};
tsp_en_default: tsp-en-default { pinctrl-names = "default";
pinmux { pinctrl-0 = <&accel_int_default>;
function = "gpio";
pins = "gpio73";
};
pinconf {
pins = "gpio73";
drive-strength = <2>;
bias-disable;
};
}; };
pmx-mdss { magnetometer@12 {
mdss_default: mdss-default { compatible = "bosch,bmc150_magn";
pinmux { reg = <0x12>;
function = "gpio";
pins = "gpio25";
};
pinconf {
pins = "gpio25";
drive-strength = <8>;
bias-disable;
};
}; };
};
mdss_sleep: mdss-sleep { &spmi_bus {
pinmux { pm8916@0 {
function = "gpio"; pon@800 {
pins = "gpio25"; volume-down {
}; compatible = "qcom,pm8941-resin";
pinconf { interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
pins = "gpio25"; bias-pull-up;
drive-strength = <2>; linux,code = <KEY_VOLUMEDOWN>;
bias-pull-down;
}; };
}; };
}; };
...@@ -356,15 +312,61 @@ l18 { ...@@ -356,15 +312,61 @@ l18 {
}; };
}; };
&spmi_bus { &msmgpio {
pm8916@0 { accel_int_default: accel-int-default {
pon@800 { pins = "gpio115";
volume-down { function = "gpio";
compatible = "qcom,pm8941-resin";
interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>; drive-strength = <2>;
bias-disable;
};
gpio_keys_default: gpio-keys-default {
pins = "gpio107", "gpio109";
function = "gpio";
drive-strength = <2>;
bias-pull-up; bias-pull-up;
linux,code = <KEY_VOLUMEDOWN>; };
gpio_hall_sensor_default: gpio-hall-sensor-default {
pins = "gpio52";
function = "gpio";
drive-strength = <2>;
bias-disable;
};
mdss {
mdss_default: mdss-default {
pins = "gpio25";
function = "gpio";
drive-strength = <8>;
bias-disable;
};
mdss_sleep: mdss-sleep {
pins = "gpio25";
function = "gpio";
drive-strength = <2>;
bias-pull-down;
}; };
}; };
muic_int_default: muic-int-default {
pins = "gpio12";
function = "gpio";
drive-strength = <2>;
bias-disable;
};
tsp_en_default: tsp-en-default {
pins = "gpio73";
function = "gpio";
drive-strength = <2>;
bias-disable;
}; };
}; };
...@@ -22,6 +22,12 @@ reg_panel_vdd3: regulator-panel-vdd3 { ...@@ -22,6 +22,12 @@ reg_panel_vdd3: regulator-panel-vdd3 {
}; };
}; };
&accelerometer {
mount-matrix = "0", "1", "0",
"1", "0", "0",
"0", "0", "1";
};
&dsi0 { &dsi0 {
panel@0 { panel@0 {
reg = <0>; reg = <0>;
...@@ -51,14 +57,10 @@ dsi0_out: endpoint { ...@@ -51,14 +57,10 @@ dsi0_out: endpoint {
&msmgpio { &msmgpio {
panel_vdd3_default: panel-vdd3-default { panel_vdd3_default: panel-vdd3-default {
pinmux {
function = "gpio";
pins = "gpio9";
};
pinconf {
pins = "gpio9"; pins = "gpio9";
function = "gpio";
drive-strength = <2>; drive-strength = <2>;
bias-disable; bias-disable;
}; };
};
}; };
...@@ -9,6 +9,12 @@ / { ...@@ -9,6 +9,12 @@ / {
compatible = "samsung,a5u-eur", "qcom,msm8916"; compatible = "samsung,a5u-eur", "qcom,msm8916";
}; };
&accelerometer {
mount-matrix = "-1", "0", "0",
"0", "1", "0",
"0", "0", "1";
};
&blsp_i2c5 { &blsp_i2c5 {
status = "okay"; status = "okay";
...@@ -38,14 +44,10 @@ iris { ...@@ -38,14 +44,10 @@ iris {
&msmgpio { &msmgpio {
ts_int_default: ts-int-default { ts_int_default: ts-int-default {
pinmux {
function = "gpio";
pins = "gpio13";
};
pinconf {
pins = "gpio13"; pins = "gpio13";
function = "gpio";
drive-strength = <2>; drive-strength = <2>;
bias-disable; bias-disable;
}; };
};
}; };
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
*/ */
#include <dt-bindings/arm/coresight-cti-dt.h> #include <dt-bindings/arm/coresight-cti-dt.h>
#include <dt-bindings/interconnect/qcom,msm8916.h>
#include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,gcc-msm8916.h> #include <dt-bindings/clock/qcom,gcc-msm8916.h>
#include <dt-bindings/reset/qcom,gcc-msm8916.h> #include <dt-bindings/reset/qcom,gcc-msm8916.h>
...@@ -406,11 +407,38 @@ soc: soc { ...@@ -406,11 +407,38 @@ soc: soc {
ranges = <0 0 0 0xffffffff>; ranges = <0 0 0 0xffffffff>;
compatible = "simple-bus"; compatible = "simple-bus";
bimc: interconnect@400000 {
compatible = "qcom,msm8916-bimc";
reg = <0x00400000 0x62000>;
#interconnect-cells = <1>;
clock-names = "bus", "bus_a";
clocks = <&rpmcc RPM_SMD_BIMC_CLK>,
<&rpmcc RPM_SMD_BIMC_A_CLK>;
};
restart@4ab000 { restart@4ab000 {
compatible = "qcom,pshold"; compatible = "qcom,pshold";
reg = <0x4ab000 0x4>; reg = <0x4ab000 0x4>;
}; };
pcnoc: interconnect@500000 {
compatible = "qcom,msm8916-pcnoc";
reg = <0x00500000 0x11000>;
#interconnect-cells = <1>;
clock-names = "bus", "bus_a";
clocks = <&rpmcc RPM_SMD_PCNOC_CLK>,
<&rpmcc RPM_SMD_PCNOC_A_CLK>;
};
snoc: interconnect@580000 {
compatible = "qcom,msm8916-snoc";
reg = <0x00580000 0x14000>;
#interconnect-cells = <1>;
clock-names = "bus", "bus_a";
clocks = <&rpmcc RPM_SMD_SNOC_CLK>,
<&rpmcc RPM_SMD_SNOC_A_CLK>;
};
msmgpio: pinctrl@1000000 { msmgpio: pinctrl@1000000 {
compatible = "qcom,msm8916-pinctrl"; compatible = "qcom,msm8916-pinctrl";
reg = <0x1000000 0x300000>; reg = <0x1000000 0x300000>;
...@@ -700,6 +728,9 @@ lpass: lpass@7708000 { ...@@ -700,6 +728,9 @@ lpass: lpass@7708000 {
interrupt-names = "lpass-irq-lpaif"; interrupt-names = "lpass-irq-lpaif";
reg = <0x07708000 0x10000>; reg = <0x07708000 0x10000>;
reg-names = "lpass-lpaif"; reg-names = "lpass-lpaif";
#address-cells = <1>;
#size-cells = <0>;
}; };
lpass_codec: codec{ lpass_codec: codec{
......
...@@ -11,6 +11,8 @@ / { ...@@ -11,6 +11,8 @@ / {
model = "Huawei Nexus 6P"; model = "Huawei Nexus 6P";
compatible = "huawei,angler", "qcom,msm8994"; compatible = "huawei,angler", "qcom,msm8994";
/* required for bootloader to select correct board */ /* required for bootloader to select correct board */
qcom,msm-id = <207 0x20000>;
qcom,pmic-id = <0x10009 0x1000A 0x0 0x0>;
qcom,board-id = <8026 0>; qcom,board-id = <8026 0>;
aliases { aliases {
......
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
*/
&msmgpio {
blsp1_uart2_default: blsp1_uart2_default {
pinmux {
function = "blsp_uart2";
pins = "gpio4", "gpio5";
};
pinconf {
pins = "gpio4", "gpio5";
drive-strength = <16>;
bias-disable;
};
};
blsp1_uart2_sleep: blsp1_uart2_sleep {
pinmux {
function = "gpio";
pins = "gpio4", "gpio5";
};
pinconf {
pins = "gpio4", "gpio5";
drive-strength = <2>;
bias-pull-down;
};
};
};
This diff is collapsed.
...@@ -202,7 +202,7 @@ vreg_l14a_1p88: l14 { ...@@ -202,7 +202,7 @@ vreg_l14a_1p88: l14 {
regulator-min-microvolt = <1880000>; regulator-min-microvolt = <1880000>;
regulator-max-microvolt = <1880000>; regulator-max-microvolt = <1880000>;
}; };
vreg_15a_1p8: l15 { vreg_l15a_1p8: l15 {
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
}; };
......
...@@ -25,6 +25,11 @@ keyboard@3a { ...@@ -25,6 +25,11 @@ keyboard@3a {
}; };
}; };
&remoteproc_mss {
firmware-name = "qcom/LENOVO/81F1/qcdsp1v28998.mbn",
"qcom/LENOVO/81F1/qcdsp28998.mbn";
};
&sdhc2 { &sdhc2 {
cd-gpios = <&tlmm 95 GPIO_ACTIVE_HIGH>; cd-gpios = <&tlmm 95 GPIO_ACTIVE_HIGH>;
}; };
...@@ -235,7 +235,7 @@ vreg_l14a_1p88: l14 { ...@@ -235,7 +235,7 @@ vreg_l14a_1p88: l14 {
regulator-min-microvolt = <1880000>; regulator-min-microvolt = <1880000>;
regulator-max-microvolt = <1880000>; regulator-max-microvolt = <1880000>;
}; };
vreg_15a_1p8: l15 { vreg_l15a_1p8: l15 {
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
}; };
......
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2020, Konrad Dybcio
*/
#include <dt-bindings/input/linux-event-codes.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/spmi/spmi.h>
&spmi_bus {
pmic@0 {
compatible = "qcom,pm660", "qcom,spmi-pmic";
reg = <0x0 SPMI_USID>;
#address-cells = <1>;
#size-cells = <0>;
rtc@6000 {
compatible = "qcom,pm8941-rtc";
reg = <0x6000>, <0x6100>;
reg-names = "rtc", "alarm";
interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>;
};
pon: pon@800 {
compatible = "qcom,pm8916-pon";
reg = <0x800>;
pwrkey {
compatible = "qcom,pm8941-pwrkey";
interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
debounce = <15625>;
bias-pull-up;
linux,code = <KEY_POWER>;
};
};
pm660_gpios: gpios@c000 {
compatible = "qcom,pm660-gpio";
reg = <0xc000>;
gpio-controller;
gpio-ranges = <&pm660_gpios 0 0 13>;
#gpio-cells = <2>;
interrupt-controller;
interrupt-cells =<2>;
};
};
};
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2020, Konrad Dybcio
*/
#include <dt-bindings/input/linux-event-codes.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/spmi/spmi.h>
&spmi_bus {
pmic@2 {
compatible = "qcom,pm660l", "qcom,spmi-pmic";
reg = <0x2 SPMI_USID>;
#address-cells = <1>;
#size-cells = <0>;
pm660l_gpios: gpios@c000 {
compatible = "qcom,pm660l-gpio", "qcom,spmi-gpio";
reg = <0xc000>;
gpio-controller;
gpio-ranges = <&pm660l_gpios 0 0 12>;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
};
};
pmic@3 {
compatible = "qcom,pm660l", "qcom,spmi-pmic";
reg = <0x3 SPMI_USID>;
#address-cells = <1>;
#size-cells = <0>;
};
};
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
* Copyright (c) 2020, Linaro Limited
*/
#include <dt-bindings/spmi/spmi.h>
&spmi_bus {
pmic@a {
compatible = "qcom,pm8009", "qcom,spmi-pmic";
reg = <0xa SPMI_USID>;
#address-cells = <1>;
#size-cells = <0>;
pm8009_pon: pon@800 {
compatible = "qcom,pm8916-pon";
reg = <0x0800>;
};
pm8009_gpios: gpio@c000 {
compatible = "qcom,pm8005-gpio";
reg = <0xc000>;
gpio-controller;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
};
};
pmic@b {
compatible = "qcom,pm8009", "qcom,spmi-pmic";
reg = <0xb SPMI_USID>;
#address-cells = <1>;
#size-cells = <0>;
};
};
...@@ -9,6 +9,37 @@ ...@@ -9,6 +9,37 @@
#include <dt-bindings/spmi/spmi.h> #include <dt-bindings/spmi/spmi.h>
#include <dt-bindings/iio/qcom,spmi-vadc.h> #include <dt-bindings/iio/qcom,spmi-vadc.h>
/ {
thermal-zones {
pm8150 {
polling-delay-passive = <100>;
polling-delay = <0>;
thermal-sensors = <&pm8150_temp>;
trips {
trip0 {
temperature = <95000>;
hysteresis = <0>;
type = "passive";
};
trip1 {
temperature = <115000>;
hysteresis = <0>;
type = "hot";
};
trip2 {
temperature = <145000>;
hysteresis = <0>;
type = "critical";
};
};
};
};
};
&spmi_bus { &spmi_bus {
pm8150_0: pmic@0 { pm8150_0: pmic@0 {
compatible = "qcom,pm8150", "qcom,spmi-pmic"; compatible = "qcom,pm8150", "qcom,spmi-pmic";
...@@ -30,6 +61,15 @@ pwrkey { ...@@ -30,6 +61,15 @@ pwrkey {
}; };
}; };
pm8150_temp: temp-alarm@2400 {
compatible = "qcom,spmi-temp-alarm";
reg = <0x2400>;
interrupts = <0x0 0x24 0x0 IRQ_TYPE_EDGE_BOTH>;
io-channels = <&pm8150_adc ADC5_DIE_TEMP>;
io-channel-names = "thermal";
#thermal-sensor-cells = <0>;
};
pm8150_adc: adc@3100 { pm8150_adc: adc@3100 {
compatible = "qcom,spmi-adc5"; compatible = "qcom,spmi-adc5";
reg = <0x3100>; reg = <0x3100>;
...@@ -38,8 +78,6 @@ pm8150_adc: adc@3100 { ...@@ -38,8 +78,6 @@ pm8150_adc: adc@3100 {
#io-channel-cells = <1>; #io-channel-cells = <1>;
interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>; interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
status = "disabled";
ref-gnd@0 { ref-gnd@0 {
reg = <ADC5_REF_GND>; reg = <ADC5_REF_GND>;
qcom,pre-scaling = <1 1>; qcom,pre-scaling = <1 1>;
......
...@@ -8,6 +8,37 @@ ...@@ -8,6 +8,37 @@
#include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/spmi/spmi.h> #include <dt-bindings/spmi/spmi.h>
/ {
thermal-zones {
pm8150b {
polling-delay-passive = <100>;
polling-delay = <0>;
thermal-sensors = <&pm8150b_temp>;
trips {
trip0 {
temperature = <95000>;
hysteresis = <0>;
type = "passive";
};
trip1 {
temperature = <115000>;
hysteresis = <0>;
type = "hot";
};
trip2 {
temperature = <145000>;
hysteresis = <0>;
type = "critical";
};
};
};
};
};
&spmi_bus { &spmi_bus {
pmic@2 { pmic@2 {
compatible = "qcom,pm8150b", "qcom,spmi-pmic"; compatible = "qcom,pm8150b", "qcom,spmi-pmic";
...@@ -22,7 +53,16 @@ power-on@800 { ...@@ -22,7 +53,16 @@ power-on@800 {
status = "disabled"; status = "disabled";
}; };
adc@3100 { pm8150b_temp: temp-alarm@2400 {
compatible = "qcom,spmi-temp-alarm";
reg = <0x2400>;
interrupts = <0x2 0x24 0x0 IRQ_TYPE_EDGE_BOTH>;
io-channels = <&pm8150b_adc ADC5_DIE_TEMP>;
io-channel-names = "thermal";
#thermal-sensor-cells = <0>;
};
pm8150b_adc: adc@3100 {
compatible = "qcom,spmi-adc5"; compatible = "qcom,spmi-adc5";
reg = <0x3100>; reg = <0x3100>;
#address-cells = <1>; #address-cells = <1>;
...@@ -30,8 +70,6 @@ adc@3100 { ...@@ -30,8 +70,6 @@ adc@3100 {
#io-channel-cells = <1>; #io-channel-cells = <1>;
interrupts = <0x2 0x31 0x0 IRQ_TYPE_EDGE_RISING>; interrupts = <0x2 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
status = "disabled";
ref-gnd@0 { ref-gnd@0 {
reg = <ADC5_REF_GND>; reg = <ADC5_REF_GND>;
qcom,pre-scaling = <1 1>; qcom,pre-scaling = <1 1>;
......
...@@ -8,6 +8,37 @@ ...@@ -8,6 +8,37 @@
#include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/spmi/spmi.h> #include <dt-bindings/spmi/spmi.h>
/ {
thermal-zones {
pm8150l {
polling-delay-passive = <100>;
polling-delay = <0>;
thermal-sensors = <&pm8150l_temp>;
trips {
trip0 {
temperature = <95000>;
hysteresis = <0>;
type = "passive";
};
trip1 {
temperature = <115000>;
hysteresis = <0>;
type = "hot";
};
trip2 {
temperature = <145000>;
hysteresis = <0>;
type = "critical";
};
};
};
};
};
&spmi_bus { &spmi_bus {
pmic@4 { pmic@4 {
compatible = "qcom,pm8150l", "qcom,spmi-pmic"; compatible = "qcom,pm8150l", "qcom,spmi-pmic";
...@@ -22,7 +53,16 @@ power-on@800 { ...@@ -22,7 +53,16 @@ power-on@800 {
status = "disabled"; status = "disabled";
}; };
adc@3100 { pm8150l_temp: temp-alarm@2400 {
compatible = "qcom,spmi-temp-alarm";
reg = <0x2400>;
interrupts = <0x4 0x24 0x0 IRQ_TYPE_EDGE_BOTH>;
io-channels = <&pm8150l_adc ADC5_DIE_TEMP>;
io-channel-names = "thermal";
#thermal-sensor-cells = <0>;
};
pm8150l_adc: adc@3100 {
compatible = "qcom,spmi-adc5"; compatible = "qcom,spmi-adc5";
reg = <0x3100>; reg = <0x3100>;
#address-cells = <1>; #address-cells = <1>;
...@@ -30,8 +70,6 @@ adc@3100 { ...@@ -30,8 +70,6 @@ adc@3100 {
#io-channel-cells = <1>; #io-channel-cells = <1>;
interrupts = <0x4 0x31 0x0 IRQ_TYPE_EDGE_RISING>; interrupts = <0x4 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
status = "disabled";
ref-gnd@0 { ref-gnd@0 {
reg = <ADC5_REF_GND>; reg = <ADC5_REF_GND>;
qcom,pre-scaling = <1 1>; qcom,pre-scaling = <1 1>;
......
...@@ -25,5 +25,17 @@ pmi8998_lsid1: pmic@3 { ...@@ -25,5 +25,17 @@ pmi8998_lsid1: pmic@3 {
reg = <0x3 SPMI_USID>; reg = <0x3 SPMI_USID>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
labibb {
compatible = "qcom,pmi8998-lab-ibb";
ibb: ibb {
interrupts = <0x3 0xdc 0x2 IRQ_TYPE_EDGE_RISING>;
};
lab: lab {
interrupts = <0x3 0xde 0x0 IRQ_TYPE_EDGE_RISING>;
};
};
}; };
}; };
...@@ -1097,6 +1097,21 @@ blsp2_spi0: spi@7af5000 { ...@@ -1097,6 +1097,21 @@ blsp2_spi0: spi@7af5000 {
status = "disabled"; status = "disabled";
}; };
imem@8600000 {
compatible = "simple-mfd";
reg = <0x08600000 0x1000>;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0 0x08600000 0x1000>;
pil-reloc@94c {
compatible = "qcom,pil-reloc-info";
reg = <0x94c 0xc8>;
};
};
intc: interrupt-controller@b000000 { intc: interrupt-controller@b000000 {
compatible = "qcom,msm-qgic2"; compatible = "qcom,msm-qgic2";
interrupt-controller; interrupt-controller;
......
...@@ -21,6 +21,7 @@ aliases { ...@@ -21,6 +21,7 @@ aliases {
bluetooth0 = &bluetooth; bluetooth0 = &bluetooth;
hsuart0 = &uart3; hsuart0 = &uart3;
serial0 = &uart8; serial0 = &uart8;
wifi0 = &wifi;
}; };
chosen { chosen {
...@@ -312,7 +313,7 @@ &qupv3_id_1 { ...@@ -312,7 +313,7 @@ &qupv3_id_1 {
&remoteproc_mpss { &remoteproc_mpss {
status = "okay"; status = "okay";
compatible = "qcom,sc7180-mss-pil"; compatible = "qcom,sc7180-mss-pil";
iommus = <&apps_smmu 0x460 0x1>, <&apps_smmu 0x444 0x3>; iommus = <&apps_smmu 0x461 0x0>, <&apps_smmu 0x444 0x3>;
memory-region = <&mba_mem &mpss_mem>; memory-region = <&mba_mem &mpss_mem>;
}; };
...@@ -389,6 +390,18 @@ video-firmware { ...@@ -389,6 +390,18 @@ video-firmware {
}; };
}; };
&wifi {
status = "okay";
vdd-0.8-cx-mx-supply = <&vreg_l9a_0p6>;
vdd-1.8-xo-supply = <&vreg_l1c_1p8>;
vdd-1.3-rfa-supply = <&vreg_l2c_1p3>;
vdd-3.3-ch0-supply = <&vreg_l10c_3p3>;
vdd-3.3-ch1-supply = <&vreg_l11c_3p3>;
wifi-firmware {
iommus = <&apps_smmu 0xc2 0x1>;
};
};
/* PINCTRL - additions to nodes defined in sc7180.dtsi */ /* PINCTRL - additions to nodes defined in sc7180.dtsi */
&qspi_clk { &qspi_clk {
......
This diff is collapsed.
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2020, Martin Botka
*/
/dts-v1/;
#include "sdm630-sony-xperia-ganges.dtsi"
/ {
model = "Sony Xperia 10";
compatible = "sony,kirin-row", "qcom,sdm630";
};
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2020, Martin Botka
*/
/dts-v1/;
/* Ganges is very similar to Nile, but
* there are some differences that will need
* to be addresed when more peripherals are
* enabled upstream. Hence the separate DTSI.
*/
#include "sdm630-sony-xperia-nile.dtsi"
/ {
chosen {
framebuffer@9d400000 {
reg = <0 0x9d400000 0 (2520 * 1080 * 4)>;
height = <2520>;
};
};
/* Yes, this is intentional.
* Ganges devices only use gpio-keys for
* Volume Down, but currently there's an
* issue with it that has to be resolved.
* Until then, let's not make the kernel panic
*/
/delete-node/ gpio-keys;
soc {
i2c@c175000 {
status = "okay";
/* Novatek touchscreen */
};
};
};
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2020, Konrad Dybcio
*/
/dts-v1/;
#include "sdm630-sony-xperia-nile.dtsi"
/ {
model = "Sony Xperia XA2 Ultra";
compatible = "sony,discovery-row", "qcom,sdm630";
};
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2020, Konrad Dybcio
*/
/dts-v1/;
#include "sdm630-sony-xperia-nile.dtsi"
/ {
model = "Sony Xperia XA2";
compatible = "sony,pioneer-row", "qcom,sdm630";
};
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2020, Konrad Dybcio
*/
/dts-v1/;
#include "sdm630-sony-xperia-nile.dtsi"
/ {
model = "Sony Xperia XA2 Plus";
compatible = "sony,voyager-row", "qcom,sdm630";
chosen {
framebuffer@9d400000 {
reg = <0 0x9d400000 0 (2160 * 1080 * 4)>;
height = <2160>;
};
};
};
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2020, Konrad Dybcio
*/
/dts-v1/;
#include "sdm630.dtsi"
#include "pm660.dtsi"
#include "pm660l.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/input/gpio-keys.h>
/ {
/* required for bootloader to select correct board */
qcom,msm-id = <318 0>;
qcom,board-id = <8 1>;
qcom,pmic-id = <0x1001b 0x101011a 0x00 0x00 0x1001b 0x201011a 0x00 0x00>;
/* This part enables graphical output via bootloader-enabled display */
chosen {
bootargs = "earlycon=tty0 console=tty0";
#address-cells = <2>;
#size-cells = <2>;
ranges;
stdout-path = "framebuffer0";
framebuffer0: framebuffer@9d400000 {
compatible = "simple-framebuffer";
reg = <0 0x9d400000 0 (1920 * 1080 * 4)>;
width = <1080>;
height = <1920>;
stride = <(1080 * 4)>;
format = "a8r8g8b8";
status= "okay";
};
};
gpio_keys {
status = "okay";
compatible = "gpio-keys";
input-name = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
autorepeat;
camera_focus {
label = "Camera Focus";
gpios = <&tlmm 64 GPIO_ACTIVE_LOW>;
linux,input-type = <1>;
linux,code = <KEY_CAMERA_FOCUS>;
debounce-interval = <15>;
};
camera_snapshot {
label = "Camera Snapshot";
gpios = <&tlmm 113 GPIO_ACTIVE_LOW>;
linux,input-type = <1>;
linux,code = <KEY_CAMERA>;
debounce-interval = <15>;
};
vol_down {
label = "Volume Down";
gpios = <&pm660l_gpios 7 GPIO_ACTIVE_LOW>;
linux,input-type = <1>;
linux,code = <KEY_VOLUMEDOWN>;
gpio-key,wakeup;
debounce-interval = <15>;
};
};
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
ramoops@ffc00000 {
compatible = "ramoops";
reg = <0x0 0xffc00000 0x0 0x100000>;
record-size = <0x10000>;
console-size = <0x60000>;
ftrace-size = <0x10000>;
pmsg-size = <0x20000>;
ecc-size = <16>;
status = "okay";
};
debug_region@ffb00000 {
reg = <0x00 0xffb00000 0x00 0x100000>;
no-map;
};
removed_region@85800000 {
reg = <0x00 0x85800000 0x00 0x3700000>;
no-map;
};
};
soc {
sdhci@c0c4000 {
status = "okay";
mmc-ddr-1_8v;
/* SoMC Nile platform's eMMC doesn't support HS200 mode */
mmc-hs400-1_8v;
};
i2c@c175000 {
status = "okay";
/* Synaptics touchscreen */
};
i2c@c176000 {
status = "okay";
/* SMB1351 charger */
};
serial@c1af000 {
status = "okay";
};
/* I2C3, 4, 5, 7 and 8 are disabled on this board. */
i2c@c1b6000 {
status = "okay";
/* NXP NFC */
};
};
};
This diff is collapsed.
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2020, Martin Botka
*/
/dts-v1/;
/* Mermaid uses sdm636, but it's different ever so slightly
* that we can ignore it for the time being. Sony also commonizes
* the Ganges platform as a whole in downstream kernels.
*/
#include "sdm630-sony-xperia-ganges.dtsi"
/ {
model = "Sony Xperia 10 Plus";
compatible = "sony,mermaid-row", "qcom,sdm636";
qcom,msm-id = <345 0>;
qcom,pmic-id = <0x1001b 0x101011a 0x00 0x00 0x1001b 0x201011a 0x00 0x00 0x1001b 0x102001a 0x00 0x00>;
};
...@@ -634,7 +634,7 @@ &mdss_mdp { ...@@ -634,7 +634,7 @@ &mdss_mdp {
}; };
&mss_pil { &mss_pil {
iommus = <&apps_smmu 0x780 0x1>, iommus = <&apps_smmu 0x781 0x0>,
<&apps_smmu 0x724 0x3>; <&apps_smmu 0x724 0x3>;
}; };
......
This diff is collapsed.
...@@ -408,3 +408,24 @@ &ufs_mem_phy { ...@@ -408,3 +408,24 @@ &ufs_mem_phy {
vdda-pll-supply = <&vreg_l3c_1p2>; vdda-pll-supply = <&vreg_l3c_1p2>;
vdda-pll-max-microamp = <19000>; vdda-pll-max-microamp = <19000>;
}; };
&usb_1_hsphy {
status = "okay";
vdda-pll-supply = <&vdd_usb_hs_core>;
vdda33-supply = <&vdda_usb_hs_3p1>;
vdda18-supply = <&vdda_usb_hs_1p8>;
};
&usb_1_qmpphy {
status = "okay";
vdda-phy-supply = <&vreg_l3c_1p2>;
vdda-pll-supply = <&vdda_usb_ss_dp_core_1>;
};
&usb_1 {
status = "okay";
};
&usb_1_dwc3 {
dr_mode = "peripheral";
};
This diff is collapsed.
...@@ -7,6 +7,10 @@ ...@@ -7,6 +7,10 @@
#include <dt-bindings/regulator/qcom,rpmh-regulator.h> #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
#include "sm8250.dtsi" #include "sm8250.dtsi"
#include "pm8150.dtsi"
#include "pm8150b.dtsi"
#include "pm8150l.dtsi"
#include "pm8009.dtsi"
/ { / {
model = "Qualcomm Technologies, Inc. SM8250 MTP"; model = "Qualcomm Technologies, Inc. SM8250 MTP";
...@@ -51,6 +55,11 @@ vreg_s6c_0p88: smpc6-regulator { ...@@ -51,6 +55,11 @@ vreg_s6c_0p88: smpc6-regulator {
}; };
}; };
&adsp {
status = "okay";
firmware-name = "qcom/sm8250/adsp.mbn";
};
&apps_rsc { &apps_rsc {
pm8150-rpmh-regulators { pm8150-rpmh-regulators {
compatible = "qcom,pm8150-rpmh-regulators"; compatible = "qcom,pm8150-rpmh-regulators";
...@@ -136,13 +145,6 @@ vreg_l10a_1p8: ldo10 { ...@@ -136,13 +145,6 @@ vreg_l10a_1p8: ldo10 {
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
}; };
vreg_l11a_0p75: ldo11 {
regulator-name = "vreg_l11a_0p75";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <800000>;
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
};
vreg_l12a_1p8: ldo12 { vreg_l12a_1p8: ldo12 {
regulator-name = "vreg_l12a_1p8"; regulator-name = "vreg_l12a_1p8";
regulator-min-microvolt = <1800000>; regulator-min-microvolt = <1800000>;
...@@ -351,10 +353,24 @@ vreg_l7f_1p8: ldo7 { ...@@ -351,10 +353,24 @@ vreg_l7f_1p8: ldo7 {
}; };
}; };
&cdsp {
status = "okay";
firmware-name = "qcom/sm8250/cdsp.mbn";
};
&qupv3_id_1 { &qupv3_id_1 {
status = "okay"; status = "okay";
}; };
&slpi {
status = "okay";
firmware-name = "qcom/sm8250/slpi.mbn";
};
&tlmm {
gpio-reserved-ranges = <28 4>, <40 4>;
};
&uart2 { &uart2 {
status = "okay"; status = "okay";
}; };
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment