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/ox810se-wd-mbwe.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-or-later
    2 /*
    3  * wd-mbwe.dtsi - Device tree file for Western Digital My Book World Edition
    4  *
    5  * Copyright (C) 2016 Neil Armstrong <narmstrong@baylibre.com>
    6  */
    7 
    8 /dts-v1/;
    9 #include "ox810se.dtsi"
   10 
   11 / {
   12         model = "Western Digital My Book World Edition";
   13 
   14         compatible = "wd,mbwe", "oxsemi,ox810se";
   15 
   16         chosen {
   17                 bootargs = "console=ttyS1,115200n8 earlyprintk=serial";
   18         };
   19 
   20         memory {
   21                 /* 128Mbytes DDR */
   22                 reg = <0x48000000 0x8000000>;
   23         };
   24 
   25         aliases {
   26                 serial1 = &uart1;
   27                 gpio0 = &gpio0;
   28                 gpio1 = &gpio1;
   29         };
   30 
   31         gpio-keys-polled {
   32                 compatible = "gpio-keys-polled";
   33                 #address-cells = <1>;
   34                 #size-cells = <0>;
   35                 poll-interval = <100>;
   36 
   37                 power {
   38                         label = "power";
   39                         gpios = <&gpio0 0 1>;
   40                         linux,code = <0x198>;
   41                 };
   42 
   43                 recovery {
   44                         label = "recovery";
   45                         gpios = <&gpio0 4 1>;
   46                         linux,code = <0xab>;
   47                 };
   48         };
   49 
   50         leds {
   51                 compatible = "gpio-leds";
   52 
   53                 a0 {
   54                         label = "activity0";
   55                         gpios = <&gpio0 25 0>;
   56                         default-state = "keep";
   57                 };
   58 
   59                 a1 {
   60                         label = "activity1";
   61                         gpios = <&gpio0 26 0>;
   62                         default-state = "keep";
   63                 };
   64 
   65                 a2 {
   66                         label = "activity2";
   67                         gpios = <&gpio0 5 0>;
   68                         default-state = "keep";
   69                 };
   70 
   71                 a3 {
   72                         label = "activity3";
   73                         gpios = <&gpio0 6 0>;
   74                         default-state = "keep";
   75                 };
   76 
   77                 a4 {
   78                         label = "activity4";
   79                         gpios = <&gpio0 7 0>;
   80                         default-state = "keep";
   81                 };
   82 
   83                 a5 {
   84                         label = "activity5";
   85                         gpios = <&gpio1 2 0>;
   86                         default-state = "keep";
   87                 };
   88         };
   89 
   90         i2c-gpio {
   91                 compatible = "i2c-gpio";
   92                 gpios = <&gpio0 3 0 /* sda */
   93                          &gpio0 2 0 /* scl */
   94                          >;
   95                 i2c-gpio,delay-us = <2>;        /* ~100 kHz */
   96                 #address-cells = <1>;
   97                 #size-cells = <0>;
   98 
   99                 rtc0: rtc@48 {
  100                         compatible = "st,m41t00";
  101                         reg = <0x68>;
  102                 };
  103         };
  104 };
  105 
  106 &etha {
  107         status = "okay";
  108 };
  109 
  110 &uart1 {
  111         status = "okay";
  112 
  113         pinctrl-names = "default";
  114         pinctrl-0 = <&pinctrl_uart1>;
  115 };

Cache object: 7177d92509be5f839bcc787b1ee83b71


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