aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sandbox
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2017-09-04 14:55:57 +0200
committerSimon Glass <sjg@chromium.org>2017-09-11 21:43:58 -0600
commitee87a097b0f66158ce2985940a5f28ba15a3552d (patch)
treece0d2844b5c88642a08c907dffeda8f8d70b978f /arch/sandbox
parente81c98649b7a67d43c5baae407430a242d3b26b9 (diff)
downloadu-boot-midas-ee87a097b0f66158ce2985940a5f28ba15a3552d.tar.gz
u-boot-midas-ee87a097b0f66158ce2985940a5f28ba15a3552d.tar.bz2
u-boot-midas-ee87a097b0f66158ce2985940a5f28ba15a3552d.zip
dm: test: replace dm_scan_dt() by of dm_extended_scan_fdt() in dm_do_test
This allows to scan the DT including all "clocks" node's sub-nodes in which fixed-clock are defined. All fixed-clock should be defined inside a clocks node which collect all external oscillators. Until now, all clocks sub-nodes can't be binded except if the "simple-bus" compatible string is added which is a hack. Update test.dts by moving clk_fixed node inside clocks. Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/dts/test.dts10
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index 65b2f8ecda..e67d428eb2 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -127,10 +127,12 @@
compatible = "denx,u-boot-fdt-test";
};
- clk_fixed: clk-fixed {
- compatible = "fixed-clock";
- #clock-cells = <0>;
- clock-frequency = <1234>;
+ clocks {
+ clk_fixed: clk-fixed {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <1234>;
+ };
};
clk_sandbox: clk-sbox {