Skip to content

Commit

Permalink
[nrf fromlist] dts: arm: nordic: nrf5340: adjust OSCILLATORS IP descr…
Browse files Browse the repository at this point in the history
…iption

- Create a new compatible: nordic,nrf53x-oscillators, as other series,
  e.g. nRF54LX contain a similar but different IP (with PLL control,
  etc.)
- Adjust DT: use recommended node name, remove redundant status okay.

Upstream PR: zephyrproject-rtos/zephyr#75030

Signed-off-by: Gerard Marull-Paretas <[email protected]>
  • Loading branch information
gmarull authored and carlescufi committed Aug 16, 2024
1 parent 8bd088c commit b9d2ec4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
5 changes: 2 additions & 3 deletions dts/arm/nordic/nrf5340_cpuapp_peripherals.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ dcnf: dcnf@0 {
status = "okay";
};

oscillators: oscillator@4000 {
compatible = "nordic,nrf-oscillators";
oscillators: clock-controller@4000 {
compatible = "nordic,nrf53-oscillators";
reg = <0x4000 0x1000>;
status = "okay";
};

regulators: regulator@4000 {
Expand Down
12 changes: 0 additions & 12 deletions dts/bindings/clock/nordic,nrf-oscillators.yaml

This file was deleted.

12 changes: 12 additions & 0 deletions dts/bindings/clock/nordic,nrf53-oscillators.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0

description: Nordic nRF53X OSCILLATORS (Oscillator Control)

compatible: "nordic,nrf53-oscillators"

include: base.yaml

properties:
reg:
required: true

0 comments on commit b9d2ec4

Please sign in to comment.