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