[PATCH v7 19/28] arm: dts: am335x: enable scm_clocks auto binding
Dario Binacchi
dariobin at libero.it
Thu Dec 24 08:33:57 CET 2020
Adding the 'simple-bus' compatible string to the scm_clocks node will
allow its automatic binding.
Signed-off-by: Dario Binacchi <dariobin at libero.it>
---
Changes in v7:
- Add dm8168-evm-u-boot.dtsi to fix building errors for
ti816x_evm_defconfig.
Changes in v6:
- Remove the 'am3-scm' driver.
- Add the 'simple-bus' compatible string to the scm_clocks node.
Changes in v4:
- Include device_compat.h header for dev_xxx macros.
Changes in v3:
- Remove doc/device-tree-bindings/arm/omap,ctrl.txt.
- Remove doc/device-tree-bindings/pinctrl/pinctrl-single.txt.
- Add to commit message the references to linux kernel dt binding
documentation.
Changes in v2:
- Remove the 'ti_am3_scm_clocks' driver. Handle 'scm_clocks' node in
the 'ti_am3_scm' driver.
- Update the commit message.
arch/arm/dts/am33xx-u-boot.dtsi | 4 ++++
arch/arm/dts/dm8168-evm-u-boot.dtsi | 12 ++++++++++++
2 files changed, 16 insertions(+)
create mode 100644 arch/arm/dts/dm8168-evm-u-boot.dtsi
diff --git a/arch/arm/dts/am33xx-u-boot.dtsi b/arch/arm/dts/am33xx-u-boot.dtsi
index 2426ece680..61d10b841b 100644
--- a/arch/arm/dts/am33xx-u-boot.dtsi
+++ b/arch/arm/dts/am33xx-u-boot.dtsi
@@ -13,3 +13,7 @@
&prcm_clocks {
compatible = "simple-bus";
};
+
+&scm_clocks {
+ compatible = "simple-bus";
+};
diff --git a/arch/arm/dts/dm8168-evm-u-boot.dtsi b/arch/arm/dts/dm8168-evm-u-boot.dtsi
new file mode 100644
index 0000000000..de0bb9bc81
--- /dev/null
+++ b/arch/arm/dts/dm8168-evm-u-boot.dtsi
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * dm8168-evm U-Boot Additions
+ *
+ * Copyright (C) 2020 Dario Binacchi <dariobin at libero.it>
+ */
+
+/ {
+ ocp {
+ u-boot,dm-pre-reloc;
+ };
+};
--
2.17.1
More information about the U-Boot
mailing list