From b425f5b590653dcbbd71dae0c4846bac8a5c04b7 Mon Sep 17 00:00:00 2001 From: tao89959 <1036524114@qq.com> Date: Tue, 27 Jan 2026 10:47:39 +0800 Subject: [PATCH] loongson: 2k1000: i2c: add clock desc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changelog: 2k1000dts添加时钟描述 Signed-off-by: maoxiaochuan --- arch/loongarch/boot/dts/loongson2k1000.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/loongarch/boot/dts/loongson2k1000.dtsi b/arch/loongarch/boot/dts/loongson2k1000.dtsi index 63e389650..f6f92bb55 100644 --- a/arch/loongarch/boot/dts/loongson2k1000.dtsi +++ b/arch/loongarch/boot/dts/loongson2k1000.dtsi @@ -625,6 +625,11 @@ reg = <0x0 0x1fe21000 0x0 0x8>; interrupt-parent = <&liointc0>; interrupts = <22 IRQ_TYPE_LEVEL_HIGH>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&clk LOONGSON2_APB_CLK>; + clock-names = "i2c-clk"; + bus_div_mode = <0>; status = "disabled"; }; @@ -633,6 +638,11 @@ reg = <0x0 0x1fe21800 0x0 0x8>; interrupt-parent = <&liointc0>; interrupts = <23 IRQ_TYPE_LEVEL_HIGH>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&clk LOONGSON2_APB_CLK>; + clock-names = "i2c-clk"; + bus_div_mode = <0>; status = "disabled"; };