summaryrefslogtreecommitdiff
path: root/arch/loongarch/boot
diff options
context:
space:
mode:
authorHongliang Wang <wanghongliang@loongson.cn>2026-06-25 13:03:57 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2026-06-25 13:03:57 +0800
commit0526f3ea9f5aeed79caf353679c15280af1539ec (patch)
tree107c8713f344f84edc4a70be8935e8ac89afc823 /arch/loongarch/boot
parentbb3c90fe347a5321e7d176ed5b21367aa28be9ee (diff)
LoongArch: dts: Add i2c clocks and clock-frequency properties to LS2K1000
Add missing clocks and clock-frequency properties to i2c nodes for LS2K1000. Signed-off-by: Hongliang Wang <wanghongliang@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/boot')
-rw-r--r--arch/loongarch/boot/dts/loongson-2k1000.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/loongarch/boot/dts/loongson-2k1000.dtsi b/arch/loongarch/boot/dts/loongson-2k1000.dtsi
index ab6a55937e9e..e6f0fe093ab3 100644
--- a/arch/loongarch/boot/dts/loongson-2k1000.dtsi
+++ b/arch/loongarch/boot/dts/loongson-2k1000.dtsi
@@ -311,6 +311,8 @@
i2c2: i2c@1fe21000 {
compatible = "loongson,ls2k-i2c";
reg = <0x0 0x1fe21000 0x0 0x8>;
+ clock-frequency = <100000>;
+ clocks = <&clk LOONGSON2_APB_CLK>;
interrupt-parent = <&liointc0>;
interrupts = <22 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
@@ -319,6 +321,8 @@
i2c3: i2c@1fe21800 {
compatible = "loongson,ls2k-i2c";
reg = <0x0 0x1fe21800 0x0 0x8>;
+ clock-frequency = <100000>;
+ clocks = <&clk LOONGSON2_APB_CLK>;
interrupt-parent = <&liointc0>;
interrupts = <23 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";