ARM: dts: vf610-zii-dev-rev-c: fix polarity of at86rf233 reset line
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 30 Sep 2022 18:23:03 +0000 (11:23 -0700)
committerShawn Guo <shawnguo@kernel.org>
Mon, 24 Oct 2022 02:04:06 +0000 (10:04 +0800)
at86rf230 driver starts with having reset line high, and then drives it
low and then high again, and even calls it "rstn" internally, therefore
it needs to be annotated as "active low" in the DTS.

This will make difference when at86rf230 driver will be converted to
gpiod API that respects declared line polarity.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/vf610-zii-dev-rev-c.dts

index de79dcfd32e626cd269f637e2ec9343ca858537f..f892977da9e4e0311fd1e3dda5308a8b2811a2f6 100644 (file)
                xtal-trim = /bits/ 8 <0x06>;
 
                sleep-gpio = <&gpio0 24 GPIO_ACTIVE_HIGH>;
-               reset-gpio = <&gpio6 10 GPIO_ACTIVE_HIGH>;
+               reset-gpio = <&gpio6 10 GPIO_ACTIVE_LOW>;
 
                fsl,spi-cs-sck-delay = <180>;
                fsl,spi-sck-cs-delay = <250>;