Setting P0.30/AIN6 as GPIO enable pin

Hi. I am trying to make one sensor work on my nrf52840 based board. The problem is that eventhough the enable pin is set high in .dts file, it doesn't work. 

	bq35100@55 {
		compatible = "ti,bq35100";
		reg = <0x55>;
		enable-gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
		label = "BQ35100";
	};

I figured out with documentation that I need to reconfigure AIN6 to serve as an GPIO. How do I do that? 

Parents Reply Children
Related