[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250415205425.1491165-1-chris.packham@alliedtelesis.co.nz>
Date: Wed, 16 Apr 2025 08:54:25 +1200
From: Chris Packham <chris.packham@...iedtelesis.co.nz>
To: tsbogend@...ha.franken.de
Cc: robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
sander@...nheule.net,
devicetree@...r.kernel.org,
linux-mips@...r.kernel.org,
linux-kernel@...r.kernel.org,
Chris Packham <chris.packham@...iedtelesis.co.nz>
Subject: [PATCH] mips: dts: realtek: Add MDIO controller
Add a device tree node for the MDIO controller on the RTL9300 chips.
Signed-off-by: Chris Packham <chris.packham@...iedtelesis.co.nz>
---
Notes:
This was originally part of a series adding the bindings and the
driver[1]. These were split off and have now been applied via net-next.
That just leaves the dts changes to come in via linux-mips.
[1] - https://lore.kernel.org/all/20250227213248.2010986-3-chris.packham@alliedtelesis.co.nz/
arch/mips/boot/dts/realtek/rtl930x.dtsi | 33 +++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/arch/mips/boot/dts/realtek/rtl930x.dtsi b/arch/mips/boot/dts/realtek/rtl930x.dtsi
index f2e57ea3a60c..101bab72a95f 100644
--- a/arch/mips/boot/dts/realtek/rtl930x.dtsi
+++ b/arch/mips/boot/dts/realtek/rtl930x.dtsi
@@ -69,6 +69,39 @@ i2c1: i2c@388 {
#size-cells = <0>;
status = "disabled";
};
+
+ mdio_controller: mdio-controller@...0 {
+ compatible = "realtek,rtl9301-mdio";
+ reg = <0xca00 0x200>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+
+ mdio0: mdio-bus@0 {
+ reg = <0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+ mdio1: mdio-bus@1 {
+ reg = <1>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+ mdio2: mdio-bus@2 {
+ reg = <2>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+ mdio3: mdio-bus@3 {
+ reg = <3>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+ };
};
soc: soc@...00000 {
--
2.49.0
Powered by blists - more mailing lists