treewide: gpio to gpios
gpio is deprecated. Found with dtc's -Wdeprecated_gpio_property Used git grep -E $'\tgpio = <' to make the changes. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/15681 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
committed by
Christian Marangi
parent
9745de82d5
commit
6ff598306f
@@ -57,26 +57,26 @@
|
||||
led_status_amber: status-amber {
|
||||
color = <LED_COLOR_ID_AMBER>;
|
||||
function = LED_FUNCTION_STATUS;
|
||||
gpio = <&tlmm 25 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&tlmm 25 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
led_status_blue: status-blue {
|
||||
color = <LED_COLOR_ID_BLUE>;
|
||||
function = LED_FUNCTION_STATUS;
|
||||
gpio = <&tlmm 26 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&tlmm 26 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
led_status_red: status-red {
|
||||
color = <LED_COLOR_ID_RED>;
|
||||
function = LED_FUNCTION_STATUS;
|
||||
gpio = <&tlmm 31 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&tlmm 31 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
|
||||
fan: gpio-fan {
|
||||
#cooling-cells = <2>;
|
||||
compatible = "gpio-fan";
|
||||
gpio = <&tlmm 29 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&tlmm 29 GPIO_ACTIVE_HIGH>;
|
||||
gpio-fan,speed-map = <0 0>, <1 1>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -54,13 +54,13 @@
|
||||
|
||||
led_wlan2g {
|
||||
label = "green:wlan2g";
|
||||
gpio = <&tlmm 47 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "phy1radio";
|
||||
};
|
||||
|
||||
led_wlan5g {
|
||||
label = "green:wlan5g";
|
||||
gpio = <&tlmm 48 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&tlmm 48 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "phy0radio";
|
||||
};
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
led_power: power {
|
||||
function = LED_FUNCTION_POWER;
|
||||
color = <LED_COLOR_ID_WHITE>;
|
||||
gpio = <&tlmm 56 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&tlmm 56 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -131,7 +131,7 @@
|
||||
regulator-name = "vbus";
|
||||
regulator-min-microvolt = <5000000>;
|
||||
regulator-max-microvolt = <5000000>;
|
||||
gpio = <&tlmm 64 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user