diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2021-06-09 23:35:54 +0200 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2021-06-25 10:52:50 +0200 |
commit | 694561ae601ae41c622b8cb2d40dfe34feeaa174 (patch) | |
tree | c1c7bc3e6f2d63958ebdc838aa2aa6a99bb3e20e /target/linux/ramips/dts | |
parent | 3fa01db4793e9aedb798df90a7889fc0124bb2c7 (diff) | |
download | upstream-694561ae601ae41c622b8cb2d40dfe34feeaa174.tar.gz upstream-694561ae601ae41c622b8cb2d40dfe34feeaa174.tar.bz2 upstream-694561ae601ae41c622b8cb2d40dfe34feeaa174.zip |
ramips: ethernet: ralink: use the reset controller api for esw & ephy
Instead of writing direct into the reset registers.
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r-- | target/linux/ramips/dts/mt7628an.dtsi | 4 | ||||
-rw-r--r-- | target/linux/ramips/dts/rt3050.dtsi | 4 | ||||
-rw-r--r-- | target/linux/ramips/dts/rt3352.dtsi | 4 | ||||
-rw-r--r-- | target/linux/ramips/dts/rt5350.dtsi | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi index d622aa9077..9bf20cecdd 100644 --- a/target/linux/ramips/dts/mt7628an.dtsi +++ b/target/linux/ramips/dts/mt7628an.dtsi @@ -439,8 +439,8 @@ compatible = "mediatek,mt7628-esw", "ralink,rt3050-esw"; reg = <0x10110000 0x8000>; - resets = <&rstctrl 23>; - reset-names = "esw"; + resets = <&rstctrl 23 &rstctrl 24>; + reset-names = "esw", "ephy"; interrupt-parent = <&intc>; interrupts = <17>; diff --git a/target/linux/ramips/dts/rt3050.dtsi b/target/linux/ramips/dts/rt3050.dtsi index 0cecd5d8cf..492474fdc4 100644 --- a/target/linux/ramips/dts/rt3050.dtsi +++ b/target/linux/ramips/dts/rt3050.dtsi @@ -319,8 +319,8 @@ compatible = "ralink,rt3050-esw"; reg = <0x10110000 0x8000>; - resets = <&rstctrl 23>; - reset-names = "esw"; + resets = <&rstctrl 23 &rstctrl 24>; + reset-names = "esw", "ephy"; interrupt-parent = <&intc>; interrupts = <17>; diff --git a/target/linux/ramips/dts/rt3352.dtsi b/target/linux/ramips/dts/rt3352.dtsi index 84d6ed5905..608222cb5c 100644 --- a/target/linux/ramips/dts/rt3352.dtsi +++ b/target/linux/ramips/dts/rt3352.dtsi @@ -331,8 +331,8 @@ compatible = "ralink,rt3352-esw", "ralink,rt3050-esw"; reg = <0x10110000 0x8000>; - resets = <&rstctrl 23>; - reset-names = "esw"; + resets = <&rstctrl 23 &rstctrl 24>; + reset-names = "esw", "ephy"; interrupt-parent = <&intc>; interrupts = <17>; diff --git a/target/linux/ramips/dts/rt5350.dtsi b/target/linux/ramips/dts/rt5350.dtsi index ac4c6d9db2..1058069016 100644 --- a/target/linux/ramips/dts/rt5350.dtsi +++ b/target/linux/ramips/dts/rt5350.dtsi @@ -356,8 +356,8 @@ compatible = "ralink,rt5350-esw", "ralink,rt3050-esw"; reg = <0x10110000 0x8000>; - resets = <&rstctrl 23>; - reset-names = "esw"; + resets = <&rstctrl 23 &rstctrl 24>; + reset-names = "esw", "ephy"; interrupt-parent = <&intc>; interrupts = <17>; |