Kumar Gala | d0fc2ea | 2008-07-07 11:28:33 -0500 | [diff] [blame] | 1 | * Board Control and Status (BCSR) |
| 2 | |
| 3 | Required properties: |
| 4 | |
Anton Vorontsov | fd657ef | 2008-10-18 04:23:52 +0400 | [diff] [blame] | 5 | - compatible : Should be "fsl,<board>-bcsr" |
Kumar Gala | d0fc2ea | 2008-07-07 11:28:33 -0500 | [diff] [blame] | 6 | - reg : Offset and length of the register set for the device |
| 7 | |
| 8 | Example: |
| 9 | |
| 10 | bcsr@f8000000 { |
Anton Vorontsov | fd657ef | 2008-10-18 04:23:52 +0400 | [diff] [blame] | 11 | compatible = "fsl,mpc8360mds-bcsr"; |
Kumar Gala | d0fc2ea | 2008-07-07 11:28:33 -0500 | [diff] [blame] | 12 | reg = <f8000000 8000>; |
| 13 | }; |
| 14 | |
| 15 | * Freescale on board FPGA |
| 16 | |
| 17 | This is the memory-mapped registers for on board FPGA. |
| 18 | |
| 19 | Required properities: |
| 20 | - compatible : should be "fsl,fpga-pixis". |
Anton Vorontsov | 94409d6 | 2008-12-18 19:37:23 +0300 | [diff] [blame] | 21 | - reg : should contain the address and the length of the FPPGA register |
Kumar Gala | d0fc2ea | 2008-07-07 11:28:33 -0500 | [diff] [blame] | 22 | set. |
| 23 | |
| 24 | Example (MPC8610HPCD): |
| 25 | |
| 26 | board-control@e8000000 { |
| 27 | compatible = "fsl,fpga-pixis"; |
| 28 | reg = <0xe8000000 32>; |
| 29 | }; |
Anton Vorontsov | 94409d6 | 2008-12-18 19:37:23 +0300 | [diff] [blame] | 30 | |
| 31 | * Freescale BCSR GPIO banks |
| 32 | |
| 33 | Some BCSR registers act as simple GPIO controllers, each such |
| 34 | register can be represented by the gpio-controller node. |
| 35 | |
| 36 | Required properities: |
| 37 | - compatible : Should be "fsl,<board>-bcsr-gpio". |
| 38 | - reg : Should contain the address and the length of the GPIO bank |
| 39 | register. |
| 40 | - #gpio-cells : Should be two. The first cell is the pin number and the |
Martin Olsson | 98a1708 | 2009-04-22 18:21:29 +0200 | [diff] [blame] | 41 | second cell is used to specify optional parameters (currently unused). |
Anton Vorontsov | 94409d6 | 2008-12-18 19:37:23 +0300 | [diff] [blame] | 42 | - gpio-controller : Marks the port as GPIO controller. |
| 43 | |
| 44 | Example: |
| 45 | |
| 46 | bcsr@1,0 { |
| 47 | #address-cells = <1>; |
| 48 | #size-cells = <1>; |
| 49 | compatible = "fsl,mpc8360mds-bcsr"; |
| 50 | reg = <1 0 0x8000>; |
| 51 | ranges = <0 1 0 0x8000>; |
| 52 | |
| 53 | bcsr13: gpio-controller@d { |
| 54 | #gpio-cells = <2>; |
| 55 | compatible = "fsl,mpc8360mds-bcsr-gpio"; |
| 56 | reg = <0xd 1>; |
| 57 | gpio-controller; |
| 58 | }; |
| 59 | }; |