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/Bindings/reset/hisilicon,hi3660-reset.txt

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 Hisilicon System Reset Controller
    2 ======================================
    3 
    4 Please also refer to reset.txt in this directory for common reset
    5 controller binding usage.
    6 
    7 The reset controller registers are part of the system-ctl block on
    8 hi3660 and hi3670 SoCs.
    9 
   10 Required properties:
   11 - compatible: should be one of the following:
   12                  "hisilicon,hi3660-reset" for HI3660
   13                  "hisilicon,hi3670-reset", "hisilicon,hi3660-reset" for HI3670
   14 - hisi,rst-syscon: phandle of the reset's syscon.
   15 - #reset-cells : Specifies the number of cells needed to encode a
   16   reset source.  The type shall be a <u32> and the value shall be 2.
   17 
   18          Cell #1 : offset of the reset assert control
   19                    register from the syscon register base
   20                    offset + 4: deassert control register
   21                    offset + 8: status control register
   22          Cell #2 : bit position of the reset in the reset control register
   23 
   24 Example:
   25         iomcu: iomcu@ffd7e000 {
   26                 compatible = "hisilicon,hi3660-iomcu", "syscon";
   27                 reg = <0x0 0xffd7e000 0x0 0x1000>;
   28         };
   29 
   30         iomcu_rst: iomcu_rst_controller {
   31                 compatible = "hisilicon,hi3660-reset";
   32                 hisi,rst-syscon = <&iomcu>;
   33                 #reset-cells = <2>;
   34         };
   35 
   36 Specifying reset lines connected to IP modules
   37 ==============================================
   38 example:
   39 
   40         i2c0: i2c@..... {
   41                 ...
   42                 resets = <&iomcu_rst 0x20 3>; /* offset: 0x20; bit: 3 */
   43                 ...
   44         };

Cache object: 34bbeb4236488c669bb10f1601a1e154


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