* [PATCH] mips: dts: realtek: Add MDIO controller
@ 2025-04-15 20:54 Chris Packham
2025-04-27 7:54 ` Thomas Bogendoerfer
0 siblings, 1 reply; 2+ messages in thread
From: Chris Packham @ 2025-04-15 20:54 UTC (permalink / raw)
To: tsbogend
Cc: robh, krzk+dt, conor+dt, sander, devicetree, linux-mips,
linux-kernel, Chris Packham
Add a device tree node for the MDIO controller on the RTL9300 chips.
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.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@ca00 {
+ 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@18000000 {
--
2.49.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mips: dts: realtek: Add MDIO controller
2025-04-15 20:54 [PATCH] mips: dts: realtek: Add MDIO controller Chris Packham
@ 2025-04-27 7:54 ` Thomas Bogendoerfer
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Bogendoerfer @ 2025-04-27 7:54 UTC (permalink / raw)
To: Chris Packham
Cc: robh, krzk+dt, conor+dt, sander, devicetree, linux-mips,
linux-kernel
On Wed, Apr 16, 2025 at 08:54:25AM +1200, Chris Packham wrote:
> Add a device tree node for the MDIO controller on the RTL9300 chips.
>
> Signed-off-by: Chris Packham <chris.packham@alliedtelesis.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(+)
applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-04-27 8:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-15 20:54 [PATCH] mips: dts: realtek: Add MDIO controller Chris Packham
2025-04-27 7:54 ` Thomas Bogendoerfer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox