led-upgrade = &system;
};
- gpio-keys-polled {
+ keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
system: system {
label = "tp-link:green:system";
- gpios = <&gpio 27 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
};
wan {
wlan {
label = "tp-link:green:wlan";
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
- default-state = "off";
linux,default-trigger = "phy0tpt";
};
};