/* * Copyright (c) 2025 Dipak Shetty * * SPDX-License-Identifier: Apache-2.0 */ #include #include / { aliases { light-sensor = &als_pt19_315c; }; als_pt19_315c: als-pt19-315c { compatible = "everlight,als-pt19"; io-channels = <&adc0 2>; load-resistor = <15000>; }; }; &adc0 { #address-cells = <1>; #size-cells = <0>; channel@2 { reg = <0x2>; zephyr,gain = "ADC_GAIN_1"; zephyr,reference = "ADC_REF_EXTERNAL0"; zephyr,vref-mv = <3300>; zephyr,acquisition-time = ; zephyr,resolution = <12>; zephyr,input-positive = ; }; };