aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2022-02-23 07:44:16 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2022-05-16 11:45:38 +0000
commit0ddb544b17d074aa9f1b916b812b18409c492f1d (patch)
treee8b6178ba4219cdf306b742f6e57dd678a578b82
parent8d672e8449c877b2772d5f7b0a3dc1b7123ad226 (diff)
arm: Add extres pseudo devices to some kernel
All the pseudo devices and framework are required by drivers. Reported by: mjg (cherry picked from commit f34560385c730c8b1db4f46a9c711a60511864bf)
-rw-r--r--sys/arm/conf/ALPINE8
-rw-r--r--sys/arm/conf/ARMADA38X8
-rw-r--r--sys/arm/conf/EFIKA_MX8
-rw-r--r--sys/arm/conf/IMX538
-rw-r--r--sys/arm/conf/VYBRID8
-rw-r--r--sys/arm/conf/ZEDBOARD8
6 files changed, 48 insertions, 0 deletions
diff --git a/sys/arm/conf/ALPINE b/sys/arm/conf/ALPINE
index fdfb591f8614..44fbeb6ead06 100644
--- a/sys/arm/conf/ALPINE
+++ b/sys/arm/conf/ALPINE
@@ -38,6 +38,14 @@ device al_iofic # I/O Fabric Interrupt Controller
device al_serdes # Serializer/Deserializer
device al_udma # Universal DMA
+# pseudo devices
+device clk
+device phy
+device hwreset
+device nvmem
+device regulator
+device syscon
+
# Pseudo devices
device loop
device pty
diff --git a/sys/arm/conf/ARMADA38X b/sys/arm/conf/ARMADA38X
index 71a2915d15b6..238d8189f37e 100644
--- a/sys/arm/conf/ARMADA38X
+++ b/sys/arm/conf/ARMADA38X
@@ -23,6 +23,14 @@ options SMP
options VM_KMEM_SIZE_MAX=0x9CCD000
+# pseudo devices
+device clk
+device phy
+device hwreset
+device nvmem
+device regulator
+device syscon
+
# Pseudo devices
device pty
device loop
diff --git a/sys/arm/conf/EFIKA_MX b/sys/arm/conf/EFIKA_MX
index 724d742e03af..df11fdf39504 100644
--- a/sys/arm/conf/EFIKA_MX
+++ b/sys/arm/conf/EFIKA_MX
@@ -50,6 +50,14 @@ options ROOTDEVNAME=\"ufs:ada0s2a\"
#options NO_SYSCTL_DESCR
#options RWLOCK_NOINLINE
+# pseudo devices
+device clk
+device phy
+device hwreset
+device nvmem
+device regulator
+device syscon
+
# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
diff --git a/sys/arm/conf/IMX53 b/sys/arm/conf/IMX53
index 0372cb62088d..d7e1dd0633f0 100644
--- a/sys/arm/conf/IMX53
+++ b/sys/arm/conf/IMX53
@@ -42,6 +42,14 @@ options INCLUDE_CONFIG_FILE # Include this file in kernel
# Note that 'bpf' is required for DHCP.
device bpf # Berkeley packet filter
+# pseudo devices
+device clk
+device phy
+device hwreset
+device nvmem
+device regulator
+device syscon
+
# Pseudo devices.
device loop # Network loopback
device ether # Ethernet support
diff --git a/sys/arm/conf/VYBRID b/sys/arm/conf/VYBRID
index e7ded5f42d82..daa2177e4c0d 100644
--- a/sys/arm/conf/VYBRID
+++ b/sys/arm/conf/VYBRID
@@ -44,6 +44,14 @@ options NO_SWAPPING
# Interrupt controller
device gic
+# pseudo devices
+device clk
+device phy
+device hwreset
+device nvmem
+device regulator
+device syscon
+
# ARM MPCore timer
device mpcore_timer
diff --git a/sys/arm/conf/ZEDBOARD b/sys/arm/conf/ZEDBOARD
index 24490a5129e5..196b1103c5a8 100644
--- a/sys/arm/conf/ZEDBOARD
+++ b/sys/arm/conf/ZEDBOARD
@@ -42,6 +42,14 @@ options ROOTDEVNAME=\"ufs:mmcsd0s2a\"
# Interrupt controller
device gic
+# pseudo devices
+device clk
+device phy
+device hwreset
+device nvmem
+device regulator
+device syscon
+
# Cache controller
device pl310 # PL310 L2 cache controller
# ARM MPCore timer