aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorSander Vanheule <sander@svanheule.net>2022-02-20 17:17:16 +0100
committerDaniel Golle <daniel@makrotopia.org>2022-02-20 16:23:58 +0000
commit71810eb068d06adf9efc14bc7dd6359c4bda711c (patch)
tree65d35015523b8f815d18d1f8d0a8f26e64bcdb34 /target
parentfa20f2bfc76fe18d110c97da27d38d35c2b93847 (diff)
downloadupstream-71810eb068d06adf9efc14bc7dd6359c4bda711c.tar.gz
upstream-71810eb068d06adf9efc14bc7dd6359c4bda711c.tar.bz2
upstream-71810eb068d06adf9efc14bc7dd6359c4bda711c.zip
realtek: clean up RTL930x timer DT node
The Realtek timer node for RTL930x doesn't have any child nodes, making the use of '#address-cells' quite pointless. It is also not an interrupt controller, meaning it makes no sense to define '#interrupt-cells'. The I/O address for this node is also wrong, but this is hidden by the fact that the driver associated with this node bypasses the usual DT machinery and does it's own thing. Correct the address to have a sane value, even though it isn't actually used. Fixes: a75b9e3ecb61 ("realtek: Adding RTL930X sub-target") Signed-off-by: Sander Vanheule <sander@svanheule.net>
Diffstat (limited to 'target')
-rw-r--r--target/linux/realtek/dts-5.10/rtl930x.dtsi4
1 files changed, 1 insertions, 3 deletions
diff --git a/target/linux/realtek/dts-5.10/rtl930x.dtsi b/target/linux/realtek/dts-5.10/rtl930x.dtsi
index 31c0211342..0ac613454f 100644
--- a/target/linux/realtek/dts-5.10/rtl930x.dtsi
+++ b/target/linux/realtek/dts-5.10/rtl930x.dtsi
@@ -59,9 +59,7 @@
rtl9300clock: rtl9300clock@3200 {
compatible = "realtek,rtl9300clock";
- reg = <0xb8003200 0x10>;
- #address-cells = <0>;
- #interrupt-cells = <1>;
+ reg = <0x3200 0x10>;
interrupt-parent = <&intc>;
interrupts = <7 5>, <8 5>;