1/* 2 * Copyright (c) 2019 Henrik Brix Andersen <henrik@brixandersen.dk> 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7&i2c0 { 8 clock-frequency = <I2C_BITRATE_STANDARD>; 9 10 ht16k33@70 { 11 compatible = "holtek,ht16k33"; 12 reg = <0x70>; 13 /* Uncomment to use IRQ instead of polling: */ 14 /* irq-gpios = <&gpio1 8 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; */ 15 16 keyscan { 17 compatible = "holtek,ht16k33-keyscan"; 18 }; 19 }; 20}; 21