Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/adc/nxp,lpc1850-adc.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: NXP LPC1850 ADC bindings
0008 
0009 maintainers:
0010   - Jonathan Cameron <jic23@kernel.org>
0011 
0012 description:
0013   Supports the ADC found on the LPC1850 SoC.
0014 
0015 properties:
0016   compatible:
0017     const: nxp,lpc1850-adc
0018 
0019   reg:
0020     maxItems: 1
0021 
0022   interrupts:
0023     maxItems: 1
0024 
0025   clocks:
0026     maxItems: 1
0027 
0028   vref-supply: true
0029 
0030   resets:
0031     maxItems: 1
0032 
0033   "#io-channel-cells":
0034     const: 1
0035 
0036 required:
0037   - compatible
0038   - reg
0039   - interrupts
0040   - clocks
0041   - vref-supply
0042   - resets
0043 
0044 additionalProperties: false
0045 
0046 examples:
0047   - |
0048     #include <dt-bindings/clock/lpc18xx-ccu.h>
0049     soc {
0050         #address-cells = <1>;
0051         #size-cells = <1>;
0052         adc@400e3000 {
0053             compatible = "nxp,lpc1850-adc";
0054             reg = <0x400e3000 0x1000>;
0055             interrupts = <17>;
0056             clocks = <&ccu1 CLK_APB3_ADC0>;
0057             vref-supply = <&reg_vdda>;
0058             resets = <&rgu 40>;
0059          };
0060     };
0061 ...