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
|