From 638d5098178bf8383987c90f104bf6fa5108922c Mon Sep 17 00:00:00 2001
From: =?utf8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
Date: Wed, 18 May 2016 22:02:52 +0200
Subject: [PATCH] ramips: fix pinctrl regression
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

This regression was introduced in commit 9195d8da.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
---
 target/linux/ramips/dts/AWM002.dtsi  | 2 +-
 target/linux/ramips/dts/HC5XXX.dtsi  | 2 +-
 target/linux/ramips/dts/PX-4885.dtsi | 2 +-
 target/linux/ramips/dts/VOCORE.dtsi  | 2 +-
 target/linux/ramips/dts/WT1520.dtsi  | 2 +-
 target/linux/ramips/dts/Y1.dtsi      | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/target/linux/ramips/dts/AWM002.dtsi b/target/linux/ramips/dts/AWM002.dtsi
index bb18a7c27a..9ff64917ea 100644
--- a/target/linux/ramips/dts/AWM002.dtsi
+++ b/target/linux/ramips/dts/AWM002.dtsi
@@ -55,7 +55,7 @@
 };
 
 &pinctrl {
-	state_default {
+	state_default: pinctrl0 {
 		gpio {
 			ralink,group = "i2c", "jtag";
 			ralink,function = "gpio";
diff --git a/target/linux/ramips/dts/HC5XXX.dtsi b/target/linux/ramips/dts/HC5XXX.dtsi
index 3eccff41fc..d55d5b65cd 100644
--- a/target/linux/ramips/dts/HC5XXX.dtsi
+++ b/target/linux/ramips/dts/HC5XXX.dtsi
@@ -125,7 +125,7 @@
 };
 
 &pinctrl {
-	state_default {
+	state_default: pinctrl0 {
 		gpio {
 			ralink,group = "uartf", "wled", "nd_sd";
 			ralink,function = "gpio";
diff --git a/target/linux/ramips/dts/PX-4885.dtsi b/target/linux/ramips/dts/PX-4885.dtsi
index ba862fc0c0..b135b5747b 100644
--- a/target/linux/ramips/dts/PX-4885.dtsi
+++ b/target/linux/ramips/dts/PX-4885.dtsi
@@ -33,7 +33,7 @@
 };
 
 &pinctrl {
-	state_default {
+	state_default: pinctrl0 {
 		gpio {
 			ralink,group = "i2c", "jtag", "uartf";
 			ralink,function = "gpio";
diff --git a/target/linux/ramips/dts/VOCORE.dtsi b/target/linux/ramips/dts/VOCORE.dtsi
index 93e601cdaf..bb8a458831 100644
--- a/target/linux/ramips/dts/VOCORE.dtsi
+++ b/target/linux/ramips/dts/VOCORE.dtsi
@@ -156,7 +156,7 @@
 };
 
 &pinctrl {
-	state_default {
+	state_default: pinctrl0 {
 		gpio {
 			ralink,group = "jtag", "uartf", "led";
 			ralink,function = "gpio";
diff --git a/target/linux/ramips/dts/WT1520.dtsi b/target/linux/ramips/dts/WT1520.dtsi
index e7158ad230..8cbf99fde2 100644
--- a/target/linux/ramips/dts/WT1520.dtsi
+++ b/target/linux/ramips/dts/WT1520.dtsi
@@ -21,7 +21,7 @@
 };
 
 &pinctrl {
-	state_default {
+	state_default: pinctrl0 {
 		gpio {
 			ralink,group = "jtag";
 			ralink,function = "gpio";
diff --git a/target/linux/ramips/dts/Y1.dtsi b/target/linux/ramips/dts/Y1.dtsi
index 26322dd07d..201f48b626 100644
--- a/target/linux/ramips/dts/Y1.dtsi
+++ b/target/linux/ramips/dts/Y1.dtsi
@@ -93,7 +93,7 @@
 };
 
 &pinctrl {
-	state_default {
+	state_default: pinctrl0 {
 		gpio {
 			ralink,group = "uartf", "wled", "nd_sd";
 			ralink,function = "gpio";
-- 
2.30.2