Skip to content

Commit 2e23dc4

Browse files
committed
dts: Add BL61x USB device binding
Adds the binding to enable the USB controller Signed-off-by: Camille BAUD <[email protected]>
1 parent a5a0c21 commit 2e23dc4

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copyright (c) 2024-2025 MASSDRIVER EI (massdriver.space)
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
description: |
5+
Bouffalolab BL61x USB controller
6+
It is similar to FOTG210
7+
8+
compatible: "bflb,bl61x-usb"
9+
10+
include: usb-ep.yaml
11+
12+
properties:
13+
reg:
14+
required: true
15+
16+
interrupts:
17+
required: true

dts/riscv/bflb/bl61x.dtsi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,17 @@
192192
size = <512>;
193193
};
194194

195+
usbd: usbd@20072000 {
196+
compatible = "bflb,bl61x-usb";
197+
reg = <0x20072000 0x1000>;
198+
num-bidir-endpoints = <5>;
199+
maximum-speed = "high-speed";
200+
status = "disabled";
201+
202+
interrupts = <37 2>;
203+
interrupt-parent = <&clic>;
204+
};
205+
195206
sram0: memory@62fc0000 {
196207
compatible = "mmio-sram";
197208
reg = <0x62FC0000 DT_SIZE_K(320)>;

0 commit comments

Comments
 (0)