
Pull PCI updates from Bjorn Helgaas: "PCI changes for the v4.5 merge window: Enumeration: - Simplify config space size computation (Bjorn Helgaas) - Avoid iterating through ROM outside the resource window (Edward O'Callaghan) - Support PCIe devices with short cfg_size (Jason S. McMullan) - Add Netronome vendor and device IDs (Jason S. McMullan) - Limit config space size for Netronome NFP6000 family (Jason S. McMullan) - Add Netronome NFP4000 PF device ID (Simon Horman) - Limit config space size for Netronome NFP4000 (Simon Horman) - Print warnings for all invalid expansion ROM headers (Vladis Dronov) Resource management: - Fix minimum allocation address overwrite (Christoph Biedl) PCI device hotplug: - acpiphp_ibm: Fix null dereferences on null ibm_slot (Colin Ian King) - pciehp: Always protect pciehp_disable_slot() with hotplug mutex (Guenter Roeck) - shpchp: Constify hpc_ops structure (Julia Lawall) - ibmphp: Remove unneeded NULL test (Julia Lawall) Power management: - Make ASPM sysfs link_state_store() consistent with link_state_show() (Andy Lutomirski) Virtualization - Add function 1 DMA alias quirk for Lite-On/Plextor M6e/Marvell 88SS9183 (Tim Sander) MSI: - Remove empty pci_msi_init_pci_dev() (Bjorn Helgaas) - Mark PCIe/PCI (MSI) IRQ cascade handlers as IRQF_NO_THREAD (Grygorii Strashko) - Initialize MSI capability for all architectures (Guilherme G. Piccoli) - Relax msi_domain_alloc() to support parentless MSI irqdomains (Liu Jiang) ARM Versatile host bridge driver: - Remove unused pci_sys_data structures (Lorenzo Pieralisi) Broadcom iProc host bridge driver: - Hide CONFIG_PCIE_IPROC (Arnd Bergmann) - Do not use 0x in front of %pap (Dmitry V. Krivenok) - Update iProc PCIe device tree binding (Ray Jui) - Add PAXC interface support (Ray Jui) - Add iProc PCIe MSI device tree binding (Ray Jui) - Add iProc PCIe MSI support (Ray Jui) Freescale i.MX6 host bridge driver: - Use gpio_set_value_cansleep() (Fabio Estevam) - Add support for active-low reset GPIO (Petr Štetiar) HiSilicon host bridge driver: - Add support for HiSilicon Hip06 PCIe host controllers (Gabriele Paoloni) Intel VMD host bridge driver: - Export irq_domain_set_info() for module use (Keith Busch) - x86/PCI: Allow DMA ops specific to a PCI domain (Keith Busch) - Use 32 bit PCI domain numbers (Keith Busch) - Add driver for Intel Volume Management Device (VMD) (Keith Busch) Qualcomm host bridge driver: - Document PCIe devicetree bindings (Stanimir Varbanov) - Add Qualcomm PCIe controller driver (Stanimir Varbanov) - dts: apq8064: add PCIe devicetree node (Stanimir Varbanov) - dts: ifc6410: enable PCIe DT node for this board (Stanimir Varbanov) Renesas R-Car host bridge driver: - Add support for R-Car H3 to pcie-rcar (Harunobu Kurokawa) - Allow DT to override default window settings (Phil Edworthy) - Convert to DT resource parsing API (Phil Edworthy) - Revert "PCI: rcar: Build pcie-rcar.c only on ARM" (Phil Edworthy) - Remove unused pci_sys_data struct from pcie-rcar (Phil Edworthy) - Add runtime PM support to pcie-rcar (Phil Edworthy) - Add Gen2 PHY setup to pcie-rcar (Phil Edworthy) - Add gen2 fallback compatibility string for pci-rcar-gen2 (Simon Horman) - Add gen2 fallback compatibility string for pcie-rcar (Simon Horman) Synopsys DesignWare host bridge driver: - Simplify control flow (Bjorn Helgaas) - Make config accessor override checking symmetric (Bjorn Helgaas) - Ensure ATU is enabled before IO/conf space accesses (Stanimir Varbanov) Miscellaneous: - Add of_pci_get_host_bridge_resources() stub (Arnd Bergmann) - Check for PCI_HEADER_TYPE_BRIDGE equality, not bitmask (Bjorn Helgaas) - Fix all whitespace issues (Bogicevic Sasa) - x86/PCI: Simplify pci_bios_{read,write} (Geliang Tang) - Use to_pci_dev() instead of open-coding it (Geliang Tang) - Use kobj_to_dev() instead of open-coding it (Geliang Tang) - Use list_for_each_entry() to simplify code (Geliang Tang) - Fix typos in <linux/msi.h> (Thomas Petazzoni) - x86/PCI: Clarify AMD Fam10h config access restrictions comment (Tomasz Nowicki)" * tag 'pci-v4.5-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (58 commits) PCI: Add function 1 DMA alias quirk for Lite-On/Plextor M6e/Marvell 88SS9183 PCI: Limit config space size for Netronome NFP4000 PCI: Add Netronome NFP4000 PF device ID x86/PCI: Add driver for Intel Volume Management Device (VMD) PCI/AER: Use 32 bit PCI domain numbers x86/PCI: Allow DMA ops specific to a PCI domain irqdomain: Export irq_domain_set_info() for module use PCI: host: Add of_pci_get_host_bridge_resources() stub genirq/MSI: Relax msi_domain_alloc() to support parentless MSI irqdomains PCI: rcar: Add Gen2 PHY setup to pcie-rcar PCI: rcar: Add runtime PM support to pcie-rcar PCI: designware: Make config accessor override checking symmetric PCI: ibmphp: Remove unneeded NULL test ARM: dts: ifc6410: enable PCIe DT node for this board ARM: dts: apq8064: add PCIe devicetree node PCI: hotplug: Use list_for_each_entry() to simplify code PCI: rcar: Remove unused pci_sys_data struct from pcie-rcar PCI: hisi: Add support for HiSilicon Hip06 PCIe host controllers PCI: Avoid iterating through memory outside the resource window PCI: acpiphp_ibm: Fix null dereferences on null ibm_slot ...
310 lines
5.9 KiB
Plaintext
310 lines
5.9 KiB
Plaintext
#include "qcom-apq8064-v2.0.dtsi"
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
|
|
|
|
/ {
|
|
model = "Qualcomm APQ8064/IFC6410";
|
|
compatible = "qcom,apq8064-ifc6410", "qcom,apq8064";
|
|
|
|
aliases {
|
|
serial0 = &gsbi7_serial;
|
|
serial1 = &gsbi6_serial;
|
|
};
|
|
|
|
chosen {
|
|
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 {
|
|
label = "apq8064:green:user1";
|
|
gpios = <&pm8921_gpio 18 GPIO_ACTIVE_HIGH>;
|
|
default-state = "on";
|
|
};
|
|
};
|
|
|
|
soc {
|
|
pinctrl@800000 {
|
|
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;
|
|
};
|
|
};
|
|
};
|
|
|
|
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>;
|
|
i2c3: i2c@16280000 {
|
|
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@16500000 {
|
|
status = "ok";
|
|
qcom,mode = <GSBI_PROT_UART_W_FC>;
|
|
|
|
serial@16540000 {
|
|
status = "ok";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&gsbi6_uart_4pins>;
|
|
};
|
|
};
|
|
|
|
gsbi@16600000 {
|
|
status = "ok";
|
|
qcom,mode = <GSBI_PROT_I2C_UART>;
|
|
serial@16640000 {
|
|
status = "ok";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&gsbi7_uart_2pins>;
|
|
};
|
|
};
|
|
|
|
sata_phy0: phy@1b400000 {
|
|
status = "okay";
|
|
};
|
|
|
|
sata0: sata@29000000 {
|
|
status = "okay";
|
|
target-supply = <&pm8921_s4>;
|
|
};
|
|
|
|
/* OTG */
|
|
usb1_phy: phy@12500000 {
|
|
status = "okay";
|
|
vddcx-supply = <&pm8921_s3>;
|
|
v3p3-supply = <&pm8921_l3>;
|
|
v1p8-supply = <&pm8921_l4>;
|
|
};
|
|
|
|
usb3_phy: phy@12520000 {
|
|
status = "okay";
|
|
vddcx-supply = <&pm8921_s3>;
|
|
v3p3-supply = <&pm8921_l3>;
|
|
v1p8-supply = <&pm8921_l23>;
|
|
};
|
|
|
|
usb4_phy: phy@12530000 {
|
|
status = "okay";
|
|
vddcx-supply = <&pm8921_s3>;
|
|
v3p3-supply = <&pm8921_l3>;
|
|
v1p8-supply = <&pm8921_l23>;
|
|
};
|
|
|
|
gadget1: gadget@12500000 {
|
|
status = "okay";
|
|
};
|
|
|
|
/* OTG */
|
|
usb1: usb@12500000 {
|
|
status = "okay";
|
|
};
|
|
|
|
usb3: usb@12520000 {
|
|
status = "okay";
|
|
};
|
|
|
|
usb4: usb@12530000 {
|
|
status = "okay";
|
|
};
|
|
|
|
pci@1b500000 {
|
|
status = "ok";
|
|
vdda-supply = <&pm8921_s3>;
|
|
vdda_phy-supply = <&pm8921_lvs6>;
|
|
vdda_refclk-supply = <&ext_3p3v>;
|
|
pinctrl-0 = <&pcie_pins>;
|
|
pinctrl-names = "default";
|
|
perst-gpio = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
qcom,ssbi@500000 {
|
|
pmic@0 {
|
|
gpio@150 {
|
|
wlan_default_gpios: wlan-gpios {
|
|
pios {
|
|
pins = "gpio43";
|
|
function = "normal";
|
|
bias-disable;
|
|
power-source = <PM8921_GPIO_S4>;
|
|
};
|
|
};
|
|
|
|
notify_led: nled {
|
|
pios {
|
|
pins = "gpio18";
|
|
function = "normal";
|
|
bias-disable;
|
|
power-source = <PM8921_GPIO_S4>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
amba {
|
|
/* eMMC */
|
|
sdcc1: sdcc@12400000 {
|
|
status = "okay";
|
|
vmmc-supply = <&pm8921_l5>;
|
|
vqmmc-supply = <&pm8921_s4>;
|
|
};
|
|
|
|
/* External micro SD card */
|
|
sdcc3: sdcc@12180000 {
|
|
status = "okay";
|
|
vmmc-supply = <&pm8921_l6>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&card_detect>;
|
|
cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
|
|
};
|
|
/* WLAN */
|
|
sdcc4: sdcc@121c0000 {
|
|
status = "okay";
|
|
vmmc-supply = <&ext_3p3v>;
|
|
vqmmc-supply = <&pm8921_lvs1>;
|
|
mmc-pwrseq = <&sdcc4_pwrseq>;
|
|
};
|
|
};
|
|
};
|
|
};
|