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