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/img,pistachio-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 Pistachio Reset Controller
    2 =============================================================================
    3 
    4 This binding describes a reset controller device that is used to enable and
    5 disable individual IP blocks within the Pistachio SoC using "soft reset"
    6 control bits found in the Pistachio SoC top level registers.
    7 
    8 The actual action taken when soft reset is asserted is hardware dependent.
    9 However, when asserted it may not be possible to access the hardware's
   10 registers, and following an assert/deassert sequence the hardware's previous
   11 state may no longer be valid.
   12 
   13 Please refer to Documentation/devicetree/bindings/reset/reset.txt
   14 for common reset controller binding usage.
   15 
   16 Required properties:
   17 
   18 - compatible: Contains "img,pistachio-reset"
   19 
   20 - #reset-cells: Contains 1
   21 
   22 Example:
   23 
   24         cr_periph: clk@18148000 {
   25                 compatible = "img,pistachio-cr-periph", "syscon", "simple-mfd";
   26                 reg = <0x18148000 0x1000>;
   27                 clocks = <&clk_periph PERIPH_CLK_SYS>;
   28                 clock-names = "sys";
   29                 #clock-cells = <1>;
   30 
   31                 pistachio_reset: reset-controller {
   32                         compatible = "img,pistachio-reset";
   33                         #reset-cells = <1>;
   34                 };
   35         };
   36 
   37 Specifying reset control of devices
   38 =======================================
   39 
   40 Device nodes should specify the reset channel required in their "resets"
   41 property, containing a phandle to the pistachio reset device node and an
   42 index specifying which reset to use, as described in
   43 Documentation/devicetree/bindings/reset/reset.txt.
   44 
   45 Example:
   46 
   47         spdif_out: spdif-out@18100d00 {
   48                 ...
   49                 resets = <&pistachio_reset PISTACHIO_RESET_SPDIF_OUT>;
   50                 reset-names = "rst";
   51                 ...
   52         };
   53 
   54 Macro definitions for the supported resets can be found in:
   55 include/dt-bindings/reset/pistachio-resets.h

Cache object: f500cbf2c2477e4a5ab8d6cc83c3b458


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