zephyr/samples/drivers/misc/grove_display/boards/serpente.overlay

38 lines
651 B
Plaintext

/*
* Copyright (c) 2020 Alexander Falb <fal3xx@gmail.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
chosen {
zephyr,console = &sercom0;
zephyr,shell-uart = &sercom0;
};
};
&sercom0 {
compatible = "atmel,sam0-uart";
current-speed = <115200>;
rxpo = <1>;
txpo = <0>;
pinctrl-0 = <&pa5d_sercom0_pad1 &pa4d_sercom0_pad0>;
};
&sercom2 {
compatible = "atmel,sam0-i2c";
clock-frequency = <I2C_BITRATE_FAST>;
#address-cells = <1>;
#size-cells = <0>;
/delete-property/ current-speed;
/delete-property/ rxpo;
/delete-property/ txpo;
glcd: glcd@3e {
compatible = "seeed,grove-lcd-rgb";
label = "GLCD";
reg = <0x3e>;
};
};