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/mips/qca/ar9331_omega.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 /dts-v1/;
    3 
    4 #include <dt-bindings/gpio/gpio.h>
    5 #include <dt-bindings/input/input.h>
    6 
    7 #include "ar9331.dtsi"
    8 
    9 / {
   10         model = "Onion Omega";
   11         compatible = "onion,omega";
   12 
   13         aliases {
   14                 serial0 = &uart;
   15         };
   16 
   17         memory@0 {
   18                 device_type = "memory";
   19                 reg = <0x0 0x4000000>;
   20         };
   21 
   22         leds {
   23                 compatible = "gpio-leds";
   24 
   25                 system {
   26                         label = "onion:amber:system";
   27                         gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
   28                         default-state = "off";
   29                 };
   30         };
   31 
   32         gpio-keys {
   33                 compatible = "gpio-keys";
   34 
   35                 button-0 {
   36                         label = "reset";
   37                         linux,code = <KEY_RESTART>;
   38                         gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
   39                 };
   40         };
   41 };
   42 
   43 &ref {
   44         clock-frequency = <25000000>;
   45 };
   46 
   47 &uart {
   48         status = "okay";
   49 };
   50 
   51 &gpio {
   52         status = "okay";
   53 };
   54 
   55 &usb {
   56         dr_mode = "host";
   57         status = "okay";
   58 };
   59 
   60 &usb_phy {
   61         status = "okay";
   62 };
   63 
   64 &spi {
   65         num-chipselects = <1>;
   66         status = "okay";
   67 
   68         /* Winbond 25Q128FVSG SPI flash */
   69         spiflash: w25q128@0 {
   70                 #address-cells = <1>;
   71                 #size-cells = <1>;
   72                 compatible = "winbond,w25q128", "jedec,spi-nor";
   73                 spi-max-frequency = <104000000>;
   74                 reg = <0>;
   75         };
   76 };

Cache object: 79e32d9ac4f2a8a7a39706b303ffb2f1


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