[PATCH 01/11] dt-bindings: clock: rockchip: Add RV1103B clock and reset unit
Fabio Estevam
festevam at gmail.com
Fri Feb 6 10:12:59 PST 2026
From: Fabio Estevam <festevam at nabladev.com>
Add device tree bindings for the clock and reset unit for the RV1103B SoC.
Cc: Stephen Boyd <sboyd at kernel.org>
Signed-off-by: Fabio Estevam <festevam at nabladev.com>
---
.../bindings/clock/rockchip,rv1103b-cru.yaml | 63 +++++++++++++++++++
1 file changed, 63 insertions(+)
create mode 100644 Documentation/devicetree/bindings/clock/rockchip,rv1103b-cru.yaml
diff --git a/Documentation/devicetree/bindings/clock/rockchip,rv1103b-cru.yaml b/Documentation/devicetree/bindings/clock/rockchip,rv1103b-cru.yaml
new file mode 100644
index 000000000000..fa7298955aea
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/rockchip,rv1103b-cru.yaml
@@ -0,0 +1,63 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/clock/rockchip,rv1103b-cru.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Rockchip RV1103B Clock and Reset Unit
+
+maintainers:
+ - Fabio Estevam <festevam at nabladev.com>
+ - Heiko Stuebner <heiko at sntech.de>
+
+description: |
+ The RV1103B clock controller generates and supplies clocks to various
+ controllers within the SoC and also implements a reset controller for SoC
+ peripherals.
+ Each clock is assigned an identifier and client nodes can use this identifier
+ to specify the clock which they consume. All available clocks are defined as
+ preprocessor macros in the dt-bindings/clock/rockchip,rv1103b-cru.h header
+ and can be used in device tree sources. Similar macros exist for the reset
+ sources in these files.
+ There are several clocks that are generated outside the SoC. It is expected
+ that they are defined using standard clock bindings with following
+ clock-output-names:
+ - "xin24m" - crystal input - required
+ - "xin32k" - rtc clock - optional
+
+properties:
+ compatible:
+ enum:
+ - rockchip,rv1103b-cru
+
+ reg:
+ maxItems: 1
+
+ "#clock-cells":
+ const: 1
+
+ "#reset-cells":
+ const: 1
+
+ clocks:
+ maxItems: 1
+
+ clock-names:
+ const: xin24m
+
+required:
+ - compatible
+ - reg
+ - "#clock-cells"
+ - "#reset-cells"
+
+additionalProperties: false
+
+examples:
+ - |
+ clock-controller at 20000000 {
+ compatible = "rockchip,rv1103b-cru";
+ reg = <0x20000000 0x81000>;
+ #clock-cells = <1>;
+ #reset-cells = <1>;
+ };
--
2.34.1
More information about the linux-arm-kernel
mailing list