|
@@ -4,13 +4,6 @@
|
|
|
#include "rtl83xx_hpe_1920.dtsi"
|
|
#include "rtl83xx_hpe_1920.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
/ {
|
|
|
- gpio1: rtl8231-gpio {
|
|
|
|
|
- compatible = "realtek,rtl8231-gpio";
|
|
|
|
|
- #gpio-cells = <2>;
|
|
|
|
|
- gpio-controller;
|
|
|
|
|
- indirect-access-bus-id = <0>;
|
|
|
|
|
- };
|
|
|
|
|
-
|
|
|
|
|
i2c0: i2c-gpio-0 {
|
|
i2c0: i2c-gpio-0 {
|
|
|
compatible = "i2c-gpio";
|
|
compatible = "i2c-gpio";
|
|
|
sda-gpios = <&gpio1 23 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
|
|
sda-gpios = <&gpio1 23 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
|
|
@@ -46,6 +39,24 @@
|
|
|
};
|
|
};
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+&mdio_aux {
|
|
|
|
|
+ status = "okay";
|
|
|
|
|
+
|
|
|
|
|
+ gpio1: expander@0 {
|
|
|
|
|
+ compatible = "realtek,rtl8231";
|
|
|
|
|
+ reg = <0>;
|
|
|
|
|
+
|
|
|
|
|
+ gpio-controller;
|
|
|
|
|
+ #gpio-cells = <2>;
|
|
|
|
|
+ gpio-ranges = <&gpio1 0 0 37>;
|
|
|
|
|
+
|
|
|
|
|
+ led-controller {
|
|
|
|
|
+ compatible = "realtek,rtl8231-leds";
|
|
|
|
|
+ status = "disabled";
|
|
|
|
|
+ };
|
|
|
|
|
+ };
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
ðernet0 {
|
|
ðernet0 {
|
|
|
mdio: mdio-bus {
|
|
mdio: mdio-bus {
|
|
|
compatible = "realtek,rtl838x-mdio";
|
|
compatible = "realtek,rtl838x-mdio";
|