Skip to content

Commit

Permalink
mips: dts: ralink: mt7620a: update system controller node and its con…
Browse files Browse the repository at this point in the history
…sumers

Current MT7620A device tree file system controller node is wrong since it is
not matching bindings. Hence, update it to match current bindings updating
it also to use new introduced clock constants.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
  • Loading branch information
Sergio Paracuellos authored and Thomas Bogendoerfer committed Feb 21, 2025
1 parent c51e958 commit e64d19e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions arch/mips/boot/dts/ralink/mt7620a.dtsi
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
#include <dt-bindings/clock/mediatek,mtmips-sysc.h>

/ {
#address-cells = <1>;
#size-cells = <1>;
Expand All @@ -25,9 +27,11 @@
#address-cells = <1>;
#size-cells = <1>;

sysc@0 {
compatible = "ralink,mt7620a-sysc";
sysc: syscon@0 {
compatible = "ralink,mt7620-sysc", "syscon";
reg = <0x0 0x100>;
#clock-cells = <1>;
#reset-cells = <1>;
};

intc: intc@200 {
Expand All @@ -50,6 +54,8 @@
compatible = "ralink,mt7620a-uart", "ralink,rt2880-uart", "ns16550a";
reg = <0xc00 0x100>;

clocks = <&sysc MT7620_CLK_UARTLITE>;

interrupt-parent = <&intc>;
interrupts = <12>;

Expand Down
2 changes: 1 addition & 1 deletion arch/mips/boot/dts/ralink/mt7620a_eval.dts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: GPL-2.0
/dts-v1/;

/include/ "mt7620a.dtsi"
#include "mt7620a.dtsi"

/ {
compatible = "ralink,mt7620a-eval-board", "ralink,mt7620a-soc";
Expand Down

0 comments on commit e64d19e

Please sign in to comment.