diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2021-05-05 15:21:53 +0200 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2021-11-06 23:36:32 +0100 |
commit | f1d154ec6c9a64744be0cdfcbb66d9ed1d9033e3 (patch) | |
tree | bf2b749dc5c82a889151fa2e408d6abf0d3ebf42 | |
parent | 93da2277987c3ada2f26f19b3dfaa664e4fc46bf (diff) | |
download | upstream-f1d154ec6c9a64744be0cdfcbb66d9ed1d9033e3.tar.gz upstream-f1d154ec6c9a64744be0cdfcbb66d9ed1d9033e3.tar.bz2 upstream-f1d154ec6c9a64744be0cdfcbb66d9ed1d9033e3.zip |
ramips: mt7621-dts: remove ethsys node
DT 'ethsys' node is being configured as a syscon
to get access to reset and other registers in the
'mediateķ,mt7621-eth' driver. Since the 'sysc' is also
a syscon, provides the clock and also is virtually
mapped from the same physical address 0x1e000000 we
can just use 'sysc' as the phandle for the syscon in
the ethernet node. Compatible string 'mediatek,mt7621-ethsys'
of the node is not being used anywhere inside the kernel
so, this node can be safely removed.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20210505132154.8263-2-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | target/linux/ramips/dts/mt7621.dtsi | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index 779d8c4da0..4cb339bcae 100644 --- a/target/linux/ramips/dts/mt7621.dtsi +++ b/target/linux/ramips/dts/mt7621.dtsi @@ -438,13 +438,6 @@ clock-names = "nfi_clk"; }; - ethsys: syscon@1e000000 { - compatible = "mediatek,mt7621-ethsys", - "syscon"; - reg = <0x1e000000 0x1000>; - #clock-cells = <1>; - }; - ethernet: ethernet@1e100000 { compatible = "mediatek,mt7621-eth"; reg = <0x1e100000 0x10000>; @@ -461,7 +454,7 @@ interrupt-parent = <&gic>; interrupts = <GIC_SHARED 3 IRQ_TYPE_LEVEL_HIGH>; - mediatek,ethsys = <ðsys>; + mediatek,ethsys = <&sysc>; gmac0: mac@0 { compatible = "mediatek,eth-mac"; |