Re: [PATCH v3 3/3] arm64: dts: qcom: sa8540p-ride: Add ethernet nodes

From: Krzysztof Kozlowski
Date: Sun Apr 02 2023 - 06:29:34 EST


On 31/03/2023 23:58, Andrew Halaney wrote:
> Enable both the MACs found on the board.
>
> ethernet0 and ethernet1 both ultimately go to a series of on board
> switches which aren't managed by this processor.

>
> +&ethernet0 {
> + snps,mtl-rx-config = <&mtl_rx_setup>;
> + snps,mtl-tx-config = <&mtl_tx_setup>;
> +
> + max-speed = <1000>;
> + phy-handle = <&rgmii_phy>;
> + phy-mode = "rgmii-txid";
> +
> + pinctrl-names = "default";
> + pinctrl-0 = <&ethernet0_default>;
> +
> + status = "okay";
> +
> + mdio {
> + #address-cells = <0x1>;
> + #size-cells = <0x0>;
> +
> + compatible = "snps,dwmac-mdio";

Compatible is always, always the first property.

Best regards,
Krzysztof