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 properities: 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" 28- reg: should contain the address and the length of the FPGA register set. 29- interrupt-parent: should specify phandle for the interrupt controller. 30- interrupts: should specify event (wakeup) IRQ. 31 32Example (P1022DS): 33 34 board-control@3,0 { 35 compatible = "fsl,p1022ds-fpga", "fsl,fpga-ngpixis"; 36 reg = <3 0 0x30>; 37 interrupt-parent = <&mpic>; 38 interrupts = <8 8 0 0>; 39 }; 40 41* Freescale BCSR GPIO banks 42 43Some BCSR registers act as simple GPIO controllers, each such 44register can be represented by the gpio-controller node. 45 46Required properities: 47- compatible : Should be "fsl,<board>-bcsr-gpio". 48- reg : Should contain the address and the length of the GPIO bank 49 register. 50- #gpio-cells : Should be two. The first cell is the pin number and the 51 second cell is used to specify optional parameters (currently unused). 52- gpio-controller : Marks the port as GPIO controller. 53 54Example: 55 56 bcsr@1,0 { 57 #address-cells = <1>; 58 #size-cells = <1>; 59 compatible = "fsl,mpc8360mds-bcsr"; 60 reg = <1 0 0x8000>; 61 ranges = <0 1 0 0x8000>; 62 63 bcsr13: gpio-controller@d { 64 #gpio-cells = <2>; 65 compatible = "fsl,mpc8360mds-bcsr-gpio"; 66 reg = <0xd 1>; 67 gpio-controller; 68 }; 69 }; 70 71* Freescale on-board FPGA connected on I2C bus 72 73Some Freescale boards like BSC9132QDS have on board FPGA connected on 74the i2c bus. 75 76Required properties: 77- compatible: Should be a board-specific string followed by a string 78 indicating the type of FPGA. Example: 79 "fsl,<board>-fpga", "fsl,fpga-qixis-i2c" 80- reg: Should contain the address of the FPGA 81 82Example: 83 fpga: fpga@66 { 84 compatible = "fsl,bsc9132qds-fpga", "fsl,fpga-qixis-i2c"; 85 reg = <0x66>; 86 }; 87 88* Freescale on-board CPLD 89 90Some Freescale boards like T1040RDB have an on board CPLD connected. 91 92Required properties: 93- compatible: Should be a board-specific string like "fsl,<board>-cpld" 94 Example: 95 "fsl,t1040rdb-cpld", "fsl,t1042rdb-cpld", "fsl,t1042rdb_pi-cpld" 96- reg: should describe CPLD registers 97 98Example: 99 cpld@3,0 { 100 compatible = "fsl,t1040rdb-cpld"; 101 reg = <3 0 0x300>; 102 }; 103