Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eb8b8b03 authored by Javier Martinez Canillas's avatar Javier Martinez Canillas Committed by Kukjin Kim
Browse files

ARM: dts: Extend exynos5250-pinctrl nodes using labels instead of paths



A previously defined Device Tree node, can be extended either by defining
a node using the same full path or by creating a label for the node and
referencing to it.

Using full paths is more error prone since if there was a typo error, a
new node will be created instead of extending the node as it was desired.
This will lead to run-time errors that could be hard to detect.

A mistyped label on the other hand, will cause a dtc compile error which
makes it easier to detect the mistake since happens at build-time instead.

Signed-off-by: default avatarJavier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarKukjin Kim <kgene@kernel.org>
parent dc561797
Loading
Loading
Loading
Loading
+799 −801
Original line number Original line Diff line number Diff line
@@ -12,8 +12,7 @@
 * published by the Free Software Foundation.
 * published by the Free Software Foundation.
*/
*/


/ {
&pinctrl_0 {
	pinctrl@11400000 {
	gpa0: gpa0 {
	gpa0: gpa0 {
		gpio-controller;
		gpio-controller;
		#gpio-cells = <2>;
		#gpio-cells = <2>;
@@ -590,7 +589,7 @@
	};
	};
};
};


	pinctrl@13400000 {
&pinctrl_1 {
	gpe0: gpe0 {
	gpe0: gpe0 {
		gpio-controller;
		gpio-controller;
		#gpio-cells = <2>;
		#gpio-cells = <2>;
@@ -736,7 +735,7 @@
	};
	};
};
};


	pinctrl@10d10000 {
&pinctrl_2 {
	gpv0: gpv0 {
	gpv0: gpv0 {
		gpio-controller;
		gpio-controller;
		#gpio-cells = <2>;
		#gpio-cells = <2>;
@@ -798,7 +797,7 @@
	};
	};
};
};


	pinctrl@03860000 {
&pinctrl_3 {
	gpz: gpz {
	gpz: gpz {
		gpio-controller;
		gpio-controller;
		#gpio-cells = <2>;
		#gpio-cells = <2>;
@@ -815,4 +814,3 @@
		samsung,pin-drv = <0>;
		samsung,pin-drv = <0>;
	};
	};
};
};
};