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/aspeed-bmc-opp-vesnin.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 // Copyright 2019 YADRO
    3 /dts-v1/;
    4 
    5 #include "aspeed-g4.dtsi"
    6 #include <dt-bindings/gpio/aspeed-gpio.h>
    7 
    8 / {
    9         model = "Vesnin BMC";
   10         compatible = "yadro,vesnin-bmc", "aspeed,ast2400";
   11 
   12         chosen {
   13                 stdout-path = &uart5;
   14                 bootargs = "console=ttyS4,115200 earlycon";
   15         };
   16 
   17         memory@40000000 {
   18                 reg = <0x40000000 0x20000000>;
   19         };
   20 
   21         reserved-memory {
   22                 #address-cells = <1>;
   23                 #size-cells = <1>;
   24                 ranges;
   25 
   26                 vga_memory: framebuffer@5f000000 {
   27                         no-map;
   28                         reg = <0x5f000000 0x01000000>; /* 16MB */
   29                 };
   30                 flash_memory: region@5c000000 {
   31                         no-map;
   32                         reg = <0x5c000000 0x02000000>; /* 32M */
   33                 };
   34         };
   35 
   36         leds {
   37                 compatible = "gpio-leds";
   38 
   39                 heartbeat {
   40                         gpios = <&gpio ASPEED_GPIO(R, 4) GPIO_ACTIVE_LOW>;
   41                 };
   42                 power_red {
   43                         gpios = <&gpio ASPEED_GPIO(N, 1) GPIO_ACTIVE_LOW>;
   44                 };
   45 
   46                 power_green {
   47                         gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>;
   48                 };
   49 
   50                 id_blue {
   51                         gpios = <&gpio ASPEED_GPIO(O, 0) GPIO_ACTIVE_LOW>;
   52                 };
   53 
   54                 alarm_red {
   55                         gpios = <&gpio ASPEED_GPIO(N, 6) GPIO_ACTIVE_LOW>;
   56                 };
   57 
   58                 alarm_yel {
   59                         gpios = <&gpio ASPEED_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
   60                 };
   61         };
   62 
   63         gpio-keys {
   64                 compatible = "gpio-keys";
   65 
   66                 event-checkstop {
   67                         label = "checkstop";
   68                         linux,code = <74>;
   69                         gpios = <&gpio ASPEED_GPIO(P, 5) GPIO_ACTIVE_LOW>;
   70                 };
   71 
   72                 event-identify {
   73                         label = "identify";
   74                         linux,code = <152>;
   75                         gpios = <&gpio ASPEED_GPIO(O, 7) GPIO_ACTIVE_LOW>;
   76                 };
   77         };
   78 };
   79 
   80 &fmc {
   81         status = "okay";
   82         flash@0 {
   83                 status = "okay";
   84                 m25p,fast-read;
   85         label = "bmc";
   86 #include "openbmc-flash-layout.dtsi"
   87         };
   88 
   89         flash@1 {
   90                 status = "okay";
   91                 m25p,fast-read;
   92                 label = "alt";
   93         };
   94 };
   95 
   96 &spi {
   97         status = "okay";
   98         pinctrl-names = "default";
   99         pinctrl-0 = <&pinctrl_spi1debug_default>;
  100 
  101         flash@0 {
  102                 status = "okay";
  103                 label = "pnor";
  104                 m25p,fast-read;
  105         };
  106 };
  107 
  108 &mac0 {
  109         status = "okay";
  110         use-ncsi;
  111         pinctrl-names = "default";
  112         pinctrl-0 = <&pinctrl_rmii1_default>;
  113 };
  114 
  115 
  116 &uart5 {
  117         status = "okay";
  118 };
  119 
  120 &lpc_ctrl {
  121         status = "okay";
  122         memory-region = <&flash_memory>;
  123         flash = <&spi>;
  124 };
  125 
  126 &ibt {
  127         status = "okay";
  128 };
  129 
  130 &uart3 {
  131         status = "okay";
  132         pinctrl-names = "default";
  133         pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>;
  134 };
  135 
  136 &i2c0 {
  137         status = "okay";
  138 
  139         eeprom@50 {
  140                 compatible = "atmel,24c256";
  141                 reg = <0x50>;
  142                 pagesize = <64>;
  143         };
  144 };
  145 
  146 &i2c1 {
  147         status = "okay";
  148 
  149         tmp75@49 {
  150                 compatible = "ti,tmp75";
  151                 reg = <0x49>;
  152         };
  153 };
  154 
  155 &i2c2 {
  156         status = "okay";
  157 };
  158 
  159 &i2c3 {
  160         status = "okay";
  161 };
  162 
  163 &i2c4 {
  164         status = "okay";
  165 
  166         occ-hwmon@50 {
  167                 compatible = "ibm,p8-occ-hwmon";
  168                 reg = <0x50>;
  169         };
  170 };
  171 
  172 &i2c5 {
  173         status = "okay";
  174 
  175         occ-hwmon@51 {
  176                 compatible = "ibm,p8-occ-hwmon";
  177                 reg = <0x51>;
  178         };
  179 };
  180 
  181 &i2c6 {
  182         status = "okay";
  183 
  184         w83795g@2f {
  185                 compatible = "nuvoton,w83795g";
  186                 reg = <0x2f>;
  187         };
  188 };
  189 
  190 &i2c7 {
  191         status = "okay";
  192 
  193         occ-hwmon@56 {
  194                 compatible = "ibm,p8-occ-hwmon";
  195                 reg = <0x56>;
  196         };
  197 };
  198 
  199 &i2c9 {
  200         status = "okay";
  201 };
  202 
  203 &i2c10 {
  204         status = "okay";
  205 };
  206 
  207 &i2c11 {
  208         status = "okay";
  209 
  210         occ-hwmon@57 {
  211                 compatible = "ibm,p8-occ-hwmon";
  212                 reg = <0x57>;
  213         };
  214 };
  215 
  216 &i2c12 {
  217         status = "okay";
  218 
  219         rtc@68 {
  220                 compatible = "maxim,ds3231";
  221                 reg = <0x68>;
  222         };
  223 };
  224 
  225 &i2c13 {
  226         status = "okay";
  227 };
  228 
  229 &vuart {
  230         status = "okay";
  231 };
  232 
  233 &wdt2 {
  234         aspeed,alt-boot;
  235 };
  236 
  237 &sdmmc {
  238         status = "okay";
  239 };
  240 
  241 &sdhci1 {
  242         status = "okay";
  243 
  244         pinctrl-names = "default";
  245         pinctrl-0 = <&pinctrl_sd2_default>;
  246         cd-inverted;
  247         disable-wp;
  248 };

Cache object: 1f7fbaf18110663778ffd4055864b410


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