zephyr/samples/drivers/ht16k33/boards/nrf52840dk_nrf52840.overlay

21 lines
428 B
Plaintext

/*
* Copyright (c) 2019 Henrik Brix Andersen <henrik@brixandersen.dk>
*
* SPDX-License-Identifier: Apache-2.0
*/
&i2c0 {
clock-frequency = <I2C_BITRATE_STANDARD>;
ht16k33@70 {
compatible = "holtek,ht16k33";
reg = <0x70>;
/* Uncomment to use IRQ instead of polling: */
/* irq-gpios = <&gpio1 8 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; */
keyscan {
compatible = "holtek,ht16k33-keyscan";
};
};
};