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 label = "HT16K33"; 14 /* Uncomment to use IRQ instead of polling: */ 15 /* irq-gpios = <&gpio1 8 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; */ 16 17 keyscan { 18 compatible = "holtek,ht16k33-keyscan"; 19 label = "KEYSCAN"; 20 }; 21 }; 22}; 23