summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2020-03-27 12:23:52 +0000
committerpatrick <patrick@openbsd.org>2020-03-27 12:23:52 +0000
commitab120fc2b96ce1ee45c9ff54655eaa96bbedf7c8 (patch)
treeb4eb9c918ca33539ccb6a051449dbf0b47514692
parentFix use of 'idstr' and 'idstrlen' arguments in print_static_id(). (diff)
downloadwireguard-openbsd-ab120fc2b96ce1ee45c9ff54655eaa96bbedf7c8.tar.xz
wireguard-openbsd-ab120fc2b96ce1ee45c9ff54655eaa96bbedf7c8.zip
BD71837 uses the same BUCK2 register as BD71847. This allows
CPU frequency scaling to work on the Librem5 Devkit.
-rw-r--r--sys/dev/fdt/bd718x7.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/fdt/bd718x7.c b/sys/dev/fdt/bd718x7.c
index afe849122bd..d3bf474613d 100644
--- a/sys/dev/fdt/bd718x7.c
+++ b/sys/dev/fdt/bd718x7.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bd718x7.c,v 1.1 2020/03/20 09:25:42 patrick Exp $ */
+/* $OpenBSD: bd718x7.c,v 1.2 2020/03/27 12:23:52 patrick Exp $ */
/*
* Copyright (c) 2019 Patrick Wildt <patrick@blueri.se>
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
@@ -38,6 +38,7 @@ struct bdpmic_regdata {
};
struct bdpmic_regdata bd71837_regdata[] = {
+ { "BUCK2", 0x10, 0x3f, 700000, 10000 },
{ }
};