Skip to content

Commit e5995e6

Browse files
committed
ARM: dts: exynos: Interrupt for USB DWC3-1 differs between Exynos5420 and 5410
On Exynos5410 the SPI interrupt for second USB DWC3 (called DRD: Dual Role Device) is different - 200 instead of 73. Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent e1e146b commit e5995e6

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

arch/arm/boot/dts/exynos5410.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include "exynos54xx.dtsi"
1717
#include "exynos-syscon-restart.dtsi"
1818
#include <dt-bindings/clock/exynos5410.h>
19+
#include <dt-bindings/interrupt-controller/arm-gic.h>
1920

2021
/ {
2122
compatible = "samsung,exynos5410", "samsung,exynos5";
@@ -267,6 +268,10 @@
267268
clock-names = "usbdrd30";
268269
};
269270

271+
&usbdrd_dwc3_1 {
272+
interrupts = <GIC_SPI 200 0>;
273+
};
274+
270275
&usbdrd_phy1 {
271276
clocks = <&clock CLK_USBD301>, <&clock CLK_SCLK_USBPHY301>;
272277
clock-names = "phy", "ref";

arch/arm/boot/dts/exynos5420.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include "exynos54xx.dtsi"
1717
#include <dt-bindings/clock/exynos5420.h>
1818
#include <dt-bindings/clock/exynos-audss-clk.h>
19+
#include <dt-bindings/interrupt-controller/arm-gic.h>
1920

2021
/ {
2122
compatible = "samsung,exynos5420", "samsung,exynos5";
@@ -1453,6 +1454,10 @@
14531454
clock-names = "usbdrd30";
14541455
};
14551456

1457+
&usbdrd_dwc3_1 {
1458+
interrupts = <GIC_SPI 73 0>;
1459+
};
1460+
14561461
&usbdrd_phy1 {
14571462
clocks = <&clock CLK_USBD301>, <&clock CLK_SCLK_USBPHY301>;
14581463
clock-names = "phy", "ref";

arch/arm/boot/dts/exynos54xx.dtsi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@
141141
usbdrd_dwc3_1: dwc3@12400000 {
142142
compatible = "snps,dwc3";
143143
reg = <0x12400000 0x10000>;
144-
interrupts = <0 73 0>;
145144
phys = <&usbdrd_phy1 0>, <&usbdrd_phy1 1>;
146145
phy-names = "usb2-phy", "usb3-phy";
147146
};

0 commit comments

Comments
 (0)