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/at91sam9g20ek_2mmc.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-only
    2 /*
    3  * at91sam9g20ek_2mmc.dts - Device Tree file for Atmel at91sam9g20ek 2 MMC board
    4  *
    5  * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
    6  */
    7 /dts-v1/;
    8 #include "at91sam9g20ek_common.dtsi"
    9 
   10 / {
   11         model = "Atmel at91sam9g20ek 2 mmc";
   12         compatible = "atmel,at91sam9g20ek_2mmc", "atmel,at91sam9g20", "atmel,at91sam9";
   13 
   14         ahb {
   15                 apb{
   16                         mmc0: mmc@fffa8000 {
   17                                 /* clk already mux wuth slot0 */
   18                                 pinctrl-0 = <
   19                                         &pinctrl_board_mmc0_slot0
   20                                         &pinctrl_mmc0_slot0_cmd_dat0
   21                                         &pinctrl_mmc0_slot0_dat1_3>;
   22                                 slot@0 {
   23                                         reg = <0>;
   24                                         bus-width = <4>;
   25                                         cd-gpios = <&pioC 2 GPIO_ACTIVE_HIGH>;
   26                                 };
   27                         };
   28 
   29                         pinctrl@fffff400 {
   30                                 mmc0_slot0 {
   31                                         pinctrl_board_mmc0_slot0: mmc0_slot0-board {
   32                                                 atmel,pins =
   33                                                         <AT91_PIOC 2 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;   /* PC2 gpio CD pin pull up and deglitch */
   34                                         };
   35                                 };
   36                         };
   37                 };
   38         };
   39 
   40         leds {
   41                 compatible = "gpio-leds";
   42 
   43                 ds1 {
   44                         label = "ds1";
   45                         gpios = <&pioB 9 GPIO_ACTIVE_HIGH>;
   46                         linux,default-trigger = "heartbeat";
   47                 };
   48 
   49                 ds5 {
   50                         label = "ds5";
   51                         gpios = <&pioB 8 GPIO_ACTIVE_LOW>;
   52                 };
   53         };
   54 };

Cache object: 39d8f1677989e674f5ac707bd99fbcb5


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