Commit 8311ca57 authored by Masahiro Yamada's avatar Masahiro Yamada

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 50c4c4e2
...@@ -50,7 +50,7 @@ &serial0 { ...@@ -50,7 +50,7 @@ &serial0 {
&gpio { &gpio {
xirq0 { xirq0 {
gpio-hog; gpio-hog;
gpios = <120 0>; gpios = <UNIPHIER_GPIO_IRQ(0) 0>;
input; input;
}; };
}; };
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
*/ */
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/gpio/uniphier-gpio.h>
/memreserve/ 0x80000000 0x02000000; /memreserve/ 0x80000000 0x02000000;
...@@ -100,7 +101,7 @@ refclk: ref { ...@@ -100,7 +101,7 @@ refclk: ref {
emmc_pwrseq: emmc-pwrseq { emmc_pwrseq: emmc-pwrseq {
compatible = "mmc-pwrseq-emmc"; compatible = "mmc-pwrseq-emmc";
reset-gpios = <&gpio 26 GPIO_ACTIVE_LOW>; reset-gpios = <&gpio UNIPHIER_GPIO_PORT(3, 2) GPIO_ACTIVE_LOW>;
}; };
timer { timer {
......
...@@ -50,7 +50,7 @@ &serial0 { ...@@ -50,7 +50,7 @@ &serial0 {
&gpio { &gpio {
xirq0 { xirq0 {
gpio-hog; gpio-hog;
gpios = <120 0>; gpios = <UNIPHIER_GPIO_IRQ(0) 0>;
input; input;
}; };
}; };
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
*/ */
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/gpio/uniphier-gpio.h>
#include <dt-bindings/thermal/thermal.h> #include <dt-bindings/thermal/thermal.h>
/memreserve/ 0x80000000 0x02000000; /memreserve/ 0x80000000 0x02000000;
...@@ -172,7 +173,7 @@ refclk: ref { ...@@ -172,7 +173,7 @@ refclk: ref {
emmc_pwrseq: emmc-pwrseq { emmc_pwrseq: emmc-pwrseq {
compatible = "mmc-pwrseq-emmc"; compatible = "mmc-pwrseq-emmc";
reset-gpios = <&gpio 26 GPIO_ACTIVE_LOW>; reset-gpios = <&gpio UNIPHIER_GPIO_PORT(3, 2) GPIO_ACTIVE_LOW>;
}; };
timer { timer {
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
*/ */
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/gpio/uniphier-gpio.h>
/memreserve/ 0x80000000 0x02000000; /memreserve/ 0x80000000 0x02000000;
...@@ -128,7 +129,7 @@ refclk: ref { ...@@ -128,7 +129,7 @@ refclk: ref {
emmc_pwrseq: emmc-pwrseq { emmc_pwrseq: emmc-pwrseq {
compatible = "mmc-pwrseq-emmc"; compatible = "mmc-pwrseq-emmc";
reset-gpios = <&gpio 47 GPIO_ACTIVE_LOW>; reset-gpios = <&gpio UNIPHIER_GPIO_PORT(5, 7) GPIO_ACTIVE_LOW>;
}; };
timer { timer {
......
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