Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Freescale Reference Board Bindings |
| 2 | |
| 3 | This document describes device tree bindings for various devices that |
| 4 | exist on some Freescale reference boards. |
| 5 | |
| 6 | * Board Control and Status (BCSR) |
| 7 | |
| 8 | Required properties: |
| 9 | |
| 10 | - compatible : Should be "fsl,<board>-bcsr" |
| 11 | - reg : Offset and length of the register set for the device |
| 12 | |
| 13 | Example: |
| 14 | |
| 15 | bcsr@f8000000 { |
| 16 | compatible = "fsl,mpc8360mds-bcsr"; |
| 17 | reg = <f8000000 8000>; |
| 18 | }; |
| 19 | |
| 20 | * Freescale on-board FPGA |
| 21 | |
| 22 | This is the memory-mapped registers for on board FPGA. |
| 23 | |
| 24 | Required 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 | |
| 31 | Optional properties: |
| 32 | - interrupts: should specify event (wakeup) IRQ. |
| 33 | |
| 34 | Example (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 | |
| 43 | Example (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 | |
| 52 | Some Freescale boards like BSC9132QDS have on board FPGA connected on |
| 53 | the i2c bus. |
| 54 | |
| 55 | Required 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 | |
| 61 | Example: |
| 62 | fpga: fpga@66 { |
| 63 | compatible = "fsl,bsc9132qds-fpga", "fsl,fpga-qixis-i2c"; |
| 64 | reg = <0x66>; |
| 65 | }; |
| 66 | |
| 67 | * Freescale on-board CPLD |
| 68 | |
| 69 | Some Freescale boards like T1040RDB have an on board CPLD connected. |
| 70 | |
| 71 | Required 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 | |
| 77 | Example: |
| 78 | cpld@3,0 { |
| 79 | compatible = "fsl,t1040rdb-cpld"; |
| 80 | reg = <3 0 0x300>; |
| 81 | }; |