]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
LoongArch: dts: Add i2c clocks and clock-frequency properties to LS2K0500
authorHongliang Wang <wanghongliang@loongson.cn>
Thu, 25 Jun 2026 05:03:56 +0000 (13:03 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Thu, 25 Jun 2026 05:03:56 +0000 (13:03 +0800)
Add missing clocks and clock-frequency properties to i2c nodes for LS2K0500.

Signed-off-by: Hongliang Wang <wanghongliang@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/boot/dts/loongson-2k0500.dtsi

index 1b502064df1100b6ada3e4caf9d834a5a510834d..992b1d0de9ec2143d5332631fdd18d8aab9a6fdf 100644 (file)
                i2c0: i2c@1ff48000 {
                        compatible = "loongson,ls2k-i2c";
                        reg = <0x0 0x1ff48000 0x0 0x0800>;
+                       clock-frequency = <100000>;
+                       clocks = <&clk LOONGSON2_APB_CLK>;
                        interrupt-parent = <&eiointc>;
                        interrupts = <14>;
                        status = "disabled";
                i2c@1ff48800 {
                        compatible = "loongson,ls2k-i2c";
                        reg = <0x0 0x1ff48800 0x0 0x0800>;
+                       clock-frequency = <100000>;
+                       clocks = <&clk LOONGSON2_APB_CLK>;
                        interrupt-parent = <&eiointc>;
                        interrupts = <15>;
                        status = "disabled";
                i2c@1ff49000 {
                        compatible = "loongson,ls2k-i2c";
                        reg = <0x0 0x1ff49000 0x0 0x0800>;
+                       clock-frequency = <100000>;
+                       clocks = <&clk LOONGSON2_APB_CLK>;
                        interrupt-parent = <&eiointc>;
                        interrupts = <16>;
                        status = "disabled";
                i2c@1ff49800 {
                        compatible = "loongson,ls2k-i2c";
                        reg = <0x0 0x1ff49800 0x0 0x0800>;
+                       clock-frequency = <100000>;
+                       clocks = <&clk LOONGSON2_APB_CLK>;
                        interrupt-parent = <&eiointc>;
                        interrupts = <17>;
                        status = "disabled";
                i2c@1ff4a000 {
                        compatible = "loongson,ls2k-i2c";
                        reg = <0x0 0x1ff4a000 0x0 0x0800>;
+                       clock-frequency = <100000>;
+                       clocks = <&clk LOONGSON2_APB_CLK>;
                        interrupt-parent = <&eiointc>;
                        interrupts = <18>;
                        status = "disabled";
                i2c@1ff4a800 {
                        compatible = "loongson,ls2k-i2c";
                        reg = <0x0 0x1ff4a800 0x0 0x0800>;
+                       clock-frequency = <100000>;
+                       clocks = <&clk LOONGSON2_APB_CLK>;
                        interrupt-parent = <&eiointc>;
                        interrupts = <19>;
                        status = "disabled";