The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/src/arm64/qcom/qcs404-evb-4000.dts

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 // SPDX-License-Identifier: GPL-2.0
    2 // Copyright (c) 2018, Linaro Limited
    3 
    4 /dts-v1/;
    5 
    6 #include <dt-bindings/gpio/gpio.h>
    7 #include "qcs404-evb.dtsi"
    8 
    9 / {
   10         model = "Qualcomm Technologies, Inc. QCS404 EVB 4000";
   11         compatible = "qcom,qcs404-evb-4000", "qcom,qcs404-evb",
   12                      "qcom,qcs404";
   13 };
   14 
   15 &ethernet {
   16         status = "okay";
   17 
   18         snps,reset-gpio = <&tlmm 60 GPIO_ACTIVE_LOW>;
   19         snps,reset-active-low;
   20         snps,reset-delays-us = <0 10000 10000>;
   21 
   22         pinctrl-names = "default";
   23         pinctrl-0 = <&ethernet_defaults>;
   24 
   25         phy-handle = <&phy1>;
   26         phy-mode = "rgmii";
   27         mdio {
   28                 #address-cells = <0x1>;
   29                 #size-cells = <0x0>;
   30                 compatible = "snps,dwmac-mdio";
   31                 phy1: phy@4 {
   32                         compatible = "ethernet-phy-ieee802.3-c22";
   33                         device_type = "ethernet-phy";
   34                         reg = <0x4>;
   35                 };
   36         };
   37 };
   38 
   39 &tlmm {
   40         ethernet_defaults: ethernet-defaults {
   41                 int {
   42                         pins = "gpio61";
   43                         function = "rgmii_int";
   44                         bias-disable;
   45                         drive-strength = <2>;
   46                 };
   47                 mdc {
   48                         pins = "gpio76";
   49                         function = "rgmii_mdc";
   50                         bias-pull-up;
   51                 };
   52                 mdio {
   53                         pins = "gpio75";
   54                         function = "rgmii_mdio";
   55                         bias-pull-up;
   56                 };
   57                 tx {
   58                         pins = "gpio67", "gpio66", "gpio65", "gpio64";
   59                         function = "rgmii_tx";
   60                         bias-pull-up;
   61                         drive-strength = <16>;
   62                 };
   63                 rx {
   64                         pins = "gpio73", "gpio72", "gpio71", "gpio70";
   65                         function = "rgmii_rx";
   66                         bias-disable;
   67                         drive-strength = <2>;
   68                 };
   69                 tx-ctl {
   70                         pins = "gpio68";
   71                         function = "rgmii_ctl";
   72                         bias-pull-up;
   73                         drive-strength = <16>;
   74                 };
   75                 rx-ctl {
   76                         pins = "gpio74";
   77                         function = "rgmii_ctl";
   78                         bias-disable;
   79                         drive-strength = <2>;
   80                 };
   81                 tx-ck {
   82                         pins = "gpio63";
   83                         function = "rgmii_ck";
   84                         bias-pull-up;
   85                         drive-strength = <16>;
   86                 };
   87                 rx-ck {
   88                         pins = "gpio69";
   89                         function = "rgmii_ck";
   90                         bias-disable;
   91                         drive-strength = <2>;
   92                 };
   93         };
   94 };

Cache object: 0c4ffd5ff5ed7a8e41a48bbc4762b30c


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.