Commit eb8b8b03 authored by Javier Martinez Canillas's avatar Javier Martinez Canillas Committed by 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: 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
......@@ -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 @@ dp_hpd: dp_hpd {
samsung,pin-pud = <0>;
samsung,pin-drv = <0>;
};
};
};
pinctrl@13400000 {
&pinctrl_1 {
gpe0: gpe0 {
gpio-controller;
#gpio-cells = <2>;
......@@ -734,9 +733,9 @@ cam_port_a: cam-port-a {
samsung,pin-pud = <0>;
samsung,pin-drv = <0>;
};
};
};
pinctrl@10d10000 {
&pinctrl_2 {
gpv0: gpv0 {
gpio-controller;
#gpio-cells = <2>;
......@@ -796,9 +795,9 @@ c2c_txd: c2c-txd {
samsung,pin-pud = <0>;
samsung,pin-drv = <0>;
};
};
};
pinctrl@03860000 {
&pinctrl_3 {
gpz: gpz {
gpio-controller;
#gpio-cells = <2>;
......@@ -814,5 +813,4 @@ i2s0_bus: i2s0-bus {
samsung,pin-pud = <0>;
samsung,pin-drv = <0>;
};
};
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment