Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
97 lines
1.8 KiB
Devicetree
97 lines
1.8 KiB
Devicetree
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Copyright (c) 2018, Linaro Limited
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include "qcs404-evb.dtsi"
|
|
|
|
/ {
|
|
model = "Qualcomm Technologies, Inc. QCS404 EVB 4000";
|
|
compatible = "qcom,qcs404-evb-4000", "qcom,qcs404-evb",
|
|
"qcom,qcs404";
|
|
};
|
|
|
|
ðernet {
|
|
status = "okay";
|
|
|
|
snps,reset-gpio = <&tlmm 60 GPIO_ACTIVE_LOW>;
|
|
snps,reset-active-low;
|
|
snps,reset-delays-us = <0 10000 10000>;
|
|
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <ðernet_defaults>;
|
|
|
|
phy-handle = <&phy1>;
|
|
phy-mode = "rgmii";
|
|
mdio {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
compatible = "snps,dwmac-mdio";
|
|
phy1: phy@4 {
|
|
compatible = "ethernet-phy-ieee802.3-c22";
|
|
device_type = "ethernet-phy";
|
|
reg = <0x4>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&tlmm {
|
|
ethernet_defaults: ethernet-defaults-state {
|
|
int-pins {
|
|
pins = "gpio61";
|
|
function = "rgmii_int";
|
|
bias-disable;
|
|
drive-strength = <2>;
|
|
};
|
|
mdc-pins {
|
|
pins = "gpio76";
|
|
function = "rgmii_mdc";
|
|
bias-pull-up;
|
|
};
|
|
mdio-pins {
|
|
pins = "gpio75";
|
|
function = "rgmii_mdio";
|
|
bias-pull-up;
|
|
};
|
|
tx-pins {
|
|
pins = "gpio67", "gpio66", "gpio65", "gpio64";
|
|
function = "rgmii_tx";
|
|
bias-pull-up;
|
|
drive-strength = <16>;
|
|
};
|
|
rx-pins {
|
|
pins = "gpio73", "gpio72", "gpio71", "gpio70";
|
|
function = "rgmii_rx";
|
|
bias-disable;
|
|
drive-strength = <2>;
|
|
};
|
|
tx-ctl-pins {
|
|
pins = "gpio68";
|
|
function = "rgmii_ctl";
|
|
bias-pull-up;
|
|
drive-strength = <16>;
|
|
};
|
|
rx-ctl-pins {
|
|
pins = "gpio74";
|
|
function = "rgmii_ctl";
|
|
bias-disable;
|
|
drive-strength = <2>;
|
|
};
|
|
tx-ck-pins {
|
|
pins = "gpio63";
|
|
function = "rgmii_ck";
|
|
bias-pull-up;
|
|
drive-strength = <16>;
|
|
};
|
|
rx-ck-pins {
|
|
pins = "gpio69";
|
|
function = "rgmii_ck";
|
|
bias-disable;
|
|
drive-strength = <2>;
|
|
};
|
|
};
|
|
};
|