realtek: Switch RTL8231 driver on Zyxel GS1900-48
Switch the Zyxel GS1900-48 over to the new MDIO-based driver for the RTL8231 GPIO expander. Signed-off-by: Sander Vanheule <sander@svanheule.net> (cherry picked from commit 45aafe67f385a2b6cf65894b2f46ee8e33d87f92)
This commit is contained in:
parent
e5ac0c7391
commit
3d26c1cae4
@ -32,13 +32,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio1: rtl8231-gpio {
|
|
||||||
compatible = "realtek,rtl8231-gpio";
|
|
||||||
#gpio-cells = <2>;
|
|
||||||
indirect-access-bus-id = <3>;
|
|
||||||
gpio-controller;
|
|
||||||
};
|
|
||||||
|
|
||||||
keys {
|
keys {
|
||||||
compatible = "gpio-keys-polled";
|
compatible = "gpio-keys-polled";
|
||||||
poll-interval = <20>;
|
poll-interval = <20>;
|
||||||
@ -90,6 +83,24 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&mdio_aux {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
gpio1: expander@3 {
|
||||||
|
compatible = "realtek,rtl8231";
|
||||||
|
reg = <3>;
|
||||||
|
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
gpio-ranges = <&gpio1 0 0 37>;
|
||||||
|
|
||||||
|
led-controller {
|
||||||
|
compatible = "realtek,rtl8231-leds";
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&spi0 {
|
&spi0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
flash@0 {
|
flash@0 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user