Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/arm/qcom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1046,6 +1046,7 @@ properties:

- items:
- enum:
- ayaneo,pocket-s2
- qcom,sm8650-hdk
- qcom,sm8650-mtp
- qcom,sm8650-qrd
Expand Down
61 changes: 61 additions & 0 deletions Documentation/devicetree/bindings/usb/renesas,upd720201-pci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/usb/renesas,upd720201-pci.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: UPD720201/UPD720202 USB 3.0 xHCI Host Controller (PCIe)

maintainers:
- Neil Armstrong <neil.armstrong@linaro.org>

description:
UPD720201 USB 3.0 xHCI Host Controller via PCIe x1 Gen2 interface.
The UPD720202 supports up to two downstream ports, while UPD720201
supports up to four downstream USB 3.0 rev1.0 ports.

properties:
compatible:
const: pci1912,0014

reg:
maxItems: 1

avdd33-supply:
description: +3.3 V power supply for analog circuit

vdd10-supply:
description: +1.05 V power supply

vdd33-supply:
description: +3.3 V power supply

required:
- compatible
- reg
- avdd33-supply
- vdd10-supply
- vdd33-supply

allOf:
- $ref: usb-xhci.yaml

additionalProperties: false

examples:
- |
pcie@0 {
reg = <0x0 0x1000>;
ranges = <0x02000000 0x0 0x100000 0x10000000 0x0 0x0>;
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";

usb-controller@0 {
compatible = "pci1912,0014";
reg = <0x0 0x0 0x0 0x0 0x0>;
avdd33-supply = <&avdd33_reg>;
vdd10-supply = <&vdd10_reg>;
vdd33-supply = <&vdd33_reg>;
};
};
2 changes: 2 additions & 0 deletions Documentation/devicetree/bindings/vendor-prefixes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ patternProperties:
description: Axiado Corporation
"^axis,.*":
description: Axis Communications AB
"^ayaneo,.*":
description: Anyun Intelligent Technology (Hong Kong) Co., Ltd
"^azoteq,.*":
description: Azoteq (Pty) Ltd
"^azw,.*":
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/qcom/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sm8550-mtp.dtb
dtb-$(CONFIG_ARCH_QCOM) += sm8550-qrd.dtb
dtb-$(CONFIG_ARCH_QCOM) += sm8550-samsung-q5q.dtb
dtb-$(CONFIG_ARCH_QCOM) += sm8550-sony-xperia-yodo-pdx234.dtb
dtb-$(CONFIG_ARCH_QCOM) += sm8650-ayaneo-pocket-s2.dtb

sm8650-hdk-display-card-dtbs := sm8650-hdk.dtb sm8650-hdk-display-card.dtbo

Expand Down
161 changes: 161 additions & 0 deletions arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,28 @@
regulator-max-microvolt = <3700000>;
};

vreg_pcie0_1p05: regulator-pcie0-1p05v {
compatible = "regulator-fixed";
regulator-name = "PCIE0_1.05V";
gpio = <&pm7250b_gpios 4 GPIO_ACTIVE_HIGH>;
regulator-min-microvolt = <1050000>;
regulator-max-microvolt = <1050000>;
enable-active-high;
pinctrl-0 = <&upd_pwr_en2_state>;
pinctrl-names = "default";
};

vreg_pcie0_3p3: regulator-pcie0-3p3v-dual {
compatible = "regulator-fixed";
regulator-name = "PCIE0_3.3V_Dual";
gpio = <&pm7250b_gpios 1 GPIO_ACTIVE_HIGH>;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
enable-active-high;
pinctrl-0 = <&upd_pwr_en1_state>;
pinctrl-names = "default";
};

vdd_ntn_0p9: regulator-vdd-ntn-0p9 {
compatible = "regulator-fixed";
regulator-name = "VDD_NTN_0P9";
Expand Down Expand Up @@ -788,6 +810,72 @@
};
};
};

i2c-mux@71 {
compatible = "nxp,pca9847";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x71>;

i2c@1 {
#address-cells = <1>;
#size-cells = <0>;

reg = <1>;

usb-hub@2d {
compatible = "smsc,usb4604";
reg = <0x2d>;
};
};

i2c@2 {
#address-cells = <1>;
#size-cells = <0>;

reg = <2>;

usb-hub@2d {
compatible = "smsc,usb4604";
reg = <0x2d>;
};
};

i2c@3 {
#address-cells = <1>;
#size-cells = <0>;

reg = <3>;
};

i2c@4 {
#address-cells = <1>;
#size-cells = <0>;

reg = <4>;
};

i2c@5 {
#address-cells = <1>;
#size-cells = <0>;

reg = <5>;
};

i2c@6 {
#address-cells = <1>;
#size-cells = <0>;

reg = <6>;
};

i2c@7 {
#address-cells = <1>;
#size-cells = <0>;

reg = <7>;
};
};
};

&lpass_va_macro {
Expand Down Expand Up @@ -910,6 +998,42 @@
device_type = "pci";
ranges;
bus-range = <0x4 0xff>;

/* Renesas μPD720201 PCIe USB3.0 Host Controller */
usb-controller@0,0 {
compatible = "pci1912,0014";
reg = <0x40000 0x0 0x0 0x0 0x0>;

avdd33-supply = <&vreg_pcie0_3p3>;
vdd10-supply = <&vreg_pcie0_1p05>;
vdd33-supply = <&vreg_pcie0_3p3>;

pinctrl-0 = <&upd_hub_rst_state>;
pinctrl-names = "default";

#address-cells = <1>;
#size-cells = <0>;

/* Genesys Logic GL3590 USB Hub Controller */
gl3590_2_0: hub@1 {
compatible = "usb5e3,610";
reg = <1>;

reset-gpios = <&tlmm 162 GPIO_ACTIVE_HIGH>;

pinctrl-0 = <&usb_hub_reset_state>;
pinctrl-names = "default";

peer-hub = <&gl3590_3_0>;
};

gl3590_3_0: hub@2 {
compatible = "usb5e3,625";
reg = <2>;

peer-hub = <&gl3590_2_0>;
};
};
};

pcie@3,0 {
Expand Down Expand Up @@ -970,6 +1094,17 @@
power-source = <0>;
};

upd_hub_rst_state: upd-hub-rst-state {
pins = "gpio4";
function = "normal";

bias-disable;
input-disable;
output-enable;
output-high;
power-source = <0>;
};

tc9563_rsex_n: tc9563-resx-state {
pins = "gpio1";
function = "normal";
Expand Down Expand Up @@ -1759,6 +1894,15 @@
};

&pm7250b_gpios {
upd_pwr_en1_state: upd-pwr-en1-state {
pins = "gpio1";
function = "normal";

output-enable;
input-disable;
power-source = <0>;
};

lt9611_rst_pin: lt9611-rst-state {
pins = "gpio2";
function = "normal";
Expand All @@ -1767,6 +1911,15 @@
input-disable;
power-source = <0>;
};

upd_pwr_en2_state: upd-pwr-en2-state {
pins = "gpio4";
function = "normal";

output-enable;
input-disable;
power-source = <0>;
};
};

&sdc2_clk {
Expand Down Expand Up @@ -1812,6 +1965,14 @@
function = "gpio";
bias-pull-up;
};

usb_hub_reset_state: usb-hub-reset-state {
pins = "gpio162";
function = "gpio";

drive-strength = <2>;
bias-disable;
};
};

&lpass_audiocc {
Expand Down
Loading