mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-12 23:44:26 +00:00
realtek: add aux-mdio and pinctrl nodes to rtl930x.dtsi
Add aux-mdio and pinctrl nodes to rtl930x.dtsi to enable handling of the external RTL8231 GPIO expander connected via MDIO. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17593 Signed-off-by: Sander Vanheule <sander@svanheule.net>
This commit is contained in:
parent
70198cac36
commit
d45890f6cd
@ -143,6 +143,35 @@
|
||||
|
||||
};
|
||||
|
||||
switchcore@1b000000 {
|
||||
compatible = "syscon", "simple-mfd";
|
||||
reg = <0x1b000000 0x10000>;
|
||||
|
||||
mdio_aux: mdio-aux {
|
||||
compatible = "realtek,rtl9300-aux-mdio";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
pinctrl-0 = <&pinmux_gpio_mdio_en>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
pinmux@1b00c600 {
|
||||
compatible = "pinctrl-single";
|
||||
reg = <0x1b00c600 0x4>;
|
||||
|
||||
pinctrl-single,bit-per-mux;
|
||||
pinctrl-single,register-width = <32>;
|
||||
pinctrl-single,function-mask = <0x1>;
|
||||
#pinctrl-cells = <2>;
|
||||
|
||||
pinmux_gpio_mdio_en: gpio-mdio-en {
|
||||
pinctrl-single,bits = <0x0 0x100 0x100>;
|
||||
};
|
||||
};
|
||||
|
||||
pinmux_led: pinmux@1b00cc00 {
|
||||
compatible = "pinctrl-single";
|
||||
reg = <0x1b00cc00 0x4>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user