18c2ecf20Sopenharmony_ciFreescale Reference Board Bindings 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciThis document describes device tree bindings for various devices that 48c2ecf20Sopenharmony_ciexist on some Freescale reference boards. 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci* Board Control and Status (BCSR) 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ciRequired properties: 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci - compatible : Should be "fsl,<board>-bcsr" 118c2ecf20Sopenharmony_ci - reg : Offset and length of the register set for the device 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciExample: 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci bcsr@f8000000 { 168c2ecf20Sopenharmony_ci compatible = "fsl,mpc8360mds-bcsr"; 178c2ecf20Sopenharmony_ci reg = <f8000000 8000>; 188c2ecf20Sopenharmony_ci }; 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci* Freescale on-board FPGA 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ciThis is the memory-mapped registers for on board FPGA. 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ciRequired properties: 258c2ecf20Sopenharmony_ci- compatible: should be a board-specific string followed by a string 268c2ecf20Sopenharmony_ci indicating the type of FPGA. Example: 278c2ecf20Sopenharmony_ci "fsl,<board>-fpga", "fsl,fpga-pixis", or 288c2ecf20Sopenharmony_ci "fsl,<board>-fpga", "fsl,fpga-qixis" 298c2ecf20Sopenharmony_ci- reg: should contain the address and the length of the FPGA register set. 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ciOptional properties: 328c2ecf20Sopenharmony_ci- interrupts: should specify event (wakeup) IRQ. 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ciExample (P1022DS): 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ci board-control@3,0 { 378c2ecf20Sopenharmony_ci compatible = "fsl,p1022ds-fpga", "fsl,fpga-ngpixis"; 388c2ecf20Sopenharmony_ci reg = <3 0 0x30>; 398c2ecf20Sopenharmony_ci interrupt-parent = <&mpic>; 408c2ecf20Sopenharmony_ci interrupts = <8 8 0 0>; 418c2ecf20Sopenharmony_ci }; 428c2ecf20Sopenharmony_ci 438c2ecf20Sopenharmony_ciExample (LS2080A-RDB): 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ci cpld@3,0 { 468c2ecf20Sopenharmony_ci compatible = "fsl,ls2080ardb-fpga", "fsl,fpga-qixis"; 478c2ecf20Sopenharmony_ci reg = <0x3 0 0x10000>; 488c2ecf20Sopenharmony_ci }; 498c2ecf20Sopenharmony_ci 508c2ecf20Sopenharmony_ci* Freescale on-board FPGA connected on I2C bus 518c2ecf20Sopenharmony_ci 528c2ecf20Sopenharmony_ciSome Freescale boards like BSC9132QDS have on board FPGA connected on 538c2ecf20Sopenharmony_cithe i2c bus. 548c2ecf20Sopenharmony_ci 558c2ecf20Sopenharmony_ciRequired properties: 568c2ecf20Sopenharmony_ci- compatible: Should be a board-specific string followed by a string 578c2ecf20Sopenharmony_ci indicating the type of FPGA. Example: 588c2ecf20Sopenharmony_ci "fsl,<board>-fpga", "fsl,fpga-qixis-i2c" 598c2ecf20Sopenharmony_ci- reg: Should contain the address of the FPGA 608c2ecf20Sopenharmony_ci 618c2ecf20Sopenharmony_ciExample: 628c2ecf20Sopenharmony_ci fpga: fpga@66 { 638c2ecf20Sopenharmony_ci compatible = "fsl,bsc9132qds-fpga", "fsl,fpga-qixis-i2c"; 648c2ecf20Sopenharmony_ci reg = <0x66>; 658c2ecf20Sopenharmony_ci }; 668c2ecf20Sopenharmony_ci 678c2ecf20Sopenharmony_ci* Freescale on-board CPLD 688c2ecf20Sopenharmony_ci 698c2ecf20Sopenharmony_ciSome Freescale boards like T1040RDB have an on board CPLD connected. 708c2ecf20Sopenharmony_ci 718c2ecf20Sopenharmony_ciRequired properties: 728c2ecf20Sopenharmony_ci- compatible: Should be a board-specific string like "fsl,<board>-cpld" 738c2ecf20Sopenharmony_ci Example: 748c2ecf20Sopenharmony_ci "fsl,t1040rdb-cpld", "fsl,t1042rdb-cpld", "fsl,t1042rdb_pi-cpld" 758c2ecf20Sopenharmony_ci- reg: should describe CPLD registers 768c2ecf20Sopenharmony_ci 778c2ecf20Sopenharmony_ciExample: 788c2ecf20Sopenharmony_ci cpld@3,0 { 798c2ecf20Sopenharmony_ci compatible = "fsl,t1040rdb-cpld"; 808c2ecf20Sopenharmony_ci reg = <3 0 0x300>; 818c2ecf20Sopenharmony_ci }; 82