powerpc/85xx: clean up FPGA device tree nodes for Freecsale QorIQ boards
Standarize and document the FPGA nodes used on Freescale QorIQ reference
boards. There are different kinds of FPGAs used on the boards, but
only two are currently standard: "pixis", "ngpixis", and "qixis". Although
there are minor differences among the boards that have one kind of FPGA, most
of the functionality is the same, so it makes sense to create common
compatibility strings.
We also need to update the P1022DS platform file, because the compatible
string for its PIXIS node has changed. This means that older kernels are
not compatible with newer device trees. This is not a real problem, however,
since that particular function doesn't work anyway. When the DIU is active,
the PIXIS is in "indirect mode", and so cannot be accessed as a memory-mapped
device.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-09-16 02:04:13 +08:00
|
|
|
Freescale Reference Board Bindings
|
|
|
|
|
|
|
|
This document describes device tree bindings for various devices that
|
|
|
|
exist on some Freescale reference boards.
|
|
|
|
|
2008-07-08 00:28:33 +08:00
|
|
|
* Board Control and Status (BCSR)
|
|
|
|
|
|
|
|
Required properties:
|
|
|
|
|
2008-10-18 08:23:52 +08:00
|
|
|
- compatible : Should be "fsl,<board>-bcsr"
|
2008-07-08 00:28:33 +08:00
|
|
|
- reg : Offset and length of the register set for the device
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
bcsr@f8000000 {
|
2008-10-18 08:23:52 +08:00
|
|
|
compatible = "fsl,mpc8360mds-bcsr";
|
2008-07-08 00:28:33 +08:00
|
|
|
reg = <f8000000 8000>;
|
|
|
|
};
|
|
|
|
|
powerpc/85xx: clean up FPGA device tree nodes for Freecsale QorIQ boards
Standarize and document the FPGA nodes used on Freescale QorIQ reference
boards. There are different kinds of FPGAs used on the boards, but
only two are currently standard: "pixis", "ngpixis", and "qixis". Although
there are minor differences among the boards that have one kind of FPGA, most
of the functionality is the same, so it makes sense to create common
compatibility strings.
We also need to update the P1022DS platform file, because the compatible
string for its PIXIS node has changed. This means that older kernels are
not compatible with newer device trees. This is not a real problem, however,
since that particular function doesn't work anyway. When the DIU is active,
the PIXIS is in "indirect mode", and so cannot be accessed as a memory-mapped
device.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-09-16 02:04:13 +08:00
|
|
|
* Freescale on-board FPGA
|
2008-07-08 00:28:33 +08:00
|
|
|
|
|
|
|
This is the memory-mapped registers for on board FPGA.
|
|
|
|
|
|
|
|
Required properities:
|
powerpc/85xx: clean up FPGA device tree nodes for Freecsale QorIQ boards
Standarize and document the FPGA nodes used on Freescale QorIQ reference
boards. There are different kinds of FPGAs used on the boards, but
only two are currently standard: "pixis", "ngpixis", and "qixis". Although
there are minor differences among the boards that have one kind of FPGA, most
of the functionality is the same, so it makes sense to create common
compatibility strings.
We also need to update the P1022DS platform file, because the compatible
string for its PIXIS node has changed. This means that older kernels are
not compatible with newer device trees. This is not a real problem, however,
since that particular function doesn't work anyway. When the DIU is active,
the PIXIS is in "indirect mode", and so cannot be accessed as a memory-mapped
device.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-09-16 02:04:13 +08:00
|
|
|
- compatible: should be a board-specific string followed by a string
|
|
|
|
indicating the type of FPGA. Example:
|
|
|
|
"fsl,<board>-fpga", "fsl,fpga-pixis"
|
|
|
|
- reg: should contain the address and the length of the FPGA register set.
|
2009-09-16 05:44:00 +08:00
|
|
|
- interrupt-parent: should specify phandle for the interrupt controller.
|
powerpc/85xx: clean up FPGA device tree nodes for Freecsale QorIQ boards
Standarize and document the FPGA nodes used on Freescale QorIQ reference
boards. There are different kinds of FPGAs used on the boards, but
only two are currently standard: "pixis", "ngpixis", and "qixis". Although
there are minor differences among the boards that have one kind of FPGA, most
of the functionality is the same, so it makes sense to create common
compatibility strings.
We also need to update the P1022DS platform file, because the compatible
string for its PIXIS node has changed. This means that older kernels are
not compatible with newer device trees. This is not a real problem, however,
since that particular function doesn't work anyway. When the DIU is active,
the PIXIS is in "indirect mode", and so cannot be accessed as a memory-mapped
device.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-09-16 02:04:13 +08:00
|
|
|
- interrupts: should specify event (wakeup) IRQ.
|
2008-07-08 00:28:33 +08:00
|
|
|
|
powerpc/85xx: clean up FPGA device tree nodes for Freecsale QorIQ boards
Standarize and document the FPGA nodes used on Freescale QorIQ reference
boards. There are different kinds of FPGAs used on the boards, but
only two are currently standard: "pixis", "ngpixis", and "qixis". Although
there are minor differences among the boards that have one kind of FPGA, most
of the functionality is the same, so it makes sense to create common
compatibility strings.
We also need to update the P1022DS platform file, because the compatible
string for its PIXIS node has changed. This means that older kernels are
not compatible with newer device trees. This is not a real problem, however,
since that particular function doesn't work anyway. When the DIU is active,
the PIXIS is in "indirect mode", and so cannot be accessed as a memory-mapped
device.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-09-16 02:04:13 +08:00
|
|
|
Example (P1022DS):
|
2008-07-08 00:28:33 +08:00
|
|
|
|
powerpc/85xx: clean up FPGA device tree nodes for Freecsale QorIQ boards
Standarize and document the FPGA nodes used on Freescale QorIQ reference
boards. There are different kinds of FPGAs used on the boards, but
only two are currently standard: "pixis", "ngpixis", and "qixis". Although
there are minor differences among the boards that have one kind of FPGA, most
of the functionality is the same, so it makes sense to create common
compatibility strings.
We also need to update the P1022DS platform file, because the compatible
string for its PIXIS node has changed. This means that older kernels are
not compatible with newer device trees. This is not a real problem, however,
since that particular function doesn't work anyway. When the DIU is active,
the PIXIS is in "indirect mode", and so cannot be accessed as a memory-mapped
device.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-09-16 02:04:13 +08:00
|
|
|
board-control@3,0 {
|
|
|
|
compatible = "fsl,p1022ds-fpga", "fsl,fpga-ngpixis";
|
|
|
|
reg = <3 0 0x30>;
|
|
|
|
interrupt-parent = <&mpic>;
|
|
|
|
interrupts = <8 8 0 0>;
|
|
|
|
};
|
2008-12-19 00:37:23 +08: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-23 00:21:29 +08:00
|
|
|
second cell is used to specify optional parameters (currently unused).
|
2008-12-19 00:37:23 +08: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;
|
|
|
|
};
|
|
|
|
};
|
2014-05-15 15:45:33 +08:00
|
|
|
|
|
|
|
* Freescale on-board FPGA connected on I2C bus
|
|
|
|
|
|
|
|
Some Freescale boards like BSC9132QDS have on board FPGA connected on
|
|
|
|
the i2c bus.
|
|
|
|
|
|
|
|
Required properties:
|
|
|
|
- compatible: Should be a board-specific string followed by a string
|
|
|
|
indicating the type of FPGA. Example:
|
|
|
|
"fsl,<board>-fpga", "fsl,fpga-qixis-i2c"
|
|
|
|
- reg: Should contain the address of the FPGA
|
|
|
|
|
|
|
|
Example:
|
|
|
|
fpga: fpga@66 {
|
|
|
|
compatible = "fsl,bsc9132qds-fpga", "fsl,fpga-qixis-i2c";
|
|
|
|
reg = <0x66>;
|
|
|
|
};
|
2014-07-09 11:47:07 +08:00
|
|
|
|
|
|
|
* Freescale on-board CPLD
|
|
|
|
|
|
|
|
Some Freescale boards like T1040RDB have an on board CPLD connected.
|
|
|
|
|
|
|
|
Required properties:
|
|
|
|
- compatible: Should be a board-specific string like "fsl,<board>-cpld"
|
|
|
|
Example:
|
|
|
|
"fsl,t1040rdb-cpld", "fsl,t1042rdb-cpld", "fsl,t1042rdb_pi-cpld"
|
|
|
|
- reg: should describe CPLD registers
|
|
|
|
|
|
|
|
Example:
|
|
|
|
cpld@3,0 {
|
|
|
|
compatible = "fsl,t1040rdb-cpld";
|
|
|
|
reg = <3 0 0x300>;
|
|
|
|
};
|