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/ralink/mt7621-gnubee-gb-pc1.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 OR BSD-2-Clause)
    2 /dts-v1/;
    3 
    4 #include "mt7621.dtsi"
    5 
    6 #include <dt-bindings/gpio/gpio.h>
    7 #include <dt-bindings/input/input.h>
    8 
    9 / {
   10         compatible = "gnubee,gb-pc1", "mediatek,mt7621-soc";
   11         model = "GB-PC1";
   12 
   13         memory@0 {
   14                 device_type = "memory";
   15                 reg = <0x00000000 0x1c000000>,
   16                       <0x20000000 0x04000000>;
   17         };
   18 
   19         chosen {
   20                 bootargs = "console=ttyS0,57600";
   21         };
   22 
   23         palmbus: palmbus@1e000000 {
   24                 i2c@900 {
   25                         status = "okay";
   26                 };
   27         };
   28 
   29         gpio-keys {
   30                 compatible = "gpio-keys";
   31 
   32                 key-reset {
   33                         label = "reset";
   34                         gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
   35                         linux,code = <KEY_RESTART>;
   36                 };
   37         };
   38 
   39         gpio-leds {
   40                 compatible = "gpio-leds";
   41 
   42                 power {
   43                         label = "green:power";
   44                         gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
   45                         linux,default-trigger = "default-on";
   46                 };
   47 
   48                 system {
   49                         label = "green:system";
   50                         gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
   51                         linux,default-trigger = "disk-activity";
   52                 };
   53         };
   54 };
   55 
   56 &sdhci {
   57         status = "okay";
   58 };
   59 
   60 &spi0 {
   61         status = "okay";
   62 
   63         flash@0 {
   64                 #address-cells = <1>;
   65                 #size-cells = <1>;
   66                 compatible = "jedec,spi-nor";
   67                 reg = <0>;
   68                 spi-max-frequency = <50000000>;
   69                 broken-flash-reset;
   70 
   71                 partition@0 {
   72                         label = "u-boot";
   73                         reg = <0x0 0x30000>;
   74                         read-only;
   75                 };
   76 
   77                 partition@30000 {
   78                         label = "u-boot-env";
   79                         reg = <0x30000 0x10000>;
   80                         read-only;
   81                 };
   82 
   83                 factory: partition@40000 {
   84                         label = "factory";
   85                         reg = <0x40000 0x10000>;
   86                         read-only;
   87                 };
   88 
   89                 partition@50000 {
   90                         label = "firmware";
   91                         reg = <0x50000 0x1fb0000>;
   92                 };
   93         };
   94 };
   95 
   96 &pcie {
   97         status = "okay";
   98 };
   99 
  100 &gmac1 {
  101         status = "okay";
  102         phy-handle = <&ethphy4>;
  103 };
  104 
  105 &mdio {
  106         ethphy4: ethernet-phy@4 {
  107                 reg = <4>;
  108         };
  109 };
  110 
  111 &switch0 {
  112         ports {
  113                 port@0 {
  114                         status = "okay";
  115                         label = "ethblack";
  116                 };
  117         };
  118 };

Cache object: 6e8e9a94dcab15d49d5fe59d8d47454f


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