arm64: 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:47 +09:00
parent 50c4c4e268
commit 8311ca57ef
5 changed files with 8 additions and 5 deletions

View file

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

View file

@ -8,6 +8,7 @@
*/
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/gpio/uniphier-gpio.h>
/memreserve/ 0x80000000 0x02000000;
@ -100,7 +101,7 @@ refclk: ref {
emmc_pwrseq: emmc-pwrseq {
compatible = "mmc-pwrseq-emmc";
reset-gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
reset-gpios = <&gpio UNIPHIER_GPIO_PORT(3, 2) GPIO_ACTIVE_LOW>;
};
timer {

View file

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

View file

@ -8,6 +8,7 @@
*/
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/gpio/uniphier-gpio.h>
#include <dt-bindings/thermal/thermal.h>
/memreserve/ 0x80000000 0x02000000;
@ -172,7 +173,7 @@ refclk: ref {
emmc_pwrseq: emmc-pwrseq {
compatible = "mmc-pwrseq-emmc";
reset-gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
reset-gpios = <&gpio UNIPHIER_GPIO_PORT(3, 2) GPIO_ACTIVE_LOW>;
};
timer {

View file

@ -8,6 +8,7 @@
*/
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/gpio/uniphier-gpio.h>
/memreserve/ 0x80000000 0x02000000;
@ -128,7 +129,7 @@ refclk: ref {
emmc_pwrseq: emmc-pwrseq {
compatible = "mmc-pwrseq-emmc";
reset-gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
reset-gpios = <&gpio UNIPHIER_GPIO_PORT(5, 7) GPIO_ACTIVE_LOW>;
};
timer {