提交 eb8b8b03 编写于 作者: J Javier Martinez Canillas 提交者: Kukjin Kim

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: NJavier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: NKukjin Kim <kgene@kernel.org>
上级 dc561797
......@@ -12,8 +12,7 @@
* published by the Free Software Foundation.
*/
/ {
pinctrl@11400000 {
&pinctrl_0 {
gpa0: gpa0 {
gpio-controller;
#gpio-cells = <2>;
......@@ -588,9 +587,9 @@
samsung,pin-pud = <0>;
samsung,pin-drv = <0>;
};
};
};
pinctrl@13400000 {
&pinctrl_1 {
gpe0: gpe0 {
gpio-controller;
#gpio-cells = <2>;
......@@ -734,9 +733,9 @@
samsung,pin-pud = <0>;
samsung,pin-drv = <0>;
};
};
};
pinctrl@10d10000 {
&pinctrl_2 {
gpv0: gpv0 {
gpio-controller;
#gpio-cells = <2>;
......@@ -796,9 +795,9 @@
samsung,pin-pud = <0>;
samsung,pin-drv = <0>;
};
};
};
pinctrl@03860000 {
&pinctrl_3 {
gpz: gpz {
gpio-controller;
#gpio-cells = <2>;
......@@ -814,5 +813,4 @@
samsung,pin-pud = <0>;
samsung,pin-drv = <0>;
};
};
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册