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/sunxi-bananapi-m2-plus-v1.2.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+ OR MIT)
    2 /*
    3  * Copyright (C) 2018 Chen-Yu Tsai <wens@csie.org>
    4  */
    5 
    6 #include "sunxi-bananapi-m2-plus.dtsi"
    7 
    8 / {
    9         /*
   10          * Bananapi M2+ v1.2 uses a GPIO line to change the effective
   11          * resistance on the CPU regulator's feedback pin.
   12          */
   13         reg_vdd_cpux: vdd-cpux {
   14                 compatible = "regulator-gpio";
   15                 regulator-name = "vdd-cpux";
   16                 regulator-type = "voltage";
   17                 regulator-boot-on;
   18                 regulator-always-on;
   19                 regulator-min-microvolt = <1108475>;
   20                 regulator-max-microvolt = <1308475>;
   21                 regulator-ramp-delay = <50>; /* 4ms */
   22                 gpios = <&r_pio 0 1 GPIO_ACTIVE_HIGH>; /* PL1 */
   23                 gpios-states = <0x1>;
   24                 states = <1108475 0>, <1308475 1>;
   25         };
   26 };
   27 
   28 &cpu0 {
   29         cpu-supply = <&reg_vdd_cpux>;
   30 };
   31 
   32 &cpu1 {
   33         cpu-supply = <&reg_vdd_cpux>;
   34 };
   35 
   36 &cpu2 {
   37         cpu-supply = <&reg_vdd_cpux>;
   38 };
   39 
   40 &cpu3 {
   41         cpu-supply = <&reg_vdd_cpux>;
   42 };

Cache object: c05304a76a699689a7fd4eaad545bb13


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