Commit d1194d49 authored by Masahiro Yamada's avatar Masahiro Yamada

ARM: dts: uniphier: use macros in dt-bindings header

The dt-bindings header was applied to the driver subsystem.  I had to
wait for a merge window to use it from DT.
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 50c4c4e2
...@@ -56,7 +56,7 @@ &serial3 { ...@@ -56,7 +56,7 @@ &serial3 {
&gpio { &gpio {
xirq1 { xirq1 {
gpio-hog; gpio-hog;
gpios = <121 0>; gpios = <UNIPHIER_GPIO_IRQ(1) 0>;
input; input;
}; };
}; };
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
* SPDX-License-Identifier: (GPL-2.0+ OR MIT) * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
*/ */
#include <dt-bindings/gpio/uniphier-gpio.h>
/ { / {
compatible = "socionext,uniphier-ld4"; compatible = "socionext,uniphier-ld4";
#address-cells = <1>; #address-cells = <1>;
......
...@@ -58,7 +58,7 @@ &serial2 { ...@@ -58,7 +58,7 @@ &serial2 {
&gpio { &gpio {
xirq4 { xirq4 {
gpio-hog; gpio-hog;
gpios = <124 0>; gpios = <UNIPHIER_GPIO_IRQ(4) 0>;
input; input;
}; };
}; };
......
...@@ -58,7 +58,7 @@ &serial2 { ...@@ -58,7 +58,7 @@ &serial2 {
&gpio { &gpio {
xirq2 { xirq2 {
gpio-hog; gpio-hog;
gpios = <122 0>; gpios = <UNIPHIER_GPIO_IRQ(2) 0>;
input; input;
}; };
}; };
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
* SPDX-License-Identifier: (GPL-2.0+ OR MIT) * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
*/ */
#include <dt-bindings/gpio/uniphier-gpio.h>
/ { / {
compatible = "socionext,uniphier-pro4"; compatible = "socionext,uniphier-pro4";
#address-cells = <1>; #address-cells = <1>;
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
* SPDX-License-Identifier: (GPL-2.0+ OR MIT) * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
*/ */
#include <dt-bindings/gpio/uniphier-gpio.h>
#include <dt-bindings/thermal/thermal.h> #include <dt-bindings/thermal/thermal.h>
/ { / {
......
...@@ -56,7 +56,7 @@ &serial3 { ...@@ -56,7 +56,7 @@ &serial3 {
&gpio { &gpio {
xirq0 { xirq0 {
gpio-hog; gpio-hog;
gpios = <120 0>; gpios = <UNIPHIER_GPIO_IRQ(0) 0>;
input; input;
}; };
}; };
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
* SPDX-License-Identifier: (GPL-2.0+ OR MIT) * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
*/ */
#include <dt-bindings/gpio/uniphier-gpio.h>
/ { / {
compatible = "socionext,uniphier-sld8"; compatible = "socionext,uniphier-sld8";
#address-cells = <1>; #address-cells = <1>;
......
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