2008-07-07 12:28:33 -04:00
|
|
|
* Board Control and Status (BCSR)
|
|
|
|
|
|
|
|
Required properties:
|
|
|
|
|
2008-10-17 20:23:52 -04:00
|
|
|
- compatible : Should be "fsl,<board>-bcsr"
|
2008-07-07 12:28:33 -04:00
|
|
|
- reg : Offset and length of the register set for the device
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
bcsr@f8000000 {
|
2008-10-17 20:23:52 -04:00
|
|
|
compatible = "fsl,mpc8360mds-bcsr";
|
2008-07-07 12:28:33 -04:00
|
|
|
reg = <f8000000 8000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
* Freescale on board FPGA
|
|
|
|
|
|
|
|
This is the memory-mapped registers for on board FPGA.
|
|
|
|
|
|
|
|
Required properities:
|
|
|
|
- compatible : should be "fsl,fpga-pixis".
|
2008-12-18 11:37:23 -05:00
|
|
|
- reg : should contain the address and the length of the FPPGA register
|
2008-07-07 12:28:33 -04:00
|
|
|
set.
|
2009-09-15 17:44:00 -04:00
|
|
|
- interrupt-parent: should specify phandle for the interrupt controller.
|
|
|
|
- interrupts : should specify event (wakeup) IRQ.
|
2008-07-07 12:28:33 -04:00
|
|
|
|
|
|
|
Example (MPC8610HPCD):
|
|
|
|
|
|
|
|
board-control@e8000000 {
|
|
|
|
compatible = "fsl,fpga-pixis";
|
|
|
|
reg = <0xe8000000 32>;
|
2009-09-15 17:44:00 -04:00
|
|
|
interrupt-parent = <&mpic>;
|
|
|
|
interrupts = <8 8>;
|
2008-07-07 12:28:33 -04:00
|
|
|
};
|
2008-12-18 11:37:23 -05:00
|
|
|
|
|
|
|
* Freescale BCSR GPIO banks
|
|
|
|
|
|
|
|
Some BCSR registers act as simple GPIO controllers, each such
|
|
|
|
register can be represented by the gpio-controller node.
|
|
|
|
|
|
|
|
Required properities:
|
|
|
|
- compatible : Should be "fsl,<board>-bcsr-gpio".
|
|
|
|
- reg : Should contain the address and the length of the GPIO bank
|
|
|
|
register.
|
|
|
|
- #gpio-cells : Should be two. The first cell is the pin number and the
|
2009-04-22 12:21:29 -04:00
|
|
|
second cell is used to specify optional parameters (currently unused).
|
2008-12-18 11:37:23 -05:00
|
|
|
- gpio-controller : Marks the port as GPIO controller.
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
bcsr@1,0 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "fsl,mpc8360mds-bcsr";
|
|
|
|
reg = <1 0 0x8000>;
|
|
|
|
ranges = <0 1 0 0x8000>;
|
|
|
|
|
|
|
|
bcsr13: gpio-controller@d {
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
compatible = "fsl,mpc8360mds-bcsr-gpio";
|
|
|
|
reg = <0xd 1>;
|
|
|
|
gpio-controller;
|
|
|
|
};
|
|
|
|
};
|