summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2019-06-24 15:50:47 +0200
committerStefano Babic <sbabic@denx.de>2019-07-19 14:50:30 +0200
commit4ab8e783f33d80a3875e990f3069f21018379b36 (patch)
tree96c5af5b250a9731513a4c01ffe6ad7f742a18a1 /arch
parent1a961c9b32adf9915f7735758e9d9b5a68258ba5 (diff)
dts: sandbox: Add 'osc' clock for Common Clock Framework [CCF] testing
This patch adds the 'osc' fixed clock to facilitate the CCF testing in the sandbox U-Boot. It is a starting point for building CCF hierarchy of clocks. Signed-off-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/sandbox/dts/test.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index 531c1afc97..0dd5e8da5a 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -211,6 +211,12 @@
clock-mult = <2>;
clocks = <&clk_fixed>;
};
+
+ osc {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <20000000>;
+ };
};
clk_sandbox: clk-sbox {