realtek: rtl838x: Instantiate auxiliary MDIO bus
authorSander Vanheule <sander@svanheule.net>
Fri, 27 Dec 2024 14:56:44 +0000 (15:56 +0100)
committerSander Vanheule <sander@svanheule.net>
Fri, 27 Dec 2024 15:15:20 +0000 (16:15 +0100)
Add a disabled node for the auxiliary MDIO bus, used to manage the
RTL8231 expanders. A simple-mfd parent node is added, at the same
(implied) address as the switch@1b000000 node, as the switch drivers
should anyway transistion to MFD subdivices at some point.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
target/linux/realtek/dts/rtl838x.dtsi

index 13ba6450b2d6f03174cab87cadf114c6a57138f7..aaaf71c73dccc19d92fad520cc36c39808863c74 100644 (file)
                };
        };
 
+       switchcore@1b000000 {
+               compatible = "syscon", "simple-mfd";
+               reg = <0x1b000000 0x20000>;
+
+               mdio_aux: mdio-aux {
+                       compatible = "realtek,rtl8380-aux-mdio";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       status = "disabled";
+               };
+       };
+
        pinmux: pinmux@1b001000 {
                compatible = "pinctrl-single";
                reg = <0x1b001000 0x4>;