Commit 788251fa authored by Dinh Nguyen's avatar Dinh Nguyen

arm64: dts: stratix10: add reset property for various peripherals

Add reset property for emac, gpio, i2c, sdmmc, timers, and watchdog.
Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
parent 7691d626
...@@ -101,6 +101,8 @@ gmac0: ethernet@ff800000 { ...@@ -101,6 +101,8 @@ gmac0: ethernet@ff800000 {
interrupts = <0 90 4>; interrupts = <0 90 4>;
interrupt-names = "macirq"; interrupt-names = "macirq";
mac-address = [00 00 00 00 00 00]; mac-address = [00 00 00 00 00 00];
resets = <&rst EMAC0_RESET>;
reset-names = "stmmaceth";
status = "disabled"; status = "disabled";
}; };
...@@ -110,6 +112,8 @@ gmac1: ethernet@ff802000 { ...@@ -110,6 +112,8 @@ gmac1: ethernet@ff802000 {
interrupts = <0 91 4>; interrupts = <0 91 4>;
interrupt-names = "macirq"; interrupt-names = "macirq";
mac-address = [00 00 00 00 00 00]; mac-address = [00 00 00 00 00 00];
resets = <&rst EMAC1_RESET>;
reset-names = "stmmaceth";
status = "disabled"; status = "disabled";
}; };
...@@ -119,6 +123,8 @@ gmac2: ethernet@ff804000 { ...@@ -119,6 +123,8 @@ gmac2: ethernet@ff804000 {
interrupts = <0 92 4>; interrupts = <0 92 4>;
interrupt-names = "macirq"; interrupt-names = "macirq";
mac-address = [00 00 00 00 00 00]; mac-address = [00 00 00 00 00 00];
resets = <&rst EMAC2_RESET>;
reset-names = "stmmaceth";
status = "disabled"; status = "disabled";
}; };
...@@ -127,6 +133,7 @@ gpio0: gpio@ffc03200 { ...@@ -127,6 +133,7 @@ gpio0: gpio@ffc03200 {
#size-cells = <0>; #size-cells = <0>;
compatible = "snps,dw-apb-gpio"; compatible = "snps,dw-apb-gpio";
reg = <0xffc03200 0x100>; reg = <0xffc03200 0x100>;
resets = <&rst GPIO0_RESET>;
status = "disabled"; status = "disabled";
porta: gpio-controller@0 { porta: gpio-controller@0 {
...@@ -146,6 +153,7 @@ gpio1: gpio@ffc03300 { ...@@ -146,6 +153,7 @@ gpio1: gpio@ffc03300 {
#size-cells = <0>; #size-cells = <0>;
compatible = "snps,dw-apb-gpio"; compatible = "snps,dw-apb-gpio";
reg = <0xffc03300 0x100>; reg = <0xffc03300 0x100>;
resets = <&rst GPIO1_RESET>;
status = "disabled"; status = "disabled";
portb: gpio-controller@0 { portb: gpio-controller@0 {
...@@ -166,6 +174,7 @@ i2c0: i2c@ffc02800 { ...@@ -166,6 +174,7 @@ i2c0: i2c@ffc02800 {
compatible = "snps,designware-i2c"; compatible = "snps,designware-i2c";
reg = <0xffc02800 0x100>; reg = <0xffc02800 0x100>;
interrupts = <0 103 4>; interrupts = <0 103 4>;
resets = <&rst I2C0_RESET>;
status = "disabled"; status = "disabled";
}; };
...@@ -175,6 +184,7 @@ i2c1: i2c@ffc02900 { ...@@ -175,6 +184,7 @@ i2c1: i2c@ffc02900 {
compatible = "snps,designware-i2c"; compatible = "snps,designware-i2c";
reg = <0xffc02900 0x100>; reg = <0xffc02900 0x100>;
interrupts = <0 104 4>; interrupts = <0 104 4>;
resets = <&rst I2C1_RESET>;
status = "disabled"; status = "disabled";
}; };
...@@ -184,6 +194,7 @@ i2c2: i2c@ffc02a00 { ...@@ -184,6 +194,7 @@ i2c2: i2c@ffc02a00 {
compatible = "snps,designware-i2c"; compatible = "snps,designware-i2c";
reg = <0xffc02a00 0x100>; reg = <0xffc02a00 0x100>;
interrupts = <0 105 4>; interrupts = <0 105 4>;
resets = <&rst I2C2_RESET>;
status = "disabled"; status = "disabled";
}; };
...@@ -193,6 +204,7 @@ i2c3: i2c@ffc02b00 { ...@@ -193,6 +204,7 @@ i2c3: i2c@ffc02b00 {
compatible = "snps,designware-i2c"; compatible = "snps,designware-i2c";
reg = <0xffc02b00 0x100>; reg = <0xffc02b00 0x100>;
interrupts = <0 106 4>; interrupts = <0 106 4>;
resets = <&rst I2C3_RESET>;
status = "disabled"; status = "disabled";
}; };
...@@ -202,6 +214,7 @@ i2c4: i2c@ffc02c00 { ...@@ -202,6 +214,7 @@ i2c4: i2c@ffc02c00 {
compatible = "snps,designware-i2c"; compatible = "snps,designware-i2c";
reg = <0xffc02c00 0x100>; reg = <0xffc02c00 0x100>;
interrupts = <0 107 4>; interrupts = <0 107 4>;
resets = <&rst I2C4_RESET>;
status = "disabled"; status = "disabled";
}; };
...@@ -212,6 +225,8 @@ mmc: dwmmc0@ff808000 { ...@@ -212,6 +225,8 @@ mmc: dwmmc0@ff808000 {
reg = <0xff808000 0x1000>; reg = <0xff808000 0x1000>;
interrupts = <0 96 4>; interrupts = <0 96 4>;
fifo-depth = <0x400>; fifo-depth = <0x400>;
resets = <&rst SDMMC_RESET>;
reset-names = "reset";
status = "disabled"; status = "disabled";
}; };
...@@ -293,6 +308,7 @@ uart0: serial0@ffc02000 { ...@@ -293,6 +308,7 @@ uart0: serial0@ffc02000 {
interrupts = <0 108 4>; interrupts = <0 108 4>;
reg-shift = <2>; reg-shift = <2>;
reg-io-width = <4>; reg-io-width = <4>;
resets = <&rst UART0_RESET>;
status = "disabled"; status = "disabled";
}; };
...@@ -302,6 +318,7 @@ uart1: serial1@ffc02100 { ...@@ -302,6 +318,7 @@ uart1: serial1@ffc02100 {
interrupts = <0 109 4>; interrupts = <0 109 4>;
reg-shift = <2>; reg-shift = <2>;
reg-io-width = <4>; reg-io-width = <4>;
resets = <&rst UART1_RESET>;
status = "disabled"; status = "disabled";
}; };
...@@ -317,6 +334,8 @@ usb0: usb@ffb00000 { ...@@ -317,6 +334,8 @@ usb0: usb@ffb00000 {
interrupts = <0 93 4>; interrupts = <0 93 4>;
phys = <&usbphy0>; phys = <&usbphy0>;
phy-names = "usb2-phy"; phy-names = "usb2-phy";
resets = <&rst USB0_RESET>;
reset-names = "dwc2";
status = "disabled"; status = "disabled";
}; };
...@@ -326,6 +345,8 @@ usb1: usb@ffb40000 { ...@@ -326,6 +345,8 @@ usb1: usb@ffb40000 {
interrupts = <0 94 4>; interrupts = <0 94 4>;
phys = <&usbphy0>; phys = <&usbphy0>;
phy-names = "usb2-phy"; phy-names = "usb2-phy";
resets = <&rst USB1_RESET>;
reset-names = "dwc2";
status = "disabled"; status = "disabled";
}; };
...@@ -333,6 +354,7 @@ watchdog0: watchdog@ffd00200 { ...@@ -333,6 +354,7 @@ watchdog0: watchdog@ffd00200 {
compatible = "snps,dw-wdt"; compatible = "snps,dw-wdt";
reg = <0xffd00200 0x100>; reg = <0xffd00200 0x100>;
interrupts = <0 117 4>; interrupts = <0 117 4>;
resets = <&rst WATCHDOG0_RESET>;
status = "disabled"; status = "disabled";
}; };
...@@ -340,6 +362,7 @@ watchdog1: watchdog@ffd00300 { ...@@ -340,6 +362,7 @@ watchdog1: watchdog@ffd00300 {
compatible = "snps,dw-wdt"; compatible = "snps,dw-wdt";
reg = <0xffd00300 0x100>; reg = <0xffd00300 0x100>;
interrupts = <0 118 4>; interrupts = <0 118 4>;
resets = <&rst WATCHDOG1_RESET>;
status = "disabled"; status = "disabled";
}; };
...@@ -347,6 +370,7 @@ watchdog2: watchdog@ffd00400 { ...@@ -347,6 +370,7 @@ watchdog2: watchdog@ffd00400 {
compatible = "snps,dw-wdt"; compatible = "snps,dw-wdt";
reg = <0xffd00400 0x100>; reg = <0xffd00400 0x100>;
interrupts = <0 125 4>; interrupts = <0 125 4>;
resets = <&rst WATCHDOG2_RESET>;
status = "disabled"; status = "disabled";
}; };
...@@ -354,6 +378,7 @@ watchdog3: watchdog@ffd00500 { ...@@ -354,6 +378,7 @@ watchdog3: watchdog@ffd00500 {
compatible = "snps,dw-wdt"; compatible = "snps,dw-wdt";
reg = <0xffd00500 0x100>; reg = <0xffd00500 0x100>;
interrupts = <0 126 4>; interrupts = <0 126 4>;
resets = <&rst WATCHDOG3_RESET>;
status = "disabled"; status = "disabled";
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment