Commit | Line | Data |
---|---|---|
d0fc2eaa KG |
1 | * Board Control and Status (BCSR) |
2 | ||
3 | Required properties: | |
4 | ||
fd657efc | 5 | - compatible : Should be "fsl,<board>-bcsr" |
d0fc2eaa KG |
6 | - reg : Offset and length of the register set for the device |
7 | ||
8 | Example: | |
9 | ||
10 | bcsr@f8000000 { | |
fd657efc | 11 | compatible = "fsl,mpc8360mds-bcsr"; |
d0fc2eaa KG |
12 | reg = <f8000000 8000>; |
13 | }; | |
14 | ||
15 | * Freescale on board FPGA | |
16 | ||
17 | This is the memory-mapped registers for on board FPGA. | |
18 | ||
19 | Required properities: | |
20 | - compatible : should be "fsl,fpga-pixis". | |
94409d6e | 21 | - reg : should contain the address and the length of the FPPGA register |
d0fc2eaa | 22 | set. |
8c68e2f7 AV |
23 | - interrupt-parent: should specify phandle for the interrupt controller. |
24 | - interrupts : should specify event (wakeup) IRQ. | |
d0fc2eaa KG |
25 | |
26 | Example (MPC8610HPCD): | |
27 | ||
28 | board-control@e8000000 { | |
29 | compatible = "fsl,fpga-pixis"; | |
30 | reg = <0xe8000000 32>; | |
8c68e2f7 AV |
31 | interrupt-parent = <&mpic>; |
32 | interrupts = <8 8>; | |
d0fc2eaa | 33 | }; |
94409d6e AV |
34 | |
35 | * Freescale BCSR GPIO banks | |
36 | ||
37 | Some BCSR registers act as simple GPIO controllers, each such | |
38 | register can be represented by the gpio-controller node. | |
39 | ||
40 | Required properities: | |
41 | - compatible : Should be "fsl,<board>-bcsr-gpio". | |
42 | - reg : Should contain the address and the length of the GPIO bank | |
43 | register. | |
44 | - #gpio-cells : Should be two. The first cell is the pin number and the | |
98a1708d | 45 | second cell is used to specify optional parameters (currently unused). |
94409d6e AV |
46 | - gpio-controller : Marks the port as GPIO controller. |
47 | ||
48 | Example: | |
49 | ||
50 | bcsr@1,0 { | |
51 | #address-cells = <1>; | |
52 | #size-cells = <1>; | |
53 | compatible = "fsl,mpc8360mds-bcsr"; | |
54 | reg = <1 0 0x8000>; | |
55 | ranges = <0 1 0 0x8000>; | |
56 | ||
57 | bcsr13: gpio-controller@d { | |
58 | #gpio-cells = <2>; | |
59 | compatible = "fsl,mpc8360mds-bcsr-gpio"; | |
60 | reg = <0xd 1>; | |
61 | gpio-controller; | |
62 | }; | |
63 | }; |