summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/sa8775p-ride.dts
blob: 2e87fd760dbdde9f93aef8c3b3b013e1cfb73d5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// SPDX-License-Identifier: BSD-3-Clause
/*
 * Copyright (c) 2023, Linaro Limited
 */

/dts-v1/;

#include "sa8775p-ride.dtsi"

/ {
	model = "Qualcomm SA8775P Ride";
	compatible = "qcom,sa8775p-ride", "qcom,sa8775p";
};

&ethernet0 {
	phy-mode = "sgmii";
};

&ethernet1 {
	phy-mode = "sgmii";
};

&mdio {
	compatible = "snps,dwmac-mdio";
	#address-cells = <1>;
	#size-cells = <0>;

	sgmii_phy0: phy@8 {
		compatible = "ethernet-phy-id0141.0dd4";
		reg = <0x8>;
		device_type = "ethernet-phy";
		interrupts-extended = <&tlmm 7 IRQ_TYPE_EDGE_FALLING>;
		reset-gpios = <&pmm8654au_2_gpios 8 GPIO_ACTIVE_LOW>;
		reset-assert-us = <11000>;
		reset-deassert-us = <70000>;
	};

	sgmii_phy1: phy@a {
		compatible = "ethernet-phy-id0141.0dd4";
		reg = <0xa>;
		device_type = "ethernet-phy";
		interrupts-extended = <&tlmm 26 IRQ_TYPE_EDGE_FALLING>;
		reset-gpios = <&pmm8654au_2_gpios 9 GPIO_ACTIVE_LOW>;
		reset-assert-us = <11000>;
		reset-deassert-us = <70000>;
	};
};