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