[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aMDNNJ6u8ZHldxKE@nchen-desktop>
Date: Wed, 10 Sep 2025 08:58:28 +0800
From: Peter Chen <peter.chen@...tech.com>
To: Jun Guo <jun.guo@...tech.com>
Cc: <fugang.duan@...tech.com>, <robh@...nel.org>, <krzk+dt@...nel.org>,
<conor+dt@...nel.org>, <cix-kernel-upstream@...tech.com>,
<linux-arm-kernel@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
Hongliang Yang <hongliang.yang@...tech.com>
Subject: Re: [PATCH] arm64: dts: cix: add DT nodes for all I2C and I3C ports
for sky1
On 25-09-03 16:47:13, Jun Guo wrote:
> From: Hongliang Yang <hongliang.yang@...tech.com>
>
> The CIX SKY1 SoC supports the integration of 8 I2C bus controllers and
> 2 I3C bus controllers.
>
> Signed-off-by: Hongliang Yang <hongliang.yang@...tech.com>
> Signed-off-by: Jun Guo <jun.guo@...tech.com>
Applied, Thanks.
Peter
> ---
> arch/arm64/boot/dts/cix/sky1.dtsi | 100 ++++++++++++++++++++++++++++++
> 1 file changed, 100 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/cix/sky1.dtsi b/arch/arm64/boot/dts/cix/sky1.dtsi
> index 7dfe7677e649..2fb2c99c0796 100644
> --- a/arch/arm64/boot/dts/cix/sky1.dtsi
> +++ b/arch/arm64/boot/dts/cix/sky1.dtsi
> @@ -192,6 +192,78 @@ soc@0 {
> #address-cells = <2>;
> #size-cells = <2>;
>
> + i2c0: i2c@...0000 {
> + compatible = "cdns,i2c-r1p14";
> + reg = <0x0 0x04010000 0x0 0x10000>;
> + clock-frequency = <400000>;
> + clocks = <&scmi_clk CLK_TREE_FCH_I2C0_APB>;
> + interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH 0>;
> + status = "disabled";
> + };
> +
> + i2c1: i2c@...0000 {
> + compatible = "cdns,i2c-r1p14";
> + reg = <0x0 0x04020000 0x0 0x10000>;
> + clock-frequency = <400000>;
> + clocks = <&scmi_clk CLK_TREE_FCH_I2C1_APB>;
> + interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH 0>;
> + status = "disabled";
> + };
> +
> + i2c2: i2c@...0000 {
> + compatible = "cdns,i2c-r1p14";
> + reg = <0x0 0x04030000 0x0 0x10000>;
> + clock-frequency = <400000>;
> + clocks = <&scmi_clk CLK_TREE_FCH_I2C2_APB>;
> + interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH 0>;
> + status = "disabled";
> + };
> +
> + i2c3: i2c@...0000 {
> + compatible = "cdns,i2c-r1p14";
> + reg = <0x0 0x04040000 0x0 0x10000>;
> + clock-frequency = <400000>;
> + clocks = <&scmi_clk CLK_TREE_FCH_I2C3_APB>;
> + interrupts = <GIC_SPI 289 IRQ_TYPE_LEVEL_HIGH 0>;
> + status = "disabled";
> + };
> +
> + i2c4: i2c@...0000 {
> + compatible = "cdns,i2c-r1p14";
> + reg = <0x0 0x04050000 0x0 0x10000>;
> + clock-frequency = <400000>;
> + clocks = <&scmi_clk CLK_TREE_FCH_I2C4_APB>;
> + interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH 0>;
> + status = "disabled";
> + };
> +
> + i2c5: i2c@...0000 {
> + compatible = "cdns,i2c-r1p14";
> + reg = <0x0 0x04060000 0x0 0x10000>;
> + clock-frequency = <400000>;
> + clocks = <&scmi_clk CLK_TREE_FCH_I2C5_APB>;
> + interrupts = <GIC_SPI 291 IRQ_TYPE_LEVEL_HIGH 0>;
> + status = "disabled";
> + };
> +
> + i2c6: i2c@...0000 {
> + compatible = "cdns,i2c-r1p14";
> + reg = <0x0 0x04070000 0x0 0x10000>;
> + clock-frequency = <400000>;
> + clocks = <&scmi_clk CLK_TREE_FCH_I2C6_APB>;
> + interrupts = <GIC_SPI 292 IRQ_TYPE_LEVEL_HIGH 0>;
> + status = "disabled";
> + };
> +
> + i2c7: i2c@...0000 {
> + compatible = "cdns,i2c-r1p14";
> + reg = <0x0 0x04080000 0x0 0x10000>;
> + clock-frequency = <400000>;
> + clocks = <&scmi_clk CLK_TREE_FCH_I2C7_APB>;
> + interrupts = <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH 0>;
> + status = "disabled";
> + };
> +
> uart0: serial@...0000 {
> compatible = "arm,pl011", "arm,primecell";
> reg = <0x0 0x040b0000 0x0 0x1000>;
> @@ -228,6 +300,34 @@ uart3: serial@...0000 {
> status = "disabled";
> };
>
> + i3c0: i3c@...0000 {
> + compatible = "cdns,i3c-master";
> + reg = <0x0 0x040f0000 0x0 0x10000>;
> + #address-cells = <3>;
> + #size-cells = <0>;
> + interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH 0>;
> + clocks = <&scmi_clk CLK_TREE_FCH_I3C0_APB>,
> + <&scmi_clk CLK_TREE_FCH_I3C0_FUNC>;
> + clock-names = "pclk", "sysclk";
> + i3c-scl-hz = <400000>;
> + i2c-scl-hz = <100000>;
> + status = "disabled";
> + };
> +
> + i3c1: i3c@...0000 {
> + compatible = "cdns,i3c-master";
> + reg = <0x0 0x04100000 0x0 0x10000>;
> + #address-cells = <3>;
> + #size-cells = <0>;
> + interrupts = <GIC_SPI 301 IRQ_TYPE_LEVEL_HIGH 0>;
> + clocks = <&scmi_clk CLK_TREE_FCH_I3C1_APB>,
> + <&scmi_clk CLK_TREE_FCH_I3C1_FUNC>;
> + clock-names = "pclk", "sysclk";
> + i3c-scl-hz = <400000>;
> + i2c-scl-hz = <100000>;
> + status = "disabled";
> + };
> +
> mbox_ap2se: mailbox@...0000 {
> compatible = "cix,sky1-mbox";
> reg = <0x0 0x05060000 0x0 0x10000>;
> --
> 2.34.1
>
--
Best regards,
Peter
Powered by blists - more mailing lists