Mateusz Kulikowski | c7e4fbb | 2016-03-31 23:12:28 +0200 | [diff] [blame] | 1 | Sandbox SPMI emulated arbiter. |
| 2 | |
| 3 | This is bus driver for Sandbox. It includes part of emulated pm8916 pmic. |
| 4 | |
| 5 | Required properties: |
| 6 | - compatible: "sandbox,spmi" |
| 7 | - #address-cells: 0x1 - childs slave ID address |
| 8 | - #size-cells: 0x1 |
| 9 | |
| 10 | Example: |
| 11 | |
| 12 | spmi: spmi@0 { |
| 13 | compatible = "sandbox,spmi"; |
| 14 | #address-cells = <0x1>; |
| 15 | #size-cells = <0x1>; |
| 16 | pm8916@0 { |
| 17 | compatible = "qcom,spmi-pmic"; |
| 18 | reg = <0x0 0x1>; |
| 19 | #address-cells = <0x1>; |
| 20 | #size-cells = <0x1>; |
| 21 | |
| 22 | spmi_gpios: gpios@c000 { |
| 23 | compatible = "qcom,pm8916-gpio"; |
| 24 | reg = <0xc000 0x400>; |
| 25 | gpio-controller; |
| 26 | gpio-count = <4>; |
| 27 | #gpio-cells = <2>; |
| 28 | gpio-bank-name="spmi"; |
| 29 | }; |
| 30 | }; |
| 31 | }; |