1/* 2 * Copyright (c) 2024-2025 Chen Xingyu <hi@xingrz.me> 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7&gpio0 { 8 ngpios = <11>; 9}; 10 11/ { 12 auxdisplay_0: auxdisplay { 13 compatible = "gpio-7-segment"; 14 status = "okay"; 15 columns = <3>; 16 rows = <1>; 17 segment-gpios = <&gpio0 0 0>, /* A */ 18 <&gpio0 1 0>, /* B */ 19 <&gpio0 2 0>, /* C */ 20 <&gpio0 3 0>, /* D */ 21 <&gpio0 4 0>, /* E */ 22 <&gpio0 5 0>, /* F */ 23 <&gpio0 6 0>, /* G */ 24 <&gpio0 7 0>; /* DP */ 25 digit-gpios = <&gpio0 8 0>, /* DIG1 */ 26 <&gpio0 9 0>, /* DIG2 */ 27 <&gpio0 10 0>; /* DIG3 */ 28 refresh-period-ms = <1>; 29 }; 30}; 31