zephyr/samples/sensor/grow_r502a/boards/yd_esp32.overlay

29 lines
457 B
Plaintext

&pinctrl {
uart2_default: uart2_default {
group1 {
pinmux = <UART2_TX_GPIO32>;
};
group2 {
pinmux = <UART2_RX_GPIO33>;
bias-pull-up;
};
};
};
&uart2 {
status = "okay";
current-speed = <57600>;
pinctrl-0 = <&uart2_default>;
pinctrl-names = "default";
fps {
#address-cells=<1>;
#size-cells=<0>;
grow_r502a@ffffffff {
compatible = "hzgrow,r502a";
reg = <0xffffffff>;
int-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
};
};
};