@@ -541,28 +541,30 @@ tca6507: tca6507@45 {
gpio-controller;
#gpio-cells = <2>;
- gta04_led0: red_aux@0 {
+ gpio-line-names = "wifi_reset@6";
+
+ gta04_led0: led@0 {
label = "gta04:red:aux";
reg = <0x0>;
};
- gta04_led1: green_aux@1 {
+ gta04_led1: led@1 {
label = "gta04:green:aux";
reg = <0x1>;
};
- gta04_led3: red_power@3 {
+ gta04_led3: led@3 {
label = "gta04:red:power";
reg = <0x3>;
linux,default-trigger = "default-on";
};
- gta04_led4: green_power@4 {
+ gta04_led4: led@4 {
label = "gta04:green:power";
reg = <0x4>;
};
- wifi_reset: wifi_reset@6 { /* reference as <&tca_gpios 0 0> since it is currently the only GPIO */
+ wifi_reset: gpio@6 { /* reference as <&tca_gpios 0 0> since it is currently the only GPIO */
reg = <0x6>;
compatible = "gpio";
};
Rename LED controller subnodes to format "led@[0-6]" or "gpio@[0-6]" to conform to the new YAML defined binding. Use the `gpio-line-names` property to define GPIO names. Signed-off-by: Marek Behún <marek.behun@nic.cz> Cc: NeilBrown <neilb@suse.de> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: H. Nikolaus Schaller <hns@goldelico.com> Cc: Tony Lindgren <tony@atomide.com> Cc: Adam Ford <aford173@gmail.com> Cc: Viresh Kumar <viresh.kumar@linaro.org> Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org --- arch/arm/boot/dts/omap3-gta04.dtsi | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)