Re: [PATCH net-next 12/12] arm64: dts: qcom: qcs6490-rb3gen2: enable TC9564 with a single QCS8081 phy

From: Konrad Dybcio

Date: Fri May 08 2026 - 10:05:52 EST


On 5/1/26 5:54 PM, Alex Elder wrote:
> From: Daniel Thompson <daniel@xxxxxxxxxxxx>
>
> The QCS6490 RB3Gen2 includes a Toshiba TC9564 (a.k.a. Qualcomm QPS615).
> TC9564 is an twin Ethernet-AVB/TSN bridge with an integrated PCIe switch.
>
> There are multiple builds of RB3Gen2 with components included/excluded.
> That means whether or not there is a phy attached to eMAC0 depends on
> the exact board. However all versions include a TC9564 combined with a
> single QCS8081 attached to eMAC1.
>
> Add properties to the existing PCI nodes to describe how the TC9564 and
> QCS8081 are connected to each other (and to the host SoC).
>
> (Note: "pci1179,0220" is documented in the "net/toshiba,tc956x-dwmac.yaml"
> binding, but checkpatch.pl doesn't recognize that.)

This should probably go under the --- line

[...]

> + qep_1p8: regulator-qep-1p8 {
> + compatible = "regulator-fixed";
> + regulator-name = "qep_1p8";
> + gpio = <&pm7325_gpios 8 GPIO_ACTIVE_HIGH>;
> + regulator-min-microvolt = <1800000>;
> + regulator-max-microvolt = <1800000>;
> + enable-active-high;
> + regulator-always-on;
> + };

If I'm reading the schematics right, this is only required for the PHY
- is it collapsible, or does it really need to be a-on?

[...]

> + qep_irq_pin: qep-irq-state {
> + pins = "gpio101";
> + function = "gpio";
> + drive-strength = <2>;
> + bias-disable;

There's no pull-up onboard, should we use the on-chip one?

Konrad