Linus Walleij | 978577e | 2013-04-08 11:38:50 +0200 | [diff] [blame] | 1 | ST-Ericsson U300 Device Tree Bindings |
| 2 | |
| 3 | For various board the "board" node may contain specific properties |
| 4 | that pertain to this particular board, such as board-specific GPIOs |
| 5 | or board power regulator supplies. |
| 6 | |
| 7 | Required root node property: |
| 8 | |
| 9 | compatible="stericsson,u300"; |
Linus Walleij | 4d3ab5e | 2013-04-19 10:50:42 +0200 | [diff] [blame] | 10 | |
Linus Walleij | cf0ce09 | 2013-05-22 16:15:13 +0200 | [diff] [blame] | 11 | Required node: syscon |
| 12 | This contains the system controller. |
| 13 | - compatible: must be "stericsson,u300-syscon". |
| 14 | - reg: the base address and size of the system controller. |
| 15 | |
Linus Walleij | 4d3ab5e | 2013-04-19 10:50:42 +0200 | [diff] [blame] | 16 | Boards with the U300 SoC include: |
| 17 | |
| 18 | S365 "Small Board U365": |
| 19 | |
| 20 | Required node: s365 |
Linus Walleij | cf0ce09 | 2013-05-22 16:15:13 +0200 | [diff] [blame] | 21 | This contains the board-specific information. |
| 22 | - compatible: must be "stericsson,s365". |
| 23 | - vana15-supply: the regulator supplying the 1.5V to drive the |
| 24 | board. |
Masanari Iida | 9ca1839 | 2013-07-23 00:13:48 +0900 | [diff] [blame] | 25 | - syscon: a pointer to the syscon node so we can access the |
Linus Walleij | cf0ce09 | 2013-05-22 16:15:13 +0200 | [diff] [blame] | 26 | syscon registers to set the board as self-powered. |
Linus Walleij | 4d3ab5e | 2013-04-19 10:50:42 +0200 | [diff] [blame] | 27 | |
| 28 | Example: |
| 29 | |
Linus Walleij | cf0ce09 | 2013-05-22 16:15:13 +0200 | [diff] [blame] | 30 | / { |
| 31 | model = "ST-Ericsson U300"; |
| 32 | compatible = "stericsson,u300"; |
| 33 | #address-cells = <1>; |
| 34 | #size-cells = <1>; |
| 35 | |
| 36 | s365 { |
| 37 | compatible = "stericsson,s365"; |
| 38 | vana15-supply = <&ab3100_ldo_d_reg>; |
| 39 | syscon = <&syscon>; |
| 40 | }; |
| 41 | |
| 42 | syscon: syscon@c0011000 { |
| 43 | compatible = "stericsson,u300-syscon"; |
| 44 | reg = <0xc0011000 0x1000>; |
| 45 | }; |
Linus Walleij | 4d3ab5e | 2013-04-19 10:50:42 +0200 | [diff] [blame] | 46 | }; |