10db636cbSEmmanuel VadotNuvoton NPCM Analog to Digital Converter (ADC) 20db636cbSEmmanuel Vadot 30db636cbSEmmanuel VadotThe NPCM ADC is a 10-bit converter for eight channel inputs. 40db636cbSEmmanuel Vadot 50db636cbSEmmanuel VadotRequired properties: 60db636cbSEmmanuel Vadot- compatible: "nuvoton,npcm750-adc" for the NPCM7XX BMC. 70db636cbSEmmanuel Vadot- reg: specifies physical base address and size of the registers. 80db636cbSEmmanuel Vadot- interrupts: Contain the ADC interrupt with flags for falling edge. 95df7ea33SEmmanuel Vadot- resets : phandle to the reset control for this device. 100db636cbSEmmanuel Vadot 110db636cbSEmmanuel VadotOptional properties: 120db636cbSEmmanuel Vadot- clocks: phandle of ADC reference clock, in case the clock is not 130db636cbSEmmanuel Vadot added the ADC will use the default ADC sample rate. 140db636cbSEmmanuel Vadot- vref-supply: The regulator supply ADC reference voltage, in case the 150db636cbSEmmanuel Vadot vref-supply is not added the ADC will use internal voltage 160db636cbSEmmanuel Vadot reference. 170db636cbSEmmanuel Vadot 180db636cbSEmmanuel VadotExample: 190db636cbSEmmanuel Vadot 200db636cbSEmmanuel Vadotadc: adc@f000c000 { 210db636cbSEmmanuel Vadot compatible = "nuvoton,npcm750-adc"; 220db636cbSEmmanuel Vadot reg = <0xf000c000 0x8>; 230db636cbSEmmanuel Vadot interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>; 240db636cbSEmmanuel Vadot clocks = <&clk NPCM7XX_CLK_ADC>; 255df7ea33SEmmanuel Vadot resets = <&rstc NPCM7XX_RESET_IPSRST1 NPCM7XX_RESET_ADC>; 260db636cbSEmmanuel Vadot}; 27