1cac8e787SVinod Koul// SPDX-License-Identifier: GPL-2.0 2cac8e787SVinod Koul// Copyright (c) 2018, Linaro Limited 3cac8e787SVinod Koul 4cac8e787SVinod Koul/dts-v1/; 5cac8e787SVinod Koul 60253735fSVinod Koul#include <dt-bindings/gpio/gpio.h> 7cac8e787SVinod Koul#include "qcs404-evb.dtsi" 8cac8e787SVinod Koul 9cac8e787SVinod Koul/ { 10cac8e787SVinod Koul model = "Qualcomm Technologies, Inc. QCS404 EVB 4000"; 113efd4352SKhasim Syed Mohammed compatible = "qcom,qcs404-evb-4000", "qcom,qcs404-evb", 123efd4352SKhasim Syed Mohammed "qcom,qcs404"; 13cac8e787SVinod Koul}; 140253735fSVinod Koul 150253735fSVinod Koulðernet { 167a1dcc9dSAdrian Schmutzler status = "okay"; 170253735fSVinod Koul 180253735fSVinod Koul snps,reset-gpio = <&tlmm 60 GPIO_ACTIVE_LOW>; 190253735fSVinod Koul snps,reset-active-low; 200253735fSVinod Koul snps,reset-delays-us = <0 10000 10000>; 210253735fSVinod Koul 220253735fSVinod Koul pinctrl-names = "default"; 230253735fSVinod Koul pinctrl-0 = <ðernet_defaults>; 240253735fSVinod Koul 250253735fSVinod Koul phy-handle = <&phy1>; 260253735fSVinod Koul phy-mode = "rgmii"; 270253735fSVinod Koul mdio { 280253735fSVinod Koul #address-cells = <0x1>; 290253735fSVinod Koul #size-cells = <0x0>; 300253735fSVinod Koul compatible = "snps,dwmac-mdio"; 310253735fSVinod Koul phy1: phy@4 { 320253735fSVinod Koul compatible = "ethernet-phy-ieee802.3-c22"; 330253735fSVinod Koul device_type = "ethernet-phy"; 340253735fSVinod Koul reg = <0x4>; 350253735fSVinod Koul }; 360253735fSVinod Koul }; 370253735fSVinod Koul}; 380253735fSVinod Koul 390253735fSVinod Koul&tlmm { 400253735fSVinod Koul ethernet_defaults: ethernet-defaults { 410253735fSVinod Koul int { 420253735fSVinod Koul pins = "gpio61"; 430253735fSVinod Koul function = "rgmii_int"; 440253735fSVinod Koul bias-disable; 450253735fSVinod Koul drive-strength = <2>; 460253735fSVinod Koul }; 470253735fSVinod Koul mdc { 480253735fSVinod Koul pins = "gpio76"; 490253735fSVinod Koul function = "rgmii_mdc"; 500253735fSVinod Koul bias-pull-up; 510253735fSVinod Koul }; 520253735fSVinod Koul mdio { 530253735fSVinod Koul pins = "gpio75"; 540253735fSVinod Koul function = "rgmii_mdio"; 550253735fSVinod Koul bias-pull-up; 560253735fSVinod Koul }; 570253735fSVinod Koul tx { 580253735fSVinod Koul pins = "gpio67", "gpio66", "gpio65", "gpio64"; 590253735fSVinod Koul function = "rgmii_tx"; 600253735fSVinod Koul bias-pull-up; 610253735fSVinod Koul drive-strength = <16>; 620253735fSVinod Koul }; 630253735fSVinod Koul rx { 640253735fSVinod Koul pins = "gpio73", "gpio72", "gpio71", "gpio70"; 650253735fSVinod Koul function = "rgmii_rx"; 660253735fSVinod Koul bias-disable; 670253735fSVinod Koul drive-strength = <2>; 680253735fSVinod Koul }; 690253735fSVinod Koul tx-ctl { 700253735fSVinod Koul pins = "gpio68"; 710253735fSVinod Koul function = "rgmii_ctl"; 720253735fSVinod Koul bias-pull-up; 730253735fSVinod Koul drive-strength = <16>; 740253735fSVinod Koul }; 750253735fSVinod Koul rx-ctl { 760253735fSVinod Koul pins = "gpio74"; 770253735fSVinod Koul function = "rgmii_ctl"; 780253735fSVinod Koul bias-disable; 790253735fSVinod Koul drive-strength = <2>; 800253735fSVinod Koul }; 810253735fSVinod Koul tx-ck { 820253735fSVinod Koul pins = "gpio63"; 830253735fSVinod Koul function = "rgmii_ck"; 840253735fSVinod Koul bias-pull-up; 850253735fSVinod Koul drive-strength = <16>; 860253735fSVinod Koul }; 870253735fSVinod Koul rx-ck { 880253735fSVinod Koul pins = "gpio69"; 890253735fSVinod Koul function = "rgmii_ck"; 900253735fSVinod Koul bias-disable; 910253735fSVinod Koul drive-strength = <2>; 920253735fSVinod Koul }; 930253735fSVinod Koul }; 940253735fSVinod Koul}; 95