xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/board/fsl-board.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunFreescale Reference Board Bindings
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThis document describes device tree bindings for various devices that
4*4882a593Smuzhiyunexist on some Freescale reference boards.
5*4882a593Smuzhiyun
6*4882a593Smuzhiyun* Board Control and Status (BCSR)
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunRequired properties:
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun - compatible : Should be "fsl,<board>-bcsr"
11*4882a593Smuzhiyun - reg : Offset and length of the register set for the device
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunExample:
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun	bcsr@f8000000 {
16*4882a593Smuzhiyun		compatible = "fsl,mpc8360mds-bcsr";
17*4882a593Smuzhiyun		reg = <f8000000 8000>;
18*4882a593Smuzhiyun	};
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun* Freescale on-board FPGA
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunThis is the memory-mapped registers for on board FPGA.
23*4882a593Smuzhiyun
24*4882a593SmuzhiyunRequired properties:
25*4882a593Smuzhiyun- compatible: should be a board-specific string followed by a string
26*4882a593Smuzhiyun  indicating the type of FPGA.  Example:
27*4882a593Smuzhiyun	"fsl,<board>-fpga", "fsl,fpga-pixis", or
28*4882a593Smuzhiyun	"fsl,<board>-fpga", "fsl,fpga-qixis"
29*4882a593Smuzhiyun- reg: should contain the address and the length of the FPGA register set.
30*4882a593Smuzhiyun
31*4882a593SmuzhiyunOptional properties:
32*4882a593Smuzhiyun- interrupts: should specify event (wakeup) IRQ.
33*4882a593Smuzhiyun
34*4882a593SmuzhiyunExample (P1022DS):
35*4882a593Smuzhiyun
36*4882a593Smuzhiyun	 board-control@3,0 {
37*4882a593Smuzhiyun		 compatible = "fsl,p1022ds-fpga", "fsl,fpga-ngpixis";
38*4882a593Smuzhiyun		 reg = <3 0 0x30>;
39*4882a593Smuzhiyun		 interrupt-parent = <&mpic>;
40*4882a593Smuzhiyun		 interrupts = <8 8 0 0>;
41*4882a593Smuzhiyun	 };
42*4882a593Smuzhiyun
43*4882a593SmuzhiyunExample (LS2080A-RDB):
44*4882a593Smuzhiyun
45*4882a593Smuzhiyun        cpld@3,0 {
46*4882a593Smuzhiyun                compatible = "fsl,ls2080ardb-fpga", "fsl,fpga-qixis";
47*4882a593Smuzhiyun                reg = <0x3 0 0x10000>;
48*4882a593Smuzhiyun        };
49*4882a593Smuzhiyun
50*4882a593Smuzhiyun* Freescale on-board FPGA connected on I2C bus
51*4882a593Smuzhiyun
52*4882a593SmuzhiyunSome Freescale boards like BSC9132QDS have on board FPGA connected on
53*4882a593Smuzhiyunthe i2c bus.
54*4882a593Smuzhiyun
55*4882a593SmuzhiyunRequired properties:
56*4882a593Smuzhiyun- compatible: Should be a board-specific string followed by a string
57*4882a593Smuzhiyun  indicating the type of FPGA.  Example:
58*4882a593Smuzhiyun	"fsl,<board>-fpga", "fsl,fpga-qixis-i2c"
59*4882a593Smuzhiyun- reg: Should contain the address of the FPGA
60*4882a593Smuzhiyun
61*4882a593SmuzhiyunExample:
62*4882a593Smuzhiyun	fpga: fpga@66 {
63*4882a593Smuzhiyun		compatible = "fsl,bsc9132qds-fpga", "fsl,fpga-qixis-i2c";
64*4882a593Smuzhiyun		reg = <0x66>;
65*4882a593Smuzhiyun	};
66*4882a593Smuzhiyun
67*4882a593Smuzhiyun* Freescale on-board CPLD
68*4882a593Smuzhiyun
69*4882a593SmuzhiyunSome Freescale boards like T1040RDB have an on board CPLD connected.
70*4882a593Smuzhiyun
71*4882a593SmuzhiyunRequired properties:
72*4882a593Smuzhiyun- compatible: Should be a board-specific string like "fsl,<board>-cpld"
73*4882a593Smuzhiyun  Example:
74*4882a593Smuzhiyun	"fsl,t1040rdb-cpld", "fsl,t1042rdb-cpld", "fsl,t1042rdb_pi-cpld"
75*4882a593Smuzhiyun- reg: should describe CPLD registers
76*4882a593Smuzhiyun
77*4882a593SmuzhiyunExample:
78*4882a593Smuzhiyun	cpld@3,0 {
79*4882a593Smuzhiyun		compatible = "fsl,t1040rdb-cpld";
80*4882a593Smuzhiyun		reg = <3 0 0x300>;
81*4882a593Smuzhiyun	};
82