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: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
Masahiro Yamada 2017-11-17 14:24:45 +09:00
parent 50c4c4e268
commit d1194d493c
8 changed files with 11 additions and 4 deletions

View File

@ -56,7 +56,7 @@
&gpio {
xirq1 {
gpio-hog;
gpios = <121 0>;
gpios = <UNIPHIER_GPIO_IRQ(1) 0>;
input;
};
};

View File

@ -7,6 +7,8 @@
* SPDX-License-Identifier: (GPL-2.0+ OR MIT)
*/
#include <dt-bindings/gpio/uniphier-gpio.h>
/ {
compatible = "socionext,uniphier-ld4";
#address-cells = <1>;

View File

@ -58,7 +58,7 @@
&gpio {
xirq4 {
gpio-hog;
gpios = <124 0>;
gpios = <UNIPHIER_GPIO_IRQ(4) 0>;
input;
};
};

View File

@ -58,7 +58,7 @@
&gpio {
xirq2 {
gpio-hog;
gpios = <122 0>;
gpios = <UNIPHIER_GPIO_IRQ(2) 0>;
input;
};
};

View File

@ -7,6 +7,8 @@
* SPDX-License-Identifier: (GPL-2.0+ OR MIT)
*/
#include <dt-bindings/gpio/uniphier-gpio.h>
/ {
compatible = "socionext,uniphier-pro4";
#address-cells = <1>;

View File

@ -7,6 +7,7 @@
* SPDX-License-Identifier: (GPL-2.0+ OR MIT)
*/
#include <dt-bindings/gpio/uniphier-gpio.h>
#include <dt-bindings/thermal/thermal.h>
/ {

View File

@ -56,7 +56,7 @@
&gpio {
xirq0 {
gpio-hog;
gpios = <120 0>;
gpios = <UNIPHIER_GPIO_IRQ(0) 0>;
input;
};
};

View File

@ -7,6 +7,8 @@
* SPDX-License-Identifier: (GPL-2.0+ OR MIT)
*/
#include <dt-bindings/gpio/uniphier-gpio.h>
/ {
compatible = "socionext,uniphier-sld8";
#address-cells = <1>;