blob: fcb4eec966c109039f099a5e30d0b7090a20c0d2 [file] [log] [blame]
#include <dt-bindings/pinctrl/samsung.h>
&i2c_1 {
#address-cells = <1>;
#size-cells = <0>;
status = "ok"; /* Enable I2C1 */
proto1_hl6111: proto1-hl6111@25 {
compatible = "halo,hl6111";
reg = <0x25>;
status = "disabled";
halo,int-gpio = <&gpa1 3 0>;
halo,det-gpio = <&gpm21 0 0>;
halo,clm-vth = <0x07>;
halo,bypass = <0x00>; //5.0V
halo,ldop = <0x00>; //1.8V
halo,vout-range = <0x03>; //16mV step
halo,trgt-vout = <0x26>; //4.56V
halo,trgt-vrect = <0x02>; //6V
halo,temp-limit = <0x14>; // default
pinctrl-names = "default";
pinctrl-0 = <&proto1_wlc_irq &proto1_wlc_det>;
};
};
&pinctrl_0 {
proto1_wlc_irq: proto1-wlc-irq {
samsung,pins = "gpa1-3";
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
};
};
&pinctrl_1 {
proto1_wlc_det: proto1-wlc-det {
samsung,pins = "gpm21-0";
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
};
};