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/dac/nxp,lpc1850-dac.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: NXP LPC1850 DAC bindings
0008 
0009 maintainers:
0010   - Jonathan Cameron <jic23@kernel.org>
0011 
0012 description:
0013   Supports the DAC found on the LPC1850 SoC.
0014 
0015 properties:
0016   compatible:
0017     const: nxp,lpc1850-dac
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 required:
0034   - compatible
0035   - reg
0036   - interrupts
0037   - clocks
0038   - vref-supply
0039   - resets
0040 
0041 additionalProperties: false
0042 
0043 examples:
0044   - |
0045     #include <dt-bindings/clock/lpc18xx-ccu.h>
0046     soc {
0047         #address-cells = <1>;
0048         #size-cells = <1>;
0049         dac: dac@400e1000 {
0050             compatible = "nxp,lpc1850-dac";
0051             reg = <0x400e1000 0x1000>;
0052             interrupts = <0>;
0053             clocks = <&ccu1 CLK_APB3_DAC>;
0054             vref-supply = <&reg_vdda>;
0055             resets = <&rgu 42>;
0056         };
0057     };
0058 ...