Back to home page

OSCL-LXR

 
 

    


0001 Lantiq XWAY SoC RCU binding
0002 ===========================
0003 
0004 This binding describes the RCU (reset controller unit) multifunction device,
0005 where each sub-device has its own set of registers.
0006 
0007 The RCU register range is used for multiple purposes. Mostly one device
0008 uses one or multiple register exclusively, but for some registers some
0009 bits are for one driver and some other bits are for a different driver.
0010 With this patch all accesses to the RCU registers will go through
0011 syscon.
0012 
0013 
0014 -------------------------------------------------------------------------------
0015 Required properties:
0016 - compatible    : The first and second values must be:
0017                   "lantiq,xrx200-rcu", "simple-mfd", "syscon"
0018 - reg           : The address and length of the system control registers
0019 
0020 
0021 -------------------------------------------------------------------------------
0022 Example of the RCU bindings on a xRX200 SoC:
0023         rcu0: rcu@203000 {
0024                 compatible = "lantiq,xrx200-rcu", "simple-mfd", "syscon";
0025                 reg = <0x203000 0x100>;
0026                 ranges = <0x0 0x203000 0x100>;
0027                 big-endian;
0028 
0029                 reset0: reset-controller@10 {
0030                         compatible = "lantiq,xrx200-reset";
0031                         reg = <0x10 4>, <0x14 4>;
0032 
0033                         #reset-cells = <2>;
0034                 };
0035 
0036                 reset1: reset-controller@48 {
0037                         compatible = "lantiq,xrx200-reset";
0038                         reg = <0x48 4>, <0x24 4>;
0039 
0040                         #reset-cells = <2>;
0041                 };
0042 
0043                 usb_phy0: usb2-phy@18 {
0044                         compatible = "lantiq,xrx200-usb2-phy";
0045                         reg = <0x18 4>, <0x38 4>;
0046 
0047                         resets = <&reset1 4 4>, <&reset0 4 4>;
0048                         reset-names = "phy", "ctrl";
0049                         #phy-cells = <0>;
0050                 };
0051 
0052                 usb_phy1: usb2-phy@34 {
0053                         compatible = "lantiq,xrx200-usb2-phy";
0054                         reg = <0x34 4>, <0x3C 4>;
0055 
0056                         resets = <&reset1 5 4>, <&reset0 4 4>;
0057                         reset-names = "phy", "ctrl";
0058                         #phy-cells = <0>;
0059                 };
0060 
0061                 reboot@10 {
0062                         compatible = "syscon-reboot";
0063                         reg = <0x10 4>;
0064 
0065                         regmap = <&rcu0>;
0066                         offset = <0x10>;
0067                         mask = <0x40000000>;
0068                 };
0069         };