mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-29 06:23:07 +00:00
fd426b3106
"kendryte" is the marketing name for the K210 RISC-V SoC produced by Canaan Inc. Rather than "kendryte,k210", use the usual "canaan,k210" vendor,SoC compatibility string format in the device tree files and use the SoC name for file names. With these changes, the device tree files are more in sync with the Linux kernel DTS and drivers, making uboot device tree usable by the kernel. Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
33 lines
896 B
Text
33 lines
896 B
Text
Kendryte K210 Sysctl
|
|
|
|
This binding describes the K210 sysctl device, which contains many miscellaneous
|
|
registers controlling system functionality. This node is a register map and can
|
|
be reference by other bindings which need a phandle to the K210 sysctl regmap.
|
|
|
|
Required properties:
|
|
- compatible: should be
|
|
"canaan,k210-sysctl", "syscon", "simple-mfd"
|
|
- reg: address and length of the sysctl registers
|
|
- reg-io-width: must be <4>
|
|
|
|
Clock sub-node
|
|
|
|
This node is a binding for the clock tree driver
|
|
|
|
Required properties:
|
|
- compatible: should be "canaan,k210-clk"
|
|
- clocks: phandle to the "in0" external oscillator
|
|
- #clock-cells: must be <1>
|
|
|
|
Example:
|
|
sysctl: syscon@50440000 {
|
|
compatible = "canaan,k210-sysctl", "syscon", "simple-mfd";
|
|
reg = <0x50440000 0x100>;
|
|
reg-io-width = <4>;
|
|
|
|
sysclk: clock-controller {
|
|
compatible = "canaan,k210-clk";
|
|
clocks = <&in0>;
|
|
#clock-cells = <1>;
|
|
};
|
|
};
|