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/mstar-infinity-breadbee-common.dtsi

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 /*
    3  * Copyright (c) 2020 thingy.jp.
    4  * Author: Daniel Palmer <daniel@thingy.jp>
    5  */
    6 
    7 #include <dt-bindings/gpio/gpio.h>
    8 
    9 / {
   10         vcc_core: fixedregulator@0 {
   11                 compatible = "regulator-fixed";
   12                 regulator-name = "vcc_core";
   13                 regulator-min-microvolt = <1000000>;
   14                 regulator-max-microvolt = <1000000>;
   15                 regulator-boot-on;
   16         };
   17 
   18         vcc_dram: fixedregulator@1 {
   19                 compatible = "regulator-fixed";
   20                 regulator-name = "vcc_dram";
   21                 regulator-min-microvolt = <1800000>;
   22                 regulator-max-microvolt = <1800000>;
   23                 regulator-boot-on;
   24         };
   25 
   26         vcc_io: fixedregulator@2 {
   27                 compatible = "regulator-fixed";
   28                 regulator-name = "vcc_io";
   29                 regulator-min-microvolt = <3300000>;
   30                 regulator-max-microvolt = <3300000>;
   31                 regulator-boot-on;
   32         };
   33 
   34         leds {
   35                 compatible = "gpio-leds";
   36                 red {
   37                         gpios = <&gpio MSC313_GPIO_SR_IO16 GPIO_ACTIVE_HIGH>;
   38                         linux,default-trigger = "activity";
   39                 };
   40                 yellow {
   41                         gpios = <&gpio MSC313_GPIO_SR_IO17 GPIO_ACTIVE_HIGH>;
   42                         linux,default-trigger = "heartbeat";
   43                 };
   44         };
   45 };
   46 
   47 &cpu0 {
   48         cpu-supply = <&vcc_core>;
   49 };

Cache object: 55f6900b164d0a2481e0cc131b429d71


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