Skip to content

Commit f8a4262

Browse files
andrei-edward-popakartben
authored andcommitted
dts: bindings: i2c: added bindings for wch
added i2c bindings for wch platforms Signed-off-by: Andrei-Edward Popa <andrei.popa105@yahoo.com>
1 parent 3932794 commit f8a4262

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

dts/bindings/i2c/wch,i2c.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Copyright (c) 2025 Andrei-Edward Popa
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
description: WCH I2C controller
5+
6+
compatible: "wch,i2c"
7+
8+
include: [i2c-controller.yaml, pinctrl-device.yaml]
9+
10+
properties:
11+
reg:
12+
required: true
13+
14+
clocks:
15+
required: true
16+
17+
interrupts:
18+
required: true
19+
20+
pinctrl-0:
21+
required: true
22+
23+
pinctrl-names:
24+
required: true

0 commit comments

Comments
 (0)