Path: blob/master/Documentation/devicetree/bindings/iio/adc/brcm,iproc-static-adc.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/adc/brcm,iproc-static-adc.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Broadcom's IPROC Static ADC controller78maintainers:9- Raveendra Padasalagi <raveendra.padasalagi@broadcom.com>1011description: |12Broadcom iProc ADC controller has 8 10bit channels1314properties:15compatible:16const: brcm,iproc-static-adc1718adc-syscon:19$ref: /schemas/types.yaml#/definitions/phandle20description:21syscon node defining physical base address of the controller and length22of memory mapped region.2324"#io-channel-cells":25const: 12627clocks:28maxItems: 12930clock-names:31const: tsc_clk3233interrupts:34maxItems: 13536additionalProperties: false3738required:39- compatible40- adc-syscon41- "#io-channel-cells"42- clocks43- clock-names44- interrupts4546examples:47- |48#include <dt-bindings/clock/bcm-cygnus.h>49#include <dt-bindings/interrupt-controller/arm-gic.h>50#include <dt-bindings/interrupt-controller/irq.h>51soc {52#address-cells = <1>;53#size-cells = <1>;5455adc {56compatible = "brcm,iproc-static-adc";57adc-syscon = <&ts_adc_syscon>;58#io-channel-cells = <1>;59clocks = <&asiu_clks BCM_CYGNUS_ASIU_ADC_CLK>;60clock-names = "tsc_clk";61interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;62};63};64...656667