realtek: update GPIO bindings in the dts files in dts-5.10
[openwrt/staging/stintel.git] / target / linux / realtek / dts-5.10 / rtl8382_allnet_all-sg8208m.dts
index fdcc01fdac410c5fe6391d9e8c321a78e5d60267..f4ca1686dd08cdfa139cfaaef82473e6171cba95 100644 (file)
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
-               reset {
+               /* is this pin 3 on the external RTL8231 (&gpio1)? */
+               /*reset {
                        label = "reset";
                        gpios = <&gpio0 67 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
-               };
+               };*/
        };
 
        leds {
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinmux_disable_sys_led>;
                compatible = "gpio-leds";
 
                led_sys: sys {
                        label = "green:sys";
-                       gpios = <&gpio0 47 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
                };
                // GPIO 25: power on/off all port leds
        };
 };
 
-&gpio0 {
-       indirect-access-bus-id = <0>;
-};
-
 &spi0 {
        status = "okay";