Commit 5f3f7b79 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Simon Glass

dts: keep clock-names and clocks in SPL DTB if SPL_CLK is enabled

These two properties are necessary for SPL to get clocks from DT.

For now, only clock look-up by index is supported (clk_get_by_index()
function), so "clock-names" is never parsed in U-Boot.  However, we
may want to support something like clk_get_by_name() in the future,
so let's keep "clock-names" as well as "clocks".
Signed-off-by: default avatarMasahiro Yamada <>
parent 52dd704b
......@@ -61,7 +61,9 @@ config DEFAULT_DEVICE_TREE
string "List of device tree properties to drop for SPL"
depends on SPL_OF_CONTROL
default "interrupt-parent" if SPL_PINCTRL_FULL && SPL_CLK
default "clocks clock-names interrupt-parent" if SPL_PINCTRL_FULL
default "pinctrl-0 pinctrl-names interrupt-parent" if SPL_CLK
default "pinctrl-0 pinctrl-names clocks clock-names interrupt-parent"
Since SPL normally runs in a reduced memory space, the device tree
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment