Skip to content

Commit

Permalink
dts: th1520: fix interrupt number config error in dts
Browse files Browse the repository at this point in the history
Signed-off-by: Xiangyi Zeng <[email protected]>
  • Loading branch information
Xiangyi Zeng authored and zxy502 committed Jun 26, 2024
1 parent 5bbe846 commit 3323329
Showing 1 changed file with 57 additions and 57 deletions.
114 changes: 57 additions & 57 deletions arch/riscv/boot/dts/thead/th1520.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,16 @@
status = "disabled";
};

uart2: serial@ffec010000 {
compatible = "snps,dw-apb-uart";
reg = <0xff 0xec010000 0x0 0x100>;
interrupts = <38 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&uart_sclk>;
reg-shift = <2>;
reg-io-width = <4>;
status = "disabled";
};

uart3: serial@ffe7f04000 {
compatible = "snps,dw-apb-uart";
reg = <0xff 0xe7f04000 0x0 0x100>;
Expand All @@ -624,10 +634,30 @@
status = "disabled";
};

uart4: serial@fff7f08000 {
compatible = "snps,dw-apb-uart";
reg = <0xff 0xf7f08000 0x0 0x100>;
interrupts = <40 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&uart_sclk>;
reg-shift = <2>;
reg-io-width = <4>;
status = "disabled";
};

uart5: serial@fff7f0c000 {
compatible = "snps,dw-apb-uart";
reg = <0xff 0xf7f0c000 0x0 0x100>;
interrupts = <41 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&uart_sclk>;
reg-shift = <2>;
reg-io-width = <4>;
status = "disabled";
};

i2c0: i2c@ffe7f20000 {
compatible = "snps,designware-i2c";
reg = <0xff 0xe7f20000 0x0 0x1000>;
clocks = <&apb_clk>;
clocks = <&clk CLKGEN_I2C0_PCLK>;
interrupts = <44 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>;
#size-cells = <0>;
Expand All @@ -637,17 +667,37 @@
i2c1: i2c@ffe7f24000 {
compatible = "snps,designware-i2c";
reg = <0xff 0xe7f24000 0x0 0x1000>;
clocks = <&apb_clk>;
clocks = <&clk CLKGEN_I2C1_PCLK>;
interrupts = <45 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
};

i2c2: i2c@ffec00c000 {
compatible = "snps,designware-i2c";
reg = <0xff 0xec00c000 0x0 0x1000>;
clocks = <&clk CLKGEN_I2C2_PCLK>;
interrupts = <46 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
};

i2c3: i2c@ffec014000 {
compatible = "snps,designware-i2c";
reg = <0xff 0xec014000 0x0 0x1000>;
clocks = <&clk CLKGEN_I2C3_PCLK>;
interrupts = <47 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
};

i2c4: i2c@ffe7f28000 {
compatible = "snps,designware-i2c";
reg = <0xff 0xe7f28000 0x0 0x1000>;
clocks = <&apb_clk>;
clocks = <&clk CLKGEN_I2C4_PCLK>;
interrupts = <48 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>;
#size-cells = <0>;
Expand Down Expand Up @@ -758,36 +808,6 @@
clocks = <&apb_clk>;
};

i2c2: i2c@ffec00c000 {
compatible = "snps,designware-i2c";
reg = <0xff 0xec00c000 0x0 0x1000>;
clocks = <&apb_clk>;
interrupts = <46 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
};

uart2: serial@ffec010000 {
compatible = "snps,dw-apb-uart";
reg = <0xff 0xec010000 0x0 0x4000>;
interrupts = <38 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&uart_sclk>;
reg-shift = <2>;
reg-io-width = <4>;
status = "disabled";
};

i2c3: i2c@ffec014000 {
compatible = "snps,designware-i2c";
reg = <0xff 0xec014000 0x0 0x1000>;
clocks = <&apb_clk>;
interrupts = <47 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
};

pwm: pwm@ffec01c000 {
compatible = "thead,th1520-pwm";
reg = <0xff 0xec01c000 0x0 0x4000>;
Expand Down Expand Up @@ -843,7 +863,7 @@
dmac1: dma-controller@ffff340000 {
compatible = "snps,axi-dma-1.01a";
reg = <0xff 0xff340000 0x0 0x1000>;
interrupts = <26 IRQ_TYPE_LEVEL_HIGH>;
interrupts = <150 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk CLKGEN_DMAC_CPUSYS_ACLK>, <&clk CLKGEN_DMAC_CPUSYS_HCLK>;
clock-names = "core-clk", "cfgr-clk";
#dma-cells = <1>;
Expand All @@ -859,7 +879,7 @@
dmac2: dma-controller@ffc8000000 {
compatible = "snps,axi-dma-1.01a";
reg = <0xff 0xc8000000 0x0 0x2000>;
interrupts = <25 IRQ_TYPE_LEVEL_HIGH>;
interrupts = <167 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk CLKGEN_DMAC_CPUSYS_ACLK>, <&clk CLKGEN_DMAC_CPUSYS_HCLK>;
clock-names = "core-clk", "cfgr-clk";
#dma-cells = <1>;
Expand Down Expand Up @@ -938,26 +958,6 @@
status = "disabled";
};

uart4: serial@fff7f08000 {
compatible = "snps,dw-apb-uart";
reg = <0xff 0xf7f08000 0x0 0x4000>;
interrupts = <40 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&uart_sclk>;
reg-shift = <2>;
reg-io-width = <4>;
status = "disabled";
};

uart5: serial@fff7f0c000 {
compatible = "snps,dw-apb-uart";
reg = <0xff 0xf7f0c000 0x0 0x4000>;
interrupts = <41 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&uart_sclk>;
reg-shift = <2>;
reg-io-width = <4>;
status = "disabled";
};

timer4: timer@ffffc33000 {
compatible = "snps,dw-apb-timer";
reg = <0xff 0xffc33000 0x0 0x14>;
Expand Down Expand Up @@ -1377,7 +1377,7 @@
watchdog0: watchdog@ffefc30000 {
compatible = "snps,dw-wdt";
reg = <0xff 0xefc30000 0x0 0x1000>;
interrupts = <60 IRQ_TYPE_LEVEL_HIGH>;
interrupts = <24 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk CLKGEN_WDT0_PCLK>;
clock-names = "tclk";
resets = <&rst TH1520_RESET_WDT0>;
Expand All @@ -1387,7 +1387,7 @@
watchdog1: watchdog@ffefc31000 {
compatible = "snps,dw-wdt";
reg = <0xff 0xefc31000 0x0 0x1000>;
interrupts = <63 IRQ_TYPE_LEVEL_HIGH>;
interrupts = <25 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk CLKGEN_WDT1_PCLK>;
clock-names = "tclk";
resets = <&rst TH1520_RESET_WDT1>;
Expand Down

0 comments on commit 3323329

Please sign in to comment.