blob: 39e941515a36ee18ab3ca59d0b71e4e4ae93c53c [file] [log] [blame]
Kumar Galad0fc2ea2008-07-07 11:28:33 -05001* Board Control and Status (BCSR)
2
3Required properties:
4
Anton Vorontsovfd657ef2008-10-18 04:23:52 +04005 - compatible : Should be "fsl,<board>-bcsr"
Kumar Galad0fc2ea2008-07-07 11:28:33 -05006 - reg : Offset and length of the register set for the device
7
8Example:
9
10 bcsr@f8000000 {
Anton Vorontsovfd657ef2008-10-18 04:23:52 +040011 compatible = "fsl,mpc8360mds-bcsr";
Kumar Galad0fc2ea2008-07-07 11:28:33 -050012 reg = <f8000000 8000>;
13 };
14
15* Freescale on board FPGA
16
17This is the memory-mapped registers for on board FPGA.
18
19Required properities:
20- compatible : should be "fsl,fpga-pixis".
Anton Vorontsov94409d62008-12-18 19:37:23 +030021- reg : should contain the address and the length of the FPPGA register
Kumar Galad0fc2ea2008-07-07 11:28:33 -050022 set.
Anton Vorontsov8c68e2f2009-09-16 01:44:00 +040023- interrupt-parent: should specify phandle for the interrupt controller.
24- interrupts : should specify event (wakeup) IRQ.
Kumar Galad0fc2ea2008-07-07 11:28:33 -050025
26Example (MPC8610HPCD):
27
28 board-control@e8000000 {
29 compatible = "fsl,fpga-pixis";
30 reg = <0xe8000000 32>;
Anton Vorontsov8c68e2f2009-09-16 01:44:00 +040031 interrupt-parent = <&mpic>;
32 interrupts = <8 8>;
Kumar Galad0fc2ea2008-07-07 11:28:33 -050033 };
Anton Vorontsov94409d62008-12-18 19:37:23 +030034
35* Freescale BCSR GPIO banks
36
37Some BCSR registers act as simple GPIO controllers, each such
38register can be represented by the gpio-controller node.
39
40Required 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
Martin Olsson98a17082009-04-22 18:21:29 +020045 second cell is used to specify optional parameters (currently unused).
Anton Vorontsov94409d62008-12-18 19:37:23 +030046- gpio-controller : Marks the port as GPIO controller.
47
48Example:
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 };