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/mips/lantiq/rcu.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 Lantiq XWAY SoC RCU binding
    2 ===========================
    3 
    4 This binding describes the RCU (reset controller unit) multifunction device,
    5 where each sub-device has its own set of registers.
    6 
    7 The RCU register range is used for multiple purposes. Mostly one device
    8 uses one or multiple register exclusively, but for some registers some
    9 bits are for one driver and some other bits are for a different driver.
   10 With this patch all accesses to the RCU registers will go through
   11 syscon.
   12 
   13 
   14 -------------------------------------------------------------------------------
   15 Required properties:
   16 - compatible    : The first and second values must be:
   17                   "lantiq,xrx200-rcu", "simple-mfd", "syscon"
   18 - reg           : The address and length of the system control registers
   19 
   20 
   21 -------------------------------------------------------------------------------
   22 Example of the RCU bindings on a xRX200 SoC:
   23         rcu0: rcu@203000 {
   24                 compatible = "lantiq,xrx200-rcu", "simple-mfd", "syscon";
   25                 reg = <0x203000 0x100>;
   26                 ranges = <0x0 0x203000 0x100>;
   27                 big-endian;
   28 
   29                 reset0: reset-controller@10 {
   30                         compatible = "lantiq,xrx200-reset";
   31                         reg = <0x10 4>, <0x14 4>;
   32 
   33                         #reset-cells = <2>;
   34                 };
   35 
   36                 reset1: reset-controller@48 {
   37                         compatible = "lantiq,xrx200-reset";
   38                         reg = <0x48 4>, <0x24 4>;
   39 
   40                         #reset-cells = <2>;
   41                 };
   42 
   43                 usb_phy0: usb2-phy@18 {
   44                         compatible = "lantiq,xrx200-usb2-phy";
   45                         reg = <0x18 4>, <0x38 4>;
   46 
   47                         resets = <&reset1 4 4>, <&reset0 4 4>;
   48                         reset-names = "phy", "ctrl";
   49                         #phy-cells = <0>;
   50                 };
   51 
   52                 usb_phy1: usb2-phy@34 {
   53                         compatible = "lantiq,xrx200-usb2-phy";
   54                         reg = <0x34 4>, <0x3C 4>;
   55 
   56                         resets = <&reset1 5 4>, <&reset0 4 4>;
   57                         reset-names = "phy", "ctrl";
   58                         #phy-cells = <0>;
   59                 };
   60 
   61                 reboot@10 {
   62                         compatible = "syscon-reboot";
   63                         reg = <0x10 4>;
   64 
   65                         regmap = <&rcu0>;
   66                         offset = <0x10>;
   67                         mask = <0x40000000>;
   68                 };
   69         };

Cache object: 478881ce89149ad2387ce8e9010b219a


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