On Tue, 09 Feb 2021 21:30:07 +0900, Damien Le Moal wrote: > Update the Canaan Kendryte K210 base device tree k210.dtsi to define > all supported peripherals of the SoC, their clocks and reset lines. > The device tree file k210.dts is renamed to k210_generic.dts and > becomes the default value selection of the configuration option > SOC_CANAAN_K210_DTB_BUILTIN_SOURCE. No device beside the serial console > is defined by this device tree. This makes this generic device tree > suitable for use with a builtin initramfs with all known K210 based > boards. > > These changes result in the K210_CLK_ACLK clock ID to be unused and > removed from the dt-bindings k210-clk.h header file. > > Most updates to the k210.dtsi file come from Sean Anderson's work on > U-Boot support for the K210. > > Cc: Rob Herring <robh@xxxxxxxxxx> > Cc: devicetree@xxxxxxxxxxxxxxx > Signed-off-by: Damien Le Moal <damien.lemoal@xxxxxxx> > --- > arch/riscv/Kconfig.socs | 2 +- > arch/riscv/boot/dts/canaan/k210.dts | 23 -- > arch/riscv/boot/dts/canaan/k210.dtsi | 395 ++++++++++++++++++-- > arch/riscv/boot/dts/canaan/k210_generic.dts | 46 +++ > include/dt-bindings/clock/k210-clk.h | 1 - > 5 files changed, 414 insertions(+), 53 deletions(-) > delete mode 100644 arch/riscv/boot/dts/canaan/k210.dts > create mode 100644 arch/riscv/boot/dts/canaan/k210_generic.dts > Reviewed-by: Rob Herring <robh@xxxxxxxxxx>