| /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. |
| * |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License version 2 and |
| * only version 2 as published by the Free Software Foundation. |
| * |
| * This program is distributed in the hope that it will be useful, |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| * GNU General Public License for more details. |
| */ |
| |
| &spmi_bus { |
| #address-cells = <1>; |
| #size-cells = <0>; |
| interrupt-controller; |
| #interrupt-cells = <3>; |
| |
| qcom,pm8110@0 { |
| spmi-slave-container; |
| reg = <0x0>; |
| #address-cells = <1>; |
| #size-cells = <1>; |
| |
| pm8110_vadc: vadc@3100 { |
| compatible = "qcom,qpnp-vadc"; |
| reg = <0x3100 0x100>; |
| #address-cells = <1>; |
| #size-cells = <0>; |
| interrupts = <0x0 0x31 0x0>; |
| interrupt-names = "eoc-int-en-set"; |
| qcom,adc-bit-resolution = <15>; |
| qcom,adc-vdd-reference = <1800>; |
| |
| chan@8 { |
| label = "die_temp"; |
| reg = <8>; |
| qcom,decimation = <0>; |
| qcom,pre-div-channel-scaling = <0>; |
| qcom,calibration-type = "absolute"; |
| qcom,scale-function = <3>; |
| qcom,hw-settle-time = <0>; |
| qcom,fast-avg-setup = <0>; |
| }; |
| |
| chan@9 { |
| label = "ref_625mv"; |
| reg = <9>; |
| qcom,decimation = <0>; |
| qcom,pre-div-channel-scaling = <0>; |
| qcom,calibration-type = "absolute"; |
| qcom,scale-function = <0>; |
| qcom,hw-settle-time = <0>; |
| qcom,fast-avg-setup = <0>; |
| }; |
| |
| chan@a { |
| label = "ref_1250v"; |
| reg = <0xa>; |
| qcom,decimation = <0>; |
| qcom,pre-div-channel-scaling = <0>; |
| qcom,calibration-type = "absolute"; |
| qcom,scale-function = <0>; |
| qcom,hw-settle-time = <0>; |
| qcom,fast-avg-setup = <0>; |
| }; |
| }; |
| |
| iadc@3600 { |
| compatible = "qcom,qpnp-iadc"; |
| reg = <0x3600 0x100>; |
| #address-cells = <1>; |
| #size-cells = <0>; |
| interrupts = <0x0 0x36 0x0>; |
| interrupt-names = "eoc-int-en-set"; |
| qcom,adc-bit-resolution = <16>; |
| qcom,adc-vdd-reference = <1800>; |
| qcom,rsense = <1500>; |
| |
| chan@0 { |
| label = "internal_rsense"; |
| reg = <0>; |
| qcom,decimation = <0>; |
| qcom,pre-div-channel-scaling = <1>; |
| qcom,calibration-type = "absolute"; |
| qcom,scale-function = <0>; |
| qcom,hw-settle-time = <0>; |
| qcom,fast-avg-setup = <0>; |
| }; |
| }; |
| }; |
| |
| qcom,pm8110@1 { |
| spmi-slave-container; |
| reg = <0x1>; |
| #address-cells = <1>; |
| #size-cells = <1>; |
| |
| regulator@1400 { |
| compatible = "qcom,qpnp-regulator"; |
| regulator-name = "8110_s1"; |
| spmi-dev-container; |
| #address-cells = <1>; |
| #size-cells = <1>; |
| reg = <0x1400 0x300>; |
| status = "disabled"; |
| |
| qcom,ctl@1400 { |
| reg = <0x1400 0x100>; |
| }; |
| qcom,ps@1500 { |
| reg = <0x1500 0x100>; |
| }; |
| qcom,freq@1600 { |
| reg = <0x1600 0x100>; |
| }; |
| }; |
| |
| regulator@1700 { |
| compatible = "qcom,qpnp-regulator"; |
| regulator-name = "8110_s2"; |
| spmi-dev-container; |
| #address-cells = <1>; |
| #size-cells = <1>; |
| reg = <0x1700 0x300>; |
| status = "disabled"; |
| |
| qcom,ctl@1700 { |
| reg = <0x1700 0x100>; |
| }; |
| qcom,ps@1800 { |
| reg = <0x1800 0x100>; |
| }; |
| qcom,freq@1900 { |
| reg = <0x1900 0x100>; |
| }; |
| }; |
| |
| regulator@1a00 { |
| compatible = "qcom,qpnp-regulator"; |
| regulator-name = "8110_s3"; |
| spmi-dev-container; |
| #address-cells = <1>; |
| #size-cells = <1>; |
| reg = <0x1a00 0x300>; |
| status = "disabled"; |
| |
| qcom,ctl@1a00 { |
| reg = <0x1a00 0x100>; |
| }; |
| qcom,ps@1b00 { |
| reg = <0x1b00 0x100>; |
| }; |
| qcom,freq@1c00 { |
| reg = <0x1c00 0x100>; |
| }; |
| }; |
| |
| regulator@1d00 { |
| compatible = "qcom,qpnp-regulator"; |
| regulator-name = "8110_s4"; |
| spmi-dev-container; |
| #address-cells = <1>; |
| #size-cells = <1>; |
| reg = <0x1d00 0x300>; |
| status = "disabled"; |
| |
| qcom,ctl@1d00 { |
| reg = <0x1d00 0x100>; |
| }; |
| qcom,ps@1e00 { |
| reg = <0x1e00 0x100>; |
| }; |
| qcom,freq@1f00 { |
| reg = <0x1f00 0x100>; |
| }; |
| }; |
| |
| regulator@4000 { |
| compatible = "qcom,qpnp-regulator"; |
| regulator-name = "8110_l1"; |
| reg = <0x4000 0x100>; |
| status = "disabled"; |
| }; |
| |
| regulator@4100 { |
| compatible = "qcom,qpnp-regulator"; |
| regulator-name = "8110_l2"; |
| reg = <0x4100 0x100>; |
| status = "disabled"; |
| }; |
| |
| regulator@4200 { |
| compatible = "qcom,qpnp-regulator"; |
| regulator-name = "8110_l3"; |
| reg = <0x4200 0x100>; |
| status = "disabled"; |
| }; |
| |
| regulator@4300 { |
| compatible = "qcom,qpnp-regulator"; |
| regulator-name = "8110_l4"; |
| reg = <0x4300 0x100>; |
| status = "disabled"; |
| }; |
| |
| regulator@4400 { |
| compatible = "qcom,qpnp-regulator"; |
| regulator-name = "8110_l5"; |
| reg = <0x4400 0x100>; |
| status = "disabled"; |
| }; |
| |
| regulator@4500 { |
| compatible = "qcom,qpnp-regulator"; |
| regulator-name = "8110_l6"; |
| reg = <0x4500 0x100>; |
| status = "disabled"; |
| }; |
| |
| regulator@4600 { |
| compatible = "qcom,qpnp-regulator"; |
| regulator-name = "8110_l7"; |
| reg = <0x4600 0x100>; |
| status = "disabled"; |
| }; |
| |
| regulator@4700 { |
| compatible = "qcom,qpnp-regulator"; |
| regulator-name = "8110_l8"; |
| reg = <0x4700 0x100>; |
| status = "disabled"; |
| }; |
| |
| regulator@4800 { |
| compatible = "qcom,qpnp-regulator"; |
| regulator-name = "8110_l9"; |
| reg = <0x4800 0x100>; |
| status = "disabled"; |
| }; |
| |
| regulator@4900 { |
| compatible = "qcom,qpnp-regulator"; |
| regulator-name = "8110_l10"; |
| reg = <0x4900 0x100>; |
| status = "disabled"; |
| }; |
| |
| regulator@4b00 { |
| compatible = "qcom,qpnp-regulator"; |
| regulator-name = "8110_l12"; |
| reg = <0x4b00 0x100>; |
| status = "disabled"; |
| }; |
| |
| regulator@4d00 { |
| compatible = "qcom,qpnp-regulator"; |
| regulator-name = "8110_l14"; |
| reg = <0x4d00 0x100>; |
| status = "disabled"; |
| }; |
| |
| regulator@4e00 { |
| compatible = "qcom,qpnp-regulator"; |
| regulator-name = "8110_l15"; |
| reg = <0x4e00 0x100>; |
| status = "disabled"; |
| }; |
| |
| regulator@4f00 { |
| compatible = "qcom,qpnp-regulator"; |
| regulator-name = "8110_l16"; |
| reg = <0x4f00 0x100>; |
| status = "disabled"; |
| }; |
| |
| regulator@5000 { |
| compatible = "qcom,qpnp-regulator"; |
| regulator-name = "8110_l17"; |
| reg = <0x5000 0x100>; |
| status = "disabled"; |
| }; |
| |
| regulator@5100 { |
| compatible = "qcom,qpnp-regulator"; |
| regulator-name = "8110_l18"; |
| reg = <0x5100 0x100>; |
| status = "disabled"; |
| }; |
| |
| regulator@5200 { |
| compatible = "qcom,qpnp-regulator"; |
| regulator-name = "8110_l19"; |
| reg = <0x5200 0x100>; |
| status = "disabled"; |
| }; |
| |
| regulator@5300 { |
| compatible = "qcom,qpnp-regulator"; |
| regulator-name = "8110_l20"; |
| reg = <0x5300 0x100>; |
| status = "disabled"; |
| }; |
| |
| regulator@5400 { |
| compatible = "qcom,qpnp-regulator"; |
| regulator-name = "8110_l21"; |
| reg = <0x5400 0x100>; |
| status = "disabled"; |
| }; |
| |
| regulator@5500 { |
| compatible = "qcom,qpnp-regulator"; |
| regulator-name = "8110_l22"; |
| reg = <0x5500 0x100>; |
| status = "disabled"; |
| }; |
| |
| qcom,vibrator@c000 { |
| compatible = "qcom,qpnp-vibrator"; |
| reg = <0xc000 0x100>; |
| label = "vibrator"; |
| status = "disabled"; |
| }; |
| }; |
| }; |