xref: /linux/arch/arm64/boot/dts/qcom/sa8775p-ride.dts (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) 2023, Linaro Limited
4 */
5
6/dts-v1/;
7
8#include "sa8775p-ride.dtsi"
9
10/ {
11	model = "Qualcomm SA8775P Ride";
12	compatible = "qcom,sa8775p-ride", "qcom,sa8775p";
13};
14
15&ethernet0 {
16	phy-mode = "sgmii";
17};
18
19&ethernet1 {
20	phy-mode = "sgmii";
21};
22
23&mdio {
24	compatible = "snps,dwmac-mdio";
25	#address-cells = <1>;
26	#size-cells = <0>;
27
28	sgmii_phy0: phy@8 {
29		compatible = "ethernet-phy-id0141.0dd4";
30		reg = <0x8>;
31		device_type = "ethernet-phy";
32		interrupts-extended = <&tlmm 7 IRQ_TYPE_EDGE_FALLING>;
33		reset-gpios = <&pmm8654au_2_gpios 8 GPIO_ACTIVE_LOW>;
34		reset-assert-us = <11000>;
35		reset-deassert-us = <70000>;
36	};
37
38	sgmii_phy1: phy@a {
39		compatible = "ethernet-phy-id0141.0dd4";
40		reg = <0xa>;
41		device_type = "ethernet-phy";
42		interrupts-extended = <&tlmm 26 IRQ_TYPE_EDGE_FALLING>;
43		reset-gpios = <&pmm8654au_2_gpios 9 GPIO_ACTIVE_LOW>;
44		reset-assert-us = <11000>;
45		reset-deassert-us = <70000>;
46	};
47};
48