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/arm/socfpga_cyclone5_de0_nano_soc.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 /*
    3  * Copyright Altera Corporation (C) 2015. All rights reserved.
    4  */
    5 
    6 #include "socfpga_cyclone5.dtsi"
    7 
    8 / {
    9         model = "Terasic DE-0(Atlas)";
   10         compatible = "terasic,de0-atlas", "altr,socfpga-cyclone5", "altr,socfpga";
   11 
   12         chosen {
   13                 bootargs = "earlyprintk";
   14                 stdout-path = "serial0:115200n8";
   15         };
   16 
   17         memory@0 {
   18                 name = "memory";
   19                 device_type = "memory";
   20                 reg = <0x0 0x40000000>; /* 1GB */
   21         };
   22 
   23         aliases {
   24                 ethernet0 = &gmac1;
   25         };
   26 
   27         regulator_3_3v: regulator {
   28                 compatible = "regulator-fixed";
   29                 regulator-name = "3.3V";
   30                 regulator-min-microvolt = <3300000>;
   31                 regulator-max-microvolt = <3300000>;
   32         };
   33 
   34         leds {
   35                 compatible = "gpio-leds";
   36                 hps0 {
   37                         label = "hps_led0";
   38                         gpios = <&portb 24 0>;
   39                         linux,default-trigger = "heartbeat";
   40                 };
   41         };
   42 };
   43 
   44 &gmac1 {
   45         status = "okay";
   46         phy-mode = "rgmii";
   47 
   48         txd0-skew-ps = <0>; /* -420ps */
   49         txd1-skew-ps = <0>; /* -420ps */
   50         txd2-skew-ps = <0>; /* -420ps */
   51         txd3-skew-ps = <0>; /* -420ps */
   52         rxd0-skew-ps = <420>; /* 0ps */
   53         rxd1-skew-ps = <420>; /* 0ps */
   54         rxd2-skew-ps = <420>; /* 0ps */
   55         rxd3-skew-ps = <420>; /* 0ps */
   56         txen-skew-ps = <0>; /* -420ps */
   57         txc-skew-ps = <1860>; /* 960ps */
   58         rxdv-skew-ps = <420>; /* 0ps */
   59         rxc-skew-ps = <1680>; /* 780ps */
   60 
   61         max-frame-size = <3800>;
   62 };
   63 
   64 &gpio0 {
   65         status = "okay";
   66 };
   67 
   68 &gpio1 {
   69         status = "okay";
   70 };
   71 
   72 &gpio2 {
   73         status = "okay";
   74 };
   75 
   76 &i2c0 {
   77         status = "okay";
   78         clock-frequency = <100000>;
   79 
   80         adxl345: adxl345@53 {
   81                 compatible = "adi,adxl345";
   82                 reg = <0x53>;
   83 
   84                 interrupt-parent = <&portc>;
   85                 interrupts = <3 2>;
   86         };
   87 };
   88 
   89 &mmc0 {
   90         vmmc-supply = <&regulator_3_3v>;
   91         vqmmc-supply = <&regulator_3_3v>;
   92         status = "okay";
   93 };
   94 
   95 &uart0 {
   96         status = "okay";
   97 };
   98 
   99 &usb1 {
  100         status = "okay";
  101 };

Cache object: ae7f8786add9ac25f635e687508acc0f


[ 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.