summaryrefslogtreecommitdiff
path: root/sys/dev/fdt/files.fdt
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2024-03-02 19:52:42 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2024-03-02 19:52:42 +0000
commit2d6f58f5b1a4b9c1eb74c575c7c863275983f1fa (patch)
treec7dfeef1d4a9dcc9baadc603df13ab875c7473e8 /sys/dev/fdt/files.fdt
parentc7a5c52010f1df269a5d9e5e27b5ff0976d9ff99 (diff)
Add support for attaching rkpmic(4) to an SPI bus. Add support for
the RK806 PMIC which can attach to both I2C and SPI. Based on an old diff from patrick@ ok patrick@
Diffstat (limited to 'sys/dev/fdt/files.fdt')
-rw-r--r--sys/dev/fdt/files.fdt5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/fdt/files.fdt b/sys/dev/fdt/files.fdt
index 5260fe4bc68..e8bc5e5f2c3 100644
--- a/sys/dev/fdt/files.fdt
+++ b/sys/dev/fdt/files.fdt
@@ -1,4 +1,4 @@
-# $OpenBSD: files.fdt,v 1.200 2024/03/02 19:50:30 kettenis Exp $
+# $OpenBSD: files.fdt,v 1.201 2024/03/02 19:52:41 kettenis Exp $
#
# Config file and device description for machine-independent FDT code.
# Included by ports that need it.
@@ -399,7 +399,8 @@ attach rkpinctrl at fdt
file dev/fdt/rkpinctrl.c rkpinctrl
device rkpmic
-attach rkpmic at i2c
+attach rkpmic at spi with rkpmic_spi
+attach rkpmic at i2c with rkpmic_i2c
file dev/fdt/rkpmic.c rkpmic
device rkpwm